@rspack-canary/core 1.5.8-canary-e88f22dc-20250928174002 → 1.5.9-canary-740cd963-20250929173807
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.
- package/dist/exports.d.ts +1 -1
- package/dist/index.js +6 -6
- package/package.json +3 -3
package/dist/exports.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export { default as EntryOptionPlugin } from "./lib/EntryOptionPlugin";
|
|
|
56
56
|
export { EnvironmentPlugin } from "./lib/EnvironmentPlugin";
|
|
57
57
|
export { LoaderOptionsPlugin } from "./lib/LoaderOptionsPlugin";
|
|
58
58
|
export { LoaderTargetPlugin } from "./lib/LoaderTargetPlugin";
|
|
59
|
-
export type { OutputFileSystem } from "./util/fs";
|
|
59
|
+
export type { OutputFileSystem, WatchFileSystem } from "./util/fs";
|
|
60
60
|
import { EsmLibraryPlugin, FetchCompileAsyncWasmPlugin, lazyCompilationMiddleware, SubresourceIntegrityPlugin } from "./builtin-plugin";
|
|
61
61
|
interface Web {
|
|
62
62
|
FetchCompileAsyncWasmPlugin: typeof FetchCompileAsyncWasmPlugin;
|
package/dist/index.js
CHANGED
|
@@ -7736,7 +7736,7 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
|
|
|
7736
7736
|
module: options?.minimizerOptions?.module
|
|
7737
7737
|
}
|
|
7738
7738
|
};
|
|
7739
|
-
}, "compilation"), URLPlugin = (0, builtin_plugin_base.vt)(binding_.BuiltinPluginName.URLPlugin, ()=>{}), WarnCaseSensitiveModulesPlugin = (0, builtin_plugin_base.vt)(binding_.BuiltinPluginName.WarnCaseSensitiveModulesPlugin, ()=>{}, "compilation");
|
|
7739
|
+
}, "compilation"), URLPlugin = (0, builtin_plugin_base.vt)(binding_.BuiltinPluginName.URLPlugin, ()=>{}, "compilation"), WarnCaseSensitiveModulesPlugin = (0, builtin_plugin_base.vt)(binding_.BuiltinPluginName.WarnCaseSensitiveModulesPlugin, ()=>{}, "compilation");
|
|
7740
7740
|
class WebWorkerTemplatePlugin extends builtin_plugin_base.Xj {
|
|
7741
7741
|
name = binding_.BuiltinPluginName.WebWorkerTemplatePlugin;
|
|
7742
7742
|
raw(compiler) {
|
|
@@ -8670,7 +8670,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
8670
8670
|
}, applyExperimentsDefaults = (experiments, { development })=>{
|
|
8671
8671
|
defaults_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, "layers", !1), !1 === experiments.topLevelAwait && console.warn("`experiments.topLevelAwait` config has been deprecated and will be removed in Rspack v2.0. Top-level await will be always enabled. Please remove this option from your Rspack configuration."), D(experiments, "topLevelAwait", !0), 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, "parallelCodeSplitting", !1), D(experiments, "parallelLoader", !1), D(experiments, "useInputFileSystem", !1), D(experiments, "inlineConst", !1), D(experiments, "inlineEnum", !1), D(experiments, "typeReexportsPresence", !1), D(experiments, "lazyBarrel", !1);
|
|
8672
8672
|
}, applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
8673
|
-
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.5.
|
|
8673
|
+
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.5.9-canary-740cd963-20250929173807"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
|
|
8674
8674
|
}, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module, { asyncWebAssembly, css, targetProperties, mode, uniqueName, usedExports, inlineConst })=>{
|
|
8675
8675
|
if (assertNotNill(module.parser), assertNotNill(module.generator), defaults_F(module.parser, "asset", ()=>({})), assertNotNill(module.parser.asset), defaults_F(module.parser.asset, "dataUrlCondition", ()=>({})), "object" == typeof module.parser.asset.dataUrlCondition && D(module.parser.asset.dataUrlCondition, "maxSize", 8096), defaults_F(module.parser, "javascript", ()=>({})), assertNotNill(module.parser.javascript), ((parserOptions, { usedExports, inlineConst })=>{
|
|
8676
8676
|
D(parserOptions, "dynamicImportMode", "lazy"), D(parserOptions, "dynamicImportPrefetch", !1), D(parserOptions, "dynamicImportPreload", !1), D(parserOptions, "url", !0), D(parserOptions, "exprContextCritical", !0), D(parserOptions, "unknownContextCritical", !0), D(parserOptions, "wrappedContextCritical", !1), D(parserOptions, "wrappedContextRegExp", /.*/), D(parserOptions, "strictExportPresence", !1), D(parserOptions, "requireAsExpression", !0), D(parserOptions, "requireDynamic", !0), D(parserOptions, "requireResolve", !0), D(parserOptions, "commonjs", !0), D(parserOptions, "importDynamic", !0), D(parserOptions, "worker", [
|
|
@@ -10314,7 +10314,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
10314
10314
|
});
|
|
10315
10315
|
}
|
|
10316
10316
|
}
|
|
10317
|
-
let CORE_VERSION = "1.5.
|
|
10317
|
+
let CORE_VERSION = "1.5.9-canary-740cd963-20250929173807", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
|
|
10318
10318
|
|
|
10319
10319
|
Help:
|
|
10320
10320
|
Looks like you are using a custom binding (via environment variable 'RSPACK_BINDING=${process.env.RSPACK_BINDING}').
|
|
@@ -11598,7 +11598,7 @@ Help:
|
|
|
11598
11598
|
obj.children = this.stats.map((stat, idx)=>{
|
|
11599
11599
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
|
11600
11600
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
|
11601
|
-
}), childOptions.version && (obj.rspackVersion = "1.5.
|
|
11601
|
+
}), childOptions.version && (obj.rspackVersion = "1.5.9-canary-740cd963-20250929173807", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
|
|
11602
11602
|
let mapError = (j, obj)=>({
|
|
11603
11603
|
...obj,
|
|
11604
11604
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
|
@@ -12495,7 +12495,7 @@ Help:
|
|
|
12495
12495
|
object.hash = context.getStatsCompilation(compilation).hash;
|
|
12496
12496
|
},
|
|
12497
12497
|
version: (object)=>{
|
|
12498
|
-
object.version = "5.75.0", object.rspackVersion = "1.5.
|
|
12498
|
+
object.version = "5.75.0", object.rspackVersion = "1.5.9-canary-740cd963-20250929173807";
|
|
12499
12499
|
},
|
|
12500
12500
|
env: (object, _compilation, _context, { _env })=>{
|
|
12501
12501
|
object.env = _env;
|
|
@@ -15820,7 +15820,7 @@ Help:
|
|
|
15820
15820
|
let _options = JSON.stringify(options || {});
|
|
15821
15821
|
return binding_default().transform(source, _options);
|
|
15822
15822
|
}
|
|
15823
|
-
let exports_rspackVersion = "1.5.
|
|
15823
|
+
let exports_rspackVersion = "1.5.9-canary-740cd963-20250929173807", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
|
|
15824
15824
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
|
15825
15825
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
|
15826
15826
|
getNormalizedWebpackOptions: getNormalizedRspackOptions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/core",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.9-canary-740cd963-20250929173807",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"zod-validation-error": "3.5.3"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@module-federation/runtime-tools": "0.
|
|
61
|
+
"@module-federation/runtime-tools": "0.19.1",
|
|
62
62
|
"@rspack/lite-tapable": "1.0.1",
|
|
63
|
-
"@rspack/binding": "npm:@rspack-canary/binding@1.5.
|
|
63
|
+
"@rspack/binding": "npm:@rspack-canary/binding@1.5.9-canary-740cd963-20250929173807"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@swc/helpers": ">=0.5.1"
|