@rollup/browser
Advanced tools
Comparing version 4.21.0 to 4.21.1
@@ -214,5 +214,3 @@ import type * as estree from 'estree'; | ||
export interface CustomPluginOptions { | ||
[plugin: string]: any; | ||
} | ||
export type CustomPluginOptions = Record<string, any>; | ||
@@ -280,5 +278,3 @@ type LoggingFunctionWithPosition = ( | ||
export interface ResolvedIdMap { | ||
[key: string]: ResolvedId; | ||
} | ||
export type ResolvedIdMap = Record<string, ResolvedId>; | ||
@@ -403,5 +399,3 @@ interface PartialResolvedId extends Partial<PartialNull<ModuleOptions>> { | ||
export interface OutputBundle { | ||
[fileName: string]: OutputAsset | OutputChunk; | ||
} | ||
export type OutputBundle = Record<string, OutputAsset | OutputChunk>; | ||
@@ -565,7 +559,7 @@ export interface FunctionPluginHooks { | ||
export type GlobalsOption = { [name: string]: string } | ((name: string) => string); | ||
export type GlobalsOption = Record<string, string> | ((name: string) => string); | ||
export type InputOption = string | string[] | { [entryAlias: string]: string }; | ||
export type InputOption = string | string[] | Record<string, string>; | ||
export type ManualChunksOption = { [chunkAlias: string]: string[] } | GetManualChunk; | ||
export type ManualChunksOption = Record<string, string[]> | GetManualChunk; | ||
@@ -608,3 +602,3 @@ export type LogHandlerWithDefault = ( | ||
maxParallelFileOps?: number; | ||
moduleContext?: ((id: string) => string | NullValue) | { [id: string]: string }; | ||
moduleContext?: ((id: string) => string | NullValue) | Record<string, string>; | ||
onLog?: LogHandlerWithDefault; | ||
@@ -632,3 +626,3 @@ onwarn?: WarningHandlerWithDefault; | ||
external: IsExternal; | ||
input: string[] | { [entryAlias: string]: string }; | ||
input: string[] | Record<string, string>; | ||
logLevel: LogLevelOption; | ||
@@ -827,5 +821,3 @@ makeAbsoluteExternalsRelative: boolean | 'ifRelativeSource'; | ||
export interface SerializedTimings { | ||
[label: string]: [number, number, number]; | ||
} | ||
export type SerializedTimings = Record<string, [number, number, number]>; | ||
@@ -867,9 +859,5 @@ export interface PreRenderedAsset { | ||
implicitlyLoadedBefore: string[]; | ||
importedBindings: { | ||
[imported: string]: string[]; | ||
}; | ||
importedBindings: Record<string, string[]>; | ||
imports: string[]; | ||
modules: { | ||
[id: string]: RenderedModule; | ||
}; | ||
modules: Record<string, RenderedModule>; | ||
referencedFiles: string[]; | ||
@@ -885,5 +873,3 @@ } | ||
export interface SerializablePluginCache { | ||
[key: string]: [number, any]; | ||
} | ||
export type SerializablePluginCache = Record<string, [number, any]>; | ||
@@ -960,7 +946,7 @@ export interface RollupCache { | ||
export type AwaitedEventListener< | ||
T extends { [event: string]: (...parameters: any) => any }, | ||
T extends Record<string, (...parameters: any) => any>, | ||
K extends keyof T | ||
> = (...parameters: Parameters<T[K]>) => void | Promise<void>; | ||
export interface AwaitingEventEmitter<T extends { [event: string]: (...parameters: any) => any }> { | ||
export interface AwaitingEventEmitter<T extends Record<string, (...parameters: any) => any>> { | ||
close(): Promise<void>; | ||
@@ -967,0 +953,0 @@ emit<K extends keyof T>(event: K, ...parameters: Parameters<T[K]>): Promise<unknown>; |
{ | ||
"name": "@rollup/browser", | ||
"version": "4.21.0", | ||
"version": "4.21.1", | ||
"description": "Next-generation ES module bundler browser build", | ||
@@ -5,0 +5,0 @@ "main": "dist/rollup.browser.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
5451555
3541