electron/patches
Fedor Indutny 7601af5200
fix: don't copy 'package.json's out of ASAR file (#46390)
New Node.js module resolution system reads `package.json` from imported
modules by reading from the file natively in C++ without calling into
`fs.readFileSync`. The ASAR FS wrapper code had copied files out into a
temporary folder as a workaround, but it is inefficient and does not
cover all module resolution mechanisms in Node.js.

In this change we expose `overrideReadFileSync` method on the `modules`
binding in Node.js, and use this override to call into ASAR-supporting
`fs.readFileSync`.
2025-04-03 13:39:53 -07:00
..
boringssl chore: bump chromium to 136.0.7064.0 (main) (#45985) 2025-03-13 12:02:06 -05:00
chromium chore: move build files to build/ dir (#46368) 2025-04-01 13:42:14 +02:00
devtools_frontend chore: bump chromium to 136.0.7064.0 (main) (#45985) 2025-03-13 12:02:06 -05:00
ffmpeg chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
Mantle chore: bump chromium to 096e5313aaf19dfa0c4710145c34d (master) (#26535) 2020-12-14 10:57:36 -08:00
nan chore: bump chromium to 135.0.7041.2 (main) (#45850) 2025-02-28 17:29:23 -05:00
node fix: don't copy 'package.json's out of ASAR file (#46390) 2025-04-03 13:39:53 -07:00
perfetto chore: bump chromium to 128.0.6558.0 (main) (#42413) 2024-07-02 09:51:33 +02:00
ReactiveObjC chore: bump chromium to 94.0.4584.0 (main) (#30030) 2021-07-26 09:02:16 -07:00
reclient-configs chore: bump chromium to 124.0.6359.0 (main) (#41584) 2024-03-15 14:03:42 -04:00
sqlite build: reland bump Node.js to v22.9.0 (#44597) 2024-11-13 15:34:30 +01:00
squirrel.mac chore: bump chromium to 129.0.6630.0 (main) (#43087) 2024-08-02 09:02:11 -05:00
v8 chore: bump chromium to 136.0.7064.0 (main) (#45985) 2025-03-13 12:02:06 -05:00
webrtc build: combine pipewire patches (#46129) 2025-03-19 23:26:06 -05:00
config.json build: reland bump Node.js to v22.9.0 (#44597) 2024-11-13 15:34:30 +01:00
README.md docs: add a dev doc describing the patch system (#20489) 2019-10-09 14:48:09 -07:00