@yao-pkg/pkg-fetch 3.5.29 → 3.5.31

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,36 +32,36 @@
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.19.5-alpine-arm64": "f2023b3a16be96ccb71367b83ae353dd096b842a05c83d11e0081f4184bc6cf3",
36
- "node-v20.19.5-alpine-x64": "d0f2fbb3a05a34242b059b575cd30847efa2a8260d733b674753b0c16ca95cbd",
37
- "node-v20.19.5-linux-arm64": "d6968f394da2ab55be2eaef486e3e04c984e02360e44210c1c69f980f4fe853d",
38
- "node-v20.19.5-linux-x64": "2d20d84ccd4d39ef0adf0b3a381c0388290e1ce6784fcf22269881bb471842b0",
39
- "node-v20.19.5-linuxstatic-arm64": "cd61bef96f43fb48c8a7c25caa4900ecb4b1881d8c690f9d6bc4f9c28091b9a6",
40
- "node-v20.19.5-linuxstatic-armv7": "f237a057650ebbfae6d9dfc82d2ee29885f60e2dedcd983f17910215eb23613f",
41
- "node-v20.19.5-linuxstatic-x64": "33b2856138af5992fad38e0d72448e5c708ee77e31e8bce77ec03f1a6e7a2d5b",
42
- "node-v20.19.5-macos-arm64": "bebb13bf501a03fd9bdfdc08ce597e3b082f569effa64ee310252460555ae54b",
43
- "node-v20.19.5-macos-x64": "592f50151da65550e5a6125aea0aa5b4fa0214389bb4ff0516e9ae14b439d8f5",
44
- "node-v20.19.5-win-arm64": "0f94e2049deab1c6591626b1d16f1c03a9cd300d857b8030535978c45d8492ca",
45
- "node-v20.19.5-win-x64": "1dce94ce8d6f625b9129d5e21d795e11c366da77c9c4d400b4561563c5a970cc",
46
- "node-v22.20.0-alpine-arm64": "0e735cfeb93986eda0a75dcd5cb3202382d23d9d864bf6e42605798c4d4d2e62",
47
- "node-v22.20.0-alpine-x64": "9a978045a11ebb17d464acc864bbab4f8ced94079425ed26b98fee87a2fa4497",
48
- "node-v22.20.0-linux-arm64": "015fb917b8d3055c91e508afc9a3c55e703293c817f121092073b86cf8cf81a5",
49
- "node-v22.20.0-linux-x64": "ef772070ea305ffdcc45228d25deaf8b839c2a7dfd6dc45aef998deb27ffe9ab",
50
- "node-v22.20.0-linuxstatic-arm64": "841ac7dcb370a104ed436d2f4fc0bafdf5819670f88142b85d4dbd7d6605c18e",
51
- "node-v22.20.0-linuxstatic-armv7": "ff363e378dcdc80c005c88348e44474c0f3af61f675f5583b97b3a7131ac2801",
52
- "node-v22.20.0-linuxstatic-x64": "dbd9bb7e3c08be2aaace37325be1d8ed3c2830e5790b86de3234bc59f11f1165",
53
- "node-v22.20.0-macos-arm64": "f3ba7b9183ecd6f6b6194b53dfea8f0e31db95000bdbef3b602775dfad68cee6",
54
- "node-v22.20.0-macos-x64": "47d578698afdf9a0fcde29f3513bce73c5779769e22ee85cf753e1cd5e6fab5e",
55
- "node-v22.20.0-win-arm64": "66176af14ce279633ff730ef8156b21ecffd06098cd2a1f9943c05eb784d95fe",
56
- "node-v22.20.0-win-x64": "75532415b2169de05b4e034f455ceb2cfa79ae47700895270082dc0a17e848a4",
57
- "node-v24.10.0-alpine-arm64": "e97372dda5944829269015eab524402783e65b6cc3a3c197f9f2f8c320119310",
58
- "node-v24.10.0-alpine-x64": "24c7213cb7e676746c246038a1fbaa761de42f0e8e0b8df446e01d54280d469d",
59
- "node-v24.10.0-linux-arm64": "1d865ec59e9a872ad2b8779a86332ff9232d712fb0d29e63f10f7f3642f4bb10",
60
- "node-v24.10.0-linux-x64": "85ca9e740e80735a97fd45d7684b56dd0cfb53129cbf94f6dbab9df01f5e68de",
61
- "node-v24.10.0-linuxstatic-arm64": "f775137ef683fb0aceb1bc208b84d10b700afa9d5d768d319d4019d9d72dbab2",
62
- "node-v24.10.0-linuxstatic-x64": "855d964471c77a733739ac2cc8eab567cc4db483e97a7004a1dd0393ccb26769",
63
- "node-v24.10.0-macos-arm64": "781b7101061c7a745d2191afd648f6eb0aa5c7ce244f0ecd953fa10f0fcca211",
64
- "node-v24.10.0-macos-x64": "33f73456a3363dfd936f4f46b4d9956874330be0df60d59c20adc50c302c2efe",
65
- "node-v24.10.0-win-arm64": "530f4903f6ae30afa94c32733af40410152645c466d4d6bdf4e8d9e2e41c600a",
66
- "node-v24.10.0-win-x64": "bd4922118b3e25997c2c0bf7f4de8a29030faa456f4fe64e8d07d58b4bd4a9e0"
35
+ "node-v20.19.6-alpine-arm64": "3e7ddc77635f6225b8cba469b948752d16decdb94293b13ea6c9ce4792526d2e",
36
+ "node-v20.19.6-alpine-x64": "39f3a1fb1c83ecd3483e4335124bd9282dba239fcdf85430b7aea8fbfb8a1206",
37
+ "node-v20.19.6-linux-arm64": "3f19fd984a558d2b3cc2f78fae2a3927b9d87a631ad454eeccf7ffd10e7c6f19",
38
+ "node-v20.19.6-linux-x64": "de270a8b37db68307fead80ddb75718c5599d4a96004d052588e24fac0a5e8f5",
39
+ "node-v20.19.6-linuxstatic-arm64": "049aefa14949d95ded5e3761b263171b1a5d430c1b6af10ab82ffbdfd945507a",
40
+ "node-v20.19.6-linuxstatic-armv7": "96b66e0cb1bc3f53e4e652e4a1b4d1c51acec13d2c9136c7cb0f565d75ba60f5",
41
+ "node-v20.19.6-linuxstatic-x64": "ddc9c76e002e6e1768139099d27bf297bf564750187cef230e3113f773a97724",
42
+ "node-v20.19.6-macos-arm64": "4f50f1d0484cc69043abacd266de603773dc84a2d5ae0233453c701fed0d2241",
43
+ "node-v20.19.6-macos-x64": "9ed57a94c5dfc099fc262884b633fad61a7fba19b4b43ca2fd7a2ec0ffa5580d",
44
+ "node-v20.19.6-win-arm64": "a0384fe007e78340cc863224dafd5a6de5c97b83ea8c764e1f31abfeaea07d03",
45
+ "node-v20.19.6-win-x64": "3203fce16436a5e78f77e927c2d1616404d567e20fd11d9f21cb41aa524978a7",
46
+ "node-v22.21.1-alpine-arm64": "fd1c1829fd457946e7e2e647632651b1552063f044199a53c9768d8502ec94b0",
47
+ "node-v22.21.1-alpine-x64": "ada5bd34905be599208e78d4b086ce7f3b66fe29362a233b1d2d4b687048816f",
48
+ "node-v22.21.1-linux-arm64": "4e14e66e431cfd5b2481754751af0e74e5741b3be1180c06b106c2998846dad9",
49
+ "node-v22.21.1-linux-x64": "63c6f17f8fd19665e99e5d0b2c2d4668e0aa735564c28a8246940fb447fdf618",
50
+ "node-v22.21.1-linuxstatic-arm64": "67b57eddac3ef13f00ba393732cd84f62f4dee62e8bf87b727d4cc2806fb7911",
51
+ "node-v22.21.1-linuxstatic-armv7": "3394b6e575af93426353d4d602e5baf444538703712fdacd51571f69f2f32f0e",
52
+ "node-v22.21.1-linuxstatic-x64": "2f65505ec0044d6a47c888e28e2bd5f1ccbb64ccac9ac5f90fc51a2df2720d10",
53
+ "node-v22.21.1-macos-arm64": "844260a5faef047965604ffeb442ddd4336864e0262f565f08a83a62c2960c28",
54
+ "node-v22.21.1-macos-x64": "f9b827483f14c8474f76c6538712c284a40c3b37402ecb046fbae04022b54e35",
55
+ "node-v22.21.1-win-arm64": "17e55802bcc4bc1690009797b62a72f6f2f6cc127541b60a4a2ed578b117f899",
56
+ "node-v22.21.1-win-x64": "440be9af0d908922ec3e8678724e8473ada0af46dfe2cd5ba75bc14e0048df99",
57
+ "node-v24.12.0-alpine-arm64": "7795a8932f8dfdebc3636cf83bfa69b7da2e4256dbfa99fe39a4c201a95d70f8",
58
+ "node-v24.12.0-alpine-x64": "d157149a911313dda8ceb6bc93096d531a850b0e6c1b76b2ac721e4f49413ce9",
59
+ "node-v24.12.0-linux-arm64": "9a5816b9e3552bb5a914aeed16326a569e18dcc17f07ad8dd28b4a7fa67066a4",
60
+ "node-v24.12.0-linux-x64": "81a0b40e6d7d14d501e100a5a1f08eb3621c2323ee66c6bfd42f7bf7407b06dc",
61
+ "node-v24.12.0-linuxstatic-arm64": "fdb80c730160db3157923e8fef52df595aba597757affb9f7c0e11c5562f4ccd",
62
+ "node-v24.12.0-linuxstatic-x64": "4f9f3c2a1e3155f4203f8043e04412e7be90dc16ac7f78341083f9f1076b138c",
63
+ "node-v24.12.0-macos-arm64": "9dffdd09697f041369fec623e86dc866f00a4daaa9da84808f7352372339d9de",
64
+ "node-v24.12.0-macos-x64": "a7e48452945f37a831f96ab49f52d5049b989c68137cd398553787d3d1b14554",
65
+ "node-v24.12.0-win-arm64": "9db6863e384aa746d1ae369c38aa11f3e46550240bb0abcbedb27d2a085c669d",
66
+ "node-v24.12.0-win-x64": "78eda417c8baf713d1790b8b42d8e6eec846101bb4249776d68069d64d240570"
67
67
  }
