@rspack-canary/browser 1.7.3-canary-467a44da-20260119082229 → 1.7.3-canary-965a4980-20260119085659

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.
Files changed (45) hide show
  1. package/dist/Compiler.d.ts +1 -0
  2. package/dist/MultiCompiler.d.ts +1 -1
  3. package/dist/builtin-loader/lightningcss/index.d.ts +0 -5
  4. package/dist/builtin-loader/swc/types.d.ts +2 -4
  5. package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
  6. package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
  7. package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +0 -5
  8. package/dist/builtin-plugin/RsdoctorPlugin.d.ts +1 -5
  9. package/dist/builtin-plugin/RuntimePlugin.d.ts +0 -4
  10. package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +1 -1
  11. package/dist/builtin-plugin/html-plugin/options.d.ts +0 -5
  12. package/dist/builtin-plugin/html-plugin/plugin.d.ts +1 -5
  13. package/dist/builtin-plugin/index.d.ts +1 -0
  14. package/dist/builtin-plugin/rsc/Coordinator.d.ts +8 -0
  15. package/dist/builtin-plugin/rsc/RscClientPlugin.d.ts +13 -0
  16. package/dist/builtin-plugin/rsc/RscServerPlugin.d.ts +14 -0
  17. package/dist/builtin-plugin/rsc/index.d.ts +24 -0
  18. package/dist/config/normalization.d.ts +4 -32
  19. package/dist/config/types.d.ts +56 -145
  20. package/dist/container/ModuleFederationManifestPlugin.d.ts +3 -10
  21. package/dist/container/ModuleFederationPlugin.d.ts +1 -17
  22. package/dist/exports.d.ts +4 -18
  23. package/dist/index.js +35029 -0
  24. package/dist/{index.mjs.LICENSE.txt → index.js.LICENSE.txt} +0 -7
  25. package/dist/lib/DllPlugin.d.ts +1 -1
  26. package/dist/lib/DllReferencePlugin.d.ts +2 -2
  27. package/dist/napi-binding.d.ts +34 -63
  28. package/dist/{rslib-runtime.mjs → rslib-runtime.js} +1 -11
  29. package/dist/rspack.wasi-browser.js +1 -0
  30. package/dist/rspack.wasm32-wasi.wasm +0 -0
  31. package/dist/runtime/moduleFederationDefaultRuntime.d.ts +1 -2
  32. package/dist/sharing/ConsumeSharedPlugin.d.ts +0 -13
  33. package/dist/sharing/ProvideSharedPlugin.d.ts +0 -19
  34. package/dist/sharing/SharePlugin.d.ts +0 -36
  35. package/dist/sharing/utils.d.ts +0 -1
  36. package/dist/stats/statsFactoryUtils.d.ts +0 -3
  37. package/dist/wasi-worker-browser.mjs +10523 -10528
  38. package/package.json +2 -2
  39. package/dist/browser/middleware.d.ts +0 -1
  40. package/dist/index.mjs +0 -67743
  41. package/dist/sharing/CollectSharedEntryPlugin.d.ts +0 -22
  42. package/dist/sharing/IndependentSharedPlugin.d.ts +0 -35
  43. package/dist/sharing/SharedContainerPlugin.d.ts +0 -23
  44. package/dist/sharing/SharedUsedExportsOptimizerPlugin.d.ts +0 -14
  45. package/dist/sharing/TreeShakingSharedPlugin.d.ts +0 -16
@@ -1,10 +1,3 @@
1
- /*!
2
- * The buffer module from node.js, for the browser.
3
- *
4
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
5
- * @license MIT
6
- */
7
-
8
1
  /*!
9
2
  * The buffer module from node.js, for the browser.
10
3
  *
@@ -31,7 +31,7 @@ export type DllPluginOptions = {
31
31
  */
32
32
  path: string;
33
33
  /**
34
- * Type of the dll bundle (external type, use value of 'output.libraryTarget').
34
+ * Type of the dll bundle (external type, use value of 'output.library.type').
35
35
  */
36
36
  type?: string;
37
37
  };
