Skip to content

Commit 21c6e4e

Browse files
electron-roller[bot]codebyterejkleinsc
authored
chore: bump node to v24.13.0 (40-x-y) (#49188)
* chore: bump node in DEPS to v24.12.0 * chore: bump node in DEPS to v24.13.0 * src: use CP_UTF8 for wide file names on win32 nodejs/node#60575 * test,crypto: handle a few more BoringSSL tests nodejs/node#59030 * chore: re-add accidentally removed sslv23 test * test: make buffer sizes 32bit-aware in test-internal-util-construct-sab nodejs/node#61026 * chore: fixup patch indices * chore: fixup crypto patch rebase (cherry picked from commit 0b3baf0) * chore: fixup sandboxed pointers patch (cherry picked from commit f52fbdb) * build: try removing zero-fill sandbox patch component (#49452) (cherry picked from commit 73377af) * tls: route callback exceptions through error handlers https://github.com/nodejs-private/node-private/pull/782 (cherry picked from commit 87bc8eb) * src: add internal binding for constructing SharedArrayBuffers nodejs/node#60497 (cherry picked from commit ae90076) * chore: fixup after rebase --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>
1 parent bf4746c commit 21c6e4e

37 files changed

Lines changed: 216 additions & 930 deletions

File tree

‎DEPS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ vars = {
44
'chromium_version':
55
'144.0.7559.134',
66
'node_version':
7-
'v24.11.1',
7+
'v24.13.0',
88
'nan_version':
99
'675cefebca42410733da8a454c8d9391fcebfbc2',
1010
'squirrel.mac_version':

‎patches/node/.patches‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ fix_redefined_macos_sdk_header_symbols.patch
3636
fix_allow_disabling_fetch_in_renderer_and_worker_processes.patch
3737
feat_disable_js_source_phase_imports_by_default.patch
3838
fix_avoid_external_memory_leak_on_invalid_tls_protocol_versions.patch
39-
lib_check_sharedarraybuffer_existence_in_fast-utf8-stream.patch
4039
api_delete_deprecated_fields_on_v8_isolate.patch
4140
api_promote_deprecation_of_v8_context_and_v8_object_api_methods.patch
42-
src_use_cp_utf8_for_wide_file_names_on_win32.patch
4341
fix_ensure_traverseparent_bails_on_resource_path_exit.patch
4442
reland_temporal_unflag_temporal.patch
4543
src_handle_der_decoding_errors_from_system_certificates.patch
4644
build_restore_macos_deployment_target_to_12_0.patch
45+
test_make_buffer_sizes_32bit-aware_in.patch

‎patches/node/api_delete_deprecated_fields_on_v8_isolate.patch‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Subject: Delete deprecated fields on v8::Isolate
66
https://chromium-review.googlesource.com/c/v8/v8/+/7081397
77

88
diff --git a/src/api/environment.cc b/src/api/environment.cc
9-
index ea3e9374c30be92ba5668e33773ffbb2aef55b30..44ba3c42c7a980eee19e1aadcbe7999eefeda989 100644
9+
index cfc9b3157d08d62f43e2e5bb01229fe663f3ca61..cce0e1cdc37aa324aa2c52ba134fc1a9a55b10ba 100644
1010
--- a/src/api/environment.cc
1111
+++ b/src/api/environment.cc
12-
@@ -231,8 +231,6 @@ void SetIsolateCreateParamsForNode(Isolate::CreateParams* params) {
12+
@@ -218,8 +218,6 @@ void SetIsolateCreateParamsForNode(Isolate::CreateParams* params) {
1313
// heap based on the actual physical memory.
1414
params->constraints.ConfigureDefaults(total_memory, 0);
1515
}

‎patches/node/api_promote_deprecation_of_v8_context_and_v8_object_api_methods.patch‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ index 37d83e41b618a07aca98118260abe9618f11256d..26d5c1bd3c8191fce1d22b969996b6bf
4444

4545
template <typename T>
4646
diff --git a/src/env-inl.h b/src/env-inl.h
47-
index 5dfbd564d5bbd22ebf3b529a07b73e85cbe51986..b0c3c52cab63c6ae67079aa752bd58dd4f162451 100644
47+
index 97c43afb487b58c0c77bd59b4a6b6d7a13690053..23a4d7b651935a4029249fb2f1dd3ed46ea3b26f 100644
4848
--- a/src/env-inl.h
4949
+++ b/src/env-inl.h
50-
@@ -199,7 +199,8 @@ inline Environment* Environment::GetCurrent(v8::Local<v8::Context> context) {
50+
@@ -189,7 +189,8 @@ inline Environment* Environment::GetCurrent(v8::Local<v8::Context> context) {
5151
}
5252
return static_cast<Environment*>(
5353
context->GetAlignedPointerFromEmbedderData(

‎patches/node/api_remove_deprecated_getisolate.patch‎

Lines changed: 43 additions & 43 deletions
Large diffs are not rendered by default.

‎patches/node/build_enable_perfetto.patch‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ index 8d7204f6cb48f783adc4d1c1eb2de0c83b7fffe2..a154559a56bf383d3c26af523c9bb07b
3333

3434
// Non-alphabetic chars.
3535
diff --git a/lib/internal/http.js b/lib/internal/http.js
36-
index 9bf929f7f3360f13058d3f446c18a36cd15bea58..abf9a06d891488288bccd98c437746c1ce48bf83 100644
36+
index e664663348adc7bb31f7c9ec78481bbeb71401d9..62b659beb766b8256b214447af376f438278b058 100644
3737
--- a/lib/internal/http.js
3838
+++ b/lib/internal/http.js
3939
@@ -11,8 +11,8 @@ const {
@@ -64,7 +64,7 @@ index 9bf929f7f3360f13058d3f446c18a36cd15bea58..abf9a06d891488288bccd98c437746c1
6464

6565
function ipToInt(ip) {
6666
diff --git a/node.gyp b/node.gyp
67-
index a598de39f13e7069e75484463fb096b771fa45fb..975f3897dd1ce1074626925b9fbf22f15632a0b1 100644
67+
index c3917f805464669c709bef83b9982ef95d0fbaa1..56e11cde31897260bf41db3f32f5c6d6fbd6d5bf 100644
6868
--- a/node.gyp
6969
+++ b/node.gyp
7070
@@ -176,7 +176,6 @@

‎patches/node/build_ensure_native_module_compilation_fails_if_not_using_a_new.patch‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Subject: build: ensure native module compilation fails if not using a new
77
This should not be upstreamed, it is a quality-of-life patch for downstream module builders.
88

99
diff --git a/common.gypi b/common.gypi
10-
index 088e7ebbfe07d273691c86c7ab2dce00fcb475c8..a3f7415dba63828bec94ac8503420f14e3fea14c 100644
10+
index 8280cff0d93d42a95875b78de84221aa1bcae092..76a03b9a5458f4afc0ab5768c8a2e90633749fe9 100644
1111
--- a/common.gypi
1212
+++ b/common.gypi
1313
@@ -89,6 +89,8 @@
@@ -54,7 +54,7 @@ index e063f9131d4d547d231811dafea03c8c52b611e6..a5c764d9e7fb0ffa219202015ec67ed6
5454
o['variables']['v8_enable_javascript_promise_hooks'] = 1
5555
o['variables']['v8_enable_lite_mode'] = 1 if options.v8_lite_mode else 0
5656
diff --git a/src/node.h b/src/node.h
57-
index 27f5bb1571920c963e05644a5fc5858aa4b88288..9c624e4ef26c1b06a6c4bca7def245935189ce07 100644
57+
index be22ad370217a13aef2479d478a6373feaf6f208..19c34a430d095c06ccf5a988db91311d420a485a 100644
5858
--- a/src/node.h
5959
+++ b/src/node.h
6060
@@ -22,6 +22,12 @@

‎patches/node/build_restore_clang_as_default_compiler_on_macos.patch‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ node-gyp will use the result of `process.config` that reflects the environment
1111
in which the binary got built.
1212

1313
diff --git a/common.gypi b/common.gypi
14-
index a3f7415dba63828bec94ac8503420f14e3fea14c..c08f65b0448806c613b27eb91f9dd512adab938c 100644
14+
index 76a03b9a5458f4afc0ab5768c8a2e90633749fe9..bdadbdaa607b2f668749fc484271de8d126bbd17 100644
1515
--- a/common.gypi
1616
+++ b/common.gypi
1717
@@ -128,6 +128,7 @@

‎patches/node/build_restore_macos_deployment_target_to_12_0.patch‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ M151, and so we should allow for building until then.
1010
This patch can be removed at the M151 branch point.
1111

1212
diff --git a/common.gypi b/common.gypi
13-
index c08f65b0448806c613b27eb91f9dd512adab938c..58ae004bc3e9cc6fa36330bb7bfd67bb8e46336c 100644
13+
index bdadbdaa607b2f668749fc484271de8d126bbd17..8df2802191b7fe6ae14edbd85cb3a5d16eb5a76a 100644
1414
--- a/common.gypi
1515
+++ b/common.gypi
1616
@@ -677,7 +677,7 @@

‎patches/node/chore_allow_the_node_entrypoint_to_be_a_builtin_module.patch‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ they use themselves as the entry point. We should try to upstream some form
88
of this.
99

1010
diff --git a/lib/internal/process/pre_execution.js b/lib/internal/process/pre_execution.js
11-
index 6585c52e4bd997b20d5a297c536844dea1b8fdc8..fd0a81f5216d8bcf662c7e8bb972ed789eda8645 100644
11+
index 8ed8802adcda308166d700e463c8d6cbcb26d94a..9a99ff6d44320c0e28f4a787d24ea98ae1c96196 100644
1212
--- a/lib/internal/process/pre_execution.js
1313
+++ b/lib/internal/process/pre_execution.js
1414
@@ -276,12 +276,14 @@ function patchProcessObject(expandArgv1) {

0 commit comments

Comments
 (0)