@yao-pkg/pkg-fetch 3.5.31 → 3.5.33
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 +1 -1
- package/lib-es5/apply-patches.js +19 -78
- package/lib-es5/bin.js +40 -89
- package/lib-es5/build.js +198 -394
- package/lib-es5/expected-shas.json +32 -32
- package/lib-es5/expected.js +1 -1
- package/lib-es5/generate-expected-shas.js +31 -72
- package/lib-es5/index.js +125 -210
- package/lib-es5/log.js +39 -63
- package/lib-es5/parse-update-shas.js +32 -36
- package/lib-es5/places.js +13 -15
- package/lib-es5/print-hashes.js +4 -5
- package/lib-es5/system.js +17 -19
- package/lib-es5/utils.js +82 -150
- package/lib-es5/verify.js +118 -53
- package/package.json +1 -1
- package/patches/{node.v20.19.6.cpp.patch → node.v20.20.2.cpp.patch} +6 -6
- package/patches/{node.v22.21.1.cpp.patch → node.v22.22.2.cpp.patch} +12 -12
- package/patches/{node.v24.12.0.cpp.patch → node.v24.14.1.cpp.patch} +10 -10
- package/patches/patches.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
diff --git node/common.gypi node/common.gypi
|
|
2
|
-
index
|
|
2
|
+
index 283c60eab3..09b6fe4f19 100644
|
|
3
3
|
--- node/common.gypi
|
|
4
4
|
+++ node/common.gypi
|
|
5
5
|
@@ -192,7 +192,7 @@
|
|
@@ -59,7 +59,7 @@ index 46a21a02cb..fdb0edf42a 100644
|
|
|
59
59
|
static const char* GetVersion();
|
|
60
60
|
|
|
61
61
|
diff --git node/deps/v8/src/api/api.cc node/deps/v8/src/api/api.cc
|
|
62
|
-
index
|
|
62
|
+
index ef4546de27..60bb6a4edc 100644
|
|
63
63
|
--- node/deps/v8/src/api/api.cc
|
|
64
64
|
+++ node/deps/v8/src/api/api.cc
|
|
65
65
|
@@ -443,6 +443,28 @@ void V8::SetFlagsFromCommandLine(int* argc, char** argv, bool remove_flags) {
|
|
@@ -486,10 +486,10 @@ index 0000000000..a697294fdf
|
|
|
486
486
|
+ }());
|
|
487
487
|
+}());
|
|
488
488
|
diff --git node/lib/internal/modules/cjs/loader.js node/lib/internal/modules/cjs/loader.js
|
|
489
|
-
index
|
|
489
|
+
index 0a6788d1b8..2050476a25 100644
|
|
490
490
|
--- node/lib/internal/modules/cjs/loader.js
|
|
491
491
|
+++ node/lib/internal/modules/cjs/loader.js
|
|
492
|
-
@@ -
|
|
492
|
+
@@ -267,12 +267,15 @@ function stat(filename) {
|
|
493
493
|
// Guard against internal bugs where a non-string filename is passed in by mistake.
|
|
494
494
|
assert(typeof filename === 'string');
|
|
495
495
|
|
|
@@ -507,10 +507,10 @@ index 414e450ee3..356cbbaa94 100644
|
|
|
507
507
|
// Only set cache when `internalModuleStat(filename)` succeeds.
|
|
508
508
|
statCache.set(filename, result);
|
|
509
509
|
diff --git node/lib/internal/modules/package_json_reader.js node/lib/internal/modules/package_json_reader.js
|
|
510
|
-
index
|
|
510
|
+
index 968c3c5701..1c7b01a3f2 100644
|
|
511
511
|
--- node/lib/internal/modules/package_json_reader.js
|
|
512
512
|
+++ node/lib/internal/modules/package_json_reader.js
|
|
513
|
-
@@ -
|
|
513
|
+
@@ -120,17 +120,20 @@ const requiresJSONParse = (value) => (value !== undefined && (value[0] === '[' |
|
|
514
514
|
* @returns {PackageConfig}
|
|
515
515
|
*/
|
|
516
516
|
function read(jsonPath, { base, specifier, isESM } = kEmptyObject) {
|
|
@@ -615,10 +615,10 @@ index f62eb36b57..8ccc42dbd4 100644
|
|
|
615
615
|
parent_env_->AddCleanupHook([](void* data) {
|
|
616
616
|
Environment* env = static_cast<Environment*>(data);
|
|
617
617
|
diff --git node/src/node.cc node/src/node.cc
|
|
618
|
-
index
|
|
618
|
+
index 0bc086ccd1..9a76ce03cc 100644
|
|
619
619
|
--- node/src/node.cc
|
|
620
620
|
+++ node/src/node.cc
|
|
621
|
-
@@ -
|
|
621
|
+
@@ -351,6 +351,8 @@ MaybeLocal<Value> StartExecution(Environment* env,
|
|
622
622
|
return env->RunSnapshotDeserializeMain();
|
|
623
623
|
}
|
|
624
624
|
|
|
@@ -627,7 +627,7 @@ index 31439d0cc1..8dda6dcc8a 100644
|
|
|
627
627
|
if (env->worker_context() != nullptr) {
|
|
628
628
|
return StartExecution(env, "internal/main/worker_thread");
|
|
629
629
|
}
|
|
630
|
-
@@ -
|
|
630
|
+
@@ -575,14 +577,6 @@ static void PlatformInit(ProcessInitializationFlags::Flags flags) {
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
if (!(flags & ProcessInitializationFlags::kNoDefaultSignalHandling)) {
|
|
@@ -837,7 +837,7 @@ index 3295121b87..bfe838b8c1 100644
|
|
|
837
837
|
+ return adjacent(c, nargv);
|
|
838
838
|
+}
|
|
839
839
|
diff --git node/src/node_options.cc node/src/node_options.cc
|
|
840
|
-
index
|
|
840
|
+
index f6f81f50c8..36f46abe4f 100644
|
|
841
841
|
--- node/src/node_options.cc
|
|
842
842
|
+++ node/src/node_options.cc
|
|
843
843
|
@@ -430,6 +430,7 @@ void Parse(
|
package/patches/patches.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"v24.
|
|
3
|
-
"v22.
|
|
4
|
-
"v20.
|
|
2
|
+
"v24.14.1": ["node.v24.14.1.cpp.patch"],
|
|
3
|
+
"v22.22.2": ["node.v22.22.2.cpp.patch"],
|
|
4
|
+
"v20.20.2": ["node.v20.20.2.cpp.patch"],
|
|
5
5
|
"v18.20.8": ["node.v18.20.8.cpp.patch"],
|
|
6
6
|
"v16.20.2": ["node.v16.20.2.cpp.patch"],
|
|
7
7
|
"v14.21.3": ["node.v14.21.3.cpp.patch"],
|