@rspack-canary/core 1.7.1-canary-5eaa0135-20260103025009 → 1.7.1-canary-becc2931-20260103070024

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.
@@ -4,6 +4,7 @@ export interface ModuleFederationRuntimeExperimentsOptions {
4
4
  export interface ModuleFederationRuntimeOptions {
5
5
  entryRuntime?: string;
6
6
  experiments?: ModuleFederationRuntimeExperimentsOptions;
7
+ asyncStartup?: boolean;
7
8
  }
8
9
  export declare const ModuleFederationRuntimePlugin: {
9
10
  new (options?: ModuleFederationRuntimeOptions | undefined): {
package/dist/index.js CHANGED
@@ -5844,7 +5844,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
5844
5844
  }, applyExperimentsDefaults = (experiments, { development })=>{
5845
5845
  F(experiments, 'cache', ()=>development), D(experiments, 'futureDefaults', !1), D(experiments, 'lazyCompilation', !1), D(experiments, 'asyncWebAssembly', experiments.futureDefaults), D(experiments, 'css', !!experiments.futureDefaults || void 0), D(experiments, 'topLevelAwait', !0), D(experiments, 'deferImport', !1), D(experiments, 'buildHttp', void 0), experiments.buildHttp && 'object' == typeof experiments.buildHttp && D(experiments.buildHttp, 'upgrade', !1), D(experiments, 'incremental', {}), 'object' == typeof experiments.incremental && (D(experiments.incremental, 'silent', !0), D(experiments.incremental, 'make', !0), D(experiments.incremental, 'inferAsyncModules', !0), D(experiments.incremental, 'providedExports', !0), D(experiments.incremental, 'dependenciesDiagnostics', !0), D(experiments.incremental, 'sideEffects', !0), D(experiments.incremental, 'buildChunkGraph', !1), D(experiments.incremental, 'moduleIds', !0), D(experiments.incremental, 'chunkIds', !0), D(experiments.incremental, 'modulesHashes', !0), D(experiments.incremental, 'modulesCodegen', !0), D(experiments.incremental, 'modulesRuntimeRequirements', !0), D(experiments.incremental, 'chunksRuntimeRequirements', !0), D(experiments.incremental, 'chunksHashes', !0), D(experiments.incremental, 'chunksRender', !0), D(experiments.incremental, 'emitAssets', !0)), D(experiments, 'rspackFuture', {}), D(experiments, 'parallelLoader', !1), D(experiments, 'useInputFileSystem', !1), D(experiments, 'inlineConst', !0), D(experiments, 'inlineEnum', !1), D(experiments, 'typeReexportsPresence', !1), D(experiments, 'lazyBarrel', !0);
5846
5846
  }, applybundlerInfoDefaults = (rspackFuture, library)=>{
5847
- 'object' == typeof rspackFuture && (D(rspackFuture, 'bundlerInfo', {}), 'object' == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, 'version', "1.7.1-canary-5eaa0135-20260103025009"), D(rspackFuture.bundlerInfo, 'bundler', 'rspack'), D(rspackFuture.bundlerInfo, 'force', !library)));
5847
+ 'object' == typeof rspackFuture && (D(rspackFuture, 'bundlerInfo', {}), 'object' == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, 'version', "1.7.1-canary-becc2931-20260103070024"), D(rspackFuture.bundlerInfo, 'bundler', 'rspack'), D(rspackFuture.bundlerInfo, 'force', !library)));
5848
5848
  }, applySnapshotDefaults = (_snapshot, _env)=>{}, applyCssGeneratorOptionsDefaults = (generatorOptions, { targetProperties })=>{
5849
5849
  D(generatorOptions, 'exportsOnly', !targetProperties || !1 === targetProperties.document), D(generatorOptions, 'esModule', !0);
5850
5850
  }, applyModuleDefaults = (module1, { cache, asyncWebAssembly, css, targetProperties, mode, uniqueName, deferImport })=>{
@@ -7623,7 +7623,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
7623
7623
  });
