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 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.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-ad1c3985844d67df474dcb7327ad97d4f636baea9b2cd595f90b5b127228dc4e.br",
8
+ "file": "darwin-arm64-1624fc3269c6bf3563e3dd99e33e0b37c16f290199dca768fcc0aad8398ea6a0.br",
9
9
  "encoding": "br",
10
- "binaryBytes": 52622112,
11
- "compressedBytes": 16765860,
12
- "compressedSha256": "8a437c97110486472e2bc2060bd067a0a9cc8c30eb26fd8f4beca2f4f3320064",
13
- "binarySha256": "ad1c3985844d67df474dcb7327ad97d4f636baea9b2cd595f90b5b127228dc4e",
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": "74e2b5e32473488f4a89db6f6dcb6f5e95aeb3f45fc5a848116a09059e66636c",
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": "ad1c3985844d67df474dcb7327ad97d4f636baea9b2cd595f90b5b127228dc4e"
27
+ "binarySha256": "1624fc3269c6bf3563e3dd99e33e0b37c16f290199dca768fcc0aad8398ea6a0"
28
28
  }
29
29
  },
30
30
  "darwin-x64": {
31
- "file": "darwin-x64-b89c46f8f2b5f25e3bff54a698dee34309b34dfcd74856028693ff979c909ce5.br",
31
+ "file": "darwin-x64-e341b73c493e75d63e14e88503071a35d571457dced50911d80e3cbc4b4c2765.br",
32
32
  "encoding": "br",
33
- "binaryBytes": 62752328,
34
- "compressedBytes": 18754545,
35
- "compressedSha256": "4ae3f17c607bd32522404cd31acafe18c0412557d94f5dc2021766064dd3e0e4",
36
- "binarySha256": "b89c46f8f2b5f25e3bff54a698dee34309b34dfcd74856028693ff979c909ce5",
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": "74e2b5e32473488f4a89db6f6dcb6f5e95aeb3f45fc5a848116a09059e66636c",
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": "b89c46f8f2b5f25e3bff54a698dee34309b34dfcd74856028693ff979c909ce5"
50
+ "binarySha256": "e341b73c493e75d63e14e88503071a35d571457dced50911d80e3cbc4b4c2765"
51
51
  }
52
52
  },
53
53
  "linux-arm64-gnu": {
54
- "file": "linux-arm64-gnu-8e0b56d3d489d23cc0fee6cf7fac8292bea4f7f90f65ce612f4260d6030b378c.br",
54
+ "file": "linux-arm64-gnu-b219781285ff3c5f75a04af5debe32aa3b9cd964c01581132ae53d7cd7deb091.br",
55
55
  "encoding": "br",
56
- "binaryBytes": 57645144,
57
- "compressedBytes": 18118933,
58
- "compressedSha256": "f9d7c77d9d96d71f294bd79beeb36c024ecea29f3e869ed37dc5db119972e84e",
59
- "binarySha256": "8e0b56d3d489d23cc0fee6cf7fac8292bea4f7f90f65ce612f4260d6030b378c",
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": "74e2b5e32473488f4a89db6f6dcb6f5e95aeb3f45fc5a848116a09059e66636c",
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": "8e0b56d3d489d23cc0fee6cf7fac8292bea4f7f90f65ce612f4260d6030b378c"
73
+ "binarySha256": "b219781285ff3c5f75a04af5debe32aa3b9cd964c01581132ae53d7cd7deb091"
74
74
  }
75
75
  },
76
76
  "linux-x64-gnu": {
77
- "file": "linux-x64-gnu-546d3a2b566289d581e28130ddeb75f09ad255bfb749686cbaa1ba9f833e8d6f.br",
77
+ "file": "linux-x64-gnu-2005fde1bb22c05f62df530357ffb3fec4f95943ce61ae01851d45187915d94a.br",
78
78
  "encoding": "br",
79
- "binaryBytes": 68745344,
80
- "compressedBytes": 19467743,
81
- "compressedSha256": "afa1eb0071ab7b03bddb81f25fc2a9f5dd9e0486b3e50fb346b8035258ea70aa",
82
- "binarySha256": "546d3a2b566289d581e28130ddeb75f09ad255bfb749686cbaa1ba9f833e8d6f",
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": "74e2b5e32473488f4a89db6f6dcb6f5e95aeb3f45fc5a848116a09059e66636c",
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": "546d3a2b566289d581e28130ddeb75f09ad255bfb749686cbaa1ba9f833e8d6f"
96
+ "binarySha256": "2005fde1bb22c05f62df530357ffb3fec4f95943ce61ae01851d45187915d94a"
97
97
  }
98
98
  },
99
99
  "win32-x64": {
100
- "file": "win32-x64-7e66934c6dac3b1d314d3bd891430a1d715389d0622090b16a008b0d366fe0c3.br",
100
+ "file": "win32-x64-b4aed74c2a79be1c13d58ecb43842a17ca780e2ce619f7f1e9b786d6c5f22a75.br",
101
101
  "encoding": "br",
102
- "binaryBytes": 71571456,
103
- "compressedBytes": 21294051,
104
- "compressedSha256": "463fc00234c8995fd64ace76b959d91a2f3bb1da670fea81c14dbff9fb4112e8",
105
- "binarySha256": "7e66934c6dac3b1d314d3bd891430a1d715389d0622090b16a008b0d366fe0c3",
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": "74e2b5e32473488f4a89db6f6dcb6f5e95aeb3f45fc5a848116a09059e66636c",
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": "7e66934c6dac3b1d314d3bd891430a1d715389d0622090b16a008b0d366fe0c3"
119
+ "binarySha256": "b4aed74c2a79be1c13d58ecb43842a17ca780e2ce619f7f1e9b786d6c5f22a75"
120
120
  }
121
121
  }
122
122
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "main": "bin/pxnpm.cjs",
8
8
  "license": "MIT",
9
- "version": "7.0.0",
9
+ "version": "7.0.2",
10
10
  "description": "ARK package manager based on the pnpm 12.9.1 native engine",
11
11
  "files": [
12
12
  "bin",