Skip to content

Commit 81e37a2

Browse files
committed
Update dependencies.
- **BREAKING**: `[email protected]`/`[email protected]` fix a security issues and also change the behavior of an empty response body when using `.json()`. An empty string will now be returned instead of thowing. - Use import assertion in rollup config.
1 parent 1d86e50 commit 81e37a2

File tree

3 files changed

+23
-14
lines changed

3 files changed

+23
-14
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @digitalbazaar/http-client ChangeLog
22

3+
## 4.0.0 - xxxx-xx-xx
4+
5+
### Changed
6+
- **BREAKING**: Update dependencies.
7+
- `[email protected]`/`[email protected]` fix a security issues and also change the
8+
behavior of an empty response body when using `.json()`. An empty string
9+
will now be returned instead of thowing.
10+
- Update development dependencies.
11+
312
## 3.2.0 - 2022-05-19
413

514
### Added

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,30 +33,30 @@
3333
"dist/*"
3434
],
3535
"dependencies": {
36-
"ky": "^0.30.0",
37-
"ky-universal": "^0.10.1",
38-
"undici": "^5.2.0"
36+
"ky": "^0.32.2",
37+
"ky-universal": "^0.11.0",
38+
"undici": "^5.13.0"
3939
},
4040
"devDependencies": {
41-
"c8": "^7.11.2",
42-
"chai": "^4.3.6",
41+
"c8": "^7.12.0",
42+
"chai": "^4.3.7",
4343
"cross-env": "^7.0.3",
4444
"detect-node": "^2.1.0",
45-
"eslint": "^8.14.0",
46-
"eslint-config-digitalbazaar": "^3.0.0",
47-
"eslint-plugin-jsdoc": "^39.2.9",
48-
"eslint-plugin-unicorn": "^42.0.0",
49-
"karma": "^6.3.19",
45+
"eslint": "^8.29.0",
46+
"eslint-config-digitalbazaar": "^4.2.0",
47+
"eslint-plugin-jsdoc": "^39.6.4",
48+
"eslint-plugin-unicorn": "^45.0.1",
49+
"karma": "^6.4.1",
5050
"karma-chai": "^0.1.0",
5151
"karma-chrome-launcher": "^3.1.1",
5252
"karma-mocha": "^2.0.1",
5353
"karma-mocha-reporter": "^2.2.5",
5454
"karma-sourcemap-loader": "^0.3.8",
5555
"karma-webpack": "^5.0.0",
56-
"mocha": "^10.0.0",
56+
"mocha": "^10.1.0",
5757
"rimraf": "^3.0.2",
58-
"rollup": "^2.71.1",
59-
"webpack": "^5.72.0"
58+
"rollup": "^3.6.0",
59+
"webpack": "^5.75.0"
6060
},
6161
"repository": {
6262
"type": "git",

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import pkg from './package.json';
1+
import pkg from './package.json' assert {type: 'json'};
22

33
function preserveDynamicImportPlugin() {
44
return {

0 commit comments

Comments
 (0)