Pedro Pontes 33ea64e2dc chore: cherry-pick aeceeb2187a6 from v8 (#37655) 2 years ago
..
.patches 33ea64e2dc chore: cherry-pick aeceeb2187a6 from v8 (#37655) 2 years ago
README.md 4b9da4dd0e chore: remove mips64el patches as they've largely been upstreamed (#18628) 5 years ago
build_gn.patch 9870a31225 chore: bump chromium to 106.0.5249.165 (21-x-y) (#36162) 2 years ago
cherry-pick-0f481c9ddf2a.patch e9b5cd7d2e chore: cherry-pick 0f481c9ddf2a from v8 (#36882) 2 years ago
cherry-pick-27fa951ae4a3.patch 5312995148 chore: cherry-pick 27fa951ae4a3 from v8 (#36553) 2 years ago
cherry-pick-28b9c1c04e78.patch 61af436d78 chore: cherry-pick 28b9c1c04e78 from v8 (#36879) 2 years ago
cherry-pick-546e00df97ac.patch af5dfeaffb chore: cherry-pick 546e00df97ac from v8 (#37672) 2 years ago
cherry-pick-aeceeb2187a6.patch 33ea64e2dc chore: cherry-pick aeceeb2187a6 from v8 (#37655) 2 years ago
cherry-pick-c79148742421.patch 5698beef8f chore: [21-x-y] reland cherry-pick c79148742421 from v8 (#36821) 2 years ago
cherry-pick-f6ddbf42b1ea.patch db2136783e chore: cherry-pick f6ddbf42b1ea from v8 (#37664) 2 years ago
chore_disable_is_execution_terminating_dcheck.patch c99a52eab4 chore: bump chromium to 106.0.5216.0 (21-x-y) (#35363) 2 years ago
dcheck.patch aaf560817b chore: bump chromium to 106.0.5249.30 (21-x-y) (#35423) 2 years ago
do_not_export_private_v8_symbols_on_windows.patch 9870a31225 chore: bump chromium to 106.0.5249.165 (21-x-y) (#36162) 2 years ago
export_symbols_needed_for_windows_build.patch aaf560817b chore: bump chromium to 106.0.5249.30 (21-x-y) (#35423) 2 years ago
expose_mksnapshot.patch 9870a31225 chore: bump chromium to 106.0.5249.165 (21-x-y) (#36162) 2 years ago
fix_build_deprecated_attribute_for_older_msvc_versions.patch c99a52eab4 chore: bump chromium to 106.0.5216.0 (21-x-y) (#35363) 2 years ago
fix_disable_implies_dcheck_for_node_stream_array_buffers.patch 61374019c0 chore: bump chromium to 103.0.5046.0 (main) (#33906) 2 years ago
revert_fix_cppgc_removed_deleted_cstors_in_cppheapcreateparams.patch f3e0517b6e chore: bump chromium to 102.0.4999.0 (main) (#33731) 3 years ago
revert_runtime_dhceck_terminating_exception_in_microtasks.patch aaf560817b chore: bump chromium to 106.0.5249.30 (21-x-y) (#35423) 2 years ago
workaround_an_undefined_symbol_error.patch aaf560817b chore: bump chromium to 106.0.5249.30 (21-x-y) (#35423) 2 years 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.