Pedro Pontes cbe137e60b chore: cherry-pick 2004594a46c8 from v8 (#33883) 3 years ago
..
.patches cbe137e60b chore: cherry-pick 2004594a46c8 from v8 (#33883) 3 years ago
README.md 4b9da4dd0e chore: remove mips64el patches as they've largely been upstreamed (#18628) 5 years ago
build_gn.patch c46620d4ba chore: bump chromium to 96.0.4664.4 (16-x-y) (#31529) 3 years ago
cherry-pick-2004594a46c8.patch cbe137e60b chore: cherry-pick 2004594a46c8 from v8 (#33883) 3 years ago
cherry-pick-26b7ad6967b1.patch 7ef2a0d8ed chore: cherry-pick 26b7ad6967b1 from v8 (#33472) 3 years ago
cherry-pick-27bc67f761e6.patch 1587fbd4c3 chore: cherry-pick ebddaedee from v8 (#32809) 3 years ago
cherry-pick-a1427aad7cef.patch 9bdb2d9d94 chore: cherry-pick a1427aad7cef from v8 (#33524) 3 years ago
cherry-pick-b2d3ef69ef99.patch 1d780d716e chore: cherry-pick b2d3ef69ef99 from v8 (#33835) 3 years ago
cherry-pick-c46fb3a15ec2.patch dc3232e690 chore: cherry-pick c46fb3a15ec2 from v8 (#33392) 3 years ago
cherry-pick-e42dbcdedb7a.patch 01a49e799f chore: cherry-pick e42dbcdedb7a from v8 (#33830) 3 years ago
cherry-pick-f546ac11eec7.patch 7d979882fb chore: cherry-pick f546ac11eec7 from v8 (#33762) 3 years ago
cherry-pick-f599381978f2.patch 0817274bf9 chore: cherry-pick f599381978f2 from v8 (#33605) 3 years ago
dcheck.patch 040910b1d0 chore: bump chromium to 96.0.4664.110 (16-x-y) (#32123) 3 years ago
do_not_export_private_v8_symbols_on_windows.patch c46620d4ba chore: bump chromium to 96.0.4664.4 (16-x-y) (#31529) 3 years ago
export_symbols_needed_for_windows_build.patch c46620d4ba chore: bump chromium to 96.0.4664.4 (16-x-y) (#31529) 3 years ago
expose_mksnapshot.patch c46620d4ba chore: bump chromium to 96.0.4664.4 (16-x-y) (#31529) 3 years ago
fix_build_deprecated_attirbute_for_older_msvc_versions.patch 5513e66982 chore: bump chromium to 95.0.4612.5 (main) (#30503) 3 years ago
fix_disable_implies_dcheck_for_node_stream_array_buffers.patch c899294a12 chore: bump chromium in DEPS to 96.0.4664.174 (#32715) 3 years ago
regexp_arm_fix_regexp_assembler_abortion.patch 70c0f06890 chore: cherry-pick bab8254c3 and 2dd23f757 from v8 (#32801) 3 years ago
regexp_ensure_regress-1255368_runs_only_with_irregexp.patch 70c0f06890 chore: cherry-pick bab8254c3 and 2dd23f757 from v8 (#32801) 3 years ago
skip_non-compilation_functions_in_optimizeosr.patch 1587fbd4c3 chore: cherry-pick ebddaedee from v8 (#32809) 3 years ago
workaround_an_undefined_symbol_error.patch 5513e66982 chore: bump chromium to 95.0.4612.5 (main) (#30503) 3 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.