@visulima/packem 2.0.0-alpha.24 → 2.0.0-alpha.25

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.
@@ -17,6 +17,8 @@ import { NapiResolveOptions } from 'oxc-resolver';
17
17
  import { TransformOptions as TransformOptions$2, JsxOptions } from 'oxc-transform';
18
18
  import { Options as Options$4 } from 'sucrase';
19
19
 
20
+ type AnsiColors = "bgBlack" | "bgBlackBright" | "bgBlue" | "bgBlueBright" | "bgCyan" | "bgCyanBright" | "bgGray" | "bgGreen" | "bgGreenBright" | "bgGrey" | "bgMagenta" | "bgMagentaBright" | "bgRed" | "bgRedBright" | "bgWhite" | "bgWhiteBright" | "bgYellow" | "bgYellowBright" | "black" | "blackBright" | "blue" | "blueBright" | "cyan" | "cyanBright" | "gray" | "green" | "greenBright" | "grey" | "magenta" | "magentaBright" | "red" | "redBright" | "white" | "whiteBright" | "yellow" | "yellowBright";
21
+
20
22
  /**
21
23
  Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
22
24
 
@@ -132,7 +134,7 @@ interface LoggerFunction$1 {
132
134
  }
133
135
  interface LoggerConfiguration$1<L extends string> {
134
136
  badge?: string;
135
- color?: AnsiColors$1 | undefined;
137
+ color?: AnsiColors | undefined;
136
138
  label: string;
137
139
  logLevel: LiteralUnion$1<ExtendedRfc5424LogLevels$1, L>;
138
140
  }
@@ -265,6 +267,254 @@ declare class PailServerImpl$1<T extends string = string, L extends string = str
265
267
  }
266
268
  type PailServerType$1<T extends string = string, L extends string = string> = PailServerImpl$1<T, L> & Record<DefaultLogTypes$1, LoggerFunction$1> & Record<T, LoggerFunction$1> & (new <TC extends string = string, LC extends string = string>(options?: ServerConstructorOptions$1<TC, LC>) => PailServerType$1<TC, LC>);
267
269
 
270
+ /**
271
+ Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
272
+
273
+ @category Type
274
+ */
275
+ type Primitive =
276
+ | null
277
+ | undefined
278
+ | string
279
+ | number
280
+ | boolean
281
+ | symbol
282
+ | bigint;
283
+
284
+ declare global {
285
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
286
+ interface SymbolConstructor {
287
+ readonly observable: symbol;
288
+ }
289
+ }
290
+
291
+ /**
292
+ Allows creating a union type by combining primitive types and literal types without sacrificing auto-completion in IDEs for the literal type part of the union.
293
+
294
+ Currently, when a union type of a primitive type is combined with literal types, TypeScript loses all information about the combined literals. Thus, when such type is used in an IDE with autocompletion, no suggestions are made for the declared literals.
295
+
296
+ This type is a workaround for [Microsoft/TypeScript#29729](https://github.com/Microsoft/TypeScript/issues/29729). It will be removed as soon as it's not needed anymore.
297
+
298
+ @example
299
+ ```
300
+ import type {LiteralUnion} from 'type-fest';
301
+
302
+ // Before
303
+
304
+ type Pet = 'dog' | 'cat' | string;
305
+
306
+ const pet: Pet = '';
307
+ // Start typing in your TypeScript-enabled IDE.
308
+ // You **will not** get auto-completion for `dog` and `cat` literals.
309
+
310
+ // After
311
+
312
+ type Pet2 = LiteralUnion<'dog' | 'cat', string>;
313
+
314
+ const pet: Pet2 = '';
315
+ // You **will** get auto-completion for `dog` and `cat` literals.
316
+ ```
317
+
318
+ @category Type
319
+ */
320
+ type LiteralUnion<
321
+ LiteralType,
322
+ BaseType extends Primitive,
323
+ > = LiteralType | (BaseType & Record<never, never>);
324
+
325
+ declare class InteractiveStreamHook {
326
+ #private;
327
+ static readonly DRAIN = true;
328
+ constructor(stream: NodeJS.WriteStream);
329
+ active(): void;
330
+ erase(count: number): void;
331
+ inactive(separateHistory?: boolean): void;
332
+ renew(): void;
333
+ write(message: string): void;
334
+ }
335
+
336
+ type StreamType = "stderr" | "stdout";
337
+ declare class InteractiveManager {
338
+ #private;
339
+ constructor(stdout: InteractiveStreamHook, stderr: InteractiveStreamHook);
340
+ get lastLength(): number;
341
+ get outside(): number;
342
+ get isHooked(): boolean;
343
+ get isSuspended(): boolean;
344
+ erase(stream: StreamType, count?: number): void;
345
+ hook(): boolean;
346
+ resume(stream: StreamType, eraseRowCount?: number): void;
347
+ suspend(stream: StreamType, erase?: boolean): void;
348
+ unhook(separateHistory?: boolean): boolean;
349
+ update(stream: StreamType, rows: string[], from?: number): void;
350
+ private _clear;
351
+ }
352
+
353
+ declare global {
354
+ namespace VisulimaPail {
355
+ interface CustomMeta<L> {
356
+ }
357
+ }
358
+ }
359
+ interface Meta<L> extends VisulimaPail.CustomMeta<L> {
360
+ badge: string | undefined;
361
+ context: any[] | undefined;
362
+ date: Date | string;
363
+ error: Error | undefined;
364
+ groups: string[];
365
+ label: string | undefined;
366
+ message: Primitive | ReadonlyArray<unknown> | Record<PropertyKey, unknown>;
367
+ prefix: string | undefined;
368
+ repeated?: number | undefined;
369
+ scope: string[] | undefined;
370
+ suffix: string | undefined;
371
+ traceError: Error | undefined;
372
+ type: {
373
+ level: ExtendedRfc5424LogLevels | L;
374
+ name: string;
375
+ };
376
+ }
377
+ type ExtendedRfc5424LogLevels = "alert" | "critical" | "debug" | "emergency" | "error" | "informational" | "notice" | "trace" | "warning";
378
+ type DefaultLogTypes = "alert" | "await" | "complete" | "critical" | "debug" | "emergency" | "error" | "info" | "log" | "notice" | "pending" | "start" | "stop" | "success" | "trace" | "wait" | "warn" | "watch";
379
+ interface LoggerFunction {
380
+ (message: Message): void;
381
+ (...message: any[]): void;
382
+ }
383
+ interface LoggerConfiguration<L extends string> {
384
+ badge?: string;
385
+ color?: AnsiColors$1 | undefined;
386
+ label: string;
387
+ logLevel: LiteralUnion<ExtendedRfc5424LogLevels, L>;
388
+ }
389
+ type LoggerTypesConfig<T extends string, L extends string> = Record<T, Partial<LoggerConfiguration<L>>>;
390
+ type ReadonlyMeta<L extends string> = Readonly<Meta<L>>;
391
+ interface Reporter<L extends string> {
392
+ log: (meta: ReadonlyMeta<L>) => void;
393
+ }
394
+ interface Processor<L extends string> {
395
+ process: (meta: Meta<L>) => Meta<L>;
396
+ }
397
+ interface ConstructorOptions<T extends string, L extends string> {
398
+ disabled?: boolean;
399
+ logLevel?: LiteralUnion<ExtendedRfc5424LogLevels, L>;
400
+ logLevels?: Partial<Record<ExtendedRfc5424LogLevels, number>> & Record<L, number>;
401
+ messages?: {
402
+ timerEnd?: string;
403
+ timerStart?: string;
404
+ };
405
+ processors?: Processor<L>[];
406
+ rawReporter?: Reporter<L>;
407
+ reporters?: Reporter<L>[];
408
+ scope?: string[] | string;
409
+ throttle?: number;
410
+ throttleMin?: number;
411
+ types?: LoggerTypesConfig<T, L> & Partial<LoggerTypesConfig<DefaultLogTypes, L>>;
412
+ }
413
+ interface ServerConstructorOptions<T extends string, L extends string> extends ConstructorOptions<T, L> {
414
+ interactive?: boolean;
415
+ stderr: NodeJS.WriteStream;
416
+ stdout: NodeJS.WriteStream;
417
+ }
418
+ type Message = {
419
+ context?: any[] | undefined;
420
+ message: any;
421
+ prefix?: string;
422
+ suffix?: string;
423
+ };
424
+
425
+ type Replacer = (number | string)[] | null | undefined | ((key: string, value: unknown) => string | number | boolean | null | object)
426
+
427
+ interface StringifyOptions {
428
+ bigint?: boolean,
429
+ circularValue?: string | null | TypeErrorConstructor | ErrorConstructor,
430
+ deterministic?: boolean | ((a: string, b: string) => number),
431
+ maximumBreadth?: number,
432
+ maximumDepth?: number,
433
+ strict?: boolean,
434
+ }
435
+
436
+ declare function stringify(value: undefined | symbol | ((...args: unknown[]) => unknown), replacer?: Replacer, space?: string | number): undefined
437
+ declare function stringify(value: string | number | unknown[] | null | boolean | object, replacer?: Replacer, space?: string | number): string
438
+ declare function stringify(value: unknown, replacer?: ((key: string, value: unknown) => unknown) | (number | string)[] | null | undefined, space?: string | number): string | undefined
439
+
440
+ declare namespace stringify {
441
+ export function configure(options: StringifyOptions): typeof stringify
442
+ }
443
+
444
+ declare class PailBrowserImpl<T extends string = string, L extends string = string> {
445
+ protected timersMap: Map<string, number>;
446
+ protected countMap: Map<string, number>;
447
+ protected seqTimers: Set<string>;
448
+ protected readonly lastLog: {
449
+ count?: number;
450
+ object?: Meta<L>;
451
+ serialized?: string;
452
+ time?: Date;
453
+ timeout?: ReturnType<typeof setTimeout>;
454
+ };
455
+ protected readonly logLevels: Record<string, number>;
456
+ protected disabled: boolean;
457
+ protected scopeName: string[];
458
+ protected readonly types: LoggerTypesConfig<LiteralUnion<DefaultLogTypes, T>, L>;
459
+ protected readonly longestLabel: string;
460
+ protected readonly processors: Set<Processor<L>>;
461
+ protected readonly generalLogLevel: LiteralUnion<ExtendedRfc5424LogLevels, L>;
462
+ protected reporters: Set<Reporter<L>>;
463
+ protected readonly throttle: number;
464
+ protected readonly throttleMin: number;
465
+ protected readonly stringify: typeof stringify;
466
+ protected groups: string[];
467
+ protected readonly startTimerMessage: string;
468
+ protected readonly endTimerMessage: string;
469
+ protected rawReporter: Reporter<L>;
470
+ constructor(options: ConstructorOptions<T, L>);
471
+ wrapConsole(): void;
472
+ restoreConsole(): void;
473
+ wrapException(): void;
474
+ disable(): void;
475
+ enable(): void;
476
+ isEnabled(): boolean;
477
+ scope<N extends string = T>(...name: string[]): PailBrowserType<N, L>;
478
+ unscope(): void;
479
+ time(label?: string): void;
480
+ timeLog(label?: string, ...data: unknown[]): void;
481
+ timeEnd(label?: string): void;
482
+ group(label?: string): void;
483
+ groupEnd(): void;
484
+ count(label?: string): void;
485
+ countReset(label?: string): void;
486
+ clear(): void;
487
+ raw(message: string, ...arguments_: unknown[]): void;
488
+ protected extendReporter(reporter: Reporter<L>): Reporter<L>;
489
+ protected registerReporters(reporters: Reporter<L>[]): void;
490
+ private _report;
491
+ private registerProcessors;
492
+ private _normalizeLogLevel;
493
+ private _buildMeta;
494
+ private _logger;
495
+ }
496
+ type PailBrowserType<T extends string = string, L extends string = string> = PailBrowserImpl<T, L> & Record<DefaultLogTypes, LoggerFunction> & Record<T, LoggerFunction> & (new <TC extends string = string, LC extends string = string>(options?: ConstructorOptions<TC, LC>) => PailBrowserType<TC, LC>);
497
+
498
+ declare class PailServerImpl<T extends string = string, L extends string = string> extends PailBrowserImpl<T, L> {
499
+ readonly options: ServerConstructorOptions<T, L>;
500
+ protected readonly stdout: NodeJS.WriteStream;
501
+ protected readonly stderr: NodeJS.WriteStream;
502
+ protected interactiveManager: InteractiveManager | undefined;
503
+ protected readonly interactive: boolean;
504
+ constructor(options: ServerConstructorOptions<T, L>);
505
+ scope<N extends string = T>(...name: string[]): PailServerType<N, L>;
506
+ getInteractiveManager(): InteractiveManager | undefined;
507
+ wrapStd(): void;
508
+ restoreStd(): void;
509
+ wrapAll(): void;
510
+ restoreAll(): void;
511
+ clear(): void;
512
+ protected extendReporter(reporter: Reporter<L>): Reporter<L>;
513
+ private _wrapStream;
514
+ private _restoreStream;
515
+ }
516
+ type PailServerType<T extends string = string, L extends string = string> = PailServerImpl<T, L> & Record<DefaultLogTypes, LoggerFunction> & Record<T, LoggerFunction> & (new <TC extends string = string, LC extends string = string>(options?: ServerConstructorOptions<TC, LC>) => PailServerType<TC, LC>);
517
+
268
518
  declare global {
269
519
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
270
520
  interface SymbolConstructor {
@@ -2645,7 +2895,7 @@ type BuildContext<T> = {
2645
2895
  hooks: Hookable<BuildHooks<T>>;
2646
2896
  implicitDependencies: Set<string>;
2647
2897
  jiti: Jiti;
2648
- logger: PailServerType$1;
2898
+ logger: PailServerType;
2649
2899
  mode: Mode;
2650
2900
  options: T;
2651
2901
  pkg: PackageJson;
@@ -2688,256 +2938,6 @@ type BuildContextBuildEntry = {
2688
2938
  type?: "entry";
2689
2939
  };
2690
2940
 
2691
- type AnsiColors = "bgBlack" | "bgBlackBright" | "bgBlue" | "bgBlueBright" | "bgCyan" | "bgCyanBright" | "bgGray" | "bgGreen" | "bgGreenBright" | "bgGrey" | "bgMagenta" | "bgMagentaBright" | "bgRed" | "bgRedBright" | "bgWhite" | "bgWhiteBright" | "bgYellow" | "bgYellowBright" | "black" | "blackBright" | "blue" | "blueBright" | "cyan" | "cyanBright" | "gray" | "green" | "greenBright" | "grey" | "magenta" | "magentaBright" | "red" | "redBright" | "white" | "whiteBright" | "yellow" | "yellowBright";
2692
-
2693
- /**
2694
- Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
2695
-
2696
- @category Type
2697
- */
2698
- type Primitive =
2699
- | null
2700
- | undefined
2701
- | string
2702
- | number
2703
- | boolean
2704
- | symbol
2705
- | bigint;
2706
-
2707
- declare global {
2708
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
2709
- interface SymbolConstructor {
2710
- readonly observable: symbol;
2711
- }
2712
- }
2713
-
2714
- /**
2715
- Allows creating a union type by combining primitive types and literal types without sacrificing auto-completion in IDEs for the literal type part of the union.
2716
-
2717
- Currently, when a union type of a primitive type is combined with literal types, TypeScript loses all information about the combined literals. Thus, when such type is used in an IDE with autocompletion, no suggestions are made for the declared literals.
2718
-
2719
- This type is a workaround for [Microsoft/TypeScript#29729](https://github.com/Microsoft/TypeScript/issues/29729). It will be removed as soon as it's not needed anymore.
2720
-
2721
- @example
2722
- ```
2723
- import type {LiteralUnion} from 'type-fest';
2724
-
2725
- // Before
2726
-
2727
- type Pet = 'dog' | 'cat' | string;
2728
-
2729
- const pet: Pet = '';
2730
- // Start typing in your TypeScript-enabled IDE.
2731
- // You **will not** get auto-completion for `dog` and `cat` literals.
2732
-
2733
- // After
2734
-
2735
- type Pet2 = LiteralUnion<'dog' | 'cat', string>;
2736
-
2737
- const pet: Pet2 = '';
2738
- // You **will** get auto-completion for `dog` and `cat` literals.
2739
- ```
2740
-
2741
- @category Type
2742
- */
2743
- type LiteralUnion<
2744
- LiteralType,
2745
- BaseType extends Primitive,
2746
- > = LiteralType | (BaseType & Record<never, never>);
2747
-
2748
- declare class InteractiveStreamHook {
2749
- #private;
2750
- static readonly DRAIN = true;
2751
- constructor(stream: NodeJS.WriteStream);
2752
- active(): void;
2753
- erase(count: number): void;
2754
- inactive(separateHistory?: boolean): void;
2755
- renew(): void;
2756
- write(message: string): void;
2757
- }
2758
-
2759
- type StreamType = "stderr" | "stdout";
2760
- declare class InteractiveManager {
2761
- #private;
2762
- constructor(stdout: InteractiveStreamHook, stderr: InteractiveStreamHook);
2763
- get lastLength(): number;
2764
- get outside(): number;
2765
- get isHooked(): boolean;
2766
- get isSuspended(): boolean;
2767
- erase(stream: StreamType, count?: number): void;
2768
- hook(): boolean;
2769
- resume(stream: StreamType, eraseRowCount?: number): void;
2770
- suspend(stream: StreamType, erase?: boolean): void;
2771
- unhook(separateHistory?: boolean): boolean;
2772
- update(stream: StreamType, rows: string[], from?: number): void;
2773
- private _clear;
2774
- }
2775
-
2776
- declare global {
2777
- namespace VisulimaPail {
2778
- interface CustomMeta<L> {
2779
- }
2780
- }
2781
- }
2782
- interface Meta<L> extends VisulimaPail.CustomMeta<L> {
2783
- badge: string | undefined;
2784
- context: any[] | undefined;
2785
- date: Date | string;
2786
- error: Error | undefined;
2787
- groups: string[];
2788
- label: string | undefined;
2789
- message: Primitive | ReadonlyArray<unknown> | Record<PropertyKey, unknown>;
2790
- prefix: string | undefined;
2791
- repeated?: number | undefined;
2792
- scope: string[] | undefined;
2793
- suffix: string | undefined;
2794
- traceError: Error | undefined;
2795
- type: {
2796
- level: ExtendedRfc5424LogLevels | L;
2797
- name: string;
2798
- };
2799
- }
2800
- type ExtendedRfc5424LogLevels = "alert" | "critical" | "debug" | "emergency" | "error" | "informational" | "notice" | "trace" | "warning";
2801
- type DefaultLogTypes = "alert" | "await" | "complete" | "critical" | "debug" | "emergency" | "error" | "info" | "log" | "notice" | "pending" | "start" | "stop" | "success" | "trace" | "wait" | "warn" | "watch";
2802
- interface LoggerFunction {
2803
- (message: Message): void;
2804
- (...message: any[]): void;
2805
- }
2806
- interface LoggerConfiguration<L extends string> {
2807
- badge?: string;
2808
- color?: AnsiColors | undefined;
2809
- label: string;
2810
- logLevel: LiteralUnion<ExtendedRfc5424LogLevels, L>;
2811
- }
2812
- type LoggerTypesConfig<T extends string, L extends string> = Record<T, Partial<LoggerConfiguration<L>>>;
2813
- type ReadonlyMeta<L extends string> = Readonly<Meta<L>>;
2814
- interface Reporter<L extends string> {
2815
- log: (meta: ReadonlyMeta<L>) => void;
2816
- }
2817
- interface Processor<L extends string> {
2818
- process: (meta: Meta<L>) => Meta<L>;
2819
- }
2820
- interface ConstructorOptions<T extends string, L extends string> {
2821
- disabled?: boolean;
2822
- logLevel?: LiteralUnion<ExtendedRfc5424LogLevels, L>;
2823
- logLevels?: Partial<Record<ExtendedRfc5424LogLevels, number>> & Record<L, number>;
2824
- messages?: {
2825
- timerEnd?: string;
2826
- timerStart?: string;
2827
- };
2828
- processors?: Processor<L>[];
2829
- rawReporter?: Reporter<L>;
2830
- reporters?: Reporter<L>[];
2831
- scope?: string[] | string;
2832
- throttle?: number;
2833
- throttleMin?: number;
2834
- types?: LoggerTypesConfig<T, L> & Partial<LoggerTypesConfig<DefaultLogTypes, L>>;
2835
- }
2836
- interface ServerConstructorOptions<T extends string, L extends string> extends ConstructorOptions<T, L> {
2837
- interactive?: boolean;
2838
- stderr: NodeJS.WriteStream;
2839
- stdout: NodeJS.WriteStream;
2840
- }
2841
- type Message = {
2842
- context?: any[] | undefined;
2843
- message: any;
2844
- prefix?: string;
2845
- suffix?: string;
2846
- };
2847
-
2848
- type Replacer = (number | string)[] | null | undefined | ((key: string, value: unknown) => string | number | boolean | null | object)
2849
-
2850
- interface StringifyOptions {
2851
- bigint?: boolean,
2852
- circularValue?: string | null | TypeErrorConstructor | ErrorConstructor,
2853
- deterministic?: boolean | ((a: string, b: string) => number),
2854
- maximumBreadth?: number,
2855
- maximumDepth?: number,
2856
- strict?: boolean,
2857
- }
2858
-
2859
- declare function stringify(value: undefined | symbol | ((...args: unknown[]) => unknown), replacer?: Replacer, space?: string | number): undefined
2860
- declare function stringify(value: string | number | unknown[] | null | boolean | object, replacer?: Replacer, space?: string | number): string
2861
- declare function stringify(value: unknown, replacer?: ((key: string, value: unknown) => unknown) | (number | string)[] | null | undefined, space?: string | number): string | undefined
2862
-
2863
- declare namespace stringify {
2864
- export function configure(options: StringifyOptions): typeof stringify
2865
- }
2866
-
2867
- declare class PailBrowserImpl<T extends string = string, L extends string = string> {
2868
- protected timersMap: Map<string, number>;
2869
- protected countMap: Map<string, number>;
2870
- protected seqTimers: Set<string>;
2871
- protected readonly lastLog: {
2872
- count?: number;
2873
- object?: Meta<L>;
2874
- serialized?: string;
2875
- time?: Date;
2876
- timeout?: ReturnType<typeof setTimeout>;
2877
- };
2878
- protected readonly logLevels: Record<string, number>;
2879
- protected disabled: boolean;
2880
- protected scopeName: string[];
2881
- protected readonly types: LoggerTypesConfig<LiteralUnion<DefaultLogTypes, T>, L>;
2882
- protected readonly longestLabel: string;
2883
- protected readonly processors: Set<Processor<L>>;
2884
- protected readonly generalLogLevel: LiteralUnion<ExtendedRfc5424LogLevels, L>;
2885
- protected reporters: Set<Reporter<L>>;
2886
- protected readonly throttle: number;
2887
- protected readonly throttleMin: number;
2888
- protected readonly stringify: typeof stringify;
2889
- protected groups: string[];
2890
- protected readonly startTimerMessage: string;
2891
- protected readonly endTimerMessage: string;
2892
- protected rawReporter: Reporter<L>;
2893
- constructor(options: ConstructorOptions<T, L>);
2894
- wrapConsole(): void;
2895
- restoreConsole(): void;
2896
- wrapException(): void;
2897
- disable(): void;
2898
- enable(): void;
2899
- isEnabled(): boolean;
2900
- scope<N extends string = T>(...name: string[]): PailBrowserType<N, L>;
2901
- unscope(): void;
2902
- time(label?: string): void;
2903
- timeLog(label?: string, ...data: unknown[]): void;
2904
- timeEnd(label?: string): void;
2905
- group(label?: string): void;
2906
- groupEnd(): void;
2907
- count(label?: string): void;
2908
- countReset(label?: string): void;
2909
- clear(): void;
2910
- raw(message: string, ...arguments_: unknown[]): void;
2911
- protected extendReporter(reporter: Reporter<L>): Reporter<L>;
2912
- protected registerReporters(reporters: Reporter<L>[]): void;
2913
- private _report;
2914
- private registerProcessors;
2915
- private _normalizeLogLevel;
2916
- private _buildMeta;
2917
- private _logger;
2918
- }
2919
- type PailBrowserType<T extends string = string, L extends string = string> = PailBrowserImpl<T, L> & Record<DefaultLogTypes, LoggerFunction> & Record<T, LoggerFunction> & (new <TC extends string = string, LC extends string = string>(options?: ConstructorOptions<TC, LC>) => PailBrowserType<TC, LC>);
2920
-
2921
- declare class PailServerImpl<T extends string = string, L extends string = string> extends PailBrowserImpl<T, L> {
2922
- readonly options: ServerConstructorOptions<T, L>;
2923
- protected readonly stdout: NodeJS.WriteStream;
2924
- protected readonly stderr: NodeJS.WriteStream;
2925
- protected interactiveManager: InteractiveManager | undefined;
2926
- protected readonly interactive: boolean;
2927
- constructor(options: ServerConstructorOptions<T, L>);
2928
- scope<N extends string = T>(...name: string[]): PailServerType<N, L>;
2929
- getInteractiveManager(): InteractiveManager | undefined;
2930
- wrapStd(): void;
2931
- restoreStd(): void;
2932
- wrapAll(): void;
2933
- restoreAll(): void;
2934
- clear(): void;
2935
- protected extendReporter(reporter: Reporter<L>): Reporter<L>;
2936
- private _wrapStream;
2937
- private _restoreStream;
2938
- }
2939
- type PailServerType<T extends string = string, L extends string = string> = PailServerImpl<T, L> & Record<DefaultLogTypes, LoggerFunction> & Record<T, LoggerFunction> & (new <TC extends string = string, LC extends string = string>(options?: ServerConstructorOptions<TC, LC>) => PailServerType<TC, LC>);
2940
-
2941
2941
  interface CJSInteropOptions {
2942
2942
  addDefaultProperty?: boolean;
2943
2943
  }
@@ -3034,7 +3034,7 @@ interface UrlOptions {
3034
3034
 
3035
3035
  type MarkOptional<Type, Keys extends keyof Type> = Type extends Type ? Omit<Type, Keys> & Partial<Pick<Type, Keys>> : never;
3036
3036
  type EsbuildPluginConfig = Options$1 & {
3037
- logger: PailServerType;
3037
+ logger: PailServerType$1;
3038
3038
  };
3039
3039
  type OptimizeDepsOptions = {
3040
3040
  cwd: string;
@@ -5226,6 +5226,7 @@ interface PackemRollupOptions {
5226
5226
  jsxRemoveAttributes?: JSXRemoveAttributesPlugin | false;
5227
5227
  license?: LicenseOptions | false;
5228
5228
  metafile?: boolean;
5229
+ minifyHTMLLiterals?: MinifyHTMLLiteralsOptions | false;
5229
5230
  nativeModules?: NativeModulesOptions | false;
5230
5231
  output?: OutputOptions;
5231
5232
  oxc?: Omit<OXCTransformPluginConfig, "cwd" | "sourcemap" | "target"> | false;