@pnpm/exe 12.0.0-rc.2 → 12.0.0-rc.4

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.
@@ -1,5 +1,17 @@
1
1
  #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
2
+ # Resolve $0 through symlinks so basedir is the shim's real directory.
3
+ # Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
4
+ link="$0"
5
+ hops=0
6
+ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
7
+ hops=$((hops+1))
8
+ target=$(readlink "$link")
9
+ case "$target" in
10
+ /*) link="$target" ;;
11
+ *) link="$(dirname "$link")/$target" ;;
12
+ esac
13
+ done
14
+ basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
3
15
  basedir_win="$basedir"
4
16
  exe=""
5
17
  msys=""
@@ -1,5 +1,17 @@
1
1
  #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
2
+ # Resolve $0 through symlinks so basedir is the shim's real directory.
3
+ # Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
4
+ link="$0"
5
+ hops=0
6
+ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
7
+ hops=$((hops+1))
8
+ target=$(readlink "$link")
9
+ case "$target" in
10
+ /*) link="$target" ;;
11
+ *) link="$(dirname "$link")/$target" ;;
12
+ esac
13
+ done
14
+ basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
3
15
  basedir_win="$basedir"
4
16
  exe=""
5
17
  msys=""
@@ -1,5 +1,17 @@
1
1
  #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
2
+ # Resolve $0 through symlinks so basedir is the shim's real directory.
3
+ # Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
4
+ link="$0"
5
+ hops=0
6
+ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
7
+ hops=$((hops+1))
8
+ target=$(readlink "$link")
9
+ case "$target" in
10
+ /*) link="$target" ;;
11
+ *) link="$(dirname "$link")/$target" ;;
12
+ esac
13
+ done
14
+ basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
3
15
  basedir_win="$basedir"
4
16
  exe=""
5
17
  msys=""
@@ -1,5 +1,17 @@
1
1
  #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
2
+ # Resolve $0 through symlinks so basedir is the shim's real directory.
3
+ # Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
4
+ link="$0"
5
+ hops=0
6
+ while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
7
+ hops=$((hops+1))
8
+ target=$(readlink "$link")
9
+ case "$target" in
10
+ /*) link="$target" ;;
11
+ *) link="$(dirname "$link")/$target" ;;
12
+ esac
13
+ done
14
+ basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
3
15
  basedir_win="$basedir"
4
16
  exe=""
5
17
  msys=""
@@ -1,9 +1,9 @@
1
1
  {
2
- "lastValidatedTimestamp": 1786284556806,
2
+ "lastValidatedTimestamp": 1786544175645,
3
3
  "projects": {
4
4
  "/home/runner/_work/pnpm/pnpm/pnpm/npm/pnpm/temp-deploy": {
5
5
  "name": "pacquet",
6
- "version": "12.0.0-rc.2"
6
+ "version": "12.0.0-rc.4"
7
7
  }
8
8
  },
9
9
  "pnpmfiles": [],
@@ -25,7 +25,7 @@
25
25
  "@commitlint/cli": "^21.2.1",
26
26
  "@commitlint/config-conventional": "^21.2.0",
27
27
  "@commitlint/prompt-cli": "^21.2.0",
28
- "@cyclonedx/cyclonedx-library": "10.1.0",
28
+ "@cyclonedx/cyclonedx-library": "10.1.1",
29
29
  "@eslint/js": "^10.0.1",
30
30
  "@inquirer/prompts": "^8.5.2",
31
31
  "@jest/globals": "30.4.1",
@@ -86,7 +86,7 @@
86
86
  "@types/write-file-atomic": "^4.0.3",
87
87
  "@types/yarnpkg__lockfile": "^1.1.9",
88
88
  "@types/zkochan__table": "npm:@types/table@6.3.2",
89
- "@typescript-eslint/utils": "^8.66.0",
89
+ "@typescript-eslint/utils": "^8.67.0",
90
90
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
91
91
  "@yarnpkg/core": "4.9.1",
92
92
  "@yarnpkg/extensions": "2.0.7",
@@ -127,12 +127,12 @@
127
127
  "dir-is-case-sensitive": "^3.0.0",
128
128
  "empathic": "^2.0.1",
129
129
  "encode-registry": "^3.0.1",
130
- "esbuild": "^0.28.1",
130
+ "esbuild": "^0.28.2",
131
131
  "escape-string-regexp": "^5.0.0",
132
- "eslint": "^10.8.0",
132
+ "eslint": "^10.8.1",
133
133
  "eslint-plugin-import-x": "^4.17.1",
134
134
  "eslint-plugin-jest": "^29.16.0",
135
- "eslint-plugin-n": "^18.2.2",
135
+ "eslint-plugin-n": "^18.3.0",
136
136
  "eslint-plugin-promise": "^7.3.0",
137
137
  "eslint-plugin-regexp": "^3.1.1",
138
138
  "eslint-plugin-simple-import-sort": "^14.0.0",
@@ -247,7 +247,7 @@
247
247
  "tree-kill": "^1.2.2",
248
248
  "ts-jest-resolver": "2.0.1",
249
249
  "typescript": "6.0.3",
250
- "typescript-eslint": "^8.66.0",
250
+ "typescript-eslint": "^8.67.0",
251
251
  "undici": "^7.27.2",
252
252
  "unified": "^11.0.5",
253
253
  "validate-npm-package-name": "7.0.2",
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "./dist/node_modules/node-gyp/gyp/gyp"
10
10
  ]
11
11
  },
12
- "version": "12.0.0-rc.2",
12
+ "version": "12.0.0-rc.4",
13
13
  "description": "Fast, disk space efficient package manager",
14
14
  "keywords": [
15
15
  "pnpm",
@@ -43,14 +43,14 @@
43
43
  "dist/"
44
44
  ],
45
45
  "optionalDependencies": {
46
- "@pnpm/exe.win32-x64": "12.0.0-rc.2",
47
- "@pnpm/exe.win32-arm64": "12.0.0-rc.2",
48
- "@pnpm/exe.darwin-x64": "12.0.0-rc.2",
49
- "@pnpm/exe.darwin-arm64": "12.0.0-rc.2",
50
- "@pnpm/exe.linux-x64": "12.0.0-rc.2",
51
- "@pnpm/exe.linux-arm64": "12.0.0-rc.2",
52
- "@pnpm/exe.linux-x64-musl": "12.0.0-rc.2",
53
- "@pnpm/exe.linux-arm64-musl": "12.0.0-rc.2"
46
+ "@pnpm/exe.win32-x64": "12.0.0-rc.4",
47
+ "@pnpm/exe.win32-arm64": "12.0.0-rc.4",
48
+ "@pnpm/exe.darwin-x64": "12.0.0-rc.4",
49
+ "@pnpm/exe.darwin-arm64": "12.0.0-rc.4",
50
+ "@pnpm/exe.linux-x64": "12.0.0-rc.4",
51
+ "@pnpm/exe.linux-arm64": "12.0.0-rc.4",
52
+ "@pnpm/exe.linux-x64-musl": "12.0.0-rc.4",
53
+ "@pnpm/exe.linux-arm64-musl": "12.0.0-rc.4"
54
54
  },
55
55
  "scripts": {
56
56
  "preinstall": "node install.js",