electron/script
electron-roller[bot] ab08803959
chore: bump node to v18.17.0 (main) (#39154)
* chore: bump node in DEPS to v18.17.0

* chore: update build_modify_js2c_py_to_allow_injection_of_original-fs_and_custom_embedder_js.patch

Xref: https://github.com/nodejs/node/pull/46930

manually sync patch to minor upstream code shear

* chore: update build_ensure_native_module_compilation_fails_if_not_using_a_new.patch

Xref: https://github.com/nodejs/node/pull/48248

manually sync patch to minor upstream code shear

* chore: update fix_expose_the_built-in_electron_module_via_the_esm_loader.patch

Xref: https://github.com/nodejs/node/pull/47824

chore: upstream func throwIfUnsupportedURLProtocol() has been removed, so no need to patch it

* chore: update api_pass_oomdetails_to_oomerrorcallback.patch

Xref: https://github.com/nodejs/node/pull/47695

manually sync patch to minor upstream code shear

* chore: remove fix_prevent_changing_functiontemplateinfo_after_publish.patch

Xref: https://github.com/nodejs/node/pull/46979 (upstreamed patch)

Xref: https://chromium-review.googlesource.com/c/v8/v8/+/2718147 (related)

* chore: update fix_adapt_debugger_tests_for_upstream_v8_changes.patch

Xref: https://github.com/nodejs/node/pull/47274

manually sync patch to minor upstream code shear

some tests moved from sequential to parallel

* chore: remove fix_libc_buffer_overflow_in_string_view_ctor.patch

Xref: fix_libc_buffer_overflow_in_string_view_ctor.patch

patch is no longer needed due to upstream bump to ada 2.2.0

* chore: remove fix_preventing_potential_oob_in_ada_no_scheme_parsing.patch

Xref: https://github.com/nodejs/node/pull/47339

patch is no longer needed due to upstream bump to ada 2.2.0

* chore: rebuild filenames.json

several files removed/added/changed upstream

* chore: update build_add_gn_build_files.patch

upstream dep histogram 0.11.7 moved its include path from src/ to include/

Xref: https://github.com/nodejs/node/pull/47742

* chore: update fix_crypto_tests_to_run_with_bssl.patch

Xref: https://github.com/nodejs/node/pull/47160

BoringSSL doesn't support BIO_s_secmem() (a secure heap variant of
BIO_s_mem()), so use BIO_s_mem() instead.

Related discussion of secure heap support in BoringSSL:
https://boringssl-review.googlesource.com/c/boringssl/+/54309

* fix: ftbfs in node dep ada

* fix: ftbfs in node dep uvwasi

* chore: rebuild patches

* chore: update fix_handle_boringssl_and_openssl_incompatibilities.patch

Upstream used `BIO_s_secmem()`, a secure heap variant of `BIO_s_mem()`.
BoringSSL doesn't support it, so this PR opts for `BIO_s_mem()` instead.

Upstream Node.js change that prompted this:
https://github.com/nodejs/node/pull/47160

Related discussion of BoringSSL support of secure heap:
https://boringssl-review.googlesource.com/c/boringssl/+/54309

* fix: work around Node 18 isURL() regression

* chore: sort script/node-disabled-tests.json alphabetically

* test: add parallel/test-snapshot-argv1 to disabled list

test: add parallel/test-snapshot-namespaced-builtin to disabled list

We don't support that type of snapshotting at the moment.

* chore: disable flaky node test parallel/test-dgram-send-cb-quelches-error

fails upstream in v18.x on my box as well

* ci: ensure spawned node tests have ELECTRON_RUN_AS_NODE set

* fixup! fix: work around Node 18 isURL() regression

fix: infinite loop regression

* fixup! fix: work around Node 18 isURL() regression

* chore: patch fixtures/errors/force_colors.snapshot

The line numbers in the stacktrace from our v8 build don't match what
Node's tests are expecting, so update the stacktrace to match our build.

The specific numbers probably aren't t needed for the force_colors test,
which is trying to see whether or not the lines are greyed out. One option
is to upstream a test change to stop hardcoding the stacktrace.

