electron/shell/common/api
trop[bot] f6238586d4
fix: runtime JS error that crashes GetPackageJSON (#48424)
We overriden the `GetPackageJSON` in Node.js to let us read files
straight from the ASAR file instead of disk. The override works by
providing a JS method with the limitation that it should not throw a
runtime error. However, this invariant was accidentally violated by
`asar.splitPath` that sometimes contrary to its' TypeScript definition
returned `false`.

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Fedor Indutny <indutny@signal.org>
2025-10-03 19:03:18 +02:00
..
api.mojom feat: route deprecated sync clipboard read through permission checks (#45377) 2025-02-05 15:13:29 +09:00
crashpad_support.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_asar.cc fix: runtime JS error that crashes GetPackageJSON (#48424) 2025-10-03 19:03:18 +02:00
electron_api_clipboard.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_clipboard.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_api_clipboard_mac.mm chore: bump chromium to 105.0.5173.0 (main) (#34770) 2022-07-13 17:26:16 -04:00
electron_api_command_line.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_environment.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_native_image.cc chore: move gin::Handle to gin_helper (#48016) 2025-08-10 21:46:37 +02:00
electron_api_native_image.h chore: move gin::Handle to gin_helper (#48016) 2025-08-10 21:46:37 +02:00
electron_api_native_image_mac.mm chore: move gin::Handle to gin_helper (#48016) 2025-08-10 21:46:37 +02:00
electron_api_native_image_win.cc chore: bump chromium to 134.0.6998.10 (main) (#45564) 2025-02-11 17:26:39 -06:00
electron_api_net.cc chore: move gin::Handle to gin_helper (#48016) 2025-08-10 21:46:37 +02:00
electron_api_shell.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_testing.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_url_loader.cc chore: move gin::Handle to gin_helper (#48016) 2025-08-10 21:46:37 +02:00
electron_api_url_loader.h chore: move gin::Handle to gin_helper (#48016) 2025-08-10 21:46:37 +02:00
electron_api_v8_util.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_bindings.cc feat: add fileBacked and purgeable fields to process.getSystemMemoryInfo() for macOS (#48146) 2025-08-28 10:57:06 -07:00
electron_bindings.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
features.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00