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/worker.js CHANGED
@@ -840,9 +840,9 @@ var require_lib = __commonJS({
840
840
  }
841
841
  });
842
842
 
843
- // ../node_modules/.pnpm/minipass@7.1.0/node_modules/minipass/dist/commonjs/index.js
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.0/node_modules/minipass/dist/commonjs/index.js"(exports2) {
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 events_1 = require("events");
857
- var stream_1 = __importDefault2(require("stream"));
858
- var string_decoder_1 = require("string_decoder");
859
- var isStream = (s) => !!s && typeof s === "object" && (s instanceof Minipass || s instanceof stream_1.default || (0, exports2.isReadable)(s) || (0, exports2.isWritable)(s));
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 events_1.EventEmitter && typeof s.pipe === "function" && // node core Writable streams have a pipe() method, but it throws
862
- s.pipe !== stream_1.default.Writable.prototype.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 events_1.EventEmitter && typeof s.write === "function" && typeof s.end === "function";
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 events_1.EventEmitter {
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 string_decoder_1.StringDecoder(this[ENCODING]) : null;
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.22.20/node_modules/@babel/helper-validator-identifier/lib/identifier.js
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.22.20/node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports2) {
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.22.20/node_modules/@babel/helper-validator-identifier/lib/keyword.js
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.22.20/node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports2) {
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.22.20/node_modules/@babel/helper-validator-identifier/lib/index.js
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.22.20/node_modules/@babel/helper-validator-identifier/lib/index.js"(exports2) {
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.0/node_modules/picocolors/picocolors.js
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.0/node_modules/picocolors/picocolors.js"(exports2, module2) {
14316
- var tty = require("tty");
14317
- var isColorSupported = !("NO_COLOR" in process.env || process.argv.includes("--no-color")) && ("FORCE_COLOR" in process.env || process.argv.includes("--color") || process.platform === "win32" || tty.isatty(1) && process.env.TERM !== "dumb" || "CI" in process.env);
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 start = string.substring(0, index) + replace;
14325
- let end = string.substring(index + close.length);
14326
- let nextIndex = end.indexOf(close);
14327
- return ~nextIndex ? start + replaceClose(end, close, replace, nextIndex) : start + end;
14328
- };
14329
- var createColors = (enabled = isColorSupported) => ({
14330
- isColorSupported: enabled,
14331
- reset: enabled ? (s) => `\x1B[0m${s}\x1B[0m` : String,
14332
- bold: enabled ? formatter("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m") : String,
14333
- dim: enabled ? formatter("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m") : String,
14334
- italic: enabled ? formatter("\x1B[3m", "\x1B[23m") : String,
14335
- underline: enabled ? formatter("\x1B[4m", "\x1B[24m") : String,
14336
- inverse: enabled ? formatter("\x1B[7m", "\x1B[27m") : String,
14337
- hidden: enabled ? formatter("\x1B[8m", "\x1B[28m") : String,
14338
- strikethrough: enabled ? formatter("\x1B[9m", "\x1B[29m") : String,
14339
- black: enabled ? formatter("\x1B[30m", "\x1B[39m") : String,
14340
- red: enabled ? formatter("\x1B[31m", "\x1B[39m") : String,
14341
- green: enabled ? formatter("\x1B[32m", "\x1B[39m") : String,
14342
- yellow: enabled ? formatter("\x1B[33m", "\x1B[39m") : String,
14343
- blue: enabled ? formatter("\x1B[34m", "\x1B[39m") : String,
14344
- magenta: enabled ? formatter("\x1B[35m", "\x1B[39m") : String,
14345
- cyan: enabled ? formatter("\x1B[36m", "\x1B[39m") : String,
14346
- white: enabled ? formatter("\x1B[37m", "\x1B[39m") : String,
14347
- gray: enabled ? formatter("\x1B[90m", "\x1B[39m") : String,
14348
- bgBlack: enabled ? formatter("\x1B[40m", "\x1B[49m") : String,
14349
- bgRed: enabled ? formatter("\x1B[41m", "\x1B[49m") : String,
14350
- bgGreen: enabled ? formatter("\x1B[42m", "\x1B[49m") : String,
14351
- bgYellow: enabled ? formatter("\x1B[43m", "\x1B[49m") : String,
14352
- bgBlue: enabled ? formatter("\x1B[44m", "\x1B[49m") : String,
14353
- bgMagenta: enabled ? formatter("\x1B[45m", "\x1B[49m") : String,
14354
- bgCyan: enabled ? formatter("\x1B[46m", "\x1B[49m") : String,
14355
- bgWhite: enabled ? formatter("\x1B[47m", "\x1B[49m") : String
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.2/node_modules/@babel/highlight/lib/index.js
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.2/node_modules/@babel/highlight/lib/index.js"(exports2) {
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 && Object.prototype.hasOwnProperty.call(e, 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.2/node_modules/@babel/code-frame/lib/index.js
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.2/node_modules/@babel/code-frame/lib/index.js"(exports2) {
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 && Object.prototype.hasOwnProperty.call(e, 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.3.0",
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.0",
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",