RRFZ
b54845a6b8
fix(javascript): admit Electron script loaders only on renderer evidence
...
The previous commit dropped a module package type whenever a source
required an Electron module. A Node-loaded ES module that requires
Electron, or one whose Electron call goes through a local `require`,
then regained the false require edges the package scope removes.
The parser applies the package type unconditionally again. The worker
re-reads a package-module script that requires an Electron module once
outside the package scope. The source keeps that context only when the
static pass there directly observes a contextBridge exposure or a
renderer IPC operation, which only Electron's renderer-side loaders
provide.
2026-10-29 19:05:37 -04:00
..
2026-10-29 19:05:37 -04:00
2026-10-29 01:56:39 +08:00
2026-10-29 01:23:02 +08:00
2026-10-29 05:07:02 +08:00
2026-10-29 10:12:09 +08:00
2026-10-29 05:56:38 +00:00
2026-10-29 05:56:38 +00:00
2026-10-21 03:50:14 +08:00
2026-10-28 20:13:58 +08:00
2026-10-29 20:00:02 +08:00
2026-10-22 11:48:09 +00:00
2026-10-25 07:31:42 +08:00
2026-10-29 05:08:17 +08:00
2026-10-25 09:49:26 +08:00
2026-10-29 01:28:57 +08:00
2026-10-27 10:32:58 +08:00
2026-10-13 20:27:38 +08:00
2026-10-27 05:59:40 +08:00
2026-10-28 23:18:22 +08:00
2026-10-29 13:33:26 +08:00
2026-10-29 13:33:26 +08:00
2026-10-27 06:06:27 +08:00
2026-10-24 16:08:26 +08:00
2026-10-29 10:10:41 +08:00
2026-10-27 04:58:43 +08:00
2026-10-29 04:58:43 +08:00
2026-10-15 03:43:29 +08:00
2026-10-27 06:28:15 +08:00
2026-10-20 22:54:28 -07:00
2026-10-16 03:49:44 +08:00
2026-10-16 07:25:21 +08:00
2026-10-21 05:06:28 -07:00
2026-10-23 23:02:07 +08:00
2026-10-27 06:12:41 +08:00
2026-10-29 22:31:50 +08:00
2026-10-29 22:31:50 +08:00
2026-10-29 08:11:19 +08:00
2026-10-23 19:05:06 +00:00
2026-10-28 11:53:29 +08:00
2026-10-23 05:14:05 +08:00
2026-10-29 05:10:04 +08:00
2026-10-16 04:41:39 +08:00
2026-10-25 07:31:42 +08:00
2026-10-29 20:06:58 +08:00
2026-10-17 21:10:07 +08:00
2026-10-28 12:08:25 +08:00
2026-10-13 23:48:09 +08:00
2026-10-29 01:23:17 +08:00
2026-10-25 07:31:42 +08:00
2026-10-28 23:18:22 +08:00
2026-10-29 13:33:26 +08:00
2026-10-29 09:26:22 +08:00
2026-10-29 09:26:22 +08:00
2026-10-29 09:26:22 +08:00
2026-10-23 18:07:46 +08:00
2026-10-29 09:26:22 +08:00
2026-10-28 19:43:43 +08:00
2026-10-27 14:23:55 +08:00
2026-10-29 05:05:35 +08:00
2026-10-29 07:37:39 +08:00
2026-10-29 08:16:57 +08:00
2026-10-29 01:55:47 +08:00
2026-10-29 04:55:53 +08:00
2026-10-24 02:50:17 +08:00
2026-10-28 11:48:31 +08:00
2026-10-24 22:35:20 +08:00
2026-10-28 16:48:20 +08:00
2026-10-28 16:01:17 +08:00
2026-10-24 22:35:20 +08:00
2026-10-29 08:37:36 +08:00
2026-10-29 14:34:42 +08:00
2026-10-12 01:40:48 +08:00
2026-10-26 23:06:36 +08:00
2026-10-25 07:31:42 +08:00
2026-10-12 02:28:22 +08:00
2026-10-25 07:31:42 +08:00
2026-10-28 15:23:00 +08:00
2026-10-29 05:56:38 +00:00
2026-10-29 20:35:25 +08:00
2026-10-29 04:59:25 +08:00
2026-10-25 07:31:42 +08:00
2026-10-23 19:07:46 +08:00
2026-10-25 07:31:42 +08:00
2026-10-25 09:45:26 +08:00
2026-10-28 18:14:22 +00:00
2026-10-29 08:43:14 +08:00
2026-10-29 15:11:28 +08:00
2026-10-29 07:45:32 +08:00
2026-10-29 07:45:32 +08:00
2026-10-25 07:31:42 +08:00
2026-10-29 01:11:27 +08:00
2026-10-29 09:26:22 +08:00
2026-10-29 09:26:22 +08:00
2026-10-29 09:26:22 +08:00
2026-10-28 15:00:01 +08:00
2026-10-29 01:52:34 +08:00
2026-10-29 05:56:38 +00:00
2026-10-29 01:30:08 +08:00
2026-10-26 19:50:12 +08:00
2026-10-28 19:11:41 +08:00
2026-10-26 23:06:36 +08:00
2026-10-27 02:16:08 +08:00
2026-10-24 22:54:05 +08:00
2026-10-29 05:08:02 +08:00
2026-10-27 21:24:30 +08:00
2026-10-21 03:27:31 +08:00
2026-10-29 02:04:15 +08:00
2026-10-29 01:29:59 +08:00