pnpm 9.3.0 → 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.
- package/dist/node_modules/.modules.yaml +7 -7
- package/dist/pnpm.cjs +32891 -42201
- package/dist/worker.js +69 -61
- package/package.json +3 -2
package/dist/worker.js
CHANGED
|
@@ -840,9 +840,9 @@ var require_lib = __commonJS({
|
|
|
840
840
|
}
|
|
841
841
|
});
|
|
842
842
|
|
|
843
|
-
// ../node_modules/.pnpm/minipass@7.1.
|
|
843
|
+
// ../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/commonjs/index.js
|
|
844
844
|
var require_commonjs = __commonJS({
|
|
845
|
-
"../node_modules/.pnpm/minipass@7.1.
|
|
845
|
+
"../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/commonjs/index.js"(exports2) {
|
|
846
846
|
"use strict";
|
|
847
847
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
848
848
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -853,15 +853,15 @@ var require_commonjs = __commonJS({
|
|
|
853
853
|
stdout: null,
|
|
854
854
|
stderr: null
|
|
855
855
|
};
|
|
856
|
-
var
|
|
857
|
-
var
|
|
858
|
-
var
|
|
859
|
-
var isStream = (s) => !!s && typeof s === "object" && (s instanceof Minipass || s instanceof
|
|
856
|
+
var node_events_1 = require("node:events");
|
|
857
|
+
var node_stream_1 = __importDefault2(require("node:stream"));
|
|
858
|
+
var node_string_decoder_1 = require("node:string_decoder");
|
|
859
|
+
var isStream = (s) => !!s && typeof s === "object" && (s instanceof Minipass || s instanceof node_stream_1.default || (0, exports2.isReadable)(s) || (0, exports2.isWritable)(s));
|
|
860
860
|
exports2.isStream = isStream;
|
|
861
|
-
var isReadable = (s) => !!s && typeof s === "object" && s instanceof
|
|
862
|
-
s.pipe !==
|
|
861
|
+
var isReadable = (s) => !!s && typeof s === "object" && s instanceof node_events_1.EventEmitter && typeof s.pipe === "function" && // node core Writable streams have a pipe() method, but it throws
|
|
862
|
+
s.pipe !== node_stream_1.default.Writable.prototype.pipe;
|
|
863
863
|
exports2.isReadable = isReadable;
|
|
864
|
-
var isWritable = (s) => !!s && typeof s === "object" && s instanceof
|
|
864
|
+
var isWritable = (s) => !!s && typeof s === "object" && s instanceof node_events_1.EventEmitter && typeof s.write === "function" && typeof s.end === "function";
|
|
865
865
|
exports2.isWritable = isWritable;
|
|
866
866
|
var EOF = Symbol("EOF");
|
|
867
867
|
var MAYBE_EMIT_END = Symbol("maybeEmitEnd");
|
|
@@ -938,7 +938,7 @@ var require_commonjs = __commonJS({
|
|
|
938
938
|
};
|
|
939
939
|
var isObjectModeOptions = (o) => !!o.objectMode;
|
|
940
940
|
var isEncodingOptions = (o) => !o.objectMode && !!o.encoding && o.encoding !== "buffer";
|
|
941
|
-
var Minipass = class extends
|
|
941
|
+
var Minipass = class extends node_events_1.EventEmitter {
|
|
942
942
|
[FLOWING] = false;
|
|
943
943
|
[PAUSED] = false;
|
|
944
944
|
[PIPES] = [];
|
|
@@ -989,7 +989,7 @@ var require_commonjs = __commonJS({
|
|
|
989
989
|
this[ENCODING] = null;
|
|
990
990
|
}
|
|
991
991
|
this[ASYNC] = !!options.async;
|
|
992
|
-
this[DECODER] = this[ENCODING] ? new
|
|
992
|
+
this[DECODER] = this[ENCODING] ? new node_string_decoder_1.StringDecoder(this[ENCODING]) : null;
|
|
993
993
|
if (options && options.debugExposeBuffer === true) {
|
|
994
994
|
Object.defineProperty(this, "buffer", { get: () => this[BUFFER] });
|
|
995
995
|
}
|
|
@@ -14127,9 +14127,9 @@ var require_js_tokens = __commonJS({
|
|
|
14127
14127
|
}
|
|
14128
14128
|
});
|
|
14129
14129
|
|
|
14130
|
-
// ../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
14130
|
+
// ../node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/identifier.js
|
|
14131
14131
|
var require_identifier = __commonJS({
|
|
14132
|
-
"../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
14132
|
+
"../node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports2) {
|
|
14133
14133
|
"use strict";
|
|
14134
14134
|
Object.defineProperty(exports2, "__esModule", {
|
|
14135
14135
|
value: true
|
|
@@ -14212,9 +14212,9 @@ var require_identifier = __commonJS({
|
|
|
14212
14212
|
}
|
|
14213
14213
|
});
|
|
14214
14214
|
|
|
14215
|
-
// ../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
14215
|
+
// ../node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/keyword.js
|
|
14216
14216
|
var require_keyword = __commonJS({
|
|
14217
|
-
"../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
14217
|
+
"../node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports2) {
|
|
14218
14218
|
"use strict";
|
|
14219
14219
|
Object.defineProperty(exports2, "__esModule", {
|
|
14220
14220
|
value: true
|
|
@@ -14250,9 +14250,9 @@ var require_keyword = __commonJS({
|
|
|
14250
14250
|
}
|
|
14251
14251
|
});
|
|
14252
14252
|
|
|
14253
|
-
// ../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
14253
|
+
// ../node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js
|
|
14254
14254
|
var require_lib12 = __commonJS({
|
|
14255
|
-
"../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
14255
|
+
"../node_modules/.pnpm/@babel+helper-validator-identifier@7.24.7/node_modules/@babel/helper-validator-identifier/lib/index.js"(exports2) {
|
|
14256
14256
|
"use strict";
|
|
14257
14257
|
Object.defineProperty(exports2, "__esModule", {
|
|
14258
14258
|
value: true
|
|
@@ -14310,50 +14310,58 @@ var require_lib12 = __commonJS({
|
|
|
14310
14310
|
}
|
|
14311
14311
|
});
|
|
14312
14312
|
|
|
14313
|
-
// ../node_modules/.pnpm/picocolors@1.0.
|
|
14313
|
+
// ../node_modules/.pnpm/picocolors@1.0.1/node_modules/picocolors/picocolors.js
|
|
14314
14314
|
var require_picocolors = __commonJS({
|
|
14315
|
-
"../node_modules/.pnpm/picocolors@1.0.
|
|
14316
|
-
var
|
|
14317
|
-
var
|
|
14315
|
+
"../node_modules/.pnpm/picocolors@1.0.1/node_modules/picocolors/picocolors.js"(exports2, module2) {
|
|
14316
|
+
var argv = process.argv || [];
|
|
14317
|
+
var env = process.env;
|
|
14318
|
+
var isColorSupported = !("NO_COLOR" in env || argv.includes("--no-color")) && ("FORCE_COLOR" in env || argv.includes("--color") || process.platform === "win32" || require != null && require("tty").isatty(1) && env.TERM !== "dumb" || "CI" in env);
|
|
14318
14319
|
var formatter = (open, close, replace = open) => (input) => {
|
|
14319
14320
|
let string = "" + input;
|
|
14320
14321
|
let index = string.indexOf(close, open.length);
|
|
14321
14322
|
return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
|
|
14322
14323
|
};
|
|
14323
14324
|
var replaceClose = (string, close, replace, index) => {
|
|
14324
|
-
let
|
|
14325
|
-
let
|
|
14326
|
-
|
|
14327
|
-
|
|
14328
|
-
|
|
14329
|
-
|
|
14330
|
-
|
|
14331
|
-
|
|
14332
|
-
|
|
14333
|
-
|
|
14334
|
-
|
|
14335
|
-
|
|
14336
|
-
|
|
14337
|
-
|
|
14338
|
-
|
|
14339
|
-
|
|
14340
|
-
|
|
14341
|
-
|
|
14342
|
-
|
|
14343
|
-
|
|
14344
|
-
|
|
14345
|
-
|
|
14346
|
-
|
|
14347
|
-
|
|
14348
|
-
|
|
14349
|
-
|
|
14350
|
-
|
|
14351
|
-
|
|
14352
|
-
|
|
14353
|
-
|
|
14354
|
-
|
|
14355
|
-
|
|
14356
|
-
|
|
14325
|
+
let result = "";
|
|
14326
|
+
let cursor = 0;
|
|
14327
|
+
do {
|
|
14328
|
+
result += string.substring(cursor, index) + replace;
|
|
14329
|
+
cursor = index + close.length;
|
|
14330
|
+
index = string.indexOf(close, cursor);
|
|
14331
|
+
} while (~index);
|
|
14332
|
+
return result + string.substring(cursor);
|
|
14333
|
+
};
|
|
14334
|
+
var createColors = (enabled = isColorSupported) => {
|
|
14335
|
+
let init = enabled ? formatter : () => String;
|
|
14336
|
+
return {
|
|
14337
|
+
isColorSupported: enabled,
|
|
14338
|
+
reset: init("\x1B[0m", "\x1B[0m"),
|
|
14339
|
+
bold: init("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
|
|
14340
|
+
dim: init("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
|
|
14341
|
+
italic: init("\x1B[3m", "\x1B[23m"),
|
|
14342
|
+
underline: init("\x1B[4m", "\x1B[24m"),
|
|
14343
|
+
inverse: init("\x1B[7m", "\x1B[27m"),
|
|
14344
|
+
hidden: init("\x1B[8m", "\x1B[28m"),
|
|
14345
|
+
strikethrough: init("\x1B[9m", "\x1B[29m"),
|
|
14346
|
+
black: init("\x1B[30m", "\x1B[39m"),
|
|
14347
|
+
red: init("\x1B[31m", "\x1B[39m"),
|
|
14348
|
+
green: init("\x1B[32m", "\x1B[39m"),
|
|
14349
|
+
yellow: init("\x1B[33m", "\x1B[39m"),
|
|
14350
|
+
blue: init("\x1B[34m", "\x1B[39m"),
|
|
14351
|
+
magenta: init("\x1B[35m", "\x1B[39m"),
|
|
14352
|
+
cyan: init("\x1B[36m", "\x1B[39m"),
|
|
14353
|
+
white: init("\x1B[37m", "\x1B[39m"),
|
|
14354
|
+
gray: init("\x1B[90m", "\x1B[39m"),
|
|
14355
|
+
bgBlack: init("\x1B[40m", "\x1B[49m"),
|
|
14356
|
+
bgRed: init("\x1B[41m", "\x1B[49m"),
|
|
14357
|
+
bgGreen: init("\x1B[42m", "\x1B[49m"),
|
|
14358
|
+
bgYellow: init("\x1B[43m", "\x1B[49m"),
|
|
14359
|
+
bgBlue: init("\x1B[44m", "\x1B[49m"),
|
|
14360
|
+
bgMagenta: init("\x1B[45m", "\x1B[49m"),
|
|
14361
|
+
bgCyan: init("\x1B[46m", "\x1B[49m"),
|
|
14362
|
+
bgWhite: init("\x1B[47m", "\x1B[49m")
|
|
14363
|
+
};
|
|
14364
|
+
};
|
|
14357
14365
|
module2.exports = createColors();
|
|
14358
14366
|
module2.exports.createColors = createColors;
|
|
14359
14367
|
}
|
|
@@ -15902,9 +15910,9 @@ var require_chalk = __commonJS({
|
|
|
15902
15910
|
}
|
|
15903
15911
|
});
|
|
15904
15912
|
|
|
15905
|
-
// ../node_modules/.pnpm/@babel+highlight@7.24.
|
|
15913
|
+
// ../node_modules/.pnpm/@babel+highlight@7.24.7/node_modules/@babel/highlight/lib/index.js
|
|
15906
15914
|
var require_lib13 = __commonJS({
|
|
15907
|
-
"../node_modules/.pnpm/@babel+highlight@7.24.
|
|
15915
|
+
"../node_modules/.pnpm/@babel+highlight@7.24.7/node_modules/@babel/highlight/lib/index.js"(exports2) {
|
|
15908
15916
|
"use strict";
|
|
15909
15917
|
Object.defineProperty(exports2, "__esModule", {
|
|
15910
15918
|
value: true
|
|
@@ -15932,7 +15940,7 @@ var require_lib13 = __commonJS({
|
|
|
15932
15940
|
return t.get(e);
|
|
15933
15941
|
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
15934
15942
|
for (var u in e)
|
|
15935
|
-
if ("default" !== u &&
|
|
15943
|
+
if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
15936
15944
|
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
15937
15945
|
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
15938
15946
|
}
|
|
@@ -15964,7 +15972,7 @@ var require_lib13 = __commonJS({
|
|
|
15964
15972
|
if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) {
|
|
15965
15973
|
return "keyword";
|
|
15966
15974
|
}
|
|
15967
|
-
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset)
|
|
15975
|
+
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) === "</")) {
|
|
15968
15976
|
return "jsxIdentifier";
|
|
15969
15977
|
}
|
|
15970
15978
|
if (token.value[0] !== token.value[0].toLowerCase()) {
|
|
@@ -16046,9 +16054,9 @@ var require_lib13 = __commonJS({
|
|
|
16046
16054
|
}
|
|
16047
16055
|
});
|
|
16048
16056
|
|
|
16049
|
-
// ../node_modules/.pnpm/@babel+code-frame@7.24.
|
|
16057
|
+
// ../node_modules/.pnpm/@babel+code-frame@7.24.7/node_modules/@babel/code-frame/lib/index.js
|
|
16050
16058
|
var require_lib14 = __commonJS({
|
|
16051
|
-
"../node_modules/.pnpm/@babel+code-frame@7.24.
|
|
16059
|
+
"../node_modules/.pnpm/@babel+code-frame@7.24.7/node_modules/@babel/code-frame/lib/index.js"(exports2) {
|
|
16052
16060
|
"use strict";
|
|
16053
16061
|
Object.defineProperty(exports2, "__esModule", {
|
|
16054
16062
|
value: true
|
|
@@ -16075,7 +16083,7 @@ var require_lib14 = __commonJS({
|
|
|
16075
16083
|
return t.get(e);
|
|
16076
16084
|
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
16077
16085
|
for (var u in e)
|
|
16078
|
-
if ("default" !== u &&
|
|
16086
|
+
if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
|
|
16079
16087
|
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
16080
16088
|
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
16081
16089
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pnpm",
|
|
3
3
|
"description": "Fast, disk space efficient package manager",
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.4.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"pnpm": "bin/pnpm.cjs",
|
|
7
7
|
"pnpx": "bin/pnpx.cjs"
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"@pnpm/read-project-manifest": "workspace:*",
|
|
68
68
|
"@pnpm/registry-mock": "3.31.0",
|
|
69
69
|
"@pnpm/run-npm": "workspace:*",
|
|
70
|
+
"@pnpm/store.cafs": "workspace:*",
|
|
70
71
|
"@pnpm/tabtab": "^0.5.3",
|
|
71
72
|
"@pnpm/test-fixtures": "workspace:*",
|
|
72
73
|
"@pnpm/test-ipc-server": "workspace:*",
|
|
@@ -105,7 +106,7 @@
|
|
|
105
106
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
106
107
|
"read-yaml-file": "^2.1.0",
|
|
107
108
|
"render-help": "^1.0.3",
|
|
108
|
-
"semver": "^7.6.
|
|
109
|
+
"semver": "^7.6.2",
|
|
109
110
|
"split-cmd": "^1.1.0",
|
|
110
111
|
"strip-ansi": "^6.0.1",
|
|
111
112
|
"symlink-dir": "^6.0.0",
|