fix(browser): reject overlapping indexed source maps

Fixes #6562
This commit is contained in:
morluto committed 2026-10-23 18:07:46 +08:00
1 parent 553262443a
commit ba7c3dafab
8 files changed
+151 -23

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ export interface SourceMapStructureOptions {
/** A decoder-profile failure with an actionable producer constraint. */
export class SourceMapFormatFailure extends Error {
constructor(
readonly reason: "format" | "unsupported" | "limit",
readonly reason: "format" | "unsupported" | "limit" | "section-overlap",
message: string,
) {
super(message);