@@ -0,0 +1,3 @@
1
+ declare function parseAndUpdateShas(inputFile: string): void;
2
+ export { parseAndUpdateShas };
3
+ //# sourceMappingURL=parse-update-shas.d.ts.map
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.parseAndUpdateShas = void 0;
27
+ var fs = __importStar(require("fs"));
28
+ var path = __importStar(require("path"));
29
+ var log_1 = require("./log");
30
+ function parseAndUpdateShas(inputFile) {
31
+ // Read the input file containing new SHAs
32
+ if (!fs.existsSync(inputFile)) {
33
+ throw (0, log_1.wasReported)("Input file ".concat(inputFile, " does not exist"));
34
+ }
35
+ var input = fs.readFileSync(inputFile, 'utf8');
36
+ var lines = input.split('\n').map(function (l) { return l.trim(); }).filter(Boolean);
37
+ // Read existing shas.txt
38
+ var shasPath = path.join(process.cwd(), 'shas.txt');
39
+ var shasTxt = '';
40
+ try {
41
+ shasTxt = fs.readFileSync(shasPath, 'utf8');
42
+ }
43
+ catch (e) {
44
+ log_1.log.info('shas.txt not found, creating new one');
45
+ shasTxt = '';
46
+ }
47
+ var shasArr = shasTxt.split('\n');
48
+ var _loop_1 = function (line) {
49
+ var _a = line.split(/\s+/), sha = _a[0], patchName = _a[1];
50
+ if (!sha || !patchName) {
51
+ log_1.log.warn("Skipping invalid line: ".concat(line));
52
+ return "continue";
53
+ }
54
+ // Extract major, os, arch. E.g.: node-v22.20.0-win-x64
55
+ var match = patchName.match(/^node-v(\d+)\.[^ ]*-(.+)-(.+)$/);
56
+ if (!match) {
57
+ log_1.log.warn("Skipping line with invalid patch name format: ".concat(line));
58
+ return "continue";
59
+ }
60
+ var major = match[1];
61
+ var os = match[2];
62
+ var arch = match[3];
63
+ // Regex for matching line in shas.txt
64
+ var re = new RegExp("^\\S+\\s+node-v".concat(major, "\\.([0-9.]+){2}-").concat(os, "-").concat(arch, "$"));
65
+ var found = false;
66
+ shasArr = shasArr.map(function (l) {
67
+ if (re.test(l)) {
68
+ found = true;
69
+ log_1.log.info("Updating: ".concat(l, " -> ").concat(sha, " ").concat(patchName));
70
+ return "".concat(sha, " ").concat(patchName);
71
+ }
72
+ return l;
73
+ });
74
+ if (!found) {
75
+ log_1.log.info("Adding new entry: ".concat(sha, " ").concat(patchName));
76
+ shasArr.push("".concat(sha, " ").concat(patchName));
77
+ }
78
+ };
79
+ // Process each line from input
80
+ for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {
81
+ var line = lines_1[_i];
82
+ _loop_1(line);
83
+ }
84
+ // Write updated shas.txt
85
+ var filteredShas = shasArr.filter(Boolean);
86
+ var updatedContent = filteredShas.length > 0 ? "".concat(filteredShas.join('\n'), "\n") : '';
87
+ fs.writeFileSync(shasPath, updatedContent);
88
+ log_1.log.info("Successfully updated ".concat(shasPath));
89
+ }
90
+ exports.parseAndUpdateShas = parseAndUpdateShas;
91
+ // Main execution
92
+ if (require.main === module) {
93
+ var args = process.argv.slice(2);
94
+ if (args.length !== 1) {
95
+ log_1.log.error('Usage: parse-update-shas.ts <input-file>');
96
+ log_1.log.error(' input-file: Path to file containing SHA lines in format "<sha> <patch-name>"');
97
+ process.exit(1);
98
+ }
99
+ var inputFile = args[0];
100
+ try {
101
+ parseAndUpdateShas(inputFile);
102
+ }
103
+ catch (error) {
104
+ if (error instanceof Error && !('wasReported' in error)) {
105
+ log_1.log.error(error);
106
+ }
107
+ process.exit(1);
108
+ }
109
+ }
110
+ //# sourceMappingURL=parse-update-shas.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yao-pkg/pkg-fetch",
3
- "version": "3.5.29",
3
+ "version": "3.5.31",
4
4
  "description": "Compiles and stores base binaries for pkg",