7624
7624
  }
7625
7625
  }
7626
- let CORE_VERSION = "1.7.1-canary-5eaa0135-20260103025009", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
7626
+ let CORE_VERSION = "1.7.1-canary-becc2931-20260103070024", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
7627
7627
 
7628
7628
  Help:
7629
7629
  Looks like you are using a custom binding (via environment variable 'RSPACK_BINDING=${process.env.RSPACK_BINDING}').
@@ -8946,7 +8946,7 @@ Help:
8946
8946
  obj.children = this.stats.map((stat, idx)=>{
8947
8947
  let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
8948
8948
  return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
8949
- }), childOptions.version && (obj.rspackVersion = "1.7.1-canary-5eaa0135-20260103025009", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(''));
8949
+ }), childOptions.version && (obj.rspackVersion = "1.7.1-canary-becc2931-20260103070024", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(''));
8950
8950
  let mapError = (j, obj)=>({
8951
8951
  ...obj,
8952
8952
  compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
@@ -9856,7 +9856,7 @@ Help:
9856
9856
  object.hash = context.getStatsCompilation(compilation).hash;
9857
9857
  },
9858
9858
  version: (object)=>{
9859
- object.version = "5.75.0", object.rspackVersion = "1.7.1-canary-5eaa0135-20260103025009";
9859
+ object.version = "5.75.0", object.rspackVersion = "1.7.1-canary-becc2931-20260103070024";
9860
9860
  },
9861
9861
  env: (object, _compilation, _context, { _env })=>{
9862
9862
  object.env = _env;
@@ -12079,7 +12079,7 @@ Help:
12079
12079
  let _options = JSON.stringify(options || {});
12080
12080
  return binding_default().transform(source, _options);
12081
12081
  }
12082
- let exports_rspackVersion = "1.7.1-canary-5eaa0135-20260103025009", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
12082
+ let exports_rspackVersion = "1.7.1-canary-becc2931-20260103070024", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
12083
12083
  getNormalizedRspackOptions: getNormalizedRspackOptions,
12084
12084
  applyRspackOptionsDefaults: applyRspackOptionsDefaults,
12085
12085
  getNormalizedWebpackOptions: getNormalizedRspackOptions,
@@ -12163,12 +12163,13 @@ Help:
12163
12163
  compiler.webpack.Template.getFunctionContent(__webpack_require__("./moduleFederationDefaultRuntime.js"))
12164
12164
  ].join(';');
12165
12165
  return `@module-federation/runtime/rspack.js!=!data:text/javascript,${content}`;
12166
- }(paths, this._options, compiler);
12166
+ }(paths, this._options, compiler), asyncStartup = this._options.experiments?.asyncStartup ?? !1;
12167
12167
  new ModuleFederationRuntimePlugin({
12168
12168
  entryRuntime,
12169
12169
  experiments: {
12170
- asyncStartup: this._options.experiments?.asyncStartup ?? !1
12171
- }
12170
+ asyncStartup
12171
+ },
12172
+ asyncStartup
12172
12173
  }).apply(compiler);
12173
12174
  let v1Options = {
12174
12175
  name: this._options.name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-canary/core",
3
- "version": "1.7.1-canary-5eaa0135-20260103025009",
3
+ "version": "1.7.1-canary-becc2931-20260103070024",
4
4
  "webpackVersion": "5.75.0",
5
5
  "license": "MIT",
6
6
  "description": "The fast Rust-based web bundler with webpack-compatible API",
@@ -58,7 +58,7 @@
58
58
  "dependencies": {
59
59
  "@module-federation/runtime-tools": "0.22.0",
60
60
  "@rspack/lite-tapable": "1.1.0",
61
- "@rspack/binding": "npm:@rspack-canary/binding@1.7.1-canary-5eaa0135-20260103025009"
61
+ "@rspack/binding": "npm:@rspack-canary/binding@1.7.1-canary-becc2931-20260103070024"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@swc/helpers": ">=0.5.1"