Pedro Pontes 2bf86bcf65 chore: [20-x-y] cherry-pick c79148742421 from v8 (#36581) 2 years ago
..
.patches 2bf86bcf65 chore: [20-x-y] cherry-pick c79148742421 from v8 (#36581) 2 years ago
README.md 4b9da4dd0e chore: remove mips64el patches as they've largely been upstreamed (#18628) 5 years ago
allow_disabling_of_v8_sandboxed_pointers.patch db0830e0f8 chore: bump chromium to 104.0.5112.39 (20-x-y) (#34425) 2 years ago
build_gn.patch db0830e0f8 chore: bump chromium to 104.0.5112.39 (20-x-y) (#34425) 2 years ago
cherry-pick-0f481c9ddf2a.patch aa2f4c094f chore: cherry-pick 0f481c9ddf2a from v8 (#36883) 2 years ago
cherry-pick-177e8bcd3584.patch b0bd900aa3 chore: cherry-pick 177e8bcd3584 from v8 (#36303) 2 years ago
cherry-pick-194bcc127f21.patch d844933377 chore: cherry-pick 194bcc127f21 from v8 (#36206) 2 years ago
cherry-pick-27fa951ae4a3.patch d323392955 chore: cherry-pick 27fa951ae4a3 from v8 (#36552) 2 years ago
cherry-pick-28b9c1c04e78.patch f680f21036 chore: cherry-pick 28b9c1c04e78 from v8 (#36880) 2 years ago
cherry-pick-2ac0620a5bbb.patch 8bde173814 chore: cherry-pick 2ac0620a5bbb from v8 (#36296) 2 years ago
cherry-pick-2f6a2939514f.patch 6620ba4e15 chore: cherry-pick 2f6a2939514f from v8 (#35892) 2 years ago
cherry-pick-80ed4b917477.patch 63b3434132 chore: cherry-pick 80ed4b917477 from v8 (#36300) 2 years ago
cherry-pick-8b040cb69e96.patch d8ca287700 chore: cherry-pick 8b040cb69e96 from v8 (#35889) 2 years ago
cherry-pick-c79148742421.patch 2bf86bcf65 chore: [20-x-y] cherry-pick c79148742421 from v8 (#36581) 2 years ago
cherry-pick-ec236fef54b8.patch b9d0a5aee3 chore: cherry-pick ec236fef54b8 from v8 (#36226) 2 years ago
chore_disable_is_execution_terminating_dcheck.patch 948949f83d chore: bump chromium to 104.0.5073.0 (20-x-y) (#34352) 2 years ago
dcheck.patch db0830e0f8 chore: bump chromium to 104.0.5112.39 (20-x-y) (#34425) 2 years ago
do_not_export_private_v8_symbols_on_windows.patch db0830e0f8 chore: bump chromium to 104.0.5112.39 (20-x-y) (#34425) 2 years ago
export_symbols_needed_for_windows_build.patch db0830e0f8 chore: bump chromium to 104.0.5112.39 (20-x-y) (#34425) 2 years ago
expose_mksnapshot.patch db0830e0f8 chore: bump chromium to 104.0.5112.39 (20-x-y) (#34425) 2 years ago
ext-code-space_fix_coderange_allocation_logic.patch db0830e0f8 chore: bump chromium to 104.0.5112.39 (20-x-y) (#34425) 2 years ago
fix_build_deprecated_attribute_for_older_msvc_versions.patch 948949f83d chore: bump chromium to 104.0.5073.0 (20-x-y) (#34352) 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 db0830e0f8 chore: bump chromium to 104.0.5112.39 (20-x-y) (#34425) 2 years ago
workaround_an_undefined_symbol_error.patch db0830e0f8 chore: bump chromium to 104.0.5112.39 (20-x-y) (#34425) 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.