@rollup/browser 3.27.2 → 3.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,7 +52,7 @@ export type SourceMapSegment =
52
52
 
53
53
  export interface ExistingDecodedSourceMap {
54
54
  file?: string;
55
- mappings: SourceMapSegment[][];
55
+ readonly mappings: SourceMapSegment[][];
56
56
  names: string[];
57
57
  sourceRoot?: string;
58
58
  sources: string[];
@@ -74,11 +74,10 @@ export interface ExistingRawSourceMap {
74
74
 
75
75
  export type DecodedSourceMapOrMissing =
76
76
  | {
77
- mappings?: never;
78
77
  missing: true;
79
78
  plugin: string;
80
79
  }
81
- | ExistingDecodedSourceMap;
80
+ | (ExistingDecodedSourceMap & { missing?: false });
82
81
 
83
82
  export interface SourceMap {
84
83
  file: string;
@@ -828,7 +827,7 @@ export interface OutputAsset extends PreRenderedAsset {
828
827
  }
829
828
 
830
829
  export interface RenderedModule {
831
- code: string | null;
830
+ readonly code: string | null;
832
831
  originalLength: number;
833
832
  removedExports: string[];
834
833
  renderedExports: string[];
@@ -863,6 +862,7 @@ export interface RenderedChunk extends PreRenderedChunk {
863
862
  export interface OutputChunk extends RenderedChunk {
864
863
  code: string;
865
864
  map: SourceMap | null;
865
+ preliminaryFileName: string;
866
866
  }
867
867
 
868
868
  export interface SerializablePluginCache {