Pedro Pontes 4f0b230754 chore: cherry-pick 1 changes from 1-M134 (#46012) 1 month ago
..
.patches 4f0b230754 chore: cherry-pick 1 changes from 1-M134 (#46012) 1 month ago
README.md 4b9da4dd0e chore: remove mips64el patches as they've largely been upstreamed (#18628) 5 years ago
cherry-pick-1c7ff4d5477f.patch 1686a38c2a chore: cherry-pick 3 changes from 1-M133 (#45716) 1 month ago
cherry-pick-2b4812d502b2.patch 4f0b230754 chore: cherry-pick 1 changes from 1-M134 (#46012) 1 month ago
cherry-pick-3c2d220ad025.patch f360dadbb4 fix: crash in gin::wrappable::secondweakcallback (#45379) 2 months ago
cherry-pick-8131c09bc129.patch 3225fd9af5 chore: cherry-pick 1 changes from 2-M132 (#45701) 1 month ago
cherry-pick-8834c16acfcc.patch c29c430dd2 chore: cherry-pick 3 changes from 0-M133 (#45705) 1 month ago
cherry-pick-91343bb45c78.patch 5a8b62636d chore: cherry-pick 2 changes from 3-M133 (#46007) 1 month ago
cherry-pick-9209292e7898.patch 1686a38c2a chore: cherry-pick 3 changes from 1-M133 (#45716) 1 month ago
cherry-pick-97e828af5cbc.patch 1686a38c2a chore: cherry-pick 3 changes from 1-M133 (#45716) 1 month ago
cherry-pick-ca504d096c39.patch 32d08728ee chore: cherry-pick 3 changes from 1-M132 (#45700) 1 month ago
chore_allow_customizing_microtask_policy_per_context.patch 07e6b34a07 chore: bump chromium to 128.0.6571.0 (main) (#42749) 9 months ago
deps_add_v8_object_setinternalfieldfornodecore.patch d62097e067 chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 6 months ago
fix_compiler_failure_on_older_clang.patch 5e1d54396d fix: native module compilation with gcc<=8 (#45086) 3 months ago
fix_disable_scope_reuse_associated_dchecks.patch e32e85abb2 chore: bump chromium to 130.0.6723.19 (33-x-y) (#43975) 6 months ago
merged_fix_out_of_bound_string_access.patch 1686a38c2a chore: cherry-pick 3 changes from 1-M133 (#45716) 1 month ago
merged_reland_lower_the_maximum_js_parameter_count.patch 1d946b1aca chore: cherry-pick 1 changes from 2-M133 (#45720) 1 month ago
merged_wasm_replace_dead_code_set_with_is_dying_bit.patch 1686a38c2a chore: cherry-pick 3 changes from 1-M133 (#45716) 1 month ago
wasm_fix_freeing_of_identical_shared_wrappers.patch 1686a38c2a chore: cherry-pick 3 changes from 1-M133 (#45716) 1 month ago

README.md

Exporting node's patches to v8

$ cd third_party/electron_node
$ CURRENT_NODE_VERSION=vX.Y.Z  # e.g. v10.11.0

# Find the last commit with the message "deps: update V8 to <some version>"
# This commit corresponds to node resetting V8 to its pristine upstream
# state at the stated version.
$ LAST_V8_UPDATE="$(git log --grep='^deps: update V8' --format='%H' -1 deps/v8)"

# This creates a patch file containing all changes in deps/v8 from
# $LAST_V8_UPDATE up to the current node version, formatted in a way that
# it will apply cleanly to the V8 repository (i.e. with `deps/v8`
# stripped off the path and excluding the v8/gypfiles directory, which
# isn't present in V8.
$ git format-patch \
    --relative=deps/v8 \
    $LAST_V8_UPDATE..$CURRENT_NODE_VERSION \
    deps/v8 \
    ':(exclude)deps/v8/gypfiles' \
    --stdout

When upgrading to a new version of node, make sure to match node's patches to v8 by removing all the deps_* patches and re-exporting node's v8 patches using the process above.