@yao-pkg/pkg-fetch 3.5.17 → 3.5.18
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.
|
@@ -32,26 +32,26 @@
|
|
|
32
32
|
"node-v18.20.4-macos-x64": "8ebc5bd8c21632bc79b5469d0b7dbbee9209214d9deee9aa1d84d0990c7e8464",
|
|
33
33
|
"node-v18.20.4-win-arm64": "01227a811847179a943392a41cc75084d08c21e049278190eebd98cdc6bcc4e0",
|
|
34
34
|
"node-v18.20.4-win-x64": "53196be55b5c4f5362f04eb3a34692263df8e65d756506176269a967f5e9face",
|
|
35
|
-
"node-v20.18.
|
|
36
|
-
"node-v20.18.
|
|
37
|
-
"node-v20.18.
|
|
38
|
-
"node-v20.18.
|
|
39
|
-
"node-v20.18.
|
|
40
|
-
"node-v20.18.
|
|
41
|
-
"node-v20.18.
|
|
42
|
-
"node-v20.18.
|
|
43
|
-
"node-v20.18.
|
|
44
|
-
"node-v20.18.
|
|
45
|
-
"node-v20.18.
|
|
46
|
-
"node-v22.
|
|
47
|
-
"node-v22.
|
|
48
|
-
"node-v22.
|
|
49
|
-
"node-v22.
|
|
50
|
-
"node-v22.
|
|
51
|
-
"node-v22.
|
|
52
|
-
"node-v22.
|
|
53
|
-
"node-v22.
|
|
54
|
-
"node-v22.
|
|
55
|
-
"node-v22.
|
|
56
|
-
"node-v22.
|
|
35
|
+
"node-v20.18.1-alpine-arm64": "6ced10239bbf81076b117897612fb406657545a651fe041a1d3f920f764df5dc",
|
|
36
|
+
"node-v20.18.1-alpine-x64": "fa89b95da96d4addfc776712cc1bbb9475c1c0c4db9d2f61a6dc5cf75fcd0cb7",
|
|
37
|
+
"node-v20.18.1-linux-arm64": "0dfacc1610ea9029161db13dc7ffb05bcc8425f20a8f0fc1cd53317db3215ec6",
|
|
38
|
+
"node-v20.18.1-linux-x64": "c0abaeea8e1bbb0dd3d35471fb7f3c2cbeb498fb9ddf2153686b400dfa0eceb1",
|
|
39
|
+
"node-v20.18.1-linuxstatic-arm64": "ec08472fcc25a6359325c12ba1fe6a2cb689f150afe00c422db4d60247acbdaa",
|
|
40
|
+
"node-v20.18.1-linuxstatic-armv7": "096b72d333ee994eb2ffa9e37baea72e9ae40b36ed635872bb669f1ccc5fe06d",
|
|
41
|
+
"node-v20.18.1-linuxstatic-x64": "3fd0a766e9cd511ffa314184e1494108cd9d8234bbfe2942f91493b3c99c1ae2",
|
|
42
|
+
"node-v20.18.1-macos-arm64": "8e35680f0f148a1d3cedd91abc81f8b6b7b28d896935d2df5c72995da5ca7b66",
|
|
43
|
+
"node-v20.18.1-macos-x64": "d6a7687a11dd46f4f6eb39bdb1ae1ab735734cb4b3c6ceb1b40336aed420e424",
|
|
44
|
+
"node-v20.18.1-win-arm64": "0306f809d3e118a1af8278a6b2a96d88920fd8fd441988b07ab81040c4abea9c",
|
|
45
|
+
"node-v20.18.1-win-x64": "f4c59f1f492a55a16392b3a50030f73baf0c3af8c8ca7b7447fee603edd49249",
|
|
46
|
+
"node-v22.12.0-alpine-arm64": "0b4c2c18402725fbba35c9e412e3658811ac298e3c58130e8f7553a5d66a158e",
|
|
47
|
+
"node-v22.12.0-alpine-x64": "c6ce5dc256c8eec67835be4273560890e53e970a3154911b7a147f27b9b4585e",
|
|
48
|
+
"node-v22.12.0-linux-arm64": "164425cb0f9c8e654bc10beaaaec4c640d354f302624f534a480f9752e7bdb38",
|
|
49
|
+
"node-v22.12.0-linux-x64": "1d9396ab50895ad52daf6f32c69cfbcdbb0be68186c3f59585185c21208c0d48",
|
|
50
|
+
"node-v22.12.0-linuxstatic-arm64": "a551921c097d293d68a30de6f931fb5512e1b1a667f874ce003b543395f0bf3d",
|
|
51
|
+
"node-v22.12.0-linuxstatic-armv7": "9b100c5360686e84f787d810a2ce595ca176be0d31fdf6ab3cdc76db37d9fd4b",
|
|
52
|
+
"node-v22.12.0-linuxstatic-x64": "63f1327d1e5ff30e5ca7c0a620512206a1d6a87099ce714d83089e65a070adcf",
|
|
53
|
+
"node-v22.12.0-macos-arm64": "9c4909df5024c81adbfc0a6443b76865279a6c196f258529a41a3c6d1e9eb674",
|
|
54
|
+
"node-v22.12.0-macos-x64": "94478663939ac0278ebc7a5bab09c43c3d4966a9fafe8f9619e0d3affcf9e12d",
|
|
55
|
+
"node-v22.12.0-win-arm64": "00a23ece4893ab01cf6cc1265a2b1255a6091389be341b4ff9db1c9e1c74cfa8",
|
|
56
|
+
"node-v22.12.0-win-x64": "0dbbb0ea205d92289a41762d4090a2c6e6de6fbda70bd0c6390999257d030ca9"
|
|
57
57
|
}
|
package/lib-es5/system.js
CHANGED
|
@@ -142,7 +142,7 @@ function getTargetArchs() {
|
|
|
142
142
|
return [arch];
|
|
143
143
|
}
|
|
144
144
|
function getKnownArchs() {
|
|
145
|
-
return ['x64', 'x86', 'armv7', 'arm64', 'ppc64', 's390x'];
|
|
145
|
+
return ['x64', 'x86', 'armv7', 'arm64', 'ppc64', 's390x', 'riscv64', 'loong64'];
|
|
146
146
|
}
|
|
147
147
|
exports.hostAbi = getHostAbi();
|
|
148
148
|
exports.hostPlatform = getHostPlatform();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yao-pkg/pkg-fetch",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.18",
|
|
4
4
|
"description": "Compiles and stores base binaries for pkg",
|
|
5
5
|
"main": "lib-es5/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"lint-staged": "^10.5.4",
|
|
45
45
|
"prettier": "^2.4.1",
|
|
46
46
|
"release-it": "^16.2.1",
|
|
47
|
-
"rimraf": "^
|
|
47
|
+
"rimraf": "^6.0.1",
|
|
48
48
|
"simple-git-hooks": ">=2.7.0",
|
|
49
49
|
"typescript": "^4.4.4"
|
|
50
50
|
},
|
|
@@ -194,7 +194,7 @@ index c83e8e4581..8cb451e147 100644
|
|
|
194
194
|
uint32_t max_payload_length = this->size_ - kHeaderSize;
|
|
195
195
|
if (payload_length > max_payload_length) {
|
|
196
196
|
diff --git node/lib/child_process.js node/lib/child_process.js
|
|
197
|
-
index
|
|
197
|
+
index cc81cb373d..e06da1048a 100644
|
|
198
198
|
--- node/lib/child_process.js
|
|
199
199
|
+++ node/lib/child_process.js
|
|
200
200
|
@@ -169,7 +169,7 @@ function fork(modulePath, args = [], options) {
|
|
@@ -288,7 +288,7 @@ index 88c079d10d..a7eaca0574 100644
|
|
|
288
288
|
const permission = require('internal/process/permission');
|
|
289
289
|
const { kEmptyObject } = require('internal/util');
|
|
290
290
|
diff --git node/lib/internal/process/pre_execution.js node/lib/internal/process/pre_execution.js
|
|
291
|
-
index
|
|
291
|
+
index a05d284605..4186f13d60 100644
|
|
292
292
|
--- node/lib/internal/process/pre_execution.js
|
|
293
293
|
+++ node/lib/internal/process/pre_execution.js
|
|
294
294
|
@@ -51,7 +51,11 @@ const {
|
|
@@ -572,7 +572,7 @@ index f66099a557..4048f6bd93 100644
|
|
|
572
572
|
+ return adjacent(c, nargv);
|
|
573
573
|
+}
|
|
574
574
|
diff --git node/src/node_options.cc node/src/node_options.cc
|
|
575
|
-
index
|
|
575
|
+
index e325b082de..19b6782e29 100644
|
|
576
576
|
--- node/src/node_options.cc
|
|
577
577
|
+++ node/src/node_options.cc
|
|
578
578
|
@@ -307,6 +307,7 @@ void Parse(
|
|
@@ -259,7 +259,7 @@ index ec69ad5123..1894032344 100644
|
|
|
259
259
|
GetHeaderValue(kReadOnlySnapshotChecksumOffset);
|
|
260
260
|
if (ro_snapshot_checksum != expected_ro_snapshot_checksum) {
|
|
261
261
|
diff --git node/lib/child_process.js node/lib/child_process.js
|
|
262
|
-
index
|
|
262
|
+
index bb27670112..d175723c74 100644
|
|
263
263
|
--- node/lib/child_process.js
|
|
264
264
|
+++ node/lib/child_process.js
|
|
265
265
|
@@ -168,7 +168,7 @@ function fork(modulePath, args = [], options) {
|
|
@@ -327,10 +327,10 @@ index 0000000000..a697294fdf
|
|
|
327
327
|
+ }());
|
|
328
328
|
+}());
|
|
329
329
|
diff --git node/lib/internal/modules/cjs/loader.js node/lib/internal/modules/cjs/loader.js
|
|
330
|
-
index
|
|
330
|
+
index d6897f84d2..48ae93e1ce 100644
|
|
331
331
|
--- node/lib/internal/modules/cjs/loader.js
|
|
332
332
|
+++ node/lib/internal/modules/cjs/loader.js
|
|
333
|
-
@@ -
|
|
333
|
+
@@ -231,12 +231,16 @@ function wrapModuleLoad(request, parent, isMain) {
|
|
334
334
|
* @param {string} filename Absolute path to the file
|
|
335
335
|
*/
|
|
336
336
|
function stat(filename) {
|
|
@@ -381,10 +381,10 @@ index 9a9dcebb79..01fceafc31 100644
|
|
|
381
381
|
|
|
382
382
|
/**
|
|
383
383
|
diff --git node/lib/internal/process/pre_execution.js node/lib/internal/process/pre_execution.js
|
|
384
|
-
index
|
|
384
|
+
index f46a621e52..ce0c2c5106 100644
|
|
385
385
|
--- node/lib/internal/process/pre_execution.js
|
|
386
386
|
+++ node/lib/internal/process/pre_execution.js
|
|
387
|
-
@@ -
|
|
387
|
+
@@ -50,7 +50,11 @@ const {
|
|
388
388
|
runDeserializeCallbacks,
|
|
389
389
|
} = require('internal/v8/startup_snapshot');
|
|
390
390
|
|
|
@@ -396,17 +396,17 @@ index 848ff7f142..9f8e125329 100644
|
|
|
396
396
|
return prepareExecution({
|
|
397
397
|
expandArgv1,
|
|
398
398
|
initializeModules,
|
|
399
|
-
@@ -
|
|
399
|
+
@@ -241,7 +245,8 @@ function patchProcessObject(expandArgv1) {
|
|
400
|
+
let mainEntry;
|
|
400
401
|
// If requested, update process.argv[1] to replace whatever the user provided with the resolved absolute file path of
|
|
401
402
|
// the entry point.
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
+ !StringPrototypeStartsWith(process.argv[1], '-') &&
|
|
403
|
+
- if (expandArgv1 && process.argv[1] && process.argv[1][0] !== '-') {
|
|
404
|
+
+ if (expandArgv1 && process.argv[1] && process.argv[1][0] !== '-' &&
|
|
405
405
|
+ process.argv[1] !== 'PKG_DUMMY_ENTRYPOINT') {
|
|
406
406
|
// Expand process.argv[1] into a full path.
|
|
407
407
|
const path = require('path');
|
|
408
408
|
try {
|
|
409
|
-
@@ -
|
|
409
|
+
@@ -719,6 +724,7 @@ function loadPreloadModules() {
|
|
410
410
|
// For user code, we preload modules if `-r` is passed
|
|
411
411
|
const preloadModules = getOptionValue('--require');
|
|
412
412
|
if (preloadModules && preloadModules.length > 0) {
|
|
@@ -666,7 +666,7 @@ index f66099a557..4048f6bd93 100644
|
|
|
666
666
|
+ return adjacent(c, nargv);
|
|
667
667
|
+}
|
|
668
668
|
diff --git node/src/node_options.cc node/src/node_options.cc
|
|
669
|
-
index
|
|
669
|
+
index 7d1db6bcdc..9b3fb39811 100644
|
|
670
670
|
--- node/src/node_options.cc
|
|
671
671
|
+++ node/src/node_options.cc
|
|
672
672
|
@@ -307,6 +307,7 @@ void Parse(
|
package/patches/patches.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"v22.
|
|
3
|
-
"v20.18.
|
|
2
|
+
"v22.12.0": ["node.v22.12.0.cpp.patch"],
|
|
3
|
+
"v20.18.1": ["node.v20.18.1.cpp.patch"],
|
|
4
4
|
"v18.20.4": ["node.v18.20.4.cpp.patch"],
|
|
5
5
|
"v16.20.2": ["node.v16.20.2.cpp.patch"],
|
|
6
6
|
"v14.21.3": ["node.v14.21.3.cpp.patch"],
|