pnpm 7.9.3 → 7.9.4-0
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.
|
@@ -7,11 +7,11 @@ included:
|
|
|
7
7
|
injectedDeps: {}
|
|
8
8
|
layoutVersion: 5
|
|
9
9
|
nodeLinker: hoisted
|
|
10
|
-
packageManager: pnpm@7.9.
|
|
10
|
+
packageManager: pnpm@7.9.3
|
|
11
11
|
pendingBuilds:
|
|
12
12
|
- /node-gyp/9.1.0
|
|
13
13
|
- /encoding/0.1.13
|
|
14
|
-
prunedAt:
|
|
14
|
+
prunedAt: Thu, 18 Aug 2022 09:46:52 GMT
|
|
15
15
|
publicHoistPattern:
|
|
16
16
|
- '*eslint*'
|
|
17
17
|
- '*prettier*'
|
|
@@ -399,7 +399,7 @@ packages:
|
|
|
399
399
|
lru-cache: 7.14.0
|
|
400
400
|
minipass: 3.3.4
|
|
401
401
|
minipass-collect: 1.0.2
|
|
402
|
-
minipass-fetch: 2.1.
|
|
402
|
+
minipass-fetch: 2.1.1
|
|
403
403
|
minipass-flush: 1.0.5
|
|
404
404
|
minipass-pipeline: 1.2.4
|
|
405
405
|
negotiator: 0.6.3
|
|
@@ -435,8 +435,8 @@ packages:
|
|
|
435
435
|
dev: false
|
|
436
436
|
optional: true
|
|
437
437
|
|
|
438
|
-
/minipass-fetch/2.1.
|
|
439
|
-
resolution: {integrity: sha512
|
|
438
|
+
/minipass-fetch/2.1.1:
|
|
439
|
+
resolution: {integrity: sha512-/kgtXVGS10PTFET6dAbOBWQtgH+iDiI4NhRqAftojRlsOJhk0y45sVVxqCaRQC+AMFH7JkHiWpuKJKQ+mojKiA==}
|
|
440
440
|
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
|
|
441
441
|
dependencies:
|
|
442
442
|
minipass: 3.3.4
|
|
@@ -10,7 +10,9 @@ const FetchError = require('./fetch-error.js')
|
|
|
10
10
|
let convert
|
|
11
11
|
try {
|
|
12
12
|
convert = require('encoding').convert
|
|
13
|
-
} catch (e) {
|
|
13
|
+
} catch (e) {
|
|
14
|
+
// defer error until textConverted is called
|
|
15
|
+
}
|
|
14
16
|
|
|
15
17
|
const INTERNALS = Symbol('Body internals')
|
|
16
18
|
const CONSUME_BODY = Symbol('consumeBody')
|
|
@@ -69,16 +71,16 @@ class Body {
|
|
|
69
71
|
))
|
|
70
72
|
}
|
|
71
73
|
|
|
72
|
-
json () {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
74
|
+
async json () {
|
|
75
|
+
try {
|
|
76
|
+
const buf = await this[CONSUME_BODY]()
|
|
77
|
+
return JSON.parse(buf.toString())
|
|
78
|
+
} catch (er) {
|
|
79
|
+
throw new FetchError(
|
|
80
|
+
`invalid json response body at ${this.url} reason: ${er.message}`,
|
|
81
|
+
'invalid-json'
|
|
82
|
+
)
|
|
83
|
+
}
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
text () {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "minipass-fetch",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "An implementation of window.fetch in Node.js using Minipass streams",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -23,10 +23,11 @@
|
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@npmcli/eslint-config": "^3.0.1",
|
|
26
|
-
"@npmcli/template-oss": "3.
|
|
26
|
+
"@npmcli/template-oss": "3.5.0",
|
|
27
27
|
"@ungap/url-search-params": "^0.2.2",
|
|
28
28
|
"abort-controller": "^3.0.0",
|
|
29
29
|
"abortcontroller-polyfill": "~1.7.3",
|
|
30
|
+
"encoding": "^0.1.13",
|
|
30
31
|
"form-data": "^4.0.0",
|
|
31
32
|
"nock": "^13.2.4",
|
|
32
33
|
"parted": "^0.1.1",
|
|
@@ -61,6 +62,6 @@
|
|
|
61
62
|
"author": "GitHub Inc.",
|
|
62
63
|
"templateOSS": {
|
|
63
64
|
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
64
|
-
"version": "3.
|
|
65
|
+
"version": "3.5.0"
|
|
65
66
|
}
|
|
66
67
|
}
|
package/dist/pnpm.cjs
CHANGED
|
@@ -3206,7 +3206,7 @@ var require_lib4 = __commonJS({
|
|
|
3206
3206
|
var load_json_file_1 = __importDefault(require_load_json_file());
|
|
3207
3207
|
var defaultManifest = {
|
|
3208
3208
|
name: "pnpm" != null && true ? "pnpm" : "pnpm",
|
|
3209
|
-
version: "7.9.
|
|
3209
|
+
version: "7.9.4-0" != null && true ? "7.9.4-0" : "0.0.0"
|
|
3210
3210
|
};
|
|
3211
3211
|
var pkgJson;
|
|
3212
3212
|
if (require.main == null) {
|
|
@@ -72668,7 +72668,8 @@ var require_lib36 = __commonJS({
|
|
|
72668
72668
|
return {
|
|
72669
72669
|
addFilesFromDir: addFilesFromDir_1.default.bind(null, { addBuffer, addStream }),
|
|
72670
72670
|
addFilesFromTarball: addFilesFromTarball_1.default.bind(null, addStream, ignore ?? null),
|
|
72671
|
-
getFilePathInCafs: getFilePathInCafs_1.default.bind(null, cafsDir)
|
|
72671
|
+
getFilePathInCafs: getFilePathInCafs_1.default.bind(null, cafsDir),
|
|
72672
|
+
getFilePathByModeInCafs: getFilePathInCafs_1.getFilePathByModeInCafs.bind(null, cafsDir)
|
|
72672
72673
|
};
|
|
72673
72674
|
}
|
|
72674
72675
|
exports2.default = createCafs;
|