Skip to content

Commit d6b0478

Browse files
feat: add v20.20.0 patch (#144)
## Node.js Patch Update to v20.20.0 This PR updates the Node.js patch to version 20.20.0. The workflow automatically attempts to resolve patch conflicts using AI when the OpenAI API key is available. Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Daniel Lando <daniel.sorridi@gmail.com>
1 parent fcd0efc commit d6b0478

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ index d3e35d6ec5..6e9bbe3849 100644
6969
static const char* GetVersion();
7070

7171
diff --git node/deps/v8/src/api/api.cc node/deps/v8/src/api/api.cc
72-
index a06394e6c1..154b7a82a8 100644
72+
index da0c960f99..08af13d77a 100644
7373
--- node/deps/v8/src/api/api.cc
7474
+++ node/deps/v8/src/api/api.cc
7575
@@ -806,6 +806,28 @@ void V8::SetFlagsFromCommandLine(int* argc, char** argv, bool remove_flags) {
@@ -288,10 +288,10 @@ index 88c079d10d..a7eaca0574 100644
288288
const permission = require('internal/process/permission');
289289
const { kEmptyObject } = require('internal/util');
290290
diff --git node/lib/internal/process/pre_execution.js node/lib/internal/process/pre_execution.js
291-
index 0bbabb80c2..5dd097b69e 100644
291+
index 96bbfb4c35..ff50e19a6a 100644
292292
--- node/lib/internal/process/pre_execution.js
293293
+++ node/lib/internal/process/pre_execution.js
294-
@@ -50,7 +50,11 @@ const {
294+
@@ -49,7 +49,11 @@ const {
295295
},
296296
} = require('internal/v8/startup_snapshot');
297297

@@ -303,7 +303,7 @@ index 0bbabb80c2..5dd097b69e 100644
303303
return prepareExecution({
304304
expandArgv1,
305305
initializeModules,
306-
@@ -243,7 +247,12 @@ function patchProcessObject(expandArgv1) {
306+
@@ -241,7 +245,12 @@ function patchProcessObject(expandArgv1) {
307307
let mainEntry;
308308
// If requested, update process.argv[1] to replace whatever the user provided with the resolved absolute file path of
309309
// the entry point.
@@ -317,7 +317,7 @@ index 0bbabb80c2..5dd097b69e 100644
317317
// Expand process.argv[1] into a full path.
318318
const path = require('path');
319319
try {
320-
@@ -739,6 +748,7 @@ function loadPreloadModules() {
320+
@@ -737,6 +746,7 @@ function loadPreloadModules() {
321321
// For user code, we preload modules if `-r` is passed
322322
const preloadModules = getOptionValue('--require');
323323
if (preloadModules && preloadModules.length > 0) {

patches/patches.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"v24.13.0": ["node.v24.13.0.cpp.patch"],
33
"v22.22.0": ["node.v22.22.0.cpp.patch"],
4-
"v20.19.6": ["node.v20.19.6.cpp.patch"],
4+
"v20.20.0": ["node.v20.20.0.cpp.patch"],
55
"v18.20.8": ["node.v18.20.8.cpp.patch"],
66
"v16.20.2": ["node.v16.20.2.cpp.patch"],
77
"v14.21.3": ["node.v14.21.3.cpp.patch"],

0 commit comments

Comments
 (0)