morluto
6dadd30fb6
fix(javascript): route directories by JavaScript input presence and name directory-capable operations ( #14186 )
...
* fix(javascript): refuse directories without JavaScript inputs and name directory-capable operations
`analyze <dir>` routed every non-bundle directory to the static JavaScript
lane, which reported an all-zero Electron summary as success for native
build output. The JavaScript lane now owns that applicability decision from
its complete inventory: when coverage is complete and no JavaScript, HTML,
package.json, source map, or nested ASAR input exists, it returns a typed
unsupported_target refusal naming inspect_desktop_application,
audit_release_exposure, inspect_artifact, and open_binary. Incomplete
coverage or unavailable files of unknown kind stay unknown and proceed.
The directory_requires_file refusal no longer claims to come from
open_binary when another operation (inspect, inspect-artifact) admitted the
target, and it names the directory-capable operations instead of only the
JavaScript lane.
* fix(javascript): keep empty directories analyzable and report routing facts for non-JavaScript ones
Owner decision on #14186 : an empty directory is "nothing to analyze", not
"unsupported". The JavaScript lane now classifies application-input
presence once, in the domain owner of its file facts
(javaScriptApplicationInputPresence): present, empty, absent, or unknown.
- empty (complete traversal, no non-directory entries): analysis succeeds
as before and the graph carries an explicit "No JavaScript inputs were
found" limitation naming the next operations.
- absent (complete traversal, entries but no JavaScript, HTML,
package.json, source map, or nested ASAR): the typed unsupported_target
refusal now carries bounded diagnostics from the inventory the lane
already read: inventoried_entries, entries_by_format, json_files and
native_addon_files. No paths are retained.
- unknown (incomplete traversal or unavailable file of unknown kind) and
present: unchanged analysis.
Reverts the fixture edits that added package.json to empty directories.
2026-11-23 18:00:43 -05:00
..
2026-11-22 21:46:36 -05:00
2026-11-24 02:54:49 +08:00
2026-11-22 21:19:46 -05:00
2026-11-16 20:55:14 -05:00
2026-11-23 13:25:13 +00:00
2026-11-16 04:15:59 +08:00
2026-11-23 13:25:13 +00:00
2026-11-15 17:04:45 +08:00
2026-11-20 13:27:14 +00:00
2026-11-23 01:11:05 +00:00
2026-11-23 12:13:25 +00:00
2026-11-19 03:48:12 +00:00
2026-11-23 12:37:46 +00:00
2026-11-19 19:22:54 +00:00
2026-11-22 17:22:00 -05:00
2026-11-23 07:14:32 +00:00
2026-11-22 19:07:59 +00:00
2026-11-22 15:08:22 -05:00
2026-11-19 13:50:12 +00:00
2026-11-22 11:42:13 +00:00
2026-11-23 18:00:43 -05:00
2026-11-16 04:15:59 +08:00
2026-11-23 12:18:01 +00:00
2026-11-16 06:28:01 +08:00
2026-11-23 13:25:13 +00:00
2026-11-18 09:23:27 -05:00
2026-11-22 18:05:58 -05:00
2026-11-23 13:25:13 +00:00
2026-11-22 20:43:35 +00:00
2026-11-23 06:55:30 -05:00
2026-11-19 06:35:08 -05:00
2026-11-15 17:04:45 +08:00
2026-11-22 12:57:41 -05:00
2026-11-23 17:41:53 +08:00
2026-11-21 20:02:30 +01:00
2026-11-16 07:40:30 +08:00
2026-11-23 00:47:47 -05:00
2026-11-22 23:42:41 +00:00
2026-11-16 03:56:10 +08:00
2026-11-16 05:54:45 +08:00
2026-11-16 05:54:45 +08:00
2026-11-20 17:58:27 -05:00
2026-11-23 12:57:52 +00:00
2026-11-19 11:24:09 +00:00
2026-11-19 11:24:09 +00:00
2026-11-22 03:30:14 +00:00
2026-11-23 13:40:10 +00:00
2026-11-15 17:28:05 +08:00
2026-11-15 21:41:25 -05:00
2026-11-23 18:00:43 -05:00
2026-11-22 03:30:14 +00:00
2026-11-19 12:51:06 +00:00
2026-11-16 03:56:10 +08:00
2026-11-16 09:29:54 +08:00
2026-11-18 18:27:29 -05:00
2026-11-16 08:42:11 +08:00
2026-11-16 08:39:18 +08:00
2026-11-16 08:39:18 +08:00
2026-11-19 23:05:07 -05:00
2026-11-22 03:46:02 -05:00
2026-11-22 03:46:02 -05:00
2026-11-12 19:24:54 -05:00
2026-11-19 19:45:26 +00:00
2026-11-19 19:45:26 +00:00
2026-11-16 07:04:34 +08:00
2026-11-22 03:14:49 -05:00
2026-11-22 15:08:11 -05:00
2026-11-17 12:08:42 +00:00
2026-11-14 14:59:41 +01:00
2026-11-14 14:59:41 +01:00
2026-11-16 06:28:01 +08:00
2026-11-22 20:43:35 +00:00
2026-11-13 04:45:16 -05:00
2026-11-13 04:45:16 -05:00
2026-11-19 11:59:02 -05:00
2026-11-23 00:47:47 -05:00
2026-11-19 12:04:53 +00:00
2026-11-19 20:49:33 +00:00
2026-11-17 14:16:24 -05:00
2026-11-19 21:19:35 +00:00
2026-11-18 14:59:33 -05:00
2026-11-16 07:53:42 +08:00
2026-11-16 06:28:01 +08:00
2026-11-18 14:59:33 -05:00
2026-11-17 18:48:24 -05:00
2026-11-19 12:51:06 +00:00
2026-11-19 06:17:23 -05:00
2026-11-19 06:17:23 -05:00
2026-11-19 19:40:27 +00:00
2026-11-22 22:16:20 +00:00
2026-11-23 04:51:12 +00:00
2026-11-19 18:12:35 +00:00
2026-11-19 21:38:40 +00:00
2026-11-15 22:09:41 +08:00
2026-11-23 03:23:40 +00:00
2026-11-16 06:47:48 +08:00
2026-11-22 15:41:50 +08:00
2026-11-16 04:24:58 +08:00
2026-11-16 04:24:58 +08:00
2026-11-16 04:15:59 +08:00
2026-11-16 03:22:24 +08:00
2026-11-16 07:12:16 +08:00
2026-11-22 08:54:27 -05:00
2026-11-22 08:54:27 -05:00
2026-11-19 03:31:13 +00:00
2026-11-16 07:04:34 +08:00
2026-11-22 20:51:54 -05:00
2026-11-16 07:05:30 +08:00
2026-11-15 20:35:48 +08:00
2026-11-16 03:38:28 +08:00
2026-11-16 08:42:11 +08:00
2026-11-21 17:56:08 +00:00
2026-11-21 17:52:42 +00:00
2026-11-22 08:54:27 -05:00
2026-11-21 06:50:22 -05:00
2026-11-21 11:27:03 +00:00
2026-11-15 21:51:18 +08:00
2026-11-21 11:45:15 +00:00
2026-11-15 20:53:36 -05:00
2026-11-21 17:56:08 +00:00
2026-11-15 17:25:31 +08:00
2026-11-16 03:34:31 +08:00
2026-11-16 03:34:31 +08:00
2026-11-16 06:28:01 +08:00
2026-11-22 17:56:50 +00:00
2026-11-23 13:25:13 +00:00
2026-11-16 06:28:01 +08:00
2026-11-16 07:53:42 +08:00
2026-11-22 08:54:27 -05:00
2026-11-17 14:57:30 -05:00
2026-11-15 17:25:31 +08:00
2026-11-16 06:28:01 +08:00
2026-11-19 06:57:15 -05:00
2026-11-16 10:59:18 +08:00
2026-11-15 23:52:08 +08:00
2026-11-19 06:57:15 -05:00
2026-11-15 20:35:28 +08:00
2026-11-19 06:57:15 -05:00
2026-11-15 20:35:28 +08:00
2026-11-19 11:24:09 +00:00
2026-11-16 04:41:46 +08:00
2026-11-18 10:49:22 -05:00
2026-11-23 00:17:00 +00:00
2026-11-15 13:45:27 +08:00
2026-11-16 07:33:16 +08:00
2026-11-18 09:42:28 -05:00
2026-11-22 15:08:22 -05:00
2026-11-15 18:09:40 +08:00
2026-11-19 03:54:56 +00:00
2026-11-19 13:52:31 +00:00
2026-11-15 13:45:36 +08:00
2026-11-19 15:59:06 +00:00
2026-11-19 08:24:57 -05:00
2026-11-19 17:56:16 +00:00
2026-11-23 00:25:51 +00:00
2026-11-19 21:38:40 +00:00
2026-11-22 22:52:48 -05:00
2026-11-19 15:59:06 +00:00
2026-11-19 15:59:06 +00:00
2026-11-19 15:59:06 +00:00
2026-11-19 15:59:06 +00:00
2026-11-23 00:25:51 +00:00
2026-11-23 00:25:51 +00:00
2026-11-19 15:59:06 +00:00
2026-11-19 15:59:06 +00:00
2026-11-22 22:52:48 -05:00
2026-11-22 03:42:58 -05:00
2026-11-22 19:22:04 -05:00
2026-11-18 14:58:29 -05:00
2026-11-22 03:42:58 -05:00
2026-11-22 08:54:27 -05:00
2026-11-22 16:56:29 -05:00
2026-11-21 08:32:56 +00:00
2026-11-22 16:56:29 -05:00
2026-11-18 06:13:39 +08:00
2026-11-13 04:45:16 -05:00
2026-11-19 03:30:41 +00:00
2026-11-21 08:32:56 +00:00
2026-11-20 09:47:41 -05:00
2026-11-22 20:23:50 -05:00
2026-11-16 06:28:01 +08:00
2026-11-15 17:25:31 +08:00
2026-11-22 16:30:29 +08:00
2026-11-15 18:08:12 +08:00
2026-11-16 06:28:01 +08:00
2026-11-15 20:53:13 -05:00
2026-11-19 03:54:56 +00:00
2026-11-16 06:28:01 +08:00
2026-11-21 10:03:33 -05:00
2026-11-22 08:54:27 -05:00
2026-11-17 18:48:24 -05:00
2026-11-16 21:22:37 -05:00
2026-11-16 06:28:01 +08:00
2026-11-15 20:54:50 -05:00
2026-11-16 03:17:39 +08:00
2026-11-16 03:17:39 +08:00
2026-11-15 21:41:25 -05:00
2026-11-16 08:04:53 +08:00
2026-11-23 02:28:45 +00:00
2026-11-16 08:04:53 +08:00
2026-11-16 07:40:30 +08:00
2026-11-22 13:26:30 +00:00
2026-11-16 06:28:01 +08:00
2026-11-22 13:26:30 +00:00
2026-11-16 07:40:30 +08:00
2026-11-22 08:54:27 -05:00
2026-11-16 06:28:01 +08:00
2026-11-19 18:10:34 +00:00
2026-11-19 18:10:34 +00:00
2026-11-15 17:25:31 +08:00
2026-11-19 11:41:37 +00:00
2026-11-19 11:41:37 +00:00
2026-11-22 15:56:02 -05:00
2026-11-19 20:49:33 +00:00
2026-11-22 17:12:55 -05:00
2026-11-22 03:53:11 +00:00
2026-11-22 03:53:11 +00:00
2026-11-15 18:24:35 +08:00
2026-11-17 10:04:46 +00:00
2026-11-19 19:40:27 +00:00
2026-11-19 19:40:27 +00:00
2026-11-21 20:57:32 +01:00
2026-11-22 03:14:49 -05:00
2026-11-22 12:57:30 -05:00
2026-11-16 07:56:52 +08:00
2026-11-15 20:53:36 -05:00
2026-11-19 11:36:56 +00:00
2026-11-19 11:36:56 +00:00
2026-11-22 10:28:26 -05:00
2026-11-22 10:28:26 -05:00
2026-11-17 18:48:24 -05:00
2026-11-17 18:48:24 -05:00
2026-11-15 23:59:23 +08:00
2026-11-15 23:59:23 +08:00
2026-11-15 13:45:36 +08:00
2026-11-15 13:45:36 +08:00
2026-11-19 03:54:56 +00:00
2026-11-17 21:03:48 +08:00
2026-11-17 21:03:48 +08:00
2026-11-19 21:22:18 -05:00
2026-11-20 09:47:41 -05:00
2026-11-20 09:47:41 -05:00
2026-11-17 18:48:24 -05:00
2026-11-23 01:11:05 +00:00
2026-11-17 10:47:29 +00:00
2026-11-17 10:47:29 +00:00
2026-11-16 07:30:32 +08:00
2026-11-15 10:03:26 +08:00
2026-11-19 12:51:06 +00:00
2026-11-16 16:31:52 -05:00
2026-11-19 12:51:06 +00:00
2026-11-23 03:23:40 +00:00
2026-11-17 10:04:46 +00:00
2026-11-19 03:49:13 +00:00
2026-11-19 08:26:25 -05:00
2026-11-19 15:57:39 -05:00
2026-11-19 15:57:39 -05:00
2026-11-18 03:51:31 -05:00
2026-11-19 13:39:49 +00:00
2026-11-20 01:12:28 +00:00
2026-11-20 01:12:28 +00:00
2026-11-15 21:51:18 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 07:12:16 +08:00
2026-11-19 06:42:48 -05:00
2026-11-19 11:24:09 +00:00
2026-11-15 18:24:35 +08:00
2026-11-15 18:24:35 +08:00
2026-11-19 06:42:48 -05:00
2026-11-15 13:45:03 +08:00
2026-11-22 21:02:26 +00:00
2026-11-22 21:02:26 +00:00
2026-11-19 06:42:48 -05:00
2026-11-15 18:24:35 +08:00
2026-11-22 23:42:41 +00:00
2026-11-15 21:34:58 +08:00
2026-11-16 10:59:18 +08:00
2026-11-16 03:56:10 +08:00
2026-11-15 15:22:21 +08:00
2026-11-19 03:54:56 +00:00
2026-11-19 03:54:56 +00:00
2026-11-16 06:28:01 +08:00
2026-11-14 13:28:28 -05:00
2026-11-22 15:38:25 -05:00
2026-11-16 06:28:01 +08:00
2026-11-14 14:16:39 +01:00
2026-11-16 06:28:01 +08:00
2026-11-16 08:42:11 +08:00
2026-11-16 04:15:59 +08:00
2026-11-19 06:57:15 -05:00
2026-11-16 06:28:01 +08:00
2026-11-19 06:57:15 -05:00
2026-11-19 06:57:15 -05:00
2026-11-19 06:57:15 -05:00
2026-11-19 06:57:15 -05:00
2026-11-17 13:13:02 +00:00
2026-11-22 11:26:19 +00:00
2026-11-15 19:37:10 +08:00
2026-11-22 08:54:27 -05:00
2026-11-18 09:42:46 -05:00
2026-11-19 08:56:52 +00:00
2026-11-16 00:05:14 +08:00
2026-11-23 11:55:24 -05:00
2026-11-23 11:55:24 -05:00
2026-11-15 21:34:58 +08:00
2026-11-22 03:23:26 -05:00
2026-11-22 09:10:16 +00:00
2026-11-22 09:23:33 +00:00
2026-11-22 09:23:33 +00:00
2026-11-16 07:12:16 +08:00
2026-11-19 20:41:56 +00:00
2026-11-19 20:41:56 +00:00
2026-11-16 03:56:10 +08:00
2026-11-16 07:05:30 +08:00
2026-11-19 03:31:13 +00:00
2026-11-17 18:48:24 -05:00
2026-11-15 21:51:18 +08:00
2026-11-16 05:49:28 +08:00
2026-11-18 09:11:20 -05:00
2026-11-16 03:56:10 +08:00
2026-11-19 03:58:03 +00:00
2026-11-19 03:58:03 +00:00
2026-11-21 10:20:13 +00:00
2026-11-19 03:32:08 +00:00
2026-11-19 11:43:07 +00:00
2026-11-22 16:05:53 +08:00
2026-11-22 16:05:53 +08:00
2026-11-15 19:54:39 +08:00
2026-11-15 19:54:39 +08:00
2026-11-17 18:48:24 -05:00
2026-11-15 21:51:18 +08:00
2026-11-12 07:43:13 +08:00
2026-11-23 03:12:28 +00:00
2026-11-23 03:17:51 +00:00
2026-11-23 03:17:51 +00:00
2026-11-19 11:41:02 +00:00
2026-11-19 21:19:35 +00:00
2026-11-16 07:04:34 +08:00
2026-11-22 08:54:27 -05:00
2026-11-14 13:28:28 -05:00
2026-11-22 17:12:55 -05:00
2026-11-16 10:59:18 +08:00
2026-11-21 22:09:16 +01:00
2026-11-13 10:11:06 -05:00
2026-11-19 07:13:33 +00:00
2026-11-19 06:42:58 -05:00
2026-11-19 06:42:58 -05:00
2026-11-19 06:17:19 -05:00
2026-11-19 06:17:19 -05:00
2026-11-16 07:05:30 +08:00
2026-11-19 03:49:13 +00:00
2026-11-22 08:54:27 -05:00
2026-11-22 16:33:22 +08:00
2026-11-16 12:53:04 -05:00
2026-11-19 13:40:59 +00:00
2026-11-22 16:33:22 +08:00
2026-11-19 13:40:59 +00:00
2026-11-19 13:40:59 +00:00
2026-11-22 16:33:22 +08:00
2026-11-21 21:57:26 +00:00
2026-11-21 20:10:41 +00:00
2026-11-16 07:40:30 +08:00
2026-11-15 21:51:18 +08:00
2026-11-16 07:05:30 +08:00
2026-11-20 16:51:12 +00:00
2026-11-15 16:40:03 +08:00
2026-11-16 08:42:11 +08:00
2026-11-16 06:28:01 +08:00
2026-11-22 08:04:05 -05:00
2026-11-23 12:18:01 +00:00
2026-11-22 19:39:41 -05:00
2026-11-22 19:39:41 -05:00
2026-11-16 07:05:30 +08:00
2026-11-16 07:30:32 +08:00
2026-11-16 07:30:32 +08:00
2026-11-15 15:22:21 +08:00
2026-11-19 06:43:03 -05:00
2026-11-19 06:43:03 -05:00
2026-11-16 07:12:16 +08:00
2026-11-16 07:05:30 +08:00
2026-11-19 04:59:56 +00:00
2026-11-22 06:24:58 -05:00
2026-11-23 01:12:58 +00:00
2026-11-18 10:49:14 -05:00
2026-11-23 03:18:38 +00:00
2026-11-19 05:07:28 +00:00
2026-11-19 05:07:28 +00:00
2026-11-17 14:57:30 -05:00