@pnpm/exe 11.18.0 → 11.20.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.
Files changed (3) hide show
  1. package/dist/pnpm.mjs +6685 -6220
  2. package/dist/worker.js +36 -23
  3. package/package.json +9 -9
package/dist/worker.js CHANGED
@@ -6904,6 +6904,10 @@ function filesIncludeInstallScripts(filesIndex) {
6904
6904
  var LOCKFILE_MAJOR_VERSION = "9";
6905
6905
  var LOCKFILE_VERSION = `${LOCKFILE_MAJOR_VERSION}.0`;
6906
6906
  var ENGINE_NAME = `${process.platform};${process.arch};node${process.version.split(".")[0].substring(1)}`;
6907
+ var BUILTIN_NAMED_REGISTRIES = Object.freeze({
6908
+ gh: "https://npm.pkg.github.com/",
6909
+ npmjs: "https://registry.npmjs.org/"
6910
+ });
6907
6911
 
6908
6912
  // ../core/error/lib/index.js
6909
6913
  var PnpmError = class extends Error {
@@ -9084,7 +9088,7 @@ import fs11 from "node:fs";
9084
9088
  import { createRequire as createRequire2 } from "node:module";
9085
9089
  import { pathToFileURL } from "node:url";
9086
9090
 
9087
- // ../../../../../setup-pnpm/store/v11/links/@/msgpackr/2.0.4/4846a2ae9cbdea249e2eda7b79740c6d2b16af4f09769fa313dd4f4064702820/node_modules/msgpackr/unpack.js
9091
+ // ../../../../../setup-pnpm/store/v11/links/@/msgpackr/2.0.5/120f9075aeb95a409234328542916ec7ee3248f89cf91e593ced8e5252fd92a6/node_modules/msgpackr/unpack.js
9088
9092
  var decoder;
9089
9093
  try {
9090
9094
  decoder = new TextDecoder();
@@ -9658,36 +9662,45 @@ function readStringJS(length) {
9658
9662
  if ((byte1 & 128) === 0) {
9659
9663
  units.push(byte1);
9660
9664
  } else if ((byte1 & 224) === 192) {
9661
- const byte2 = src[position++] & 63;
9662
- const codePoint = (byte1 & 31) << 6 | byte2;
9663
- if (codePoint < 128) {
9665
+ if (byte1 < 194 || position >= end || (src[position] & 192) !== 128) {
9664
9666
  units.push(65533);
9665
9667
  } else {
9666
- units.push(codePoint);
9668
+ const byte2 = src[position++] & 63;
9669
+ units.push((byte1 & 31) << 6 | byte2);
9667
9670
  }
9668
9671
  } else if ((byte1 & 240) === 224) {
9669
- const byte2 = src[position++] & 63;
9670
- const byte3 = src[position++] & 63;
9671
- const codePoint = (byte1 & 31) << 12 | byte2 << 6 | byte3;
9672
- if (codePoint < 2048 || codePoint >= 55296 && codePoint <= 57343) {
9672
+ const byte2 = position < end ? src[position] : 0;
9673
+ if (position >= end || (byte2 & 192) !== 128 || byte1 === 224 && byte2 < 160 || byte1 === 237 && byte2 >= 160) {
9673
9674
  units.push(65533);
9674
9675
  } else {
9675
- units.push(codePoint);
9676
+ position++;
9677
+ if (position >= end || (src[position] & 192) !== 128) {
9678
+ units.push(65533);
9679
+ } else {
9680
+ const byte3 = src[position++] & 63;
9681
+ units.push((byte1 & 31) << 12 | (byte2 & 63) << 6 | byte3);
9682
+ }
9676
9683
  }
9677
9684
  } else if ((byte1 & 248) === 240) {
9678
- const byte2 = src[position++] & 63;
9679
- const byte3 = src[position++] & 63;
9680
- const byte4 = src[position++] & 63;
9681
- let unit = (byte1 & 7) << 18 | byte2 << 12 | byte3 << 6 | byte4;
9682
- if (unit < 65536 || unit > 1114111) {
9685
+ const byte2 = position < end ? src[position] : 0;
9686
+ if (byte1 > 244 || position >= end || (byte2 & 192) !== 128 || byte1 === 240 && byte2 < 144 || byte1 === 244 && byte2 >= 144) {
9683
9687
  units.push(65533);
9684
- } else if (unit > 65535) {
9685
- unit -= 65536;
9686
- units.push(unit >>> 10 & 1023 | 55296);
9687
- unit = 56320 | unit & 1023;
9688
- units.push(unit);
9689
9688
  } else {
9690
- units.push(unit);
9689
+ position++;
9690
+ if (position >= end || (src[position] & 192) !== 128) {
9691
+ units.push(65533);
9692
+ } else {
9693
+ const byte3 = src[position++] & 63;
9694
+ if (position >= end || (src[position] & 192) !== 128) {
9695
+ units.push(65533);
9696
+ } else {
9697
+ const byte4 = src[position++] & 63;
9698
+ let unit = (byte1 & 7) << 18 | (byte2 & 63) << 12 | byte3 << 6 | byte4;
9699
+ unit -= 65536;
9700
+ units.push(unit >>> 10 & 1023 | 55296);
9701
+ units.push(56320 | unit & 1023);
9702
+ }
9703
+ }
9691
9704
  }
9692
9705
  } else {
9693
9706
  units.push(65533);
@@ -10201,7 +10214,7 @@ var f32Array = new Float32Array(1);
10201
10214
  var u8Array = new Uint8Array(f32Array.buffer, 0, 4);
10202
10215
  Unpackr.SUPPORTS_STRUCT_HOOKS = true;
10203
10216
 
10204
- // ../../../../../setup-pnpm/store/v11/links/@/msgpackr/2.0.4/4846a2ae9cbdea249e2eda7b79740c6d2b16af4f09769fa313dd4f4064702820/node_modules/msgpackr/pack.js
10217
+ // ../../../../../setup-pnpm/store/v11/links/@/msgpackr/2.0.5/120f9075aeb95a409234328542916ec7ee3248f89cf91e593ced8e5252fd92a6/node_modules/msgpackr/pack.js
10205
10218
  var textEncoder;
10206
10219
  try {
10207
10220
  textEncoder = new TextEncoder();
@@ -11264,7 +11277,7 @@ var REUSE_BUFFER_MODE = 512;
11264
11277
  var RESET_BUFFER_MODE = 1024;
11265
11278
  var RESERVE_START_SPACE = 2048;
11266
11279
 
11267
- // ../../../../../setup-pnpm/store/v11/links/@/msgpackr/2.0.4/4846a2ae9cbdea249e2eda7b79740c6d2b16af4f09769fa313dd4f4064702820/node_modules/msgpackr/node-index.js
11280
+ // ../../../../../setup-pnpm/store/v11/links/@/msgpackr/2.0.5/120f9075aeb95a409234328542916ec7ee3248f89cf91e593ced8e5252fd92a6/node_modules/msgpackr/node-index.js
11268
11281
  import { createRequire } from "module";
11269
11282
  var nativeAccelerationDisabled = process.env.MSGPACKR_NATIVE_ACCELERATION_DISABLED !== void 0 && process.env.MSGPACKR_NATIVE_ACCELERATION_DISABLED.toLowerCase() === "true";
11270
11283
  if (!nativeAccelerationDisabled) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/exe",
3
- "version": "11.18.0",
3
+ "version": "11.20.0",
4
4
  "description": "Fast, disk space efficient package manager",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -35,17 +35,17 @@
35
35
  "detect-libc": "^2.1.2"
36
36
  },
37
37
  "optionalDependencies": {
38
- "@pnpm/linux-arm64": "11.18.0",
39
- "@pnpm/linux-x64": "11.18.0",
40
- "@pnpm/linuxstatic-arm64": "11.18.0",
41
- "@pnpm/linuxstatic-x64": "11.18.0",
42
- "@pnpm/macos-arm64": "11.18.0",
43
- "@pnpm/win-arm64": "11.18.0",
44
- "@pnpm/win-x64": "11.18.0"
38
+ "@pnpm/linux-arm64": "11.20.0",
39
+ "@pnpm/linux-x64": "11.20.0",
40
+ "@pnpm/linuxstatic-arm64": "11.20.0",
41
+ "@pnpm/linuxstatic-x64": "11.20.0",
42
+ "@pnpm/macos-arm64": "11.20.0",
43
+ "@pnpm/win-arm64": "11.20.0",
44
+ "@pnpm/win-x64": "11.20.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@jest/globals": "30.4.1",
48
- "@pnpm/exe": "11.18.0",
48
+ "@pnpm/exe": "11.20.0",
49
49
  "@pnpm/jest-config": "1100.0.22",
50
50
  "@zkochan/cmd-shim": "^9.0.6",
51
51
  "execa": "npm:safe-execa@0.3.0"