@rollup/browser 4.20.0 → 4.21.0

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.
@@ -227,6 +227,7 @@ export type ParseAst = (
227
227
 
228
228
  // declare AbortSignal here for environments without DOM lib or @types/node
229
229
  declare global {
230
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
230
231
  interface AbortSignal {}
231
232
  }
232
233
 
@@ -395,7 +396,6 @@ export type WatchChangeHook = (
395
396
  * const myPlugin: PluginImpl<Options> = (options = {}) => { ... }
396
397
  * ```
397
398
  */
398
- // eslint-disable-next-line @typescript-eslint/ban-types
399
399
  export type PluginImpl<O extends object = object, A = any> = (options?: O) => Plugin<A>;
400
400
 
401
401
  export interface OutputBundle {
@@ -505,13 +505,13 @@ type MakeAsync<Function_> = Function_ extends (
505
505
  ? (this: This, ...parameters: Arguments) => Return | Promise<Return>
506
506
  : never;
507
507
 
508
- // eslint-disable-next-line @typescript-eslint/ban-types
508
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
509
509
  type ObjectHook<T, O = {}> = T | ({ handler: T; order?: 'pre' | 'post' | null } & O);
510
510
 
511
511
  export type PluginHooks = {
512
512
  [K in keyof FunctionPluginHooks]: ObjectHook<
513
513
  K extends AsyncPluginHooks ? MakeAsync<FunctionPluginHooks[K]> : FunctionPluginHooks[K],
514
- // eslint-disable-next-line @typescript-eslint/ban-types
514
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
515
515
  K extends ParallelPluginHooks ? { sequential?: boolean } : {}
516
516
  >;
517
517
  };
@@ -756,6 +756,7 @@ export interface OutputOptions {
756
756
  strict?: boolean;
757
757
  systemNullSetters?: boolean;
758
758
  validate?: boolean;
759
+ virtualDirname?: string;
759
760
  }
760
761
 
761
762
  export interface NormalizedOutputOptions {
@@ -809,6 +810,7 @@ export interface NormalizedOutputOptions {
809
810
  strict: boolean;
810
811
  systemNullSetters: boolean;
811
812
  validate: boolean;
813
+ virtualDirname: string;
812
814
  }
813
815
 
814
816
  export type WarningHandlerWithDefault = (