@nxtedition/nxt-undici 2.0.25 → 2.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/readable.js +0 -3
  2. package/package.json +7 -7
package/lib/readable.js CHANGED
@@ -301,9 +301,6 @@ function consumeEnd(consume) {
301
301
 
302
302
  resolve(dst.buffer)
303
303
  } else if (type === 'blob') {
304
- if (!Blob) {
305
- Blob = require('buffer').Blob
306
- }
307
304
  resolve(new Blob(body, { type: stream[kContentType] }))
308
305
  }
309
306
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/nxt-undici",
3
- "version": "2.0.25",
3
+ "version": "2.0.27",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "main": "lib/index.js",
@@ -13,20 +13,20 @@
13
13
  "cacheable-lookup": "^7.0.0",
14
14
  "http-errors": "^2.0.0",
15
15
  "lru-cache": "^10.1.0",
16
- "undici": "^6.0.1"
16
+ "undici": "^6.1.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@types/node": "^20.10.3",
20
- "eslint": "^8.55.0",
19
+ "@types/node": "^20.10.5",
20
+ "eslint": "^8.56.0",
21
21
  "eslint-config-prettier": "^9.1.0",
22
22
  "eslint-config-standard": "^17.0.0",
23
- "eslint-plugin-import": "^2.29.0",
24
- "eslint-plugin-n": "^16.2.0",
23
+ "eslint-plugin-import": "^2.29.1",
24
+ "eslint-plugin-n": "^16.5.0",
25
25
  "eslint-plugin-promise": "^6.1.1",
26
26
  "husky": "^8.0.3",
27
27
  "lint-staged": "^15.2.0",
28
28
  "pinst": "^3.0.0",
29
- "prettier": "^3.0.3",
29
+ "prettier": "^3.1.1",
30
30
  "tap": "^18.6.1"
31
31
  },
32
32
  "scripts": {