Pedro Pontes 4450b7bc23 chore: cherry-pick 2ac0620a5bbb from v8 (#36295) 2 years ago
..
.patches 4450b7bc23 chore: cherry-pick 2ac0620a5bbb from v8 (#36295) 2 years ago
README.md 4b9da4dd0e chore: remove mips64el patches as they've largely been upstreamed (#18628) 5 years ago
build_gn.patch 04f2b2e2e3 chore: bump chromium to 102.0.5005.27 (19-x-y) (#33932) 3 years ago
cherry-pick-194bcc127f21.patch 6b75a958c2 chore: cherry-pick 194bcc127f21 from v8 (#36205) 2 years ago
cherry-pick-2ac0620a5bbb.patch 4450b7bc23 chore: cherry-pick 2ac0620a5bbb from v8 (#36295) 2 years ago
cherry-pick-2f6a2939514f.patch 033c3eded3 chore: cherry-pick 2f6a2939514f from v8 (#35891) 2 years ago
cherry-pick-3704cf78f471.patch b999fd31f2 chore: cherry-pick 3704cf78f471 from v8 (#35774) 2 years ago
cherry-pick-80ed4b917477.patch bac4d3469d chore: cherry-pick 80ed4b917477 from v8 (#36299) 2 years ago
cherry-pick-8b040cb69e96.patch a58099974c chore: cherry-pick 8b040cb69e96 from v8 (#35888) 2 years ago
cherry-pick-ec236fef54b8.patch 2331e9192c chore: cherry-pick ec236fef54b8 from v8 (#36225) 2 years ago
dcheck.patch 04f2b2e2e3 chore: bump chromium to 102.0.5005.27 (19-x-y) (#33932) 3 years ago
do_not_export_private_v8_symbols_on_windows.patch 04f2b2e2e3 chore: bump chromium to 102.0.5005.27 (19-x-y) (#33932) 3 years ago
export_symbols_needed_for_windows_build.patch 6442e87276 chore: bump chromium to 102.0.4971.0 (19-x-y) (#33518) 3 years ago
expose_mksnapshot.patch 04f2b2e2e3 chore: bump chromium to 102.0.5005.27 (19-x-y) (#33932) 3 years ago
fix_build_deprecated_attribute_for_older_msvc_versions.patch 96e1c7ec92 fix: building node modules with Visual Studio 2017 (#34316) 2 years ago
fix_disable_implies_dcheck_for_node_stream_array_buffers.patch 04f2b2e2e3 chore: bump chromium to 102.0.5005.27 (19-x-y) (#33932) 3 years ago
revert_fix_cppgc_removed_deleted_cstors_in_cppheapcreateparams.patch b0ab8e49a9 chore: bump chromium to 102.0.4999.0. (19-x-y) (#33848) 3 years ago
workaround_an_undefined_symbol_error.patch 7e59d784a0 chore: bump chromium to 102.0.4961.0 (main) (#33091) 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.