@@ -31,7 +31,7 @@ export type DllReferencePluginOptions = {
31
31
  */
32
32
  scope?: string;
33
33
  /**
34
- * How the dll is exposed (libraryTarget, defaults to manifest.type).
34
+ * How the dll is exposed (library.type, defaults to manifest.type).
35
35
  */
36
36
  sourceType?: DllReferencePluginOptionsSourceType;
37
37
  /**
@@ -60,7 +60,7 @@ export type DllReferencePluginOptions = {
60
60
  */
61
61
  scope?: string;
62
62
  /**
63
- * How the dll is exposed (libraryTarget).
63
+ * How the dll is exposed (library.type).
64
64
  */
65
65
  sourceType?: DllReferencePluginOptionsSourceType;
66
66
  /**
@@ -95,6 +95,8 @@ export interface JsSource {
95
95
  source: string | Buffer
96
96
  map?: string
97
97
  }
98
+
99
+ export type CompilerId = void;
98
100
  /* -- banner.d.ts end -- */
99
101
 
100
102
  /* -- napi-rs generated below -- */
@@ -334,6 +336,7 @@ export declare class JsCompiler {
334
336
  rebuild(changed_files: string[], removed_files: string[], callback: (err: null | Error) => void): void
335
337
  close(): Promise<void>
336
338
  getVirtualFileStore(): VirtualFileStore | null
339
+ getCompilerId(): ExternalObject<CompilerId>
337
340
  }
338
341
 
339
342
  export declare class JsContextModuleFactoryAfterResolveData {
@@ -361,6 +364,10 @@ export declare class JsContextModuleFactoryBeforeResolveData {
361
364
  set recursive(recursive: boolean)
362
365
  }
363
366
 
367
+ export declare class JsCoordinator {
368
+ constructor(getServerCompilerIdJsFn: () => ExternalObject<CompilerId>)
369
+ }
370
+
364
371
  export declare class JsDependencies {
365
372
  get fileDependencies(): Array<string>
366
373
  get addedFileDependencies(): Array<string>
@@ -540,13 +547,10 @@ export declare enum BuiltinPluginName {
540
547
  SplitChunksPlugin = 'SplitChunksPlugin',
541
548
  RemoveDuplicateModulesPlugin = 'RemoveDuplicateModulesPlugin',
542
549
  ShareRuntimePlugin = 'ShareRuntimePlugin',
543
- SharedUsedExportsOptimizerPlugin = 'SharedUsedExportsOptimizerPlugin',
544
550
  ContainerPlugin = 'ContainerPlugin',
545
551
  ContainerReferencePlugin = 'ContainerReferencePlugin',
546
552
  ProvideSharedPlugin = 'ProvideSharedPlugin',
547
553
  ConsumeSharedPlugin = 'ConsumeSharedPlugin',
548
- CollectSharedEntryPlugin = 'CollectSharedEntryPlugin',
549
- SharedContainerPlugin = 'SharedContainerPlugin',
550
554
  ModuleFederationRuntimePlugin = 'ModuleFederationRuntimePlugin',
551
555
  ModuleFederationManifestPlugin = 'ModuleFederationManifestPlugin',
552
556
  NamedModuleIdsPlugin = 'NamedModuleIdsPlugin',
@@ -605,7 +609,9 @@ export declare enum BuiltinPluginName {
605
609
  LazyCompilationPlugin = 'LazyCompilationPlugin',
606
610
  ModuleInfoHeaderPlugin = 'ModuleInfoHeaderPlugin',
607
611
  HttpUriPlugin = 'HttpUriPlugin',
608
- CssChunkingPlugin = 'CssChunkingPlugin'
612
+ CssChunkingPlugin = 'CssChunkingPlugin',
613
+ RscServerPlugin = 'RscServerPlugin',
614
+ RscClientPlugin = 'RscClientPlugin'
609
615
  }
610
616
 
611
617
  export declare function cleanupGlobalTrace(): void
@@ -1031,6 +1037,15 @@ export interface JsResourceData {
1031
1037
  descriptionFilePath?: string
1032
1038
  }
1033
1039
 
1040
+ export interface JsRscClientPluginOptions {
1041
+ coordinator: JsCoordinator
1042
+ }
1043
+
1044
+ export interface JsRscServerPluginOptions {
1045
+ coordinator: JsCoordinator
1046
+ onServerComponentChanges?: (() => void) | undefined | null
1047
+ }
1048
+
1034
1049
  export interface JsRsdoctorAsset {
1035
1050
  ukey: number
1036
1051
  path: string
@@ -1402,7 +1417,6 @@ export interface JsStatsModuleCommonAttributes {
1402
1417
  failed?: boolean
1403
1418
  errors?: number
1404
1419
  warnings?: number
1405
- profile?: JsStatsModuleProfile
1406
1420
  chunks?: Array<string>
1407
1421
  assets?: Array<string>
1408
1422
  reasons?: Array<JsStatsModuleReason>
@@ -1827,11 +1841,17 @@ export interface RawCacheGroupOptions {
1827
1841
  usedExports?: boolean
1828
1842
  }
1829
1843
 
1830
- export interface RawCacheOptions {
1831
- type: string
1844
+ export interface RawCacheOptionsMemory {
1832
1845
  maxGenerations?: number
1833
1846
  }
1834
1847
 
1848
+ export interface RawCacheOptionsPersistent {
1849
+ buildDependencies?: Array<string>
1850
+ version?: string
1851
+ snapshot?: RawSnapshotOptions
1852
+ storage?: RawStorageOptions
1853
+ }
1854
+
1835
1855
  export interface RawCircularDependencyRspackPluginOptions {
1836
1856
  failOnError?: boolean
1837
1857
  exclude?: RegExp
@@ -1842,11 +1862,6 @@ export interface RawCircularDependencyRspackPluginOptions {
1842
1862
  onEnd?: () => void
1843
1863
  }
1844
1864
 
1845
- export interface RawCollectShareEntryPluginOptions {
1846
- consumes: Array<RawConsumeOptions>
1847
- filename?: string
1848
- }
1849
-
1850
1865
  export interface RawCompilerPlatform {
1851
1866
  web?: boolean | null
1852
1867
  browser?: boolean | null
@@ -1867,7 +1882,6 @@ export interface RawConsumeOptions {
1867
1882
  strictVersion: boolean
1868
1883
  singleton: boolean
1869
1884
  eager: boolean
1870
- treeShakingMode?: string
1871
1885
  }
1872
1886
 
1873
1887
  export interface RawConsumeSharedPluginOptions {
@@ -2133,30 +2147,13 @@ export interface RawEvalDevToolModulePluginOptions {
2133
2147
  sourceUrlComment?: string
2134
2148
  }
2135
2149
 
2136
- export interface RawExperimentCacheOptionsPersistent {
2137
- buildDependencies?: Array<string>
2138
- version?: string
2139
- snapshot?: RawExperimentSnapshotOptions
2140
- storage?: RawStorageOptions
2141
- }
2142
-
2143
2150
  export interface RawExperiments {
2144
- topLevelAwait: boolean
2145
2151
  incremental?: false | { [key: string]: boolean }
2146
- rspackFuture?: RawRspackFuture
2147
- cache: boolean | { type: "persistent" } & RawExperimentCacheOptionsPersistent | { type: "memory" }
2148
2152
  useInputFileSystem?: false | Array<RegExp>
2149
2153
  css?: boolean
2150
- lazyBarrel: boolean
2151
2154
  deferImport: boolean
2152
2155
  }
2153
2156
 
2154
- export interface RawExperimentSnapshotOptions {
2155
- immutablePaths: Array<string|RegExp>
2156
- unmanagedPaths: Array<string|RegExp>
2157
- managedPaths: Array<string|RegExp>
2158
- }
2159
-
2160
2157
  export interface RawExposeOptions {
2161
2158
  key: string
2162
2159
  name?: string
@@ -2251,7 +2248,6 @@ export interface RawHtmlRspackPluginOptions {
2251
2248
  chunks?: Array<string>
2252
2249
  excludeChunks?: Array<string>
2253
2250
  chunksSortMode: "auto" | "manual"
2254
- sri?: "sha256" | "sha384" | "sha512"
2255
2251
  minify?: boolean
2256
2252
  title?: string
2257
2253
  favicon?: string
@@ -2431,7 +2427,6 @@ export interface RawLightningCssMinimizerOptions {
2431
2427
  targets?: Array<string>
2432
2428
  include?: number
2433
2429
  exclude?: number
2434
- draft?: RawDraft
2435
2430
  drafts?: RawDraft
2436
2431
  nonStandard?: RawNonStandard
2437
2432
  pseudoClasses?: RawLightningCssPseudoClasses
@@ -2603,12 +2598,6 @@ export interface RawOptimizationOptions {
2603
2598
  avoidEntryIife: boolean
2604
2599
  }
2605
2600
 
2606
- export interface RawOptimizeSharedConfig {
2607
- shareKey: string
2608
- treeShaking: boolean
2609
- usedExports?: Array<string>
2610
- }
2611
-
2612
2601
  export interface RawOptions {
2613
2602
  name?: string
2614
2603
  mode?: undefined | 'production' | 'development' | 'none'
@@ -2619,10 +2608,9 @@ export interface RawOptions {
2619
2608
  module: RawModuleOptions
2620
2609
  optimization: RawOptimizationOptions
2621
2610
  stats: RawStatsOptions
2622
- cache: RawCacheOptions
2611
+ cache: boolean | { type: "memory" } | ({ type: "persistent" } & RawCacheOptionsPersistent)
2623
2612
  experiments: RawExperiments
2624
2613
  node?: RawNodeOption
2625
- profile: boolean
2626
2614
  amd?: string
2627
2615
  bail: boolean
2628
2616
  __references: Record<string, any>
@@ -2658,7 +2646,6 @@ export interface RawOutputOptions {
2658
2646
  module: boolean
2659
2647
  chunkLoading: string | false
2660
2648
  chunkLoadTimeout: number
2661
- charset: boolean
2662
2649
  enabledChunkLoadingTypes?: Array<string>
2663
2650
  trustedTypes?: RawTrustedTypes
2664
2651
  sourceMapFilename: string
@@ -2709,7 +2696,6 @@ export interface RawProvideOptions {
2709
2696
  singleton?: boolean
2710
2697
  requiredVersion?: string | false | undefined
2711
2698
  strictVersion?: boolean
2712
- treeShakingMode?: string
2713
2699
  }
2714
2700
 
2715
2701
  export interface RawRelated {
@@ -2804,10 +2790,6 @@ export interface RawRslibPluginOptions {
2804
2790
  forceNodeShims?: boolean
2805
2791
  }
2806
2792
 
2807
- export interface RawRspackFuture {
2808
-
2809
- }
2810
-
2811
2793
  export interface RawRstestPluginOptions {
2812
2794
  injectModulePathName: boolean
2813
2795
  importMetaPathName: boolean
@@ -2847,21 +2829,6 @@ export interface RawRuntimeChunkOptions {
2847
2829
  name: string | ((entrypoint: { name: string }) => string)
2848
2830
  }
2849
2831
 
2850
- export interface RawSharedContainerPluginOptions {
2851
- name: string
2852
- request: string
2853
- version: string
2854
- fileName?: string
2855
- library: JsLibraryOptions
2856
- }
2857
-
2858
- export interface RawSharedUsedExportsOptimizerPluginOptions {
2859
- shared: Array<RawOptimizeSharedConfig>
2860
- injectTreeShakingUsedExports?: boolean
2861
- manifestFileName?: string
2862
- statsFileName?: string
2863
- }
2864
-
2865
2832
  export interface RawSizeLimitsPluginOptions {
2866
2833
  assetFilter?: (assetFilename: string) => boolean
2867
2834
  hints?: "error" | "warning"
@@ -2869,6 +2836,12 @@ export interface RawSizeLimitsPluginOptions {
2869
2836
  maxEntrypointSize?: number
2870
2837
  }
2871
2838
 
2839
+ export interface RawSnapshotOptions {
2840
+ immutablePaths: Array<string|RegExp>
2841
+ unmanagedPaths: Array<string|RegExp>
2842
+ managedPaths: Array<string|RegExp>
2843
+ }
2844
+
2872
2845
  export interface RawSplitChunkSizes {
2873
2846
  sizes: Record<string, number>
2874
2847
  }
@@ -2899,8 +2872,6 @@ export interface RawSplitChunksOptions {
2899
2872
  export interface RawStatsBuildInfo {
2900
2873
  buildVersion: string
2901
2874
  buildName?: string
2902
- target?: Array<string>
2903
- plugins?: Array<string>
2904
2875
  }
2905
2876
 
2906
2877
  export interface RawStatsOptions {
@@ -4,12 +4,9 @@ function __webpack_require__(moduleId) {
4
4
  var cachedModule = __webpack_module_cache__[moduleId];
5
5
  if (void 0 !== cachedModule) return cachedModule.exports;
6
6
  var module = __webpack_module_cache__[moduleId] = {
7
- id: moduleId,
8
- loaded: false,
9
7
  exports: {}
10
8
  };
11
- __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
12
- module.loaded = true;
9
+ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
13
10
  return module.exports;
14
11
  }
15
12
  __webpack_require__.m = __webpack_modules__;
@@ -58,11 +55,4 @@ __webpack_require__.m = __webpack_modules__;
58
55
  });
59
56
  };
60
57
  })();
61
- (()=>{
62
- __webpack_require__.nmd = (module)=>{
63
- module.paths = [];
64
- if (!module.children) module.children = [];
65
- return module;
66
- };
67
- })();
68
58
  export { __webpack_require__ };
@@ -85,6 +85,7 @@ export const JsCompilation = __napiModule.exports.JsCompilation
85
85
  export const JsCompiler = __napiModule.exports.JsCompiler
86
86
  export const JsContextModuleFactoryAfterResolveData = __napiModule.exports.JsContextModuleFactoryAfterResolveData
87
87
  export const JsContextModuleFactoryBeforeResolveData = __napiModule.exports.JsContextModuleFactoryBeforeResolveData
88
+ export const JsCoordinator = __napiModule.exports.JsCoordinator
88
89
  export const JsDependencies = __napiModule.exports.JsDependencies
89
90
  export const JsEntries = __napiModule.exports.JsEntries
90
91
  export const JsExportsInfo = __napiModule.exports.JsExportsInfo
Binary file
@@ -1,2 +1 @@
1
- declare function _exports(): void;
2
- export = _exports;
1
+ export default function _default(): void;
@@ -20,19 +20,7 @@ export type ConsumesConfig = {
20
20
  shareScope?: string;
21
21
  singleton?: boolean;
22
22
  strictVersion?: boolean;
23
- treeShakingMode?: 'server-calc' | 'runtime-infer';
24
23
  };
25
- export declare function normalizeConsumeShareOptions(consumes: Consumes, shareScope?: string): [string, {
26
- import: string | undefined;
27
- shareScope: string;
28
- shareKey: string;
29
- requiredVersion: string | false | undefined;
30
- strictVersion: boolean;
31
- packageName: string | undefined;
32
- singleton: boolean;
33
- eager: boolean;
34
- treeShakingMode: "server-calc" | "runtime-infer" | undefined;
35
- }][];
36
24
  export declare class ConsumeSharedPlugin extends RspackBuiltinPlugin {
37
25
  name: BuiltinPluginName;
38
26
  _options: {
@@ -45,7 +33,6 @@ export declare class ConsumeSharedPlugin extends RspackBuiltinPlugin {
45
33
  packageName: string | undefined;
46
34
  singleton: boolean;
47
35
  eager: boolean;
48
- treeShakingMode: "server-calc" | "runtime-infer" | undefined;
49
36
  }][];
50
37
  enhanced: boolean;
51
38
  };
@@ -23,26 +23,7 @@ type ProvidesEnhancedExtraConfig = {
23
23
  singleton?: boolean;
24
24
  strictVersion?: boolean;
25
25
  requiredVersion?: false | string;
26
- /**
27
- * Tree shaking strategy for the shared module.
28
- */
29
- treeShakingMode?: 'server-calc' | 'runtime-infer';
30
26
  };
31
- export declare function normalizeProvideShareOptions<Enhanced extends boolean = false>(options: Provides<Enhanced>, shareScope?: string, enhanced?: boolean): [string, {
32
- shareKey: string;
33
- version: string | false | undefined;
34
- shareScope: string;
35
- eager: boolean;
36
- } | {
37
- singleton: boolean | undefined;
38
- requiredVersion: string | false | undefined;
39
- strictVersion: boolean | undefined;
40
- treeShakingMode: "server-calc" | "runtime-infer" | undefined;
41
- shareKey: string;
42
- version: string | false | undefined;
43
- shareScope: string;
44
- eager: boolean;
45
- }][];
46
27
  export declare class ProvideSharedPlugin<Enhanced extends boolean = false> extends RspackBuiltinPlugin {
47
28
  name: BuiltinPluginName;
48
29
  _provides: [string, Omit<RawProvideOptions, 'key'>][];
@@ -9,11 +9,6 @@ export type SharedItem = string;
9
9
  export type SharedObject = {
10
10
  [k: string]: SharedConfig | SharedItem;
11
11
  };
12
- export type TreeShakingConfig = {
13
- usedExports?: string[];
14
- mode?: 'server-calc' | 'runtime-infer';
15
- filename?: string;
16
- };
17
12
  export type SharedConfig = {
18
13
  eager?: boolean;
19
14
  import?: false | SharedItem;
@@ -24,35 +19,7 @@ export type SharedConfig = {
24
19
  singleton?: boolean;
25
20
  strictVersion?: boolean;
26
21
  version?: false | string;
27
- treeShaking?: TreeShakingConfig;
28
22
  };
29
- export type NormalizedSharedOptions = [string, SharedConfig][];
30
- export declare function normalizeSharedOptions(shared: Shared): NormalizedSharedOptions;
31
- export declare function createProvideShareOptions(normalizedSharedOptions: NormalizedSharedOptions): {
32
- [x: string]: {
33
- shareKey: string;
34
- shareScope: string | undefined;
35
- version: string | false | undefined;
36
- eager: boolean | undefined;
37
- singleton: boolean | undefined;
38
- requiredVersion: string | false | undefined;
39
- strictVersion: boolean | undefined;
40
- treeShakingMode: "server-calc" | "runtime-infer" | undefined;
41
- };
42
- }[];
43
- export declare function createConsumeShareOptions(normalizedSharedOptions: NormalizedSharedOptions): {
44
- [x: string]: {
45
- import: string | false | undefined;
46
- shareKey: string;
47
- shareScope: string | undefined;
48
- requiredVersion: string | false | undefined;
49
- strictVersion: boolean | undefined;
50
- singleton: boolean | undefined;
51
- packageName: string | undefined;
52
- eager: boolean | undefined;
53
- treeShakingMode: "server-calc" | "runtime-infer" | undefined;
54
- };
55
- }[];
56
23
  export declare class SharePlugin {
57
24
  _shareScope: string | undefined;
58
25
  _consumes: {
@@ -65,7 +32,6 @@ export declare class SharePlugin {
65
32
  singleton: boolean | undefined;
66
33
  packageName: string | undefined;
67
34
  eager: boolean | undefined;
68
- treeShakingMode: "server-calc" | "runtime-infer" | undefined;
69
35
  };
70
36
  }[];
71
37
  _provides: {
@@ -77,11 +43,9 @@ export declare class SharePlugin {
77
43
  singleton: boolean | undefined;
78
44
  requiredVersion: string | false | undefined;
79
45
  strictVersion: boolean | undefined;
80
- treeShakingMode: "server-calc" | "runtime-infer" | undefined;
81
46
  };
82
47
  }[];
83
48
  _enhanced: boolean;
84
- _sharedOptions: NormalizedSharedOptions;
85
49
  constructor(options: SharePluginOptions);
86
50
  apply(compiler: Compiler): void;
87
51
  }
@@ -1,2 +1 @@
1
1
  export declare function isRequiredVersion(str: string): boolean;
2
- export declare const encodeName: (name: string, prefix?: string, withExt?: boolean) => string;
@@ -117,7 +117,6 @@ export type KnownStatsModule = {
117
117
  failed?: boolean;
118
118
  errors?: number;
119
119
  warnings?: number;
120
- profile?: StatsProfile;
121
120
  reasons?: StatsModuleReason[];
122
121
  usedExports?: boolean | string[] | null;
123
122
  providedExports?: string[] | null;
@@ -127,7 +126,6 @@ export type KnownStatsModule = {
127
126
  filteredModules?: number;
128
127
  source?: string | Buffer;
129
128
  };
130
- export type StatsProfile = KnownStatsProfile & Record<string, any>;
131
129
  export type KnownStatsProfile = {
132
130
  total: number;
133
131
  resolving: number;
@@ -297,7 +295,6 @@ export type SimpleExtractors = {
297
295
  module: ExtractorsByOption<binding.JsStatsModule, StatsModule>;
298
296
  module$visible: ExtractorsByOption<binding.JsStatsModule, StatsModule>;
299
297
  moduleIssuer: ExtractorsByOption<binding.JsStatsModuleIssuer, StatsModuleIssuer>;
300
- profile: ExtractorsByOption<binding.JsStatsModuleProfile, StatsProfile>;
301
298
  moduleReason: ExtractorsByOption<binding.JsStatsModuleReason, StatsModuleReason>;
302
299
  chunk: ExtractorsByOption<binding.JsStatsChunk, KnownStatsChunk>;
303
300
  chunkOrigin: ExtractorsByOption<JsOriginRecord, StatsChunkOrigin>;