electron/patches/node
Darshan Sen c326b0068e
fix: recommended node-gyp version in node.h error (#37829)
fix: recommended node-gyp version in node.h error

In
https://github.com/electron/electron/blob/main/docs/tutorial/using-native-node-modules.md#using-npm,
we recommend setting the `npm_config_disturl` variable but doing that
does not work on node-gyp v8.4.0 because after
https://github.com/nodejs/node-gyp/pull/2497
landed, the dist URL was read only from `gyp.opts['dist-url']`. The fix
for reading the value from `npm_config_disturl` by parsing
`gyp.opts.disturl` was landed in
https://github.com/nodejs/node-gyp/pull/2547 and that change was
released in node-gyp v9.0.0, so this change updates the error macro to
recommend node-gyp v9.0.0 as the minimum required version.

Signed-off-by: Darshan Sen <raisinten@gmail.com>
2023-04-11 13:26:26 +02:00
..
.patches refactor: only override V8Platform::CreateJob (#37800) 2023-04-04 10:28:28 +02:00
allow_embedder_to_control_codegenerationfromstringscallback.patch fix: recommended node-gyp version in node.h error (#37829) 2023-04-11 13:26:26 +02:00
api_pass_oomdetails_to_oomerrorcallback.patch refactor: only override V8Platform::CreateJob (#37800) 2023-04-04 10:28:28 +02:00
build_add_gn_build_files.patch chore: bump chromium to 114.0.5684.0 (main) (#37701) 2023-03-30 22:03:58 -04:00
build_ensure_native_module_compilation_fails_if_not_using_a_new.patch fix: recommended node-gyp version in node.h error (#37829) 2023-04-11 13:26:26 +02:00
build_ensure_v8_pointer_compression_sandbox_is_enabled_on_64bit.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
build_modify_js2c_py_to_allow_injection_of_original-fs_and_custom_embedder_js.patch chore: bump node to v18.14.0 (main) (#37129) 2023-02-07 15:51:07 -05:00
chore_add_context_to_context_aware_module_prevention.patch chore: bump node to v18.14.0 (main) (#37129) 2023-02-07 15:51:07 -05:00
chore_allow_the_node_entrypoint_to_be_a_builtin_module.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
enable_crashpad_linux_node_processes.patch chore: bump node to v18.13.0 (main) (#36818) 2023-01-11 11:33:48 +01:00
expose_get_builtin_module_function.patch chore: bump node to v18.14.0 (main) (#37129) 2023-02-07 15:51:07 -05:00
feat_add_knostartdebugsignalhandler_to_environment_to_prevent.patch chore: bump node to v18.14.0 (main) (#37129) 2023-02-07 15:51:07 -05:00
feat_add_uv_loop_interrupt_on_io_change_option_to_uv_loop_configure.patch chore: bump node to v18.13.0 (main) (#36818) 2023-01-11 11:33:48 +01:00
feat_initialize_asar_support.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
fix_account_for_debugger_agent_race_condition.patch chore: bump node to v18.13.0 (main) (#36818) 2023-01-11 11:33:48 +01:00
fix_adapt_debugger_tests_for_upstream_v8_changes.patch chore: bump chromium to 114.0.5684.0 (main) (#37701) 2023-03-30 22:03:58 -04:00
fix_add_default_values_for_variables_in_common_gypi.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
fix_crypto_tests_to_run_with_bssl.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
fix_expose_lookupandcompile_with_parameters.patch chore: bump node to v18.14.0 (main) (#37129) 2023-02-07 15:51:07 -05:00
fix_expose_the_built-in_electron_module_via_the_esm_loader.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
fix_expose_tracing_agent_and_use_tracing_tracingcontroller_instead.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
fix_handle_boringssl_and_openssl_incompatibilities.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
fix_override_createjob_in_node_platform.patch refactor: only override V8Platform::CreateJob (#37800) 2023-04-04 10:28:28 +02:00
fix_parallel_test-v8-stats.patch chore: combine parallel/test-v8-stats v8 patches (#37801) 2023-04-04 10:19:45 +02:00
fix_prevent_changing_functiontemplateinfo_after_publish.patch chore: bump node to v18.14.0 (main) (#37129) 2023-02-07 15:51:07 -05:00
fix_readbarrier_undefined_symbol_error_on_woa_arm64.patch chore: bump node to v16.7.0 (main) (#30350) 2021-08-20 19:25:50 +02:00
fix_serdes_test.patch chore: upgrade to Node.js v18 (#35999) 2022-11-10 22:31:20 +01:00
fix_suppress_clang_-wdeprecated-declarations_in_libuv.patch chore: bump node to v18.13.0 (main) (#36818) 2023-01-11 11:33:48 +01:00
fixup_for_error_declaration_shadows_a_local_variable.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
json_parse_errors_made_user-friendly.patch chore: bump node to v16.17.0 (main) (#35350) 2022-08-29 09:55:36 -04:00
lib_fix_broadcastchannel_initialization_location.patch refactor: only override V8Platform::CreateJob (#37800) 2023-04-04 10:28:28 +02:00
pass_all_globals_through_require.patch chore: bump node to v18.14.1 (main) (#37332) 2023-02-20 09:22:08 -08:00
refactor_allow_embedder_overriding_of_internal_fs_calls.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
refactor_alter_child_process_fork_to_use_execute_script_with.patch chore: bump node to v18.13.0 (main) (#36818) 2023-01-11 11:33:48 +01:00
repl_fix_crash_when_sharedarraybuffer_disabled.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
src_allow_optional_isolation_termination_in_node.patch fix: recommended node-gyp version in node.h error (#37829) 2023-04-11 13:26:26 +02:00
support_v8_sandboxed_pointers.patch chore: bump node to v18.15.0 (main) (#37532) 2023-03-13 09:51:03 -04:00
test_mark_cpu_prof_tests_as_flaky_in_electron.patch test: mark some node specs as flaky (#37181) 2023-02-08 15:19:02 +01:00
v8_api_advance_api_deprecation.patch refactor: only override V8Platform::CreateJob (#37800) 2023-04-04 10:28:28 +02:00