@rspack/core 1.7.0 → 1.7.2
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/Compilation.d.ts +2 -2
- package/dist/Compiler.d.ts +1 -1
- package/dist/RuntimeModule.d.ts +3 -1
- package/dist/config/target.d.ts +2 -0
- package/dist/config/types.d.ts +7 -0
- package/dist/index.js +3887 -3848
- package/dist/worker.js +2 -2
- package/package.json +4 -4
package/dist/worker.js
CHANGED
|
@@ -956,12 +956,12 @@ for(var __rspack_i in (()=>{
|
|
|
956
956
|
}), sendRequest1), waitFor = (sendRequest = sendRequest2, (requests)=>sendRequest.sync("WaitForPendingRequest", (Array.isArray(requests) ? requests : [
|
|
957
957
|
requests
|
|
958
958
|
]).map((request)=>request.id)));
|
|
959
|
-
loaderImpl(workerOptions, sendRequest2, waitFor).then(
|
|
959
|
+
loaderImpl(workerOptions, sendRequest2, waitFor).then((data)=>{
|
|
960
960
|
workerData.workerPort.postMessage({
|
|
961
961
|
type: 'done',
|
|
962
962
|
data
|
|
963
963
|
});
|
|
964
|
-
}).catch(
|
|
964
|
+
}).catch((err)=>{
|
|
965
965
|
workerData.workerPort.postMessage({
|
|
966
966
|
type: 'done-error',
|
|
967
967
|
error: serializeError(err)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/core",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
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.
|
|
40
|
+
"@ast-grep/napi": "^0.40.4",
|
|
41
41
|
"@napi-rs/wasm-runtime": "1.0.7",
|
|
42
42
|
"@rsbuild/plugin-node-polyfill": "^1.4.2",
|
|
43
|
-
"@rslib/core": "0.19.
|
|
43
|
+
"@rslib/core": "0.19.1",
|
|
44
44
|
"@swc/types": "0.1.25",
|
|
45
45
|
"@types/node": "^20.19.27",
|
|
46
46
|
"@types/watchpack": "^2.4.5",
|
|
@@ -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": "1.7.
|
|
61
|
+
"@rspack/binding": "1.7.2"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@swc/helpers": ">=0.5.1"
|