@rspack/core 1.2.7 → 1.2.8

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.
@@ -754,11 +754,11 @@ interface TransformConfig {
754
754
  */
755
755
  optimizer?: OptimizerConfig;
756
756
  /**
757
- * https://swc.rs/docs/configuring-swc.html#jsctransformlegacydecorator
757
+ * https://swc.rs/docs/configuration/compilation#jsctransformlegacydecorator
758
758
  */
759
759
  legacyDecorator?: boolean;
760
760
  /**
761
- * https://swc.rs/docs/configuring-swc.html#jsctransformdecoratormetadata
761
+ * https://swc.rs/docs/configuration/compilation#jsctransformdecoratormetadata
762
762
  */
763
763
  decoratorMetadata?: boolean;
764
764
  /**
@@ -766,7 +766,14 @@ interface TransformConfig {
766
766
  */
767
767
  decoratorVersion?: "2021-12" | "2022-03";
768
768
  treatConstEnumAsEnum?: boolean;
769
+ /**
770
+ * https://www.typescriptlang.org/tsconfig#useDefineForClassFields
771
+ */
769
772
  useDefineForClassFields?: boolean;
773
+ /**
774
+ * https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax
775
+ */
776
+ verbatimModuleSyntax?: boolean;
770
777
  }
771
778
  interface ReactConfig {
772
779
  /**
@@ -1 +1 @@
1
- {"name":"@swc/types","author":"강동윤 <kdy1997.dev@gmail.com>","version":"0.1.17","license":"Apache-2.0","types":"index.d.ts","type":"commonjs"}
1
+ {"name":"@swc/types","author":"강동윤 <kdy1997.dev@gmail.com>","version":"0.1.19","license":"Apache-2.0","types":"index.d.ts","type":"commonjs"}
@@ -6,4 +6,5 @@ export declare class Entrypoint extends ChunkGroup {
6
6
  static __from_binding(binding: JsChunkGroup): Entrypoint;
7
7
  protected constructor(binding: JsChunkGroup);
8
8
  getRuntimeChunk(): Readonly<Chunk | null>;
9
+ getEntrypointChunk(): Readonly<Chunk | null>;
9
10
  }
@@ -0,0 +1,10 @@
1
+ import { BuiltinPluginName } from "@rspack/binding";
2
+ export declare const ModuleInfoHeaderPlugin: {
3
+ new (verbose: any): {
4
+ name: BuiltinPluginName;
5
+ _args: [verbose: any];
6
+ affectedHooks: "done" | "environment" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ apply(compiler: import("..").Compiler): void;
9
+ };
10
+ };
@@ -52,7 +52,10 @@ export type HtmlRspackPluginOptions = {
52
52
  * @default "auto"
53
53
  */
54
54
  chunksSortMode?: "auto" | "manual";
55
- /** The SRI hash algorithm, disabled by default. */
55
+ /**
56
+ * Configure the SRI hash algorithm, which is disabled by default.
57
+ * @deprecated Use `experiments.SubresourceIntegrityPlugin` instead.
58
+ */
56
59
  sri?: "sha256" | "sha384" | "sha512";
57
60
  /**
58
61
  * Controls whether to minify the output, disabled by default.
@@ -72,3 +72,4 @@ export * from "./DllEntryPlugin";
72
72
  export * from "./DllReferenceAgencyPlugin";
73
73
  export * from "./RsdoctorPlugin";
74
74
  export * from "./SubresourceIntegrityPlugin";
75
+ export * from "./ModuleInfoHeaderPlugin";
@@ -32,24 +32,21 @@ export interface LazyCompilationDefaultBackendOptions {
32
32
  export type ServerOptionsHttps<Request extends typeof IncomingMessage = typeof IncomingMessage, Response extends typeof ServerResponse = typeof ServerResponse> = SecureContextOptions & TlsOptions & ServerOptionsImport<Request, Response>;
33
33
  declare const getBackend: (options: Omit<LazyCompilationDefaultBackendOptions, "client"> & {
34
34
  client: NonNullable<LazyCompilationDefaultBackendOptions["client"]>;
35
- }) => (compiler: Compiler, callback: (err: Error | null, obj?: {
36
- dispose: (callback: (err: any) => void) => void;
37
- module: (args: {
38
- module: string;
39
- path: string;
40
- }) => {
41
- data: string;
42
- client: string;
43
- active: boolean;
35
+ }) => {
36
+ state: {
37
+ module: any;
38
+ dispose: any;
44
39
  };
45
- }) => void) => void;
46
- export default getBackend;
47
- export declare function dispose(callback: any): void;
48
- export declare function moduleImpl(args: {
49
- module: string;
50
- path: string;
51
- }): {
52
- active: boolean;
53
- data: string;
54
- client: string;
40
+ backend: (compiler: Compiler, callback: (err: Error | null, obj?: {
41
+ dispose: (callback: (err: any) => void) => void;
42
+ module: (args: {
43
+ module: string;
44
+ path: string;
45
+ }) => {
46
+ data: string;
47
+ client: string;
48
+ active: boolean;
49
+ };
50
+ }) => void) => void;
55
51
  };
52
+ export default getBackend;
@@ -950,8 +950,6 @@ export declare const rspackOptions: z.ZodObject<{
950
950
  test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
951
951
  }, "strip", z.ZodTypeAny, {
952
952
  entries?: boolean | undefined;
953
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
954
- imports?: boolean | undefined;
955
953
  backend?: {
956
954
  client?: string | undefined;
957
955
  listen?: number | {
@@ -967,10 +965,10 @@ export declare const rspackOptions: z.ZodObject<{
967
965
  protocol?: "http" | "https" | undefined;
968
966
  server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
969
967
  } | undefined;
970
- }, {
971
- entries?: boolean | undefined;
972
968
  test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
973
969
  imports?: boolean | undefined;
970
+ }, {
971
+ entries?: boolean | undefined;
974
972
  backend?: {
975
973
  client?: string | undefined;
976
974
  listen?: number | {
@@ -986,6 +984,8 @@ export declare const rspackOptions: z.ZodObject<{
986
984
  protocol?: "http" | "https" | undefined;
987
985
  server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
988
986
  } | undefined;
987
+ test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
988
+ imports?: boolean | undefined;
989
989
  }>]>;
990
990
  asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
991
991
  outputModule: z.ZodOptional<z.ZodBoolean>;
@@ -1090,8 +1090,6 @@ export declare const rspackOptions: z.ZodObject<{
1090
1090
  } | undefined;
1091
1091
  lazyCompilation?: boolean | {
1092
1092
  entries?: boolean | undefined;
1093
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
1094
- imports?: boolean | undefined;
1095
1093
  backend?: {
1096
1094
  client?: string | undefined;
1097
1095
  listen?: number | {
@@ -1107,6 +1105,8 @@ export declare const rspackOptions: z.ZodObject<{
1107
1105
  protocol?: "http" | "https" | undefined;
1108
1106
  server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
1109
1107
  } | undefined;
1108
+ test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
1109
+ imports?: boolean | undefined;
1110
1110
  } | undefined;
1111
1111
  asyncWebAssembly?: boolean | undefined;
1112
1112
  outputModule?: boolean | undefined;
@@ -1158,8 +1158,6 @@ export declare const rspackOptions: z.ZodObject<{
1158
1158
  } | undefined;
1159
1159
  lazyCompilation?: boolean | {
1160
1160
  entries?: boolean | undefined;
1161
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
1162
- imports?: boolean | undefined;
1163
1161
  backend?: {
1164
1162
  client?: string | undefined;
1165
1163
  listen?: number | {
@@ -1175,6 +1173,8 @@ export declare const rspackOptions: z.ZodObject<{
1175
1173
  protocol?: "http" | "https" | undefined;
1176
1174
  server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
1177
1175
  } | undefined;
1176
+ test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
1177
+ imports?: boolean | undefined;
1178
1178
  } | undefined;
1179
1179
  asyncWebAssembly?: boolean | undefined;
1180
1180
  outputModule?: boolean | undefined;
@@ -2423,7 +2423,7 @@ export declare const rspackOptions: z.ZodObject<{
2423
2423
  }, {
2424
2424
  encoding?: false | "base64" | undefined;
2425
2425
  mimetype?: string | undefined;
2426
- }>, z.ZodFunction<z.ZodTuple<[z.ZodType<Buffer<ArrayBuffer>, z.ZodTypeDef, Buffer<ArrayBuffer>>, z.ZodObject<{
2426
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>, z.ZodObject<{
2427
2427
  filename: z.ZodString;
2428
2428
  module: z.ZodType<Module, z.ZodTypeDef, Module>;
2429
2429
  }, "strict", z.ZodTypeAny, {
@@ -2443,7 +2443,7 @@ export declare const rspackOptions: z.ZodObject<{
2443
2443
  dataUrl?: {
2444
2444
  encoding?: false | "base64" | undefined;
2445
2445
  mimetype?: string | undefined;
2446
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2446
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2447
2447
  module: Module;
2448
2448
  filename: string;
2449
2449
  }, ...args: unknown[]) => string) | undefined;
@@ -2454,7 +2454,7 @@ export declare const rspackOptions: z.ZodObject<{
2454
2454
  dataUrl?: {
2455
2455
  encoding?: false | "base64" | undefined;
2456
2456
  mimetype?: string | undefined;
2457
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2457
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2458
2458
  module: Module;
2459
2459
  filename: string;
2460
2460
  }, ...args: unknown[]) => string) | undefined;
@@ -2470,7 +2470,7 @@ export declare const rspackOptions: z.ZodObject<{
2470
2470
  }, {
2471
2471
  encoding?: false | "base64" | undefined;
2472
2472
  mimetype?: string | undefined;
2473
- }>, z.ZodFunction<z.ZodTuple<[z.ZodType<Buffer<ArrayBuffer>, z.ZodTypeDef, Buffer<ArrayBuffer>>, z.ZodObject<{
2473
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>, z.ZodObject<{
2474
2474
  filename: z.ZodString;
2475
2475
  module: z.ZodType<Module, z.ZodTypeDef, Module>;
2476
2476
  }, "strict", z.ZodTypeAny, {
@@ -2484,7 +2484,7 @@ export declare const rspackOptions: z.ZodObject<{
2484
2484
  dataUrl?: {
2485
2485
  encoding?: false | "base64" | undefined;
2486
2486
  mimetype?: string | undefined;
2487
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2487
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2488
2488
  module: Module;
2489
2489
  filename: string;
2490
2490
  }, ...args: unknown[]) => string) | undefined;
@@ -2492,7 +2492,7 @@ export declare const rspackOptions: z.ZodObject<{
2492
2492
  dataUrl?: {
2493
2493
  encoding?: false | "base64" | undefined;
2494
2494
  mimetype?: string | undefined;
2495
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2495
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2496
2496
  module: Module;
2497
2497
  filename: string;
2498
2498
  }, ...args: unknown[]) => string) | undefined;
@@ -2563,7 +2563,7 @@ export declare const rspackOptions: z.ZodObject<{
2563
2563
  dataUrl?: {
2564
2564
  encoding?: false | "base64" | undefined;
2565
2565
  mimetype?: string | undefined;
2566
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2566
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2567
2567
  module: Module;
2568
2568
  filename: string;
2569
2569
  }, ...args: unknown[]) => string) | undefined;
@@ -2585,7 +2585,7 @@ export declare const rspackOptions: z.ZodObject<{
2585
2585
  dataUrl?: {
2586
2586
  encoding?: false | "base64" | undefined;
2587
2587
  mimetype?: string | undefined;
2588
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2588
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2589
2589
  module: Module;
2590
2590
  filename: string;
2591
2591
  }, ...args: unknown[]) => string) | undefined;
@@ -2606,7 +2606,7 @@ export declare const rspackOptions: z.ZodObject<{
2606
2606
  dataUrl?: {
2607
2607
  encoding?: false | "base64" | undefined;
2608
2608
  mimetype?: string | undefined;
2609
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2609
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2610
2610
  module: Module;
2611
2611
  filename: string;
2612
2612
  }, ...args: unknown[]) => string) | undefined;
@@ -2628,7 +2628,7 @@ export declare const rspackOptions: z.ZodObject<{
2628
2628
  dataUrl?: {
2629
2629
  encoding?: false | "base64" | undefined;
2630
2630
  mimetype?: string | undefined;
2631
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2631
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2632
2632
  module: Module;
2633
2633
  filename: string;
2634
2634
  }, ...args: unknown[]) => string) | undefined;
@@ -2754,7 +2754,7 @@ export declare const rspackOptions: z.ZodObject<{
2754
2754
  dataUrl?: {
2755
2755
  encoding?: false | "base64" | undefined;
2756
2756
  mimetype?: string | undefined;
2757
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2757
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2758
2758
  module: Module;
2759
2759
  filename: string;
2760
2760
  }, ...args: unknown[]) => string) | undefined;
@@ -2776,7 +2776,7 @@ export declare const rspackOptions: z.ZodObject<{
2776
2776
  dataUrl?: {
2777
2777
  encoding?: false | "base64" | undefined;
2778
2778
  mimetype?: string | undefined;
2779
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2779
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2780
2780
  module: Module;
2781
2781
  filename: string;
2782
2782
  }, ...args: unknown[]) => string) | undefined;
@@ -2902,7 +2902,7 @@ export declare const rspackOptions: z.ZodObject<{
2902
2902
  dataUrl?: {
2903
2903
  encoding?: false | "base64" | undefined;
2904
2904
  mimetype?: string | undefined;
2905
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2905
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2906
2906
  module: Module;
2907
2907
  filename: string;
2908
2908
  }, ...args: unknown[]) => string) | undefined;
@@ -2924,7 +2924,7 @@ export declare const rspackOptions: z.ZodObject<{
2924
2924
  dataUrl?: {
2925
2925
  encoding?: false | "base64" | undefined;
2926
2926
  mimetype?: string | undefined;
2927
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
2927
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
2928
2928
  module: Module;
2929
2929
  filename: string;
2930
2930
  }, ...args: unknown[]) => string) | undefined;
@@ -3074,7 +3074,7 @@ export declare const rspackOptions: z.ZodObject<{
3074
3074
  dataUrl?: {
3075
3075
  encoding?: false | "base64" | undefined;
3076
3076
  mimetype?: string | undefined;
3077
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
3077
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
3078
3078
  module: Module;
3079
3079
  filename: string;
3080
3080
  }, ...args: unknown[]) => string) | undefined;
@@ -3096,7 +3096,7 @@ export declare const rspackOptions: z.ZodObject<{
3096
3096
  dataUrl?: {
3097
3097
  encoding?: false | "base64" | undefined;
3098
3098
  mimetype?: string | undefined;
3099
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
3099
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
3100
3100
  module: Module;
3101
3101
  filename: string;
3102
3102
  }, ...args: unknown[]) => string) | undefined;
@@ -3144,8 +3144,6 @@ export declare const rspackOptions: z.ZodObject<{
3144
3144
  } | undefined;
3145
3145
  lazyCompilation?: boolean | {
3146
3146
  entries?: boolean | undefined;
3147
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
3148
- imports?: boolean | undefined;
3149
3147
  backend?: {
3150
3148
  client?: string | undefined;
3151
3149
  listen?: number | {
@@ -3161,6 +3159,8 @@ export declare const rspackOptions: z.ZodObject<{
3161
3159
  protocol?: "http" | "https" | undefined;
3162
3160
  server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
3163
3161
  } | undefined;
3162
+ test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
3163
+ imports?: boolean | undefined;
3164
3164
  } | undefined;
3165
3165
  asyncWebAssembly?: boolean | undefined;
3166
3166
  outputModule?: boolean | undefined;
@@ -3685,7 +3685,7 @@ export declare const rspackOptions: z.ZodObject<{
3685
3685
  dataUrl?: {
3686
3686
  encoding?: false | "base64" | undefined;
3687
3687
  mimetype?: string | undefined;
3688
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
3688
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
3689
3689
  module: Module;
3690
3690
  filename: string;
3691
3691
  }, ...args: unknown[]) => string) | undefined;
@@ -3707,7 +3707,7 @@ export declare const rspackOptions: z.ZodObject<{
3707
3707
  dataUrl?: {
3708
3708
  encoding?: false | "base64" | undefined;
3709
3709
  mimetype?: string | undefined;
3710
- } | ((args_0: Buffer<ArrayBuffer>, args_1: {
3710
+ } | ((args_0: Buffer<ArrayBufferLike>, args_1: {
3711
3711
  module: Module;
3712
3712
  filename: string;
3713
3713
  }, ...args: unknown[]) => string) | undefined;
@@ -3755,8 +3755,6 @@ export declare const rspackOptions: z.ZodObject<{
3755
3755
  } | undefined;
3756
3756
  lazyCompilation?: boolean | {
3757
3757
  entries?: boolean | undefined;
3758
- test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
3759
- imports?: boolean | undefined;
3760
3758
  backend?: {
3761
3759
  client?: string | undefined;
3762
3760
  listen?: number | {
@@ -3772,6 +3770,8 @@ export declare const rspackOptions: z.ZodObject<{
3772
3770
  protocol?: "http" | "https" | undefined;
3773
3771
  server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
3774
3772
  } | undefined;
3773
+ test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
3774
+ imports?: boolean | undefined;
3775
3775
  } | undefined;
3776
3776
  asyncWebAssembly?: boolean | undefined;
3777
3777
  outputModule?: boolean | undefined;
package/dist/index.js CHANGED
@@ -696,11 +696,11 @@ __export(index_exports, {
696
696
  CopyRspackPlugin: () => CopyRspackPlugin,
697
697
  CssExtractRspackPlugin: () => CssExtractRspackPlugin,
698
698
  DefinePlugin: () => DefinePlugin,
699
- Dependency: () => import_binding82.Dependency,
699
+ Dependency: () => import_binding83.Dependency,
700
700
  DllPlugin: () => DllPlugin,
701
701
  DllReferencePlugin: () => DllReferencePlugin,
702
702
  DynamicEntryPlugin: () => DynamicEntryPlugin,
703
- EntryDependency: () => import_binding82.EntryDependency,
703
+ EntryDependency: () => import_binding83.EntryDependency,
704
704
  EntryOptionPlugin: () => EntryOptionPlugin_default,
705
705
  EntryPlugin: () => EntryPlugin,
706
706
  EnvironmentPlugin: () => EnvironmentPlugin,
@@ -764,11 +764,11 @@ __export(exports_exports, {
764
764
  CopyRspackPlugin: () => CopyRspackPlugin,
765
765
  CssExtractRspackPlugin: () => CssExtractRspackPlugin,
766
766
  DefinePlugin: () => DefinePlugin,
767
- Dependency: () => import_binding82.Dependency,
767
+ Dependency: () => import_binding83.Dependency,
768
768
  DllPlugin: () => DllPlugin,
769
769
  DllReferencePlugin: () => DllReferencePlugin,
770
770
  DynamicEntryPlugin: () => DynamicEntryPlugin,
771
- EntryDependency: () => import_binding82.EntryDependency,
771
+ EntryDependency: () => import_binding83.EntryDependency,
772
772
  EntryOptionPlugin: () => EntryOptionPlugin_default,
773
773
  EntryPlugin: () => EntryPlugin,
774
774
  EnvironmentPlugin: () => EnvironmentPlugin,
@@ -1118,6 +1118,11 @@ var Module = class _Module {
1118
1118
  enumerable: true,
1119
1119
  get() {
1120
1120
  return module2.matchResource;
1121
+ },
1122
+ set(val) {
1123
+ if (val) {
1124
+ module2.matchResource = val;
1125
+ }
1121
1126
  }
1122
1127
  }
1123
1128
  });
@@ -1478,6 +1483,10 @@ var Entrypoint = class _Entrypoint extends ChunkGroup {
1478
1483
  const chunkBinding = this.#inner.getRuntimeChunk();
1479
1484
  return chunkBinding ? Chunk.__from_binding(chunkBinding) : null;
1480
1485
  }
1486
+ getEntrypointChunk() {
1487
+ const chunkBinding = this.#inner.getEntrypointChunk();
1488
+ return chunkBinding ? Chunk.__from_binding(chunkBinding) : null;
1489
+ }
1481
1490
  };
1482
1491
 
1483
1492
  // src/ErrorHelpers.ts
@@ -2248,12 +2257,12 @@ var smartGrouping = (items, groupConfigs) => {
2248
2257
  let bestGroupSize = -1;
2249
2258
  let bestGroupItems = void 0;
2250
2259
  let bestGroupOptions = void 0;
2251
- for (const [group, state2] of groupMap) {
2252
- const { items: items3, used } = state2;
2253
- let options2 = state2.options;
2260
+ for (const [group, state] of groupMap) {
2261
+ const { items: items3, used } = state;
2262
+ let options2 = state.options;
2254
2263
  if (options2 === void 0) {
2255
2264
  const groupConfig2 = group.config;
2256
- state2.options = options2 = ((_a = groupConfig2.getOptions) == null ? void 0 : _a.call(
2265
+ state.options = options2 = ((_a = groupConfig2.getOptions) == null ? void 0 : _a.call(
2257
2266
  groupConfig2,
2258
2267
  group.name,
2259
2268
  Array.from(items3, ({ item }) => item)
@@ -2288,15 +2297,15 @@ var smartGrouping = (items, groupConfigs) => {
2288
2297
  for (const item of items2) {
2289
2298
  itemsWithGroups2.delete(item);
2290
2299
  for (const group of item.groups) {
2291
- const state2 = groupMap.get(group);
2292
- if (state2 !== void 0) {
2293
- state2.items.delete(item);
2294
- if (state2.items.size === 0) {
2300
+ const state = groupMap.get(group);
2301
+ if (state !== void 0) {
2302
+ state.items.delete(item);
2303
+ if (state.items.size === 0) {
2295
2304
  groupMap.delete(group);
2296
2305
  } else {
2297
- state2.options = void 0;
2306
+ state.options = void 0;
2298
2307
  if (groupChildren) {
2299
- state2.used = true;
2308
+ state.used = true;
2300
2309
  }
2301
2310
  }
2302
2311
  }
@@ -8578,138 +8587,135 @@ var JsonModulesPlugin = create2(
8578
8587
  );
8579
8588
 
8580
8589
  // src/builtin-plugin/lazy-compilation/backend.ts
8581
- var getBackend = (options) => (compiler, callback) => {
8582
- const logger = compiler.getInfrastructureLogger("LazyCompilationBackend");
8583
- const activeModules = /* @__PURE__ */ new Map();
8584
- const filesByKey = /* @__PURE__ */ new Map();
8585
- const prefix = "/lazy-compilation-using-";
8586
- const isHttps = options.protocol === "https" || typeof options.server === "object" && ("key" in options.server || "pfx" in options.server);
8587
- const createServer = typeof options.server === "function" ? options.server : (() => {
8588
- const http = isHttps ? require("https") : require("http");
8589
- return http.createServer.bind(http, options.server);
8590
- })();
8591
- const listen = typeof options.listen === "function" ? options.listen : typeof options.server === "function" && !options.listen ? (
8592
- // if user offers custom server, no need to listen
8593
- () => {
8594
- }
8595
- ) : (server2) => {
8596
- let { listen: listen2 } = options;
8597
- if (typeof listen2 === "object" && !("port" in listen2))
8598
- listen2 = { ...listen2, port: void 0 };
8599
- server2.listen(listen2);
8590
+ var getBackend = (options) => {
8591
+ const state = {
8592
+ module: unimplemented,
8593
+ dispose: unimplemented
8600
8594
  };
8601
- const protocol = options.protocol || (isHttps ? "https" : "http");
8602
- const requestListener = (req, res) => {
8603
- var _a;
8604
- if (!((_a = req.url) == null ? void 0 : _a.startsWith(prefix))) {
8605
- return;
8606
- }
8607
- const keys = req.url.slice(prefix.length).split("@");
8608
- req.socket.on("close", () => {
8609
- setTimeout(() => {
8595
+ return {
8596
+ state,
8597
+ backend: (compiler, callback) => {
8598
+ const logger = compiler.getInfrastructureLogger("LazyCompilationBackend");
8599
+ const activeModules = /* @__PURE__ */ new Map();
8600
+ const filesByKey = /* @__PURE__ */ new Map();
8601
+ const prefix = "/lazy-compilation-using-";
8602
+ const isHttps = options.protocol === "https" || typeof options.server === "object" && ("key" in options.server || "pfx" in options.server);
8603
+ const createServer = typeof options.server === "function" ? options.server : (() => {
8604
+ const http = isHttps ? require("https") : require("http");
8605
+ return http.createServer.bind(http, options.server);
8606
+ })();
8607
+ const listen = typeof options.listen === "function" ? options.listen : typeof options.server === "function" && !options.listen ? (
8608
+ // if user offers custom server, no need to listen
8609
+ () => {
8610
+ }
8611
+ ) : (server2) => {
8612
+ let { listen: listen2 } = options;
8613
+ if (typeof listen2 === "object" && !("port" in listen2))
8614
+ listen2 = { ...listen2, port: void 0 };
8615
+ server2.listen(listen2);
8616
+ };
8617
+ const protocol = options.protocol || (isHttps ? "https" : "http");
8618
+ const requestListener = (req, res) => {
8619
+ var _a;
8620
+ if (!((_a = req.url) == null ? void 0 : _a.startsWith(prefix))) {
8621
+ return;
8622
+ }
8623
+ const keys = req.url.slice(prefix.length).split("@");
8624
+ req.socket.on("close", () => {
8625
+ setTimeout(() => {
8626
+ for (const key of keys) {
8627
+ const oldValue = activeModules.get(key) || 0;
8628
+ activeModules.set(key, oldValue - 1);
8629
+ if (oldValue === 1) {
8630
+ logger.log(
8631
+ `${key} is no longer in use. Next compilation will skip this module.`
8632
+ );
8633
+ }
8634
+ }
8635
+ }, 12e4);
8636
+ });
8637
+ req.socket.setNoDelay(true);
8638
+ res.writeHead(200, {
8639
+ "content-type": "text/event-stream",
8640
+ "Access-Control-Allow-Origin": "*",
8641
+ "Access-Control-Allow-Methods": "*",
8642
+ "Access-Control-Allow-Headers": "*"
8643
+ });
8644
+ res.write("\n");
8645
+ const moduleActivated = [];
8610
8646
  for (const key of keys) {
8611
8647
  const oldValue = activeModules.get(key) || 0;
8612
- activeModules.set(key, oldValue - 1);
8613
- if (oldValue === 1) {
8614
- logger.log(
8615
- `${key} is no longer in use. Next compilation will skip this module.`
8616
- );
8648
+ activeModules.set(key, oldValue + 1);
8649
+ if (oldValue === 0) {
8650
+ logger.log(`${key} is now in use and will be compiled.`);
8651
+ moduleActivated.push(key);
8617
8652
  }
8618
8653
  }
8619
- }, 12e4);
8620
- });
8621
- req.socket.setNoDelay(true);
8622
- res.writeHead(200, {
8623
- "content-type": "text/event-stream",
8624
- "Access-Control-Allow-Origin": "*",
8625
- "Access-Control-Allow-Methods": "*",
8626
- "Access-Control-Allow-Headers": "*"
8627
- });
8628
- res.write("\n");
8629
- const moduleActivated = [];
8630
- for (const key of keys) {
8631
- const oldValue = activeModules.get(key) || 0;
8632
- activeModules.set(key, oldValue + 1);
8633
- if (oldValue === 0) {
8634
- logger.log(`${key} is now in use and will be compiled.`);
8635
- moduleActivated.push(key);
8636
- }
8637
- }
8638
- if (moduleActivated.length && compiler.watching) {
8639
- compiler.watching.lazyCompilationInvalidate(
8640
- new Set(moduleActivated.map((key) => filesByKey.get(key)))
8641
- );
8642
- }
8643
- };
8644
- const server = createServer();
8645
- server.on("request", requestListener);
8646
- let isClosing = false;
8647
- const sockets = /* @__PURE__ */ new Set();
8648
- server.on("connection", (socket) => {
8649
- sockets.add(socket);
8650
- socket.on("close", () => {
8651
- sockets.delete(socket);
8652
- });
8653
- if (isClosing) socket.destroy();
8654
- });
8655
- server.on("listening", (err) => {
8656
- if (err) return callback(err);
8657
- const addr = server.address();
8658
- if (typeof addr === "string")
8659
- throw new Error("addr must not be a string");
8660
- const urlBase = addr.address === "::" || addr.address === "0.0.0.0" ? `${protocol}://localhost:${addr.port}` : addr.family === "IPv6" ? `${protocol}://[${addr.address}]:${addr.port}` : `${protocol}://${addr.address}:${addr.port}`;
8661
- logger.log(
8662
- `Server-Sent-Events server for lazy compilation open at ${urlBase}.`
8663
- );
8664
- const result2 = {
8665
- dispose(callback2) {
8666
- isClosing = true;
8667
- server.off("request", requestListener);
8668
- server.close((err2) => {
8669
- callback2(err2);
8670
- });
8671
- for (const socket of sockets) {
8672
- socket.destroy(new Error("Server is disposing"));
8654
+ if (moduleActivated.length && compiler.watching) {
8655
+ compiler.watching.lazyCompilationInvalidate(
8656
+ new Set(moduleActivated.map((key) => filesByKey.get(key)))
8657
+ );
8673
8658
  }
8674
- },
8675
- module({
8676
- module: originalModule,
8677
- path: path11
8678
- }) {
8679
- const key = `${encodeURIComponent(
8680
- originalModule.replace(/\\/g, "/").replace(/@/g, "_")
8681
- ).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g, decodeURIComponent)}`;
8682
- filesByKey.set(key, path11);
8683
- const active = activeModules.get(key) > 0;
8684
- return {
8685
- client: `${options.client}?${encodeURIComponent(urlBase + prefix)}`,
8686
- data: key,
8687
- active
8659
+ };
8660
+ const server = createServer();
8661
+ server.on("request", requestListener);
8662
+ let isClosing = false;
8663
+ const sockets = /* @__PURE__ */ new Set();
8664
+ server.on("connection", (socket) => {
8665
+ sockets.add(socket);
8666
+ socket.on("close", () => {
8667
+ sockets.delete(socket);
8668
+ });
8669
+ if (isClosing) socket.destroy();
8670
+ });
8671
+ server.on("listening", (err) => {
8672
+ if (err) return callback(err);
8673
+ const addr = server.address();
8674
+ if (typeof addr === "string")
8675
+ throw new Error("addr must not be a string");
8676
+ const urlBase = addr.address === "::" || addr.address === "0.0.0.0" ? `${protocol}://localhost:${addr.port}` : addr.family === "IPv6" ? `${protocol}://[${addr.address}]:${addr.port}` : `${protocol}://${addr.address}:${addr.port}`;
8677
+ logger.log(
8678
+ `Server-Sent-Events server for lazy compilation open at ${urlBase}.`
8679
+ );
8680
+ const result2 = {
8681
+ dispose(callback2) {
8682
+ isClosing = true;
8683
+ server.off("request", requestListener);
8684
+ server.close((err2) => {
8685
+ callback2(err2);
8686
+ });
8687
+ for (const socket of sockets) {
8688
+ socket.destroy(new Error("Server is disposing"));
8689
+ }
8690
+ },
8691
+ module({
8692
+ module: originalModule,
8693
+ path: path11
8694
+ }) {
8695
+ const key = `${encodeURIComponent(
8696
+ originalModule.replace(/\\/g, "/").replace(/@/g, "_")
8697
+ ).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g, decodeURIComponent)}`;
8698
+ filesByKey.set(key, path11);
8699
+ const active = activeModules.get(key) > 0;
8700
+ return {
8701
+ client: `${options.client}?${encodeURIComponent(urlBase + prefix)}`,
8702
+ data: key,
8703
+ active
8704
+ };
8705
+ }
8688
8706
  };
8689
- }
8690
- };
8691
- state.module = result2.module;
8692
- state.dispose = result2.dispose;
8693
- callback(null, result2);
8694
- });
8695
- listen(server);
8707
+ state.module = result2.module;
8708
+ state.dispose = result2.dispose;
8709
+ callback(null, result2);
8710
+ });
8711
+ listen(server);
8712
+ }
8713
+ };
8696
8714
  };
8697
8715
  var backend_default = getBackend;
8698
8716
  function unimplemented() {
8699
8717
  throw new Error("access before initialization");
8700
8718
  }
8701
- var state = {
8702
- module: unimplemented,
8703
- dispose: unimplemented
8704
- };
8705
- function dispose(callback) {
8706
- state.dispose(callback);
8707
- state.dispose = unimplemented;
8708
- state.module = unimplemented;
8709
- }
8710
- function moduleImpl(args) {
8711
- return state.module(args);
8712
- }
8713
8719
 
8714
8720
  // src/builtin-plugin/lazy-compilation/lazyCompilation.ts
8715
8721
  var import_binding40 = require("@rspack/binding");
@@ -8729,12 +8735,12 @@ var LazyCompilationPlugin = class {
8729
8735
  this.backend = backend;
8730
8736
  }
8731
8737
  apply(compiler) {
8732
- const backend = backend_default({
8738
+ const { state, backend } = backend_default({
8733
8739
  client: require.resolve(`../hot/lazy-compilation-${compiler.options.externalsPresets.node ? "node" : "web"}.js`),
8734
8740
  ...this.backend
8735
8741
  });
8736
8742
  new BuiltinLazyCompilationPlugin(
8737
- moduleImpl,
8743
+ (args) => state.module(args),
8738
8744
  this.cacheable,
8739
8745
  this.entries,
8740
8746
  this.imports,
@@ -8769,7 +8775,7 @@ var LazyCompilationPlugin = class {
8769
8775
  }
8770
8776
  );
8771
8777
  compiler.hooks.shutdown.tapAsync("LazyCompilationPlugin", (callback) => {
8772
- dispose(callback);
8778
+ state.dispose(callback);
8773
8779
  });
8774
8780
  }
8775
8781
  };
@@ -9839,6 +9845,14 @@ function normalizePath(path11) {
9839
9845
  return path11.replace(/\?.*$/, "").split(import_node_path7.sep).join("/");
9840
9846
  }
9841
9847
 
9848
+ // src/builtin-plugin/ModuleInfoHeaderPlugin.ts
9849
+ var import_binding75 = require("@rspack/binding");
9850
+ var ModuleInfoHeaderPlugin = create2(
9851
+ import_binding75.BuiltinPluginName.ModuleInfoHeaderPlugin,
9852
+ (verbose) => verbose,
9853
+ "compilation"
9854
+ );
9855
+
9842
9856
  // src/util/assertNotNil.ts
9843
9857
  function assertNotNill(value) {
9844
9858
  if (value == null) {
@@ -14329,7 +14343,7 @@ var createCompilationHooksRegisters = (getCompiler, createTap, createMapTap) =>
14329
14343
  const digestResult = hash.digest(
14330
14344
  getCompiler().options.output.hashDigest
14331
14345
  );
14332
- return Buffer.from(digestResult);
14346
+ return toBuffer(digestResult);
14333
14347
  };
14334
14348
  }
14335
14349
  ),
@@ -14575,7 +14589,7 @@ var createJavaScriptModulesHooksRegisters = (getCompiler, createTap, createMapTa
14575
14589
  const digestResult = hash.digest(
14576
14590
  getCompiler().options.output.hashDigest
14577
14591
  );
14578
- return Buffer.from(digestResult);
14592
+ return toBuffer(digestResult);
14579
14593
  };
14580
14594
  }
14581
14595
  )
@@ -19050,6 +19064,11 @@ var RspackOptionsApply = class {
19050
19064
  ).apply(compiler);
19051
19065
  }
19052
19066
  new ChunkPrefetchPreloadPlugin().apply(compiler);
19067
+ if (options.output.pathinfo) {
19068
+ new ModuleInfoHeaderPlugin(options.output.pathinfo === "verbose").apply(
19069
+ compiler
19070
+ );
19071
+ }
19053
19072
  if (typeof options.output.chunkFormat === "string") {
19054
19073
  switch (options.output.chunkFormat) {
19055
19074
  case "array-push": {
@@ -19285,7 +19304,7 @@ var RspackOptionsApply = class {
19285
19304
  };
19286
19305
 
19287
19306
  // src/exports.ts
19288
- var import_binding82 = require("@rspack/binding");
19307
+ var import_binding83 = require("@rspack/binding");
19289
19308
 
19290
19309
  // src/lib/ModuleFilenameHelpers.ts
19291
19310
  var ModuleFilenameHelpers_exports = {};
@@ -19330,9 +19349,9 @@ var matchObject = (obj, str) => {
19330
19349
  var import_zod7 = __toESM(require("../compiled/zod/index.js"));
19331
19350
 
19332
19351
  // src/builtin-plugin/FlagAllModulesAsUsedPlugin.ts
19333
- var import_binding75 = require("@rspack/binding");
19352
+ var import_binding76 = require("@rspack/binding");
19334
19353
  var FlagAllModulesAsUsedPlugin = create2(
19335
- import_binding75.BuiltinPluginName.FlagAllModulesAsUsedPlugin,
19354
+ import_binding76.BuiltinPluginName.FlagAllModulesAsUsedPlugin,
19336
19355
  (explanation) => {
19337
19356
  return {
19338
19357
  explanation
@@ -20221,9 +20240,9 @@ var NodeTemplatePlugin = class {
20221
20240
  };
20222
20241
 
20223
20242
  // src/container/ModuleFederationRuntimePlugin.ts
20224
- var import_binding76 = require("@rspack/binding");
20243
+ var import_binding77 = require("@rspack/binding");
20225
20244
  var ModuleFederationRuntimePlugin = create2(
20226
- import_binding76.BuiltinPluginName.ModuleFederationRuntimePlugin,
20245
+ import_binding77.BuiltinPluginName.ModuleFederationRuntimePlugin,
20227
20246
  () => {
20228
20247
  }
20229
20248
  );
@@ -20419,10 +20438,10 @@ function getDefaultEntryRuntime(paths, options, compiler) {
20419
20438
  }
20420
20439
 
20421
20440
  // src/sharing/ConsumeSharedPlugin.ts
20422
- var import_binding78 = require("@rspack/binding");
20441
+ var import_binding79 = require("@rspack/binding");
20423
20442
 
20424
20443
  // src/sharing/ShareRuntimePlugin.ts
20425
- var import_binding77 = require("@rspack/binding");
20444
+ var import_binding78 = require("@rspack/binding");
20426
20445
  var compilerSet = /* @__PURE__ */ new WeakSet();
20427
20446
  function isSingleton(compiler) {
20428
20447
  return compilerSet.has(compiler);
@@ -20434,7 +20453,7 @@ var ShareRuntimePlugin = class extends RspackBuiltinPlugin {
20434
20453
  constructor(enhanced = false) {
20435
20454
  super();
20436
20455
  this.enhanced = enhanced;
20437
- this.name = import_binding77.BuiltinPluginName.ShareRuntimePlugin;
20456
+ this.name = import_binding78.BuiltinPluginName.ShareRuntimePlugin;
20438
20457
  }
20439
20458
  raw(compiler) {
20440
20459
  if (isSingleton(compiler)) return;
@@ -20453,7 +20472,7 @@ function isRequiredVersion(str) {
20453
20472
  var ConsumeSharedPlugin = class extends RspackBuiltinPlugin {
20454
20473
  constructor(options) {
20455
20474
  super();
20456
- this.name = import_binding78.BuiltinPluginName.ConsumeSharedPlugin;
20475
+ this.name = import_binding79.BuiltinPluginName.ConsumeSharedPlugin;
20457
20476
  this._options = {
20458
20477
  consumes: parseOptions(
20459
20478
  options.consumes,
@@ -20516,11 +20535,11 @@ var ConsumeSharedPlugin = class extends RspackBuiltinPlugin {
20516
20535
  };
20517
20536
 
20518
20537
  // src/sharing/ProvideSharedPlugin.ts
20519
- var import_binding79 = require("@rspack/binding");
20538
+ var import_binding80 = require("@rspack/binding");
20520
20539
  var ProvideSharedPlugin = class extends RspackBuiltinPlugin {
20521
20540
  constructor(options) {
20522
20541
  super();
20523
- this.name = import_binding79.BuiltinPluginName.ProvideSharedPlugin;
20542
+ this.name = import_binding80.BuiltinPluginName.ProvideSharedPlugin;
20524
20543
  this._provides = parseOptions(
20525
20544
  options.provides,
20526
20545
  (item) => {
@@ -20625,11 +20644,11 @@ var SharePlugin = class {
20625
20644
  };
20626
20645
 
20627
20646
  // src/container/ContainerPlugin.ts
20628
- var import_binding80 = require("@rspack/binding");
20647
+ var import_binding81 = require("@rspack/binding");
20629
20648
  var ContainerPlugin = class extends RspackBuiltinPlugin {
20630
20649
  constructor(options) {
20631
20650
  super();
20632
- this.name = import_binding80.BuiltinPluginName.ContainerPlugin;
20651
+ this.name = import_binding81.BuiltinPluginName.ContainerPlugin;
20633
20652
  this._options = {
20634
20653
  name: options.name,
20635
20654
  shareScope: options.shareScope || "default",
@@ -20673,11 +20692,11 @@ var ContainerPlugin = class extends RspackBuiltinPlugin {
20673
20692
  };
20674
20693
 
20675
20694
  // src/container/ContainerReferencePlugin.ts
20676
- var import_binding81 = require("@rspack/binding");
20695
+ var import_binding82 = require("@rspack/binding");
20677
20696
  var ContainerReferencePlugin = class extends RspackBuiltinPlugin {
20678
20697
  constructor(options) {
20679
20698
  super();
20680
- this.name = import_binding81.BuiltinPluginName.ContainerReferencePlugin;
20699
+ this.name = import_binding82.BuiltinPluginName.ContainerReferencePlugin;
20681
20700
  this._options = {
20682
20701
  remoteType: options.remoteType,
20683
20702
  remotes: parseOptions(
@@ -20762,7 +20781,7 @@ var ModuleFederationPluginV1 = class {
20762
20781
  };
20763
20782
 
20764
20783
  // src/exports.ts
20765
- var import_binding83 = require("@rspack/binding");
20784
+ var import_binding84 = require("@rspack/binding");
20766
20785
  var rspackVersion = import_package.version;
20767
20786
  var version = import_package.webpackVersion;
20768
20787
  var WebpackError2 = Error;
@@ -20809,7 +20828,7 @@ var sharing = {
20809
20828
  var experiments2 = {
20810
20829
  globalTrace: {
20811
20830
  async register(filter, layer2, output2) {
20812
- (0, import_binding83.registerGlobalTrace)(filter, layer2, output2);
20831
+ (0, import_binding84.registerGlobalTrace)(filter, layer2, output2);
20813
20832
  if (layer2 === "otel") {
20814
20833
  try {
20815
20834
  const { initOpenTelemetry } = await import("@rspack/tracing");
@@ -20823,7 +20842,7 @@ var experiments2 = {
20823
20842
  }
20824
20843
  },
20825
20844
  async cleanup() {
20826
- (0, import_binding83.cleanupGlobalTrace)();
20845
+ (0, import_binding84.cleanupGlobalTrace)();
20827
20846
  try {
20828
20847
  const { shutdownOpenTelemetry } = await import("@rspack/tracing");
20829
20848
  await shutdownOpenTelemetry();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/core",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "webpackVersion": "5.75.0",
5
5
  "license": "MIT",
6
6
  "description": "The fast Rust-based web bundler with webpack-compatible API",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@swc/core": "1.10.18",
41
- "@swc/types": "0.1.17",
41
+ "@swc/types": "0.1.19",
42
42
  "@types/graceful-fs": "4.1.9",
43
43
  "@types/watchpack": "^2.4.4",
44
44
  "@types/webpack-sources": "3.2.3",
@@ -49,7 +49,7 @@
49
49
  "json-parse-even-better-errors": "^3.0.2",
50
50
  "prebundle": "^1.2.7",
51
51
  "tsc-alias": "^1.8.11",
52
- "tsup": "^8.3.6",
52
+ "tsup": "^8.4.0",
53
53
  "tsx": "^4.19.3",
54
54
  "typescript": "^5.7.3",
55
55
  "watchpack": "^2.4.2",
@@ -57,13 +57,13 @@
57
57
  "webpack-sources": "3.2.3",
58
58
  "zod": "^3.24.2",
59
59
  "zod-validation-error": "3.4.0",
60
- "@rspack/tracing": "1.2.7"
60
+ "@rspack/tracing": "1.2.8"
61
61
  },
62
62
  "dependencies": {
63
63
  "@module-federation/runtime-tools": "0.8.4",
64
64
  "@rspack/lite-tapable": "1.0.1",
65
- "caniuse-lite": "^1.0.30001700",
66
- "@rspack/binding": "1.2.7"
65
+ "caniuse-lite": "^1.0.30001702",
66
+ "@rspack/binding": "1.2.8"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@rspack/tracing": "^1.x",