pxnpm 7.0.0 → 7.0.2
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/README.md +2 -0
- package/dist/launcher.cjs +2 -0
- package/dist/native-manifest.json +36 -36
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
# pxnpm 7
|
|
2
2
|
|
|
3
3
|
依赖构建脚本默认允许执行,包括 CI 安装;无需运行 `pxnpm approve-builds` 或填写 `allowBuilds`,也不会自动向项目写入审批配置。`--ignore-scripts` 可跳过脚本;显式设置 `dangerouslyAllowAllBuilds: false` 可恢复按依赖审批。
|
|
4
|
+
|
|
5
|
+
旧锁文件中的 HTTP/HTTPS 压缩包 URL 依赖缺少 `integrity` 时,安装会自动获取并补齐校验值,保持已锁定版本;CI 和 `--frozen-lockfile` 同样适用。已有校验值继续验证。具备完整缓存时支持 `--offline` 修复,无需用户手动清理或重建锁文件。
|
package/dist/launcher.cjs
CHANGED
|
@@ -50,6 +50,8 @@ async function main(args = process.argv.slice(2)) {
|
|
|
50
50
|
let binary;
|
|
51
51
|
try { prepared = prepare(args); binary = await ensureNative({pkgRoot,env:prepared.env,offline:args.includes('--offline')}); }
|
|
52
52
|
catch (error) { console.error(`pxnpm: ${error.message}`); process.exitCode = 1; return; }
|
|
53
|
+
// The release version belongs to this package, not to inherited environment settings.
|
|
54
|
+
prepared.env.PXNPM_PACKAGE_VERSION = require(path.join(pkgRoot,'package.json')).version;
|
|
53
55
|
global.pxnpm__startedAt = Date.now();
|
|
54
56
|
const child = spawn(binary, prepared.args, {stdio: 'inherit', env: prepared.env});
|
|
55
57
|
const handlers = new Map(['SIGINT', 'SIGTERM', 'SIGHUP'].map(signal => [signal, () => child.kill(signal)]));
|
|
@@ -1,122 +1,122 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"networkPolicy": "fixed",
|
|
5
5
|
"baseUrl": "https://registry-pxnpm.rdc.nfjbill.ren:20021/__static/srv/downloads/pxnpm",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
|
-
"file": "darwin-arm64-
|
|
8
|
+
"file": "darwin-arm64-1624fc3269c6bf3563e3dd99e33e0b37c16f290199dca768fcc0aad8398ea6a0.br",
|
|
9
9
|
"encoding": "br",
|
|
10
|
-
"binaryBytes":
|
|
11
|
-
"compressedBytes":
|
|
12
|
-
"compressedSha256": "
|
|
13
|
-
"binarySha256": "
|
|
10
|
+
"binaryBytes": 52770960,
|
|
11
|
+
"compressedBytes": 16737587,
|
|
12
|
+
"compressedSha256": "bf14d7cab52542412d4cf98e9df340b7182e03eabed5b2c06b0a469591f3cc46",
|
|
13
|
+
"binarySha256": "1624fc3269c6bf3563e3dd99e33e0b37c16f290199dca768fcc0aad8398ea6a0",
|
|
14
14
|
"build": {
|
|
15
15
|
"version": "7.0.0",
|
|
16
16
|
"upstream": "12.9.1",
|
|
17
17
|
"networkPolicy": "fixed",
|
|
18
18
|
"proxySha256": "9df64e72652677cd129eaf0cb3bd70869f9e17601a5fbc74b14814bff6df3973",
|
|
19
19
|
"sourceSha256": "24fc6b35169fee879d62d9c08f10c697d3fc7f6e30b3b7a820a3f5792a240123",
|
|
20
|
-
"patchSha256": "
|
|
20
|
+
"patchSha256": "182858e3d58da884ae9471502c2bc7335a47404f3f0645bce1be7319ad2a1187",
|
|
21
21
|
"target": "darwin-arm64",
|
|
22
22
|
"profile": {
|
|
23
23
|
"optLevel": "3",
|
|
24
24
|
"lto": "thin",
|
|
25
25
|
"codegenUnits": "16"
|
|
26
26
|
},
|
|
27
|
-
"binarySha256": "
|
|
27
|
+
"binarySha256": "1624fc3269c6bf3563e3dd99e33e0b37c16f290199dca768fcc0aad8398ea6a0"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"darwin-x64": {
|
|
31
|
-
"file": "darwin-x64-
|
|
31
|
+
"file": "darwin-x64-e341b73c493e75d63e14e88503071a35d571457dced50911d80e3cbc4b4c2765.br",
|
|
32
32
|
"encoding": "br",
|
|
33
|
-
"binaryBytes":
|
|
34
|
-
"compressedBytes":
|
|
35
|
-
"compressedSha256": "
|
|
36
|
-
"binarySha256": "
|
|
33
|
+
"binaryBytes": 62969472,
|
|
34
|
+
"compressedBytes": 18812841,
|
|
35
|
+
"compressedSha256": "405e58753f57c4a41c3d2a58298923fb6c7556c7bdf4b50a92082fc8aac83cce",
|
|
36
|
+
"binarySha256": "e341b73c493e75d63e14e88503071a35d571457dced50911d80e3cbc4b4c2765",
|
|
37
37
|
"build": {
|
|
38
38
|
"version": "7.0.0",
|
|
39
39
|
"upstream": "12.9.1",
|
|
40
40
|
"networkPolicy": "fixed",
|
|
41
41
|
"proxySha256": "9df64e72652677cd129eaf0cb3bd70869f9e17601a5fbc74b14814bff6df3973",
|
|
42
42
|
"sourceSha256": "24fc6b35169fee879d62d9c08f10c697d3fc7f6e30b3b7a820a3f5792a240123",
|
|
43
|
-
"patchSha256": "
|
|
43
|
+
"patchSha256": "182858e3d58da884ae9471502c2bc7335a47404f3f0645bce1be7319ad2a1187",
|
|
44
44
|
"target": "x86_64-apple-darwin",
|
|
45
45
|
"profile": {
|
|
46
46
|
"optLevel": "3",
|
|
47
47
|
"lto": "thin",
|
|
48
48
|
"codegenUnits": "16"
|
|
49
49
|
},
|
|
50
|
-
"binarySha256": "
|
|
50
|
+
"binarySha256": "e341b73c493e75d63e14e88503071a35d571457dced50911d80e3cbc4b4c2765"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"linux-arm64-gnu": {
|
|
54
|
-
"file": "linux-arm64-gnu-
|
|
54
|
+
"file": "linux-arm64-gnu-b219781285ff3c5f75a04af5debe32aa3b9cd964c01581132ae53d7cd7deb091.br",
|
|
55
55
|
"encoding": "br",
|
|
56
|
-
"binaryBytes":
|
|
57
|
-
"compressedBytes":
|
|
58
|
-
"compressedSha256": "
|
|
59
|
-
"binarySha256": "
|
|
56
|
+
"binaryBytes": 57813944,
|
|
57
|
+
"compressedBytes": 17978997,
|
|
58
|
+
"compressedSha256": "fb795cf5baab16750ce11e2acab05849e33d77979b04062a8d79ef923a4ddeb0",
|
|
59
|
+
"binarySha256": "b219781285ff3c5f75a04af5debe32aa3b9cd964c01581132ae53d7cd7deb091",
|
|
60
60
|
"build": {
|
|
61
61
|
"version": "7.0.0",
|
|
62
62
|
"upstream": "12.9.1",
|
|
63
63
|
"networkPolicy": "fixed",
|
|
64
64
|
"proxySha256": "9df64e72652677cd129eaf0cb3bd70869f9e17601a5fbc74b14814bff6df3973",
|
|
65
65
|
"sourceSha256": "24fc6b35169fee879d62d9c08f10c697d3fc7f6e30b3b7a820a3f5792a240123",
|
|
66
|
-
"patchSha256": "
|
|
66
|
+
"patchSha256": "182858e3d58da884ae9471502c2bc7335a47404f3f0645bce1be7319ad2a1187",
|
|
67
67
|
"target": "aarch64-unknown-linux-gnu",
|
|
68
68
|
"profile": {
|
|
69
69
|
"optLevel": "3",
|
|
70
70
|
"lto": "thin",
|
|
71
71
|
"codegenUnits": "16"
|
|
72
72
|
},
|
|
73
|
-
"binarySha256": "
|
|
73
|
+
"binarySha256": "b219781285ff3c5f75a04af5debe32aa3b9cd964c01581132ae53d7cd7deb091"
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"linux-x64-gnu": {
|
|
77
|
-
"file": "linux-x64-gnu-
|
|
77
|
+
"file": "linux-x64-gnu-2005fde1bb22c05f62df530357ffb3fec4f95943ce61ae01851d45187915d94a.br",
|
|
78
78
|
"encoding": "br",
|
|
79
|
-
"binaryBytes":
|
|
80
|
-
"compressedBytes":
|
|
81
|
-
"compressedSha256": "
|
|
82
|
-
"binarySha256": "
|
|
79
|
+
"binaryBytes": 68955472,
|
|
80
|
+
"compressedBytes": 19435109,
|
|
81
|
+
"compressedSha256": "74b1fbd59b260c506a4434fb3bce3d8b6d98b5e2efd2f2bde70d6dc9b5879af2",
|
|
82
|
+
"binarySha256": "2005fde1bb22c05f62df530357ffb3fec4f95943ce61ae01851d45187915d94a",
|
|
83
83
|
"build": {
|
|
84
84
|
"version": "7.0.0",
|
|
85
85
|
"upstream": "12.9.1",
|
|
86
86
|
"networkPolicy": "fixed",
|
|
87
87
|
"proxySha256": "9df64e72652677cd129eaf0cb3bd70869f9e17601a5fbc74b14814bff6df3973",
|
|
88
88
|
"sourceSha256": "24fc6b35169fee879d62d9c08f10c697d3fc7f6e30b3b7a820a3f5792a240123",
|
|
89
|
-
"patchSha256": "
|
|
89
|
+
"patchSha256": "182858e3d58da884ae9471502c2bc7335a47404f3f0645bce1be7319ad2a1187",
|
|
90
90
|
"target": "x86_64-unknown-linux-gnu",
|
|
91
91
|
"profile": {
|
|
92
92
|
"optLevel": "3",
|
|
93
93
|
"lto": "thin",
|
|
94
94
|
"codegenUnits": "16"
|
|
95
95
|
},
|
|
96
|
-
"binarySha256": "
|
|
96
|
+
"binarySha256": "2005fde1bb22c05f62df530357ffb3fec4f95943ce61ae01851d45187915d94a"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
"win32-x64": {
|
|
100
|
-
"file": "win32-x64-
|
|
100
|
+
"file": "win32-x64-b4aed74c2a79be1c13d58ecb43842a17ca780e2ce619f7f1e9b786d6c5f22a75.br",
|
|
101
101
|
"encoding": "br",
|
|
102
|
-
"binaryBytes":
|
|
103
|
-
"compressedBytes":
|
|
104
|
-
"compressedSha256": "
|
|
105
|
-
"binarySha256": "
|
|
102
|
+
"binaryBytes": 71776256,
|
|
103
|
+
"compressedBytes": 21380326,
|
|
104
|
+
"compressedSha256": "68ebf4bb1819f3e89779d368e440242b2f9c2203fef10b9e38466ca9dcfc2d68",
|
|
105
|
+
"binarySha256": "b4aed74c2a79be1c13d58ecb43842a17ca780e2ce619f7f1e9b786d6c5f22a75",
|
|
106
106
|
"build": {
|
|
107
107
|
"version": "7.0.0",
|
|
108
108
|
"upstream": "12.9.1",
|
|
109
109
|
"networkPolicy": "fixed",
|
|
110
110
|
"proxySha256": "9df64e72652677cd129eaf0cb3bd70869f9e17601a5fbc74b14814bff6df3973",
|
|
111
111
|
"sourceSha256": "24fc6b35169fee879d62d9c08f10c697d3fc7f6e30b3b7a820a3f5792a240123",
|
|
112
|
-
"patchSha256": "
|
|
112
|
+
"patchSha256": "182858e3d58da884ae9471502c2bc7335a47404f3f0645bce1be7319ad2a1187",
|
|
113
113
|
"target": "x86_64-pc-windows-gnu",
|
|
114
114
|
"profile": {
|
|
115
115
|
"optLevel": "3",
|
|
116
116
|
"lto": "thin",
|
|
117
117
|
"codegenUnits": "16"
|
|
118
118
|
},
|
|
119
|
-
"binarySha256": "
|
|
119
|
+
"binarySha256": "b4aed74c2a79be1c13d58ecb43842a17ca780e2ce619f7f1e9b786d6c5f22a75"
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
}
|