5
5
  "main": "lib-es5/index.js",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  diff --git node/common.gypi node/common.gypi
2
- index 20e81dea95..3580f7f2e4 100644
2
+ index 311b203600..b2ee8cb47d 100644
3
3
  --- node/common.gypi
4
4
  +++ node/common.gypi
5
5
  @@ -187,7 +187,7 @@
@@ -392,7 +392,7 @@ index 1137dcafcd..482feb65b5 100644
392
392
  }
393
393
 
394
394
  diff --git node/src/node_contextify.cc node/src/node_contextify.cc
395
- index 2b93926a73..9f68232bd4 100644
395
+ index 2331579b26..f84681ae02 100644
396
396
  --- node/src/node_contextify.cc
397
397
  +++ node/src/node_contextify.cc
398
398
  @@ -79,6 +79,7 @@ using v8::String;
@@ -374,10 +374,10 @@ index a7d8fa1139..bffe5a8a53 100644
374
374
  }
375
375
  return result;
376
376
  diff --git node/lib/internal/modules/package_json_reader.js node/lib/internal/modules/package_json_reader.js
377
- index fb669ea12e..6ad993581b 100644
377
+ index 0f9442ea7a..e30582b3cc 100644
378
378
  --- node/lib/internal/modules/package_json_reader.js
