@rspack-canary/core 1.7.0-canary-8fb5a12e-20251225173433 → 1.7.0-canary-0da65999-20251226173527
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/index.js +6 -6
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5847,7 +5847,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
5847
5847
|
}, applyExperimentsDefaults = (experiments, { development })=>{
|
|
5848
5848
|
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);
|
|
5849
5849
|
}, applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
5850
|
-
'object' == typeof rspackFuture && (D(rspackFuture, 'bundlerInfo', {}), 'object' == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, 'version', "1.7.0-canary-
|
|
5850
|
+
'object' == typeof rspackFuture && (D(rspackFuture, 'bundlerInfo', {}), 'object' == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, 'version', "1.7.0-canary-0da65999-20251226173527"), D(rspackFuture.bundlerInfo, 'bundler', 'rspack'), D(rspackFuture.bundlerInfo, 'force', !library)));
|
|
5851
5851
|
}, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module1, { cache, asyncWebAssembly, css, targetProperties, mode, uniqueName, deferImport })=>{
|
|
5852
5852
|
if (assertNotNill(module1.parser), assertNotNill(module1.generator), cache ? D(module1, 'unsafeCache', /[\\/]node_modules[\\/]/) : D(module1, 'unsafeCache', !1), F(module1.parser, "asset", ()=>({})), assertNotNill(module1.parser.asset), F(module1.parser.asset, 'dataUrlCondition', ()=>({})), 'object' == typeof module1.parser.asset.dataUrlCondition && D(module1.parser.asset.dataUrlCondition, 'maxSize', 8096), F(module1.parser, "javascript", ()=>({})), assertNotNill(module1.parser.javascript), ((parserOptions, { deferImport })=>{
|
|
5853
5853
|
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', [
|
|
@@ -5857,7 +5857,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
5857
5857
|
deferImport
|
|
5858
5858
|
}), F(module1.parser, "json", ()=>({})), assertNotNill(module1.parser.json), D(module1.parser.json, 'exportsDepth', 'development' === mode ? 1 : Number.MAX_SAFE_INTEGER), F(module1.generator, 'json', ()=>({})), assertNotNill(module1.generator.json), D(module1.generator.json, 'JSONParse', !0), css) {
|
|
5859
5859
|
F(module1.parser, 'css', ()=>({})), assertNotNill(module1.parser.css), D(module1.parser.css, 'namedExports', !0), D(module1.parser.css, 'url', !0), F(module1.parser, 'css/auto', ()=>({})), assertNotNill(module1.parser['css/auto']), D(module1.parser['css/auto'], 'namedExports', !0), D(module1.parser['css/auto'], 'url', !0), F(module1.parser, 'css/module', ()=>({})), assertNotNill(module1.parser['css/module']), D(module1.parser['css/module'], 'namedExports', !0), D(module1.parser['css/module'], 'url', !0), F(module1.generator, 'css', ()=>({})), assertNotNill(module1.generator.css), D(module1.generator.css, 'exportsOnly', !targetProperties || !targetProperties.document), D(module1.generator.css, 'esModule', !0), F(module1.generator, 'css/auto', ()=>({})), assertNotNill(module1.generator['css/auto']), D(module1.generator['css/auto'], 'exportsOnly', !targetProperties || !targetProperties.document), D(module1.generator['css/auto'], 'exportsConvention', 'as-is');
|
|
5860
|
-
let localIdentName = uniqueName && uniqueName.length > 0 ? '[uniqueName]-[id]-[local]' : '[id]-[local]';
|
|
5860
|
+
let localIdentName = 'development' === mode ? uniqueName && uniqueName.length > 0 ? '[uniqueName]-[id]-[local]' : '[id]-[local]' : '[fullhash]';
|
|
5861
5861
|
D(module1.generator['css/auto'], 'localIdentName', localIdentName), D(module1.generator['css/auto'], 'esModule', !0), F(module1.generator, 'css/module', ()=>({})), assertNotNill(module1.generator['css/module']), D(module1.generator['css/module'], 'exportsOnly', !targetProperties || !targetProperties.document), D(module1.generator['css/module'], 'exportsConvention', 'as-is'), D(module1.generator['css/module'], 'localIdentName', localIdentName), D(module1.generator['css/module'], 'esModule', !0);
|
|
5862
5862
|
}
|
|
5863
5863
|
A(module1, 'defaultRules', ()=>{
|
|
@@ -7618,7 +7618,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
7618
7618
|
});
|
|
7619
7619
|
}
|
|
7620
7620
|
}
|
|
7621
|
-
let CORE_VERSION = "1.7.0-canary-
|
|
7621
|
+
let CORE_VERSION = "1.7.0-canary-0da65999-20251226173527", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
|
|
7622
7622
|
|
|
7623
7623
|
Help:
|
|
7624
7624
|
Looks like you are using a custom binding (via environment variable 'RSPACK_BINDING=${process.env.RSPACK_BINDING}').
|
|
@@ -8941,7 +8941,7 @@ Help:
|
|
|
8941
8941
|
obj.children = this.stats.map((stat, idx)=>{
|
|
8942
8942
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
|
8943
8943
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
|
8944
|
-
}), childOptions.version && (obj.rspackVersion = "1.7.0-canary-
|
|
8944
|
+
}), childOptions.version && (obj.rspackVersion = "1.7.0-canary-0da65999-20251226173527", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(''));
|
|
8945
8945
|
let mapError = (j, obj)=>({
|
|
8946
8946
|
...obj,
|
|
8947
8947
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
|
@@ -9851,7 +9851,7 @@ Help:
|
|
|
9851
9851
|
object.hash = context.getStatsCompilation(compilation).hash;
|
|
9852
9852
|
},
|
|
9853
9853
|
version: (object)=>{
|
|
9854
|
-
object.version = "5.75.0", object.rspackVersion = "1.7.0-canary-
|
|
9854
|
+
object.version = "5.75.0", object.rspackVersion = "1.7.0-canary-0da65999-20251226173527";
|
|
9855
9855
|
},
|
|
9856
9856
|
env: (object, _compilation, _context, { _env })=>{
|
|
9857
9857
|
object.env = _env;
|
|
@@ -12070,7 +12070,7 @@ Help:
|
|
|
12070
12070
|
let _options = JSON.stringify(options || {});
|
|
12071
12071
|
return binding_default().transform(source, _options);
|
|
12072
12072
|
}
|
|
12073
|
-
let exports_rspackVersion = "1.7.0-canary-
|
|
12073
|
+
let exports_rspackVersion = "1.7.0-canary-0da65999-20251226173527", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
|
|
12074
12074
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
|
12075
12075
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
|
12076
12076
|
getNormalizedWebpackOptions: getNormalizedRspackOptions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/core",
|
|
3
|
-
"version": "1.7.0-canary-
|
|
3
|
+
"version": "1.7.0-canary-0da65999-20251226173527",
|
|
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.0-canary-
|
|
61
|
+
"@rspack/binding": "npm:@rspack-canary/binding@1.7.0-canary-0da65999-20251226173527"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@swc/helpers": ">=0.5.1"
|