Kaoru0822 and Claude Opus 5.5
24398a89e4
fix(source-maps): resolve empty sourceRoot sources against the map URL ( #8107 )
...
webpack 5 and tsc write "sourceRoot": "" for map-relative sources. Since
5f702dd6c the shared join added "/" for any non-null root, so these
sources resolved from the URL root: rxjs's ../../../src/internal/Observable.ts
under /npm/rxjs@7.8.1/dist/cjs/internal/ became /src/internal/Observable.ts,
and xterm's webpack://xterm/./src/... became https://host/webpack://xterm/ ....
Treat an empty root like a null root in sourceMapReference, the single join
used by trace-web-source-location, analyze-javascript-application and the
web source-map fetcher. Chrome, Firefox and trace-mapping skip an empty root,
and tc39/ecma426#183 wrote the current steps to match them. Non-empty roots,
including "/" and repeated slashes (#6726 ), keep their existing behavior.
Fixes #8106
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-30 01:00:41 -07:00
..
2026-10-26 00:16:52 +08:00
2026-10-24 05:51:22 +08:00
2026-10-29 22:31:50 +08:00
2026-10-29 13:44:07 +08:00
2026-10-28 00:54:54 +08:00
2026-10-29 18:46:18 +08:00
2026-10-28 00:54:54 +08:00
2026-10-29 16:04:49 +08:00
2026-10-29 05:09:31 +08:00
2026-10-29 18:46:18 +08:00
2026-10-29 01:10:45 +08:00
2026-10-29 20:00:02 +08:00
2026-10-28 19:46:11 +08:00
2026-10-30 01:00:06 -07:00
2026-10-25 13:56:51 +08:00
2026-10-27 13:21:35 +08:00
2026-10-25 14:18:44 +08:00
2026-10-29 11:27:01 +08:00
2026-10-29 07:57:00 +08:00
2026-10-29 22:31:50 +08:00
2026-10-23 23:42:58 +09:00
2026-10-29 22:31:50 +08:00
2026-10-29 23:03:02 +08:00
2026-10-26 02:33:31 +08:00
2026-10-30 01:00:28 -07:00
2026-10-24 23:51:20 +08:00
2026-10-29 20:06:58 +08:00
2026-10-14 12:49:17 +08:00
2026-10-29 11:27:01 +08:00
2026-10-25 02:16:33 +08:00
2026-10-24 17:39:57 +08:00
2026-10-29 01:55:57 +08:00
2026-10-28 23:18:22 +08:00
2026-10-30 00:59:53 -07:00
2026-10-29 20:07:30 +08:00
2026-10-29 13:33:26 +08:00
2026-10-24 04:28:54 +08:00
2026-10-24 01:47:31 +08:00
2026-10-29 04:57:59 +08:00
2026-10-27 03:49:12 +08:00
2026-10-25 01:16:51 +08:00
2026-10-24 04:23:56 +08:00
2026-10-24 17:56:31 +08:00
2026-10-29 07:38:33 +08:00
2026-10-11 19:47:33 +08:00
2026-10-13 21:13:01 +08:00
2026-10-24 04:43:33 +08:00
2026-10-28 19:43:43 +08:00
2026-10-24 02:34:35 +08:00
2026-10-27 13:30:24 +08:00
2026-10-28 12:35:55 +08:00
2026-10-28 03:34:36 +00:00
2026-10-27 14:10:07 +08:00
2026-10-29 01:55:47 +08:00
2026-10-28 23:18:22 +08:00
2026-10-29 23:03:02 +08:00
2026-10-24 03:59:44 +08:00
2026-10-29 20:06:55 +08:00
2026-10-29 07:56:15 +08:00
2026-10-24 03:11:07 +08:00
2026-10-27 01:37:39 +08:00
2026-10-24 03:16:30 +08:00
2026-10-29 07:56:06 +08:00
2026-10-27 06:22:10 +08:00
2026-10-24 23:51:20 +08:00
2026-10-27 05:23:53 +08:00
2026-10-29 20:06:58 +08:00
2026-10-30 00:59:53 -07:00
2026-10-29 16:47:10 +08:00
2026-10-10 05:41:52 +08:00
2026-10-24 02:00:10 +08:00
2026-10-26 02:22:32 +08:00
2026-10-29 22:54:58 +08:00
2026-10-27 06:06:27 +08:00
2026-10-23 19:07:46 +08:00
2026-10-28 18:14:22 +00:00
2026-10-29 08:56:07 +08:00
2026-10-24 16:08:26 +08:00
2026-10-24 23:51:20 +08:00
2026-10-29 08:23:19 +08:00
2026-10-25 03:30:22 +08:00
2026-10-24 10:23:06 +08:00
2026-10-24 17:56:31 +08:00
2026-10-24 05:13:41 +08:00
2026-10-24 06:13:53 +08:00
2026-10-24 11:31:39 +08:00
2026-10-24 16:02:59 +08:00
2026-10-27 17:13:17 +00:00
2026-10-24 17:21:08 +08:00
2026-10-10 05:41:45 +08:00
2026-10-25 02:16:33 +08:00
2026-10-24 05:13:41 +08:00
2026-10-24 12:34:10 +08:00
2026-10-29 18:19:39 +08:00
2026-10-25 06:51:31 +08:00
2026-10-29 15:13:37 +08:00
2026-10-28 16:47:39 +08:00
2026-10-29 03:03:04 +08:00
2026-10-29 05:08:41 +08:00
2026-10-29 18:46:18 +08:00
2026-10-24 03:59:44 +08:00
2026-10-30 01:00:41 -07:00
2026-10-24 22:54:05 +08:00
2026-10-24 02:40:21 +08:00
2026-10-29 07:38:33 +08:00