379
379
  +++ node/lib/internal/modules/package_json_reader.js
380
- @@ -108,17 +108,20 @@ const requiresJSONParse = (value) => (value !== undefined && (value[0] === '[' |
380
+ @@ -111,17 +111,20 @@ const requiresJSONParse = (value) => (value !== undefined && (value[0] === '[' |
381
381
  * @returns {PackageConfig}
382
382
  */
383
383
  function read(jsonPath, { base, specifier, isESM } = kEmptyObject) {
@@ -410,7 +410,7 @@ index fb669ea12e..6ad993581b 100644
410
410
  __proto__: null,
411
411
  ...result.data,
412
412
  diff --git node/lib/internal/process/pre_execution.js node/lib/internal/process/pre_execution.js
413
- index 98ed40e307..f9da878ea0 100644
413
+ index d12d21905c..cf8a5c9096 100644
414
414
  --- node/lib/internal/process/pre_execution.js
415
415
  +++ node/lib/internal/process/pre_execution.js
416
416
  @@ -50,7 +50,11 @@ const {
@@ -425,7 +425,7 @@ index 98ed40e307..f9da878ea0 100644
425
425
  return prepareExecution({
426
426
  expandArgv1,
427
427
  initializeModules,
428
- @@ -243,7 +247,8 @@ function patchProcessObject(expandArgv1) {
428
+ @@ -265,7 +269,8 @@ function patchProcessObject(expandArgv1) {
429
429
  let mainEntry;
430
430
  // If requested, update process.argv[1] to replace whatever the user provided with the resolved absolute file path of
431
431
  // the entry point.
@@ -435,7 +435,7 @@ index 98ed40e307..f9da878ea0 100644
435
435
  // Expand process.argv[1] into a full path.
436
436
  const path = require('path');
437
437
  try {
438
- @@ -725,6 +730,7 @@ function loadPreloadModules() {
438
+ @@ -747,6 +752,7 @@ function loadPreloadModules() {
439
439
  // For user code, we preload modules if `-r` is passed
440
440
  const preloadModules = getOptionValue('--require');
441
441
  if (preloadModules && preloadModules.length > 0) {
@@ -482,7 +482,7 @@ index 2318c4e0df..fb998531a7 100644
482
482
  parent_env_->AddCleanupHook([](void* data) {
483
483
  Environment* env = static_cast<Environment*>(data);
484
484
  diff --git node/src/node.cc node/src/node.cc
485
- index 07684482f8..0262de1cd8 100644
485
+ index 2d8d0000d5..178fdaede0 100644
486
486
  --- node/src/node.cc
487
487
  +++ node/src/node.cc
488
488
  @@ -404,6 +404,8 @@ MaybeLocal<Value> StartExecution(Environment* env, StartExecutionCallback cb) {
@@ -510,7 +510,7 @@ index 07684482f8..0262de1cd8 100644
510
510
  }
511
511
 
512
512
  diff --git node/src/node_contextify.cc node/src/node_contextify.cc
513
- index 21a08a738e..ba529c2737 100644
513
+ index d52388717e..4d478e77be 100644
514
514
  --- node/src/node_contextify.cc
515
515
  +++ node/src/node_contextify.cc
516
516
  @@ -86,6 +86,7 @@ using v8::Symbol;
@@ -695,10 +695,10 @@ index f66099a557..4048f6bd93 100644
695
695
  + return adjacent(c, nargv);
696
696
  +}
697
697
  diff --git node/src/node_options.cc node/src/node_options.cc
698
- index ed85bf11f6..e5208d5821 100644
698
+ index 31fc23fdbf..8458d7796e 100644
699
699
  --- node/src/node_options.cc
700
700
  +++ node/src/node_options.cc
701
- @@ -311,7 +311,7 @@ void Parse(
701
+ @@ -359,7 +359,7 @@ void Parse(
702
702
  PerProcessOptions* const options,
703
703
  OptionEnvvarSettings required_env_settings, StringVector* const errors) {
704
704
  _ppop_instance.Parse(
@@ -707,7 +707,7 @@ index ed85bf11f6..e5208d5821 100644
707
707
  }
708
708
 
709
709
  // XXX: If you add an option here, please also add it to doc/node.1 and
710
- @@ -319,6 +319,7 @@ void Parse(
710
+ @@ -367,6 +367,7 @@ void Parse(
711
711
  // TODO(addaleax): Make that unnecessary.
712
712
 
713
713
  DebugOptionsParser::DebugOptionsParser() {
@@ -1,5 +1,5 @@
1
1
  diff --git node/common.gypi node/common.gypi
2
- index 7727dfc4c6..3ab611dc48 100644
2
+ index db16253786..3a381990a3 100644
3
3
  --- node/common.gypi
4
4
  +++ node/common.gypi
5
5
  @@ -192,7 +192,7 @@
@@ -242,7 +242,7 @@ index 11ced93c08..1f4b534415 100644
242
242
  }
243
243
  uint32_t payload_length = GetHeaderValue(kPayloadLengthOffset);
244
244
  diff --git node/deps/v8/src/snapshot/read-only-serializer.cc node/deps/v8/src/snapshot/read-only-serializer.cc
245
- index fa60b3d07e..a4f06a25c4 100644
245
+ index 0178607289..88c8c2b852 100644
246
246
  --- node/deps/v8/src/snapshot/read-only-serializer.cc
247
247
  +++ node/deps/v8/src/snapshot/read-only-serializer.cc
248
248
  @@ -12,6 +12,9 @@
@@ -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 8a28cd0e49..5534402a24 100644
489
+ index 414e450ee3..356cbbaa94 100644
490
490
  --- node/lib/internal/modules/cjs/loader.js
491
491
  +++ node/lib/internal/modules/cjs/loader.js
492
- @@ -260,12 +260,15 @@ function stat(filename) {
492
+ @@ -261,12 +261,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
 
@@ -543,7 +543,7 @@ index 43a131f57c..6fe7afd784 100644
543
543
  __proto__: null,
544
544
  ...result.data,
545
545
  diff --git node/lib/internal/process/pre_execution.js node/lib/internal/process/pre_execution.js
546
- index c7f86098bd..32eac7d2ee 100644
546
+ index 8ed8802adc..8152188eb7 100644
547
547
  --- node/lib/internal/process/pre_execution.js
548
548
  +++ node/lib/internal/process/pre_execution.js
549
549
  @@ -42,7 +42,11 @@ const {
@@ -558,7 +558,7 @@ index c7f86098bd..32eac7d2ee 100644
558
558
  return prepareExecution({
559
559
  expandArgv1,
560
560
  initializeModules,
561
- @@ -241,7 +245,8 @@ function patchProcessObject(expandArgv1) {
561
+ @@ -274,7 +278,8 @@ function patchProcessObject(expandArgv1) {
562
562
  let mainEntry;
563
563
  // If requested, update process.argv[1] to replace whatever the user provided with the resolved absolute file path of
564
564
  // the entry point.
@@ -568,7 +568,7 @@ index c7f86098bd..32eac7d2ee 100644
568
568
  // Expand process.argv[1] into a full path.
569
569
  const path = require('path');
570
570
  try {
571
- @@ -678,6 +683,7 @@ function loadPreloadModules() {
571
+ @@ -690,6 +695,7 @@ function loadPreloadModules() {
572
572
  // For user code, we preload modules if `-r` is passed
573
573
  const preloadModules = getOptionValue('--require');
574
574
  if (preloadModules && preloadModules.length > 0) {
@@ -615,7 +615,7 @@ 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 c70bec82a2..4f807cd526 100644
618
+ index 31439d0cc1..8dda6dcc8a 100644
619
619
  --- node/src/node.cc
620
620
  +++ node/src/node.cc
621
621
  @@ -355,6 +355,8 @@ MaybeLocal<Value> StartExecution(Environment* env, StartExecutionCallback cb) {
@@ -837,10 +837,10 @@ 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 2a3ab5e73c..00b61629f2 100644
840
+ index 342bffb00f..1802fbac25 100644
841
841
  --- node/src/node_options.cc
842
842
  +++ node/src/node_options.cc
843
- @@ -422,6 +422,7 @@ void Parse(
843
+ @@ -430,6 +430,7 @@ void Parse(
844
844
  // TODO(addaleax): Make that unnecessary.
845
845
 
846
846
  DebugOptionsParser::DebugOptionsParser() {
@@ -1,7 +1,7 @@
1
1
  {
2
- "v24.10.0": ["node.v24.10.0.cpp.patch"],
3
- "v22.20.0": ["node.v22.20.0.cpp.patch"],
4
- "v20.19.5": ["node.v20.19.5.cpp.patch"],
2
+ "v24.12.0": ["node.v24.12.0.cpp.patch"],
3
+ "v22.21.1": ["node.v22.21.1.cpp.patch"],
4
+ "v20.19.6": ["node.v20.19.6.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"],