@yao-pkg/pkg-fetch 3.5.20 → 3.5.21
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.
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"node-v16.20.2-win-arm64": "7514915e02aedfbdc9f87ede04f1f251b014e312e3e184d5b94b42aeb28c2485",
|
|
22
22
|
"node-v16.20.2-win-x64": "272729724993ce07b37d328718a0152e50ec5c9d27aa972975c09b75604c0dca",
|
|
23
23
|
"node-v16.20.2-macos-arm64": "3d04eb7ddd8b614b888eeb1caa6e64a068b665ab4a26dd064051973ae5842a85",
|
|
24
|
-
"node-v18.20.
|
|
25
|
-
"node-v18.20.
|
|
26
|
-
"node-v18.20.
|
|
27
|
-
"node-v18.20.
|
|
28
|
-
"node-v18.20.
|
|
29
|
-
"node-v18.20.
|
|
30
|
-
"node-v18.20.
|
|
31
|
-
"node-v18.20.
|
|
32
|
-
"node-v18.20.
|
|
33
|
-
"node-v18.20.
|
|
34
|
-
"node-v18.20.
|
|
24
|
+
"node-v18.20.8-alpine-arm64": "c7f20847fbfd765517612647593c7767331a318d2b229ddac2b4afd7d13b78d0",
|
|
25
|
+
"node-v18.20.8-alpine-x64": "3b24c6f571681046a6ed1b42752b21a41e10e8c7ac19416b9571927cc10f4a49",
|
|
26
|
+
"node-v18.20.8-linux-arm64": "63f58415622e601d0febd4c6278656b6a69022def646cd6d8f3d01e9c32bf928",
|
|
27
|
+
"node-v18.20.8-linux-x64": "0121b3c810db3f5e47028f0b1e2294a1a52a2aa20923c037247e39c82be0f789",
|
|
28
|
+
"node-v18.20.8-linuxstatic-arm64": "ac03e112f9229126e62924f1fefbb44c54f5fbbb4827d5ffa6243d3b8e81dfa4",
|
|
29
|
+
"node-v18.20.8-linuxstatic-armv7": "4c96d99319e850887d01cb63500e34f5db3b64944b3644f4ed5c94ae2be5b625",
|
|
30
|
+
"node-v18.20.8-linuxstatic-x64": "16e25c30e3a4d03a18e21bcd41b6980c65f837425d485e3f5f68c8362bad0625",
|
|
31
|
+
"node-v18.20.8-macos-arm64": "d3f8f8966ceb4cea5447edacda9d2f151e97e06baf21a3fcba9d7a7e8470cee9",
|
|
32
|
+
"node-v18.20.8-macos-x64": "f2cf139bfe3501d39d22b48a069f9ceb24942b0cdc001a0bc30ea3a68fbcc6b3",
|
|
33
|
+
"node-v18.20.8-win-arm64": "dd56454cfc9292f047413657c8b997006f27ecda8cd7f7dd38acf8d22317e743",
|
|
34
|
+
"node-v18.20.8-win-x64": "4d45cdfbcba3de3f6c0ddcd78251179b9d04dd2fcb2dba2fb052940a2821eb39",
|
|
35
35
|
"node-v20.18.2-alpine-arm64": "17fe886df87970888c5bd858aa79846f7087219c6409e3c5c77f04322850efcb",
|
|
36
36
|
"node-v20.18.2-alpine-x64": "9dc46c3cc2395d464a00f5f31d800007ff99dbf9fc6edd646a57cf0c68efe7c5",
|
|
37
37
|
"node-v20.18.2-linux-arm64": "e69be4a9a1c90f21b278ae8265528b58f415a86d0a7acfe25a77a791237da79f",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"node-v20.18.2-macos-x64": "68f69f407965a15adc3bf58fdb052f455c0ab7c836883372e00d15f70cbc5c1b",
|
|
44
44
|
"node-v20.18.2-win-arm64": "655fb0cd72e6547a78422914f895081c4176dfbc742cf88ab235c6c8c1e07275",
|
|
45
45
|
"node-v20.18.2-win-x64": "fe7ea820ac3ef081bc97efeb67fc746272bb6d1eeca1690886356effbbd31350",
|
|
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.
|
|
46
|
+
"node-v22.14.0-alpine-arm64": "670280accb8df063110e8cb57a9888c341ad4a0dc5329d8b2bed2b962a468074",
|
|
47
|
+
"node-v22.14.0-alpine-x64": "2c3d9262aad683763a3183ac3928d1f86082d9e33a893c78ce24ae02c1f73866",
|
|
48
|
+
"node-v22.14.0-linux-arm64": "cc3dffaacc4bdea5fb731c8da5d05def39db35edc284c8697e0e7056f7f3fc72",
|
|
49
|
+
"node-v22.14.0-linux-x64": "e6ce19b1662ba0ca3bb814625e30d817a63c7f03b3d9dbdf9574e4204eba758b",
|
|
50
|
+
"node-v22.14.0-linuxstatic-arm64": "8b43a21c72fb8f7c2b31a293e14f83cb92ccfce0ab076109a345533f887133b0",
|
|
51
|
+
"node-v22.14.0-linuxstatic-armv7": "14144a08e7fe24fbc4beeee308b0e6a95729d41fdcbc55003ce439e345a156b6",
|
|
52
|
+
"node-v22.14.0-linuxstatic-x64": "ae7d1a8a6934d86e75405210aa32ec1a7210667e9a154e2331a6a3753bad8633",
|
|
53
|
+
"node-v22.14.0-macos-arm64": "ddf5a3a05d6744fe824c67293116246c91597152f189952f3b418e25734eedb7",
|
|
54
|
+
"node-v22.14.0-macos-x64": "9fe740a4ee5540a06007780ba1acdfa63c9334c9c91b9f5fc3ada23c50e7530e",
|
|
55
|
+
"node-v22.14.0-win-arm64": "d974a8f37d0ce0ec9b21ea5e2fc5bf5fd074674b51657d863aef59e1981edca2",
|
|
56
|
+
"node-v22.14.0-win-x64": "44b59e0e44e358ecfd6f3696ffacf67d0491c6037eb2cc5343813f70884523d7"
|
|
57
57
|
}
|
package/package.json
CHANGED
|
@@ -315,10 +315,10 @@ index 0000000000..a697294fdf
|
|
|
315
315
|
+ }());
|
|
316
316
|
+}());
|
|
317
317
|
diff --git node/lib/internal/modules/cjs/loader.js node/lib/internal/modules/cjs/loader.js
|
|
318
|
-
index
|
|
318
|
+
index 62c33730ed..555911bf4c 100644
|
|
319
319
|
--- node/lib/internal/modules/cjs/loader.js
|
|
320
320
|
+++ node/lib/internal/modules/cjs/loader.js
|
|
321
|
-
@@ -
|
|
321
|
+
@@ -232,12 +232,16 @@ function wrapModuleLoad(request, parent, isMain) {
|
|
322
322
|
* @param {string} filename Absolute path to the file
|
|
323
323
|
*/
|
|
324
324
|
function stat(filename) {
|
|
@@ -337,13 +337,15 @@ index 236b248404..a506611d2f 100644
|
|
|
337
337
|
// Only set cache when `internalModuleStat(internalFsBinding, filename)` succeeds.
|
|
338
338
|
statCache.set(filename, result);
|
|
339
339
|
diff --git node/lib/internal/modules/package_json_reader.js node/lib/internal/modules/package_json_reader.js
|
|
340
|
-
index
|
|
340
|
+
index 3c746fa0e7..c39ba93379 100644
|
|
341
341
|
--- node/lib/internal/modules/package_json_reader.js
|
|
342
342
|
+++ node/lib/internal/modules/package_json_reader.js
|
|
343
|
-
@@ -
|
|
343
|
+
@@ -105,17 +105,20 @@ const requiresJSONParse = (value) => (value !== undefined && (value[0] === '[' |
|
|
344
|
+
* @returns {PackageConfig}
|
|
345
|
+
*/
|
|
344
346
|
function read(jsonPath, { base, specifier, isESM } = kEmptyObject) {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
+
- // This function will be called by both CJS and ESM, so we need to make sure
|
|
348
|
+
- // non-null attributes are converted to strings.
|
|
347
349
|
- const parsed = modulesBinding.readPackageJSON(
|
|
348
350
|
- jsonPath,
|
|
349
351
|
- isESM,
|
|
@@ -351,11 +353,13 @@ index 9a9dcebb79..01fceafc31 100644
|
|
|
351
353
|
- specifier == null ? undefined : `${specifier}`,
|
|
352
354
|
- );
|
|
353
355
|
-
|
|
354
|
-
-
|
|
356
|
+
- const result = deserializePackageJSON(jsonPath, parsed);
|
|
357
|
+
-
|
|
355
358
|
+ const fs = require('fs');
|
|
359
|
+
+ let result;
|
|
356
360
|
+ if (fs.existsSync(jsonPath)) {
|
|
357
361
|
+ const json = JSONParse(fs.readFileSync(jsonPath, { encoding: "utf8" }).trim());
|
|
358
|
-
+
|
|
362
|
+
+ result = deserializePackageJSON(jsonPath, [
|
|
359
363
|
+ json['name'],
|
|
360
364
|
+ json['main'],
|
|
361
365
|
+ json['type'],
|
|
@@ -363,13 +367,13 @@ index 9a9dcebb79..01fceafc31 100644
|
|
|
363
367
|
+ json['exports'],
|
|
364
368
|
+ ]);
|
|
365
369
|
+ } else {
|
|
366
|
-
+
|
|
370
|
+
+ result = deserializePackageJSON(jsonPath, undefined);
|
|
367
371
|
+ }
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
372
|
+
return {
|
|
373
|
+
__proto__: null,
|
|
374
|
+
...result.data,
|
|
371
375
|
diff --git node/lib/internal/process/pre_execution.js node/lib/internal/process/pre_execution.js
|
|
372
|
-
index
|
|
376
|
+
index d1c05d1717..c6c806f73c 100644
|
|
373
377
|
--- node/lib/internal/process/pre_execution.js
|
|
374
378
|
+++ node/lib/internal/process/pre_execution.js
|
|
375
379
|
@@ -50,7 +50,11 @@ const {
|
|
@@ -394,7 +398,7 @@ index 5d67892bb8..5c4183cd30 100644
|
|
|
394
398
|
// Expand process.argv[1] into a full path.
|
|
395
399
|
const path = require('path');
|
|
396
400
|
try {
|
|
397
|
-
@@ -
|
|
401
|
+
@@ -726,6 +731,7 @@ function loadPreloadModules() {
|
|
398
402
|
// For user code, we preload modules if `-r` is passed
|
|
399
403
|
const preloadModules = getOptionValue('--require');
|
|
400
404
|
if (preloadModules && preloadModules.length > 0) {
|
|
@@ -425,10 +429,10 @@ index ae71080620..b05638de75 100644
|
|
|
425
429
|
throw e; /* node-do-not-add-exception-line */
|
|
426
430
|
}
|
|
427
431
|
diff --git node/src/inspector_agent.cc node/src/inspector_agent.cc
|
|
428
|
-
index
|
|
432
|
+
index be767c1825..14478899c4 100644
|
|
429
433
|
--- node/src/inspector_agent.cc
|
|
430
434
|
+++ node/src/inspector_agent.cc
|
|
431
|
-
@@ -
|
|
435
|
+
@@ -796,11 +796,6 @@ bool Agent::Start(const std::string& path,
|
|
432
436
|
StartIoThreadAsyncCallback));
|
|
433
437
|
uv_unref(reinterpret_cast<uv_handle_t*>(&start_io_thread_async));
|
|
434
438
|
start_io_thread_async.data = this;
|
|
@@ -469,10 +473,10 @@ index f4365c0eda..f89c77fe44 100644
|
|
|
469
473
|
}
|
|
470
474
|
|
|
471
475
|
diff --git node/src/node_contextify.cc node/src/node_contextify.cc
|
|
472
|
-
index
|
|
476
|
+
index e57880c5e9..32091f8798 100644
|
|
473
477
|
--- node/src/node_contextify.cc
|
|
474
478
|
+++ node/src/node_contextify.cc
|
|
475
|
-
@@ -
|
|
479
|
+
@@ -86,6 +86,7 @@ using v8::Symbol;
|
|
476
480
|
using v8::Uint32;
|
|
477
481
|
using v8::UnboundScript;
|
|
478
482
|
using v8::Value;
|
|
@@ -480,7 +484,7 @@ index 5f4529262a..4ecfaf0513 100644
|
|
|
480
484
|
|
|
481
485
|
// The vm module executes code in a sandboxed environment with a different
|
|
482
486
|
// global object than the rest of the code. This is achieved by applying
|
|
483
|
-
@@ -
|
|
487
|
+
@@ -982,13 +983,13 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
484
488
|
Local<ArrayBufferView> cached_data_buf;
|
|
485
489
|
bool produce_cached_data = false;
|
|
486
490
|
Local<Context> parsing_context = context;
|
|
@@ -497,7 +501,7 @@ index 5f4529262a..4ecfaf0513 100644
|
|
|
497
501
|
CHECK(args[2]->IsNumber());
|
|
498
502
|
line_offset = args[2].As<Int32>()->Value();
|
|
499
503
|
CHECK(args[3]->IsNumber());
|
|
500
|
-
@@ -
|
|
504
|
+
@@ -1009,6 +1010,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
501
505
|
}
|
|
502
506
|
CHECK(args[7]->IsSymbol());
|
|
503
507
|
id_symbol = args[7].As<Symbol>();
|
|
@@ -508,7 +512,7 @@ index 5f4529262a..4ecfaf0513 100644
|
|
|
508
512
|
}
|
|
509
513
|
|
|
510
514
|
ContextifyScript* contextify_script =
|
|
511
|
-
@@ -
|
|
515
|
+
@@ -1056,6 +1061,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
512
516
|
ShouldNotAbortOnUncaughtScope no_abort_scope(env);
|
|
513
517
|
Context::Scope scope(parsing_context);
|
|
514
518
|
|
|
@@ -519,7 +523,7 @@ index 5f4529262a..4ecfaf0513 100644
|
|
|
519
523
|
MaybeLocal<UnboundScript> maybe_v8_script =
|
|
520
524
|
ScriptCompiler::CompileUnboundScript(isolate, &source, compile_options);
|
|
521
525
|
|
|
522
|
-
@@ -
|
|
526
|
+
@@ -1070,6 +1079,12 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
523
527
|
return;
|
|
524
528
|
}
|
|
525
529
|
|
|
@@ -532,7 +536,7 @@ index 5f4529262a..4ecfaf0513 100644
|
|
|
532
536
|
contextify_script->script_.Reset(isolate, v8_script);
|
|
533
537
|
contextify_script->script_.SetWeak();
|
|
534
538
|
contextify_script->object()->SetInternalField(kUnboundScriptSlot, v8_script);
|
|
535
|
-
@@ -
|
|
539
|
+
@@ -1102,6 +1117,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
536
540
|
.IsNothing())
|
|
537
541
|
return;
|
|
538
542
|
|
|
@@ -654,10 +658,10 @@ index f66099a557..4048f6bd93 100644
|
|
|
654
658
|
+ return adjacent(c, nargv);
|
|
655
659
|
+}
|
|
656
660
|
diff --git node/src/node_options.cc node/src/node_options.cc
|
|
657
|
-
index
|
|
661
|
+
index 1d81079a9b..3579a610ef 100644
|
|
658
662
|
--- node/src/node_options.cc
|
|
659
663
|
+++ node/src/node_options.cc
|
|
660
|
-
@@ -
|
|
664
|
+
@@ -317,6 +317,7 @@ void Parse(
|
|
661
665
|
// TODO(addaleax): Make that unnecessary.
|
|
662
666
|
|
|
663
667
|
DebugOptionsParser::DebugOptionsParser() {
|
package/patches/patches.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"v22.
|
|
2
|
+
"v22.14.0": ["node.v22.14.0.cpp.patch"],
|
|
3
3
|
"v20.18.2": ["node.v20.18.2.cpp.patch"],
|
|
4
|
-
"v18.20.
|
|
4
|
+
"v18.20.8": ["node.v18.20.8.cpp.patch"],
|
|
5
5
|
"v16.20.2": ["node.v16.20.2.cpp.patch"],
|
|
6
6
|
"v14.21.3": ["node.v14.21.3.cpp.patch"],
|
|
7
7
|
"v12.22.11": ["node.v12.22.11.cpp.patch"],
|