@rollup/wasm-node 4.0.0-19 → 4.0.0-20
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.
- package/dist/bin/rollup +2 -2
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +121 -234
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.d.ts +0 -41
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/rollup.js +121 -234
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch-proxy.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm.js +48 -48
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +10 -10
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/rollup.d.ts
CHANGED
|
@@ -15,8 +15,6 @@ export interface RollupError extends RollupLog {
|
|
|
15
15
|
watchFiles?: string[];
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export type RollupWarning = RollupLog;
|
|
19
|
-
|
|
20
18
|
export interface RollupLog {
|
|
21
19
|
binding?: string;
|
|
22
20
|
cause?: unknown;
|
|
@@ -181,8 +179,6 @@ interface ModuleInfo extends ModuleOptions {
|
|
|
181
179
|
exportedBindings: Record<string, string[]> | null;
|
|
182
180
|
exports: string[] | null;
|
|
183
181
|
hasDefaultExport: boolean | null;
|
|
184
|
-
/** @deprecated Use `moduleSideEffects` instead */
|
|
185
|
-
hasModuleSideEffects: boolean | 'no-treeshake';
|
|
186
182
|
id: string;
|
|
187
183
|
implicitlyLoadedAfterOneOf: readonly string[];
|
|
188
184
|
implicitlyLoadedBefore: readonly string[];
|
|
@@ -219,8 +215,6 @@ export interface PluginContext extends MinimalPluginContext {
|
|
|
219
215
|
load: (
|
|
220
216
|
options: { id: string; resolveDependencies?: boolean } & Partial<PartialNull<ModuleOptions>>
|
|
221
217
|
) => Promise<ModuleInfo>;
|
|
222
|
-
/** @deprecated Use `this.getModuleIds` instead */
|
|
223
|
-
moduleIds: IterableIterator<string>;
|
|
224
218
|
parse: (input: string) => AstNode;
|
|
225
219
|
resolve: (
|
|
226
220
|
source: string,
|
|
@@ -287,8 +281,6 @@ export type IsExternal = (
|
|
|
287
281
|
isResolved: boolean
|
|
288
282
|
) => boolean;
|
|
289
283
|
|
|
290
|
-
export type IsPureModule = (id: string) => boolean | NullValue;
|
|
291
|
-
|
|
292
284
|
export type HasModuleSideEffects = (id: string, external: boolean) => boolean;
|
|
293
285
|
|
|
294
286
|
export type LoadResult = SourceDescription | string | NullValue;
|
|
@@ -571,24 +563,16 @@ export interface InputOptions {
|
|
|
571
563
|
experimentalCacheExpiry?: number;
|
|
572
564
|
experimentalLogSideEffects?: boolean;
|
|
573
565
|
external?: ExternalOption;
|
|
574
|
-
/** @deprecated Use the "inlineDynamicImports" output option instead. */
|
|
575
|
-
inlineDynamicImports?: boolean;
|
|
576
566
|
input?: InputOption;
|
|
577
567
|
logLevel?: LogLevelOption;
|
|
578
568
|
makeAbsoluteExternalsRelative?: boolean | 'ifRelativeSource';
|
|
579
|
-
/** @deprecated Use the "manualChunks" output option instead. */
|
|
580
|
-
manualChunks?: ManualChunksOption;
|
|
581
569
|
maxParallelFileOps?: number;
|
|
582
|
-
/** @deprecated Use the "maxParallelFileOps" option instead. */
|
|
583
|
-
maxParallelFileReads?: number;
|
|
584
570
|
moduleContext?: ((id: string) => string | NullValue) | { [id: string]: string };
|
|
585
571
|
onLog?: LogHandlerWithDefault;
|
|
586
572
|
onwarn?: WarningHandlerWithDefault;
|
|
587
573
|
perf?: boolean;
|
|
588
574
|
plugins?: InputPluginOption;
|
|
589
575
|
preserveEntrySignatures?: PreserveEntrySignaturesOption;
|
|
590
|
-
/** @deprecated Use the "preserveModules" output option instead. */
|
|
591
|
-
preserveModules?: boolean;
|
|
592
576
|
preserveSymlinks?: boolean;
|
|
593
577
|
shimMissingExports?: boolean;
|
|
594
578
|
strictDeprecations?: boolean;
|
|
@@ -606,24 +590,15 @@ export interface NormalizedInputOptions {
|
|
|
606
590
|
experimentalCacheExpiry: number;
|
|
607
591
|
experimentalLogSideEffects: boolean;
|
|
608
592
|
external: IsExternal;
|
|
609
|
-
/** @deprecated Use the "inlineDynamicImports" output option instead. */
|
|
610
|
-
inlineDynamicImports: boolean | undefined;
|
|
611
593
|
input: string[] | { [entryAlias: string]: string };
|
|
612
594
|
logLevel: LogLevelOption;
|
|
613
595
|
makeAbsoluteExternalsRelative: boolean | 'ifRelativeSource';
|
|
614
|
-
/** @deprecated Use the "manualChunks" output option instead. */
|
|
615
|
-
manualChunks: ManualChunksOption | undefined;
|
|
616
596
|
maxParallelFileOps: number;
|
|
617
|
-
/** @deprecated Use the "maxParallelFileOps" option instead. */
|
|
618
|
-
maxParallelFileReads: number;
|
|
619
597
|
moduleContext: (id: string) => string;
|
|
620
598
|
onLog: LogHandler;
|
|
621
|
-
onwarn: (warning: RollupLog) => void;
|
|
622
599
|
perf: boolean;
|
|
623
600
|
plugins: Plugin[];
|
|
624
601
|
preserveEntrySignatures: PreserveEntrySignaturesOption;
|
|
625
|
-
/** @deprecated Use the "preserveModules" output option instead. */
|
|
626
|
-
preserveModules: boolean | undefined;
|
|
627
602
|
preserveSymlinks: boolean;
|
|
628
603
|
shimMissingExports: boolean;
|
|
629
604
|
strictDeprecations: boolean;
|
|
@@ -699,13 +674,9 @@ export interface OutputOptions {
|
|
|
699
674
|
compact?: boolean;
|
|
700
675
|
// only required for bundle.write
|
|
701
676
|
dir?: string;
|
|
702
|
-
/** @deprecated Use the "renderDynamicImport" plugin hook instead. */
|
|
703
|
-
dynamicImportFunction?: string;
|
|
704
677
|
dynamicImportInCjs?: boolean;
|
|
705
678
|
entryFileNames?: string | ((chunkInfo: PreRenderedChunk) => string);
|
|
706
679
|
esModule?: boolean | 'if-default-prop';
|
|
707
|
-
/** @deprecated This option is no longer needed and ignored. */
|
|
708
|
-
experimentalDeepDynamicChunkOptimization?: boolean;
|
|
709
680
|
experimentalMinChunkSize?: number;
|
|
710
681
|
exports?: 'default' | 'named' | 'none' | 'auto';
|
|
711
682
|
extend?: boolean;
|
|
@@ -728,14 +699,10 @@ export interface OutputOptions {
|
|
|
728
699
|
manualChunks?: ManualChunksOption;
|
|
729
700
|
minifyInternalExports?: boolean;
|
|
730
701
|
name?: string;
|
|
731
|
-
/** @deprecated Use "generatedCode.symbols" instead. */
|
|
732
|
-
namespaceToStringTag?: boolean;
|
|
733
702
|
noConflict?: boolean;
|
|
734
703
|
outro?: string | AddonFunction;
|
|
735
704
|
paths?: OptionsPaths;
|
|
736
705
|
plugins?: OutputPluginOption;
|
|
737
|
-
/** @deprecated Use "generatedCode.constBindings" instead. */
|
|
738
|
-
preferConst?: boolean;
|
|
739
706
|
preserveModules?: boolean;
|
|
740
707
|
preserveModulesRoot?: string;
|
|
741
708
|
sanitizeFileName?: boolean | ((fileName: string) => string);
|
|
@@ -758,13 +725,9 @@ export interface NormalizedOutputOptions {
|
|
|
758
725
|
chunkFileNames: string | ((chunkInfo: PreRenderedChunk) => string);
|
|
759
726
|
compact: boolean;
|
|
760
727
|
dir: string | undefined;
|
|
761
|
-
/** @deprecated Use the "renderDynamicImport" plugin hook instead. */
|
|
762
|
-
dynamicImportFunction: string | undefined;
|
|
763
728
|
dynamicImportInCjs: boolean;
|
|
764
729
|
entryFileNames: string | ((chunkInfo: PreRenderedChunk) => string);
|
|
765
730
|
esModule: boolean | 'if-default-prop';
|
|
766
|
-
/** @deprecated This option is no longer needed and ignored. */
|
|
767
|
-
experimentalDeepDynamicChunkOptimization: boolean;
|
|
768
731
|
experimentalMinChunkSize: number;
|
|
769
732
|
exports: 'default' | 'named' | 'none' | 'auto';
|
|
770
733
|
extend: boolean;
|
|
@@ -786,14 +749,10 @@ export interface NormalizedOutputOptions {
|
|
|
786
749
|
manualChunks: ManualChunksOption;
|
|
787
750
|
minifyInternalExports: boolean;
|
|
788
751
|
name: string | undefined;
|
|
789
|
-
/** @deprecated Use "generatedCode.symbols" instead. */
|
|
790
|
-
namespaceToStringTag: boolean;
|
|
791
752
|
noConflict: boolean;
|
|
792
753
|
outro: AddonFunction;
|
|
793
754
|
paths: OptionsPaths;
|
|
794
755
|
plugins: OutputPlugin[];
|
|
795
|
-
/** @deprecated Use "generatedCode.constBindings" instead. */
|
|
796
|
-
preferConst: boolean;
|
|
797
756
|
preserveModules: boolean;
|
|
798
757
|
preserveModulesRoot: string | undefined;
|
|
799
758
|
sanitizeFileName: (fileName: string) => string;
|
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED