@rspack-canary/core 1.6.6-canary-0ca7752a-20251125174427 → 1.6.6-canary-5795e26c-20251126174205
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 +5 -5
- package/dist/worker.js +5 -5
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -5752,7 +5752,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
5752
5752
|
}, applyExperimentsDefaults = (experiments, { development })=>{
|
|
5753
5753
|
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, "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", !0);
|
|
5754
5754
|
}, applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
5755
|
-
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.6.6-canary-
|
|
5755
|
+
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.6.6-canary-5795e26c-20251126174205"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
|
|
5756
5756
|
}, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module1, { cache, asyncWebAssembly, css, targetProperties, mode, uniqueName, usedExports, inlineConst, deferImport })=>{
|
|
5757
5757
|
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, { usedExports, inlineConst, deferImport })=>{
|
|
5758
5758
|
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", [
|
|
@@ -7402,7 +7402,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
7402
7402
|
});
|
|
7403
7403
|
}
|
|
7404
7404
|
}
|
|
7405
|
-
let CORE_VERSION = "1.6.6-canary-
|
|
7405
|
+
let CORE_VERSION = "1.6.6-canary-5795e26c-20251126174205", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
|
|
7406
7406
|
|
|
7407
7407
|
Help:
|
|
7408
7408
|
Looks like you are using a custom binding (via environment variable 'RSPACK_BINDING=${process.env.RSPACK_BINDING}').
|
|
@@ -8702,7 +8702,7 @@ Help:
|
|
|
8702
8702
|
obj.children = this.stats.map((stat, idx)=>{
|
|
8703
8703
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
|
8704
8704
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
|
8705
|
-
}), childOptions.version && (obj.rspackVersion = "1.6.6-canary-
|
|
8705
|
+
}), childOptions.version && (obj.rspackVersion = "1.6.6-canary-5795e26c-20251126174205", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
|
|
8706
8706
|
let mapError = (j, obj)=>({
|
|
8707
8707
|
...obj,
|
|
8708
8708
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
|
@@ -9601,7 +9601,7 @@ Help:
|
|
|
9601
9601
|
object.hash = context.getStatsCompilation(compilation).hash;
|
|
9602
9602
|
},
|
|
9603
9603
|
version: (object)=>{
|
|
9604
|
-
object.version = "5.75.0", object.rspackVersion = "1.6.6-canary-
|
|
9604
|
+
object.version = "5.75.0", object.rspackVersion = "1.6.6-canary-5795e26c-20251126174205";
|
|
9605
9605
|
},
|
|
9606
9606
|
env: (object, _compilation, _context, { _env })=>{
|
|
9607
9607
|
object.env = _env;
|
|
@@ -11820,7 +11820,7 @@ Help:
|
|
|
11820
11820
|
let _options = JSON.stringify(options || {});
|
|
11821
11821
|
return binding_default().transform(source, _options);
|
|
11822
11822
|
}
|
|
11823
|
-
let exports_rspackVersion = "1.6.6-canary-
|
|
11823
|
+
let exports_rspackVersion = "1.6.6-canary-5795e26c-20251126174205", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
|
|
11824
11824
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
|
11825
11825
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
|
11826
11826
|
getNormalizedWebpackOptions: getNormalizedRspackOptions,
|
package/dist/worker.js
CHANGED
|
@@ -7,22 +7,22 @@ var __webpack_modules__ = {
|
|
|
7
7
|
transform: ()=>transform,
|
|
8
8
|
transformSync: ()=>transformSync
|
|
9
9
|
});
|
|
10
|
-
var
|
|
10
|
+
var _rspack_binding__rspack_import_0 = __webpack_require__("@rspack/binding"), _rspack_binding__rspack_import_0_default = __webpack_require__.n(_rspack_binding__rspack_import_0);
|
|
11
11
|
async function minify(source, options) {
|
|
12
12
|
let _options = JSON.stringify(options || {});
|
|
13
|
-
return
|
|
13
|
+
return _rspack_binding__rspack_import_0_default().minify(source, _options);
|
|
14
14
|
}
|
|
15
15
|
function minifySync(source, options) {
|
|
16
16
|
let _options = JSON.stringify(options || {});
|
|
17
|
-
return
|
|
17
|
+
return _rspack_binding__rspack_import_0_default().minifySync(source, _options);
|
|
18
18
|
}
|
|
19
19
|
async function transform(source, options) {
|
|
20
20
|
let _options = JSON.stringify(options || {});
|
|
21
|
-
return
|
|
21
|
+
return _rspack_binding__rspack_import_0_default().transform(source, _options);
|
|
22
22
|
}
|
|
23
23
|
function transformSync(source, options) {
|
|
24
24
|
let _options = JSON.stringify(options || {});
|
|
25
|
-
return
|
|
25
|
+
return _rspack_binding__rspack_import_0_default().transformSync(source, _options);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"./src/util/cleverMerge.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/core",
|
|
3
|
-
"version": "1.6.6-canary-
|
|
3
|
+
"version": "1.6.6-canary-5795e26c-20251126174205",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"directory": "packages/rspack"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@ast-grep/napi": "^0.
|
|
40
|
+
"@ast-grep/napi": "^0.40.0",
|
|
41
41
|
"@napi-rs/wasm-runtime": "1.0.7",
|
|
42
42
|
"@rsbuild/plugin-node-polyfill": "^1.4.2",
|
|
43
|
-
"@rslib/core": "0.18.
|
|
43
|
+
"@rslib/core": "0.18.2",
|
|
44
44
|
"@swc/types": "0.1.25",
|
|
45
45
|
"@types/node": "^20.19.25",
|
|
46
46
|
"@types/watchpack": "^2.4.5",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"webpack-sources": "3.3.3"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@module-federation/runtime-tools": "0.21.
|
|
59
|
+
"@module-federation/runtime-tools": "0.21.6",
|
|
60
60
|
"@rspack/lite-tapable": "1.1.0",
|
|
61
|
-
"@rspack/binding": "npm:@rspack-canary/binding@1.6.6-canary-
|
|
61
|
+
"@rspack/binding": "npm:@rspack-canary/binding@1.6.6-canary-5795e26c-20251126174205"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@swc/helpers": ">=0.5.1"
|