Skip to content

Commit d183913

Browse files
feat: add v26.3.0 patch (#182)
## Node.js Patch Update to v26.3.0 This PR updates the Node.js patch to version 26.3.0. Patch conflicts (if any) were resolved with `actions/ai-inference@v2` using GitHub Models — no third-party API key required. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Daniel Lando <daniel.sorridi@gmail.com>
1 parent 1f47516 commit d183913

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ index 6c6bf0383b..25db3d9f43 100644
489489
__proto__: null,
490490
...result.data,
491491
diff --git node/lib/internal/process/pre_execution.js node/lib/internal/process/pre_execution.js
492-
index 16a80c2d4f..4f6232e8b8 100644
492+
index 076ae226f4..d3ba7b955c 100644
493493
--- node/lib/internal/process/pre_execution.js
494494
+++ node/lib/internal/process/pre_execution.js
495495
@@ -42,7 +42,11 @@ const {
@@ -514,7 +514,7 @@ index 16a80c2d4f..4f6232e8b8 100644
514514
// Expand process.argv[1] into a full path.
515515
const path = require('path');
516516
try {
517-
@@ -755,6 +760,7 @@ function loadPreloadModules() {
517+
@@ -756,6 +761,7 @@ function loadPreloadModules() {
518518
// For user code, we preload modules if `-r` is passed
519519
const preloadModules = getOptionValue('--require');
520520
if (preloadModules && preloadModules.length > 0) {
@@ -589,7 +589,7 @@ index 4ba019ddca..b30d716a41 100644
589589
}
590590

591591
diff --git node/src/node_contextify.cc node/src/node_contextify.cc
592-
index 14534ab896..dad27d634e 100644
592+
index f319420ae0..6b38c3b5e9 100644
593593
--- node/src/node_contextify.cc
594594
+++ node/src/node_contextify.cc
595595
@@ -88,6 +88,7 @@ using v8::String;
@@ -600,7 +600,7 @@ index 14534ab896..dad27d634e 100644
600600

601601
// The vm module executes code in a sandboxed environment with a different
602602
// global object than the rest of the code. This is achieved by applying
603-
@@ -982,13 +983,13 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
603+
@@ -981,13 +982,13 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
604604
Local<ArrayBufferView> cached_data_buf;
605605
bool produce_cached_data = false;
606606
Local<Context> parsing_context = context;
@@ -617,7 +617,7 @@ index 14534ab896..dad27d634e 100644
617617
CHECK(args[2]->IsNumber());
618618
line_offset = args[2].As<Int32>()->Value();
619619
CHECK(args[3]->IsNumber());
620-
@@ -1009,6 +1010,11 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
620+
@@ -1008,6 +1009,11 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
621621
}
622622
CHECK(args[7]->IsSymbol());
623623
id_symbol = args[7].As<Symbol>();
@@ -629,7 +629,7 @@ index 14534ab896..dad27d634e 100644
629629
}
630630

631631
ContextifyScript* contextify_script = New(env, args.This());
632-
@@ -1055,6 +1061,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
632+
@@ -1054,6 +1060,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
633633
ShouldNotAbortOnUncaughtScope no_abort_scope(env);
634634
Context::Scope scope(parsing_context);
635635

@@ -640,7 +640,7 @@ index 14534ab896..dad27d634e 100644
640640
MaybeLocal<UnboundScript> maybe_v8_script =
641641
ScriptCompiler::CompileUnboundScript(isolate, &source, compile_options);
642642

643-
@@ -1069,6 +1079,12 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
643+
@@ -1068,6 +1078,12 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
644644
return;
645645
}
646646

@@ -653,7 +653,7 @@ index 14534ab896..dad27d634e 100644
653653
contextify_script->set_unbound_script(v8_script);
654654

655655
std::unique_ptr<ScriptCompiler::CachedData> new_cached_data;
656-
@@ -1081,7 +1097,7 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
656+
@@ -1080,7 +1096,7 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
657657
if (contextify_script->object()
658658
->SetPrivate(context, env->host_defined_option_symbol(), id_symbol)
659659
.IsNothing()) {
@@ -662,7 +662,7 @@ index 14534ab896..dad27d634e 100644
662662
}
663663
if (StoreCodeCacheResult(env,
664664
self,
665-
@@ -1092,6 +1108,9 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
665+
@@ -1091,6 +1107,9 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
666666
.IsNothing()) {
667667
return;
668668
}

patches/patches.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"v26.2.0": ["node.v26.2.0.cpp.patch"],
2+
"v26.3.0": ["node.v26.3.0.cpp.patch"],
33
"v24.16.0": ["node.v24.16.0.cpp.patch"],
44
"v22.22.3": ["node.v22.22.3.cpp.patch"],
55
"v20.20.2": ["node.v20.20.2.cpp.patch"],

0 commit comments

Comments
 (0)