@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/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(async (data)=>{
959
+ loaderImpl(workerOptions, sendRequest2, waitFor).then((data)=>{
960
960
  workerData.workerPort.postMessage({
961
961
  type: 'done',
962
962
  data
963
963
  });
964
- }).catch(async (err)=>{
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.0",
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.3",
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.0",
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.0"
61
+ "@rspack/binding": "1.7.2"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@swc/helpers": ">=0.5.1"