@yao-pkg/pkg-fetch 3.5.21 → 3.5.23
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.8-macos-x64": "f2cf139bfe3501d39d22b48a069f9ceb24942b0cdc001a0bc30ea3a68fbcc6b3",
|
|
33
33
|
"node-v18.20.8-win-arm64": "dd56454cfc9292f047413657c8b997006f27ecda8cd7f7dd38acf8d22317e743",
|
|
34
34
|
"node-v18.20.8-win-x64": "4d45cdfbcba3de3f6c0ddcd78251179b9d04dd2fcb2dba2fb052940a2821eb39",
|
|
35
|
-
"node-v20.
|
|
36
|
-
"node-v20.
|
|
37
|
-
"node-v20.
|
|
38
|
-
"node-v20.
|
|
39
|
-
"node-v20.
|
|
40
|
-
"node-v20.
|
|
41
|
-
"node-v20.
|
|
42
|
-
"node-v20.
|
|
43
|
-
"node-v20.
|
|
44
|
-
"node-v20.
|
|
45
|
-
"node-v20.
|
|
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.19.1-alpine-arm64": "6d9a7e3756738eb151b145add72e800c14cab784601ad3743a710d8ac7a18c86",
|
|
36
|
+
"node-v20.19.1-alpine-x64": "2df209abfd7042e462dc73233bda6e8d13f955fd5ab181eb48b1e03fa87e5bc2",
|
|
37
|
+
"node-v20.19.1-linux-arm64": "0cb29189500580da854a2f58f3aa615bf1c70a7cddbcd59c3d8dea68b114d9a0",
|
|
38
|
+
"node-v20.19.1-linux-x64": "ccb7f16a71402f20353a493a215fc5d87d7075b500dc1323a5611c32caf4ea6d",
|
|
39
|
+
"node-v20.19.1-linuxstatic-arm64": "7d272e82016b7fab749b81c27435f30a79ec0a75b664ce130a721d7850a4d9ef",
|
|
40
|
+
"node-v20.19.1-linuxstatic-armv7": "1e3d3c594065d1aa8ebf11ac977bfa1612a59f38242c907a49973c6a36a95d18",
|
|
41
|
+
"node-v20.19.1-linuxstatic-x64": "61f93ec572806ab39609e662cfa50d079ee5bf533bcca3f0bd86a5ae39b9f4fa",
|
|
42
|
+
"node-v20.19.1-macos-arm64": "67c9e9fdb947104d1d456c1634b3fb2fcfd1e5b963b3b33cadf44c2da995db79",
|
|
43
|
+
"node-v20.19.1-macos-x64": "720c48fa02c4fb9a1bec93e9ecaf8d86f555b56e67ce9ac01bf90c566a8b151f",
|
|
44
|
+
"node-v20.19.1-win-arm64": "c8bddec0f4dd27b1eab788ffe7aadb63a5513cc49fab34b1b2adf286ce593836",
|
|
45
|
+
"node-v20.19.1-win-x64": "0137b69a69bc834694be27ee9317d0ac16bb33aa7c14610252cc85e9d03c756a",
|
|
46
|
+
"node-v22.15.1-alpine-arm64": "52197257ff837f306789aaa73257e0e5256829585c4e8e1a4a06385ec1915985",
|
|
47
|
+
"node-v22.15.1-alpine-x64": "85d772fdab79994fcc4a34ae5fcb5395bfa07b755d89cf8d32dcbeed6e1cbff2",
|
|
48
|
+
"node-v22.15.1-linux-arm64": "94eca862632857b3bab44d50656539e552a7046f41ca3e09103e0d1fc6866f38",
|
|
49
|
+
"node-v22.15.1-linux-x64": "bfd5417e798e0aada7c64eadaedca860fc668598646244a7abddb070539070ce",
|
|
50
|
+
"node-v22.15.1-linuxstatic-arm64": "00a02201401beb1180135ae9a432733dd9c70a4b8284cf1a3ec5886b9a7f706f",
|
|
51
|
+
"node-v22.15.1-linuxstatic-armv7": "516dff8a2aebe784a74e51cb92aa487d45b0652a8aa2a8e351ce026b16416638",
|
|
52
|
+
"node-v22.15.1-linuxstatic-x64": "f18cecdaf8c118e5d466de2ac7ccef22aa5bc79f23136c824e203b403b246444",
|
|
53
|
+
"node-v22.15.1-macos-arm64": "77187bb631377edafaa666e3f76db4036c050108e64c139d283c4caa72bc9720",
|
|
54
|
+
"node-v22.15.1-macos-x64": "f642411e8a87f2127e62a019d0b87fd61aee8cc1c7b5d96119a0437bf031e2dc",
|
|
55
|
+
"node-v22.15.1-win-arm64": "7346edd7a1f191c5585f6e20c2e0c4d626b3f636cfda596c40a4189210ae661d",
|
|
56
|
+
"node-v22.15.1-win-x64": "fd78dc295241575f07a545385915bdf238d4fa9972679a984c5f82cd8361f005"
|
|
57
57
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
diff --git node/common.gypi node/common.gypi
|
|
2
|
-
index
|
|
2
|
+
index d3c17d47bc..7970af6ea4 100644
|
|
3
3
|
--- node/common.gypi
|
|
4
4
|
+++ node/common.gypi
|
|
5
5
|
@@ -184,7 +184,7 @@
|
|
@@ -262,10 +262,10 @@ index 0000000000..a697294fdf
|
|
|
262
262
|
+ }());
|
|
263
263
|
+}());
|
|
264
264
|
diff --git node/lib/internal/modules/cjs/loader.js node/lib/internal/modules/cjs/loader.js
|
|
265
|
-
index
|
|
265
|
+
index ebccdb2825..178299c752 100644
|
|
266
266
|
--- node/lib/internal/modules/cjs/loader.js
|
|
267
267
|
+++ node/lib/internal/modules/cjs/loader.js
|
|
268
|
-
@@ -
|
|
268
|
+
@@ -141,7 +141,7 @@ const {
|
|
269
269
|
const assert = require('internal/assert');
|
|
270
270
|
const fs = require('fs');
|
|
271
271
|
const path = require('path');
|
|
@@ -288,10 +288,10 @@ 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 0bbabb80c2..5dd097b69e 100644
|
|
292
292
|
--- node/lib/internal/process/pre_execution.js
|
|
293
293
|
+++ node/lib/internal/process/pre_execution.js
|
|
294
|
-
@@ -
|
|
294
|
+
@@ -50,7 +50,11 @@ const {
|
|
295
295
|
},
|
|
296
296
|
} = require('internal/v8/startup_snapshot');
|
|
297
297
|
|
|
@@ -303,17 +303,21 @@ index a05d284605..4186f13d60 100644
|
|
|
303
303
|
return prepareExecution({
|
|
304
304
|
expandArgv1,
|
|
305
305
|
initializeModules,
|
|
306
|
-
@@ -
|
|
306
|
+
@@ -243,7 +247,12 @@ function patchProcessObject(expandArgv1) {
|
|
307
|
+
let mainEntry;
|
|
307
308
|
// If requested, update process.argv[1] to replace whatever the user provided with the resolved absolute file path of
|
|
308
309
|
// the entry point.
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
+
|
|
312
|
-
+ process.argv[1]
|
|
310
|
+
- if (expandArgv1 && process.argv[1] && process.argv[1][0] !== '-') {
|
|
311
|
+
+ if (
|
|
312
|
+
+ expandArgv1 &&
|
|
313
|
+
+ process.argv[1] &&
|
|
314
|
+
+ process.argv[1][0] !== '-' &&
|
|
315
|
+
+ process.argv[1] !== 'PKG_DUMMY_ENTRYPOINT'
|
|
316
|
+
+ ) {
|
|
313
317
|
// Expand process.argv[1] into a full path.
|
|
314
318
|
const path = require('path');
|
|
315
319
|
try {
|
|
316
|
-
@@ -
|
|
320
|
+
@@ -739,6 +748,7 @@ function loadPreloadModules() {
|
|
317
321
|
// For user code, we preload modules if `-r` is passed
|
|
318
322
|
const preloadModules = getOptionValue('--require');
|
|
319
323
|
if (preloadModules && preloadModules.length > 0) {
|
|
@@ -322,7 +326,7 @@ index a05d284605..4186f13d60 100644
|
|
|
322
326
|
Module: {
|
|
323
327
|
_preloadModules,
|
|
324
328
|
diff --git node/lib/vm.js node/lib/vm.js
|
|
325
|
-
index
|
|
329
|
+
index a12e932d8d..931a996330 100644
|
|
326
330
|
--- node/lib/vm.js
|
|
327
331
|
+++ node/lib/vm.js
|
|
328
332
|
@@ -98,6 +98,7 @@ class Script extends ContextifyScript {
|
|
@@ -360,10 +364,10 @@ index bb39a0cb42..5fa6cb65cc 100644
|
|
|
360
364
|
parent_env_->AddCleanupHook([](void* data) {
|
|
361
365
|
Environment* env = static_cast<Environment*>(data);
|
|
362
366
|
diff --git node/src/node.cc node/src/node.cc
|
|
363
|
-
index
|
|
367
|
+
index 4ad2c8b804..ab6174fab6 100644
|
|
364
368
|
--- node/src/node.cc
|
|
365
369
|
+++ node/src/node.cc
|
|
366
|
-
@@ -
|
|
370
|
+
@@ -389,6 +389,8 @@ MaybeLocal<Value> StartExecution(Environment* env, StartExecutionCallback cb) {
|
|
367
371
|
return env->RunSnapshotDeserializeMain();
|
|
368
372
|
}
|
|
369
373
|
|
|
@@ -372,7 +376,7 @@ index 9f6f8e53ab..ee8fa43f2f 100644
|
|
|
372
376
|
if (env->worker_context() != nullptr) {
|
|
373
377
|
return StartExecution(env, "internal/main/worker_thread");
|
|
374
378
|
}
|
|
375
|
-
@@ -
|
|
379
|
+
@@ -613,14 +615,6 @@ static void PlatformInit(ProcessInitializationFlags::Flags flags) {
|
|
376
380
|
}
|
|
377
381
|
|
|
378
382
|
if (!(flags & ProcessInitializationFlags::kNoDefaultSignalHandling)) {
|
|
@@ -388,10 +392,10 @@ index 9f6f8e53ab..ee8fa43f2f 100644
|
|
|
388
392
|
}
|
|
389
393
|
|
|
390
394
|
diff --git node/src/node_contextify.cc node/src/node_contextify.cc
|
|
391
|
-
index
|
|
395
|
+
index 7f82bca746..62705f04c5 100644
|
|
392
396
|
--- node/src/node_contextify.cc
|
|
393
397
|
+++ node/src/node_contextify.cc
|
|
394
|
-
@@ -
|
|
398
|
+
@@ -79,6 +79,7 @@ using v8::String;
|
|
395
399
|
using v8::Symbol;
|
|
396
400
|
using v8::Uint32;
|
|
397
401
|
using v8::UnboundScript;
|
|
@@ -399,7 +403,7 @@ index 8951cd378a..746fb9939a 100644
|
|
|
399
403
|
using v8::Value;
|
|
400
404
|
using v8::WeakCallbackInfo;
|
|
401
405
|
|
|
402
|
-
@@ -
|
|
406
|
+
@@ -817,13 +818,14 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
403
407
|
Local<ArrayBufferView> cached_data_buf;
|
|
404
408
|
bool produce_cached_data = false;
|
|
405
409
|
Local<Context> parsing_context = context;
|
|
@@ -416,7 +420,7 @@ index 8951cd378a..746fb9939a 100644
|
|
|
416
420
|
CHECK(args[2]->IsNumber());
|
|
417
421
|
line_offset = args[2].As<Int32>()->Value();
|
|
418
422
|
CHECK(args[3]->IsNumber());
|
|
419
|
-
@@ -
|
|
423
|
+
@@ -844,6 +846,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
420
424
|
}
|
|
421
425
|
CHECK(args[7]->IsSymbol());
|
|
422
426
|
id_symbol = args[7].As<Symbol>();
|
|
@@ -427,7 +431,7 @@ index 8951cd378a..746fb9939a 100644
|
|
|
427
431
|
}
|
|
428
432
|
|
|
429
433
|
ContextifyScript* contextify_script =
|
|
430
|
-
@@ -
|
|
434
|
+
@@ -892,6 +898,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
431
435
|
ShouldNotAbortOnUncaughtScope no_abort_scope(env);
|
|
432
436
|
Context::Scope scope(parsing_context);
|
|
433
437
|
|
|
@@ -438,7 +442,7 @@ index 8951cd378a..746fb9939a 100644
|
|
|
438
442
|
MaybeLocal<UnboundScript> maybe_v8_script =
|
|
439
443
|
ScriptCompiler::CompileUnboundScript(isolate, &source, compile_options);
|
|
440
444
|
|
|
441
|
-
@@ -
|
|
445
|
+
@@ -906,6 +916,11 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
442
446
|
return;
|
|
443
447
|
}
|
|
444
448
|
|
|
@@ -450,7 +454,7 @@ index 8951cd378a..746fb9939a 100644
|
|
|
450
454
|
contextify_script->script_.Reset(isolate, v8_script);
|
|
451
455
|
contextify_script->script_.SetWeak();
|
|
452
456
|
contextify_script->object()->SetInternalFieldForNodeCore(kUnboundScriptSlot,
|
|
453
|
-
@@ -
|
|
457
|
+
@@ -939,6 +954,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
454
458
|
.IsNothing())
|
|
455
459
|
return;
|
|
456
460
|
|
|
@@ -572,10 +576,10 @@ index f66099a557..4048f6bd93 100644
|
|
|
572
576
|
+ return adjacent(c, nargv);
|
|
573
577
|
+}
|
|
574
578
|
diff --git node/src/node_options.cc node/src/node_options.cc
|
|
575
|
-
index
|
|
579
|
+
index 9d5accc3eb..8e3c304a13 100644
|
|
576
580
|
--- node/src/node_options.cc
|
|
577
581
|
+++ node/src/node_options.cc
|
|
578
|
-
@@ -
|
|
582
|
+
@@ -316,6 +316,7 @@ void Parse(
|
|
579
583
|
// TODO(addaleax): Make that unnecessary.
|
|
580
584
|
|
|
581
585
|
DebugOptionsParser::DebugOptionsParser() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
diff --git node/common.gypi node/common.gypi
|
|
2
|
-
index
|
|
2
|
+
index 372409f4b0..5431580b6c 100644
|
|
3
3
|
--- node/common.gypi
|
|
4
4
|
+++ node/common.gypi
|
|
5
|
-
@@ -
|
|
5
|
+
@@ -189,7 +189,7 @@
|
|
6
6
|
['clang==1', {
|
|
7
7
|
'lto': ' -flto ', # Clang
|
|
8
8
|
}, {
|
|
@@ -28,7 +28,7 @@ index 7d3ab39bf8..67a48dee53 100644
|
|
|
28
28
|
#else /* !((defined(_MSC_VER) && !defined(__clang__) && (defined(_M_ARM) || \
|
|
29
29
|
(defined(_M_ARM64) && _MSC_VER < 1941))) || defined(WIN32)) */
|
|
30
30
|
diff --git node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
31
|
-
index
|
|
31
|
+
index 353afca4d4..dea944aed5 100644
|
|
32
32
|
--- node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
33
33
|
+++ node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
34
34
|
@@ -33,10 +33,7 @@
|
|
@@ -315,13 +315,13 @@ 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 33385fa792..61cb88dc0f 100644
|
|
319
319
|
--- node/lib/internal/modules/cjs/loader.js
|
|
320
320
|
+++ node/lib/internal/modules/cjs/loader.js
|
|
321
|
-
@@ -
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
321
|
+
@@ -250,12 +250,16 @@ function stat(filename) {
|
|
322
|
+
// Guard against internal bugs where a non-string filename is passed in by mistake.
|
|
323
|
+
assert(typeof filename === 'string');
|
|
324
|
+
|
|
325
325
|
+ const origFilename = filename;
|
|
326
326
|
filename = path.toNamespacedPath(filename);
|
|
327
327
|
if (statCache !== null) {
|
|
@@ -429,7 +429,7 @@ index ae71080620..b05638de75 100644
|
|
|
429
429
|
throw e; /* node-do-not-add-exception-line */
|
|
430
430
|
}
|
|
431
431
|
diff --git node/src/inspector_agent.cc node/src/inspector_agent.cc
|
|
432
|
-
index
|
|
432
|
+
index 7c63c22112..830c8be5ca 100644
|
|
433
433
|
--- node/src/inspector_agent.cc
|
|
434
434
|
+++ node/src/inspector_agent.cc
|
|
435
435
|
@@ -796,11 +796,6 @@ bool Agent::Start(const std::string& path,
|
|
@@ -445,7 +445,7 @@ index be767c1825..14478899c4 100644
|
|
|
445
445
|
parent_env_->AddCleanupHook([](void* data) {
|
|
446
446
|
Environment* env = static_cast<Environment*>(data);
|
|
447
447
|
diff --git node/src/node.cc node/src/node.cc
|
|
448
|
-
index
|
|
448
|
+
index a0f1deadfc..b8e241a5b4 100644
|
|
449
449
|
--- node/src/node.cc
|
|
450
450
|
+++ node/src/node.cc
|
|
451
451
|
@@ -398,6 +398,8 @@ MaybeLocal<Value> StartExecution(Environment* env, StartExecutionCallback cb) {
|
|
@@ -473,7 +473,7 @@ index f4365c0eda..f89c77fe44 100644
|
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
diff --git node/src/node_contextify.cc node/src/node_contextify.cc
|
|
476
|
-
index
|
|
476
|
+
index 187ba89290..dbed6342a9 100644
|
|
477
477
|
--- node/src/node_contextify.cc
|
|
478
478
|
+++ node/src/node_contextify.cc
|
|
479
479
|
@@ -86,6 +86,7 @@ using v8::Symbol;
|
|
@@ -484,7 +484,7 @@ index e57880c5e9..32091f8798 100644
|
|
|
484
484
|
|
|
485
485
|
// The vm module executes code in a sandboxed environment with a different
|
|
486
486
|
// global object than the rest of the code. This is achieved by applying
|
|
487
|
-
@@ -
|
|
487
|
+
@@ -996,13 +997,13 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
488
488
|
Local<ArrayBufferView> cached_data_buf;
|
|
489
489
|
bool produce_cached_data = false;
|
|
490
490
|
Local<Context> parsing_context = context;
|
|
@@ -501,7 +501,7 @@ index e57880c5e9..32091f8798 100644
|
|
|
501
501
|
CHECK(args[2]->IsNumber());
|
|
502
502
|
line_offset = args[2].As<Int32>()->Value();
|
|
503
503
|
CHECK(args[3]->IsNumber());
|
|
504
|
-
@@ -
|
|
504
|
+
@@ -1023,6 +1024,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
505
505
|
}
|
|
506
506
|
CHECK(args[7]->IsSymbol());
|
|
507
507
|
id_symbol = args[7].As<Symbol>();
|
|
@@ -512,7 +512,7 @@ index e57880c5e9..32091f8798 100644
|
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
ContextifyScript* contextify_script =
|
|
515
|
-
@@ -
|
|
515
|
+
@@ -1070,6 +1075,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
516
516
|
ShouldNotAbortOnUncaughtScope no_abort_scope(env);
|
|
517
517
|
Context::Scope scope(parsing_context);
|
|
518
518
|
|
|
@@ -523,7 +523,7 @@ index e57880c5e9..32091f8798 100644
|
|
|
523
523
|
MaybeLocal<UnboundScript> maybe_v8_script =
|
|
524
524
|
ScriptCompiler::CompileUnboundScript(isolate, &source, compile_options);
|
|
525
525
|
|
|
526
|
-
@@ -
|
|
526
|
+
@@ -1084,6 +1093,12 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
527
527
|
return;
|
|
528
528
|
}
|
|
529
529
|
|
|
@@ -536,7 +536,7 @@ index e57880c5e9..32091f8798 100644
|
|
|
536
536
|
contextify_script->script_.Reset(isolate, v8_script);
|
|
537
537
|
contextify_script->script_.SetWeak();
|
|
538
538
|
contextify_script->object()->SetInternalField(kUnboundScriptSlot, v8_script);
|
|
539
|
-
@@ -
|
|
539
|
+
@@ -1116,6 +1131,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
540
540
|
.IsNothing())
|
|
541
541
|
return;
|
|
542
542
|
|
|
@@ -658,7 +658,7 @@ index f66099a557..4048f6bd93 100644
|
|
|
658
658
|
+ return adjacent(c, nargv);
|
|
659
659
|
+}
|
|
660
660
|
diff --git node/src/node_options.cc node/src/node_options.cc
|
|
661
|
-
index
|
|
661
|
+
index 1444acd59d..f2eec6b35f 100644
|
|
662
662
|
--- node/src/node_options.cc
|
|
663
663
|
+++ node/src/node_options.cc
|
|
664
664
|
@@ -317,6 +317,7 @@ void Parse(
|
package/patches/patches.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"v22.
|
|
3
|
-
"v20.
|
|
2
|
+
"v22.15.1": ["node.v22.15.1.cpp.patch"],
|
|
3
|
+
"v20.19.1": ["node.v20.19.1.cpp.patch"],
|
|
4
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"],
|