@pnpm/exe 11.21.0 → 11.22.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/.bin/node-gyp +13 -1
- package/dist/node_modules/.bin/node-which +13 -1
- package/dist/node_modules/.bin/nopt +13 -1
- package/dist/node_modules/.bin/semver +13 -1
- package/dist/node_modules/node-gyp/.release-please-manifest.json +1 -1
- package/dist/node_modules/node-gyp/gyp/.release-please-manifest.json +1 -1
- package/dist/node_modules/node-gyp/gyp/pyproject.toml +4 -4
- package/dist/node_modules/node-gyp/lib/download.js +3 -3
- package/dist/node_modules/node-gyp/package.json +1 -1
- package/dist/pnpm.mjs +14172 -7214
- package/dist/worker.js +221 -68
- package/package.json +9 -9
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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=""
|
|
@@ -4,20 +4,20 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "gyp-next"
|
|
7
|
-
version = "0.22.
|
|
7
|
+
version = "0.22.1"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name="Node.js contributors", email="ryzokuken@disroot.org" },
|
|
10
10
|
]
|
|
11
11
|
description = "A fork of the GYP build system for use in the Node.js projects"
|
|
12
12
|
readme = "README.md"
|
|
13
|
-
license = "
|
|
14
|
-
license-files = ["LICENSE"]
|
|
13
|
+
license = { file="LICENSE" }
|
|
15
14
|
requires-python = ">=3.9"
|
|
16
|
-
dependencies = ["packaging>=24.0", "setuptools>=
|
|
15
|
+
dependencies = ["packaging>=24.0", "setuptools>=69.5.1"]
|
|
17
16
|
classifiers = [
|
|
18
17
|
"Development Status :: 3 - Alpha",
|
|
19
18
|
"Environment :: Console",
|
|
20
19
|
"Intended Audience :: Developers",
|
|
20
|
+
"License :: OSI Approved :: BSD License",
|
|
21
21
|
"Natural Language :: English",
|
|
22
22
|
"Programming Language :: Python",
|
|
23
23
|
"Programming Language :: Python :: 3",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const { Readable } = require('stream')
|
|
2
|
-
const {
|
|
2
|
+
const { EnvHttpProxyAgent } = require('undici')
|
|
3
3
|
const { promises: fs } = require('graceful-fs')
|
|
4
4
|
const log = require('./log')
|
|
5
5
|
|
|
@@ -48,7 +48,7 @@ async function createDispatcher (gyp) {
|
|
|
48
48
|
const env = process.env
|
|
49
49
|
const hasProxyEnv = env.http_proxy || env.HTTP_PROXY || env.https_proxy || env.HTTPS_PROXY
|
|
50
50
|
if (!gyp.opts.proxy && !gyp.opts.cafile && !hasProxyEnv) {
|
|
51
|
-
return
|
|
51
|
+
return undefined
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
const opts = {}
|
|
@@ -69,7 +69,7 @@ async function createDispatcher (gyp) {
|
|
|
69
69
|
if (gyp.opts.noproxy) {
|
|
70
70
|
opts.noProxy = gyp.opts.noproxy
|
|
71
71
|
}
|
|
72
|
-
return new
|
|
72
|
+
return new EnvHttpProxyAgent(opts)
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
async function readCAFile (filename) {
|