* fixup! fix: work around Node 18 isURL() regression

fix; pull in upstream bugfix

* fixup! ci: ensure spawned node tests have ELECTRON_RUN_AS_NODE set

chore: do not inject ELECTRON_RUN_AS_NODE in test-assert-colors.js

* chore: disable flaky node test parallel/test-debugger-random-port-with-inspect-port

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2023-08-08 17:52:51 -05:00
..
codesign refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
lib chore: cleanup unusued variables + enable linting (#38898) 2023-06-26 02:51:54 -07:00
release refactor: use TypeError instead of generic Error when appropriate (#39209) 2023-07-25 12:08:46 -04:00
zip_manifests chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
.eslintrc.json refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
add-debug-link.py fix: strip branded binaries (#36641) 2022-12-13 17:01:20 -05:00
apply_all_patches.py chore: bump chromium to 106.0.5216.0 (main) (#34993) 2022-08-17 11:35:53 -07:00
check-patch-diff.ts refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
check-symlinks.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
copy-debug-symbols.py chore: strip trailing whitespace (#35969) 2023-02-01 12:59:16 +01:00
create-api-json.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
dbus_mock.py build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00
doc-only-change.js ci: clean up docs only change logic (#38456) 2023-05-30 12:38:41 -04:00
download-circleci-artifacts.js chore: cleanup unusued variables + enable linting (#38898) 2023-06-26 02:51:54 -07:00
export_all_patches.py build: fix missing patch config dir error (#35451) 2022-08-25 09:39:16 -07:00
gen-filenames.ts refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
gen-hunspell-filenames.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
gen-libc++-filenames.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
generate-config-gypi.py feat: enable whole-program optimization native modules by default (#36937) 2023-01-25 13:06:05 -08:00
generate-deps-hash.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
generate-version-json.js chore: cleanup unusued variables + enable linting (#38898) 2023-06-26 02:51:54 -07:00
generate-zip-manifest.py build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00
git-export-patches build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00
git-import-patches build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00
gn-asar-hash.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
gn-asar.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
gn-check.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
gn-plist-but-with-hashes.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
lint.js chore: cleanup unusued variables + enable linting (#38898) 2023-06-26 02:51:54 -07:00
nan-spec-runner.js refactor: use Set instead of Array when appropriate (#39324) 2023-08-03 14:29:57 +02:00
native-test-targets.json
native-tests.py build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00
node-disabled-tests.json chore: bump node to v18.17.0 (main) (#39154) 2023-08-08 17:52:51 -05:00
node-spec-runner.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
patches-mtime-cache.py build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00
prepare-appveyor.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
print-version.py build: determine electron version from tags not files (#36106) 2022-10-24 23:44:43 -07:00
push-patch.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
run-clang-format.py build: update clang-format script (#34286) 2022-06-08 21:26:41 +02:00
run-clang-tidy.ts refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
run-gn-format.py
run-if-exists.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
setup-win-for-dev.bat chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
spec-runner.js chore: cleanup unusued variables + enable linting (#38898) 2023-06-26 02:51:54 -07:00
start-goma.ps1 chore: strip trailing whitespace (#35969) 2023-02-01 12:59:16 +01:00
start.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
strip-binaries.py build: remove mips64el build config (#37093) 2023-02-02 20:53:54 +09:00
sysroots.json chore: bump chromium to 115.0.5786.0 (main) (#38301) 2023-05-23 21:58:58 +02:00
verify-chromedriver.py build: drop python2 from CI (#38259) 2023-05-15 02:06:12 -07:00
verify-ffmpeg.py build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00
verify-mksnapshot.py chore: bump chromium to 106.0.5216.0 (main) (#34993) 2022-08-17 11:35:53 -07:00
yarn.js refactor: use node scheme imports in scripts (#38846) 2023-06-22 16:21:42 +02:00
zip-symbols.py build: remove mips64el build config (#37093) 2023-02-02 20:53:54 +09:00