@rspack/binding 1.7.3 → 1.7.5

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/README.md CHANGED
@@ -12,6 +12,10 @@ Private node binding crate for rspack.
12
12
 
13
13
  See [https://rspack.rs](https://rspack.rs) for details.
14
14
 
15
+ ## Update Wasm binding
16
+
17
+ The generation of `rspack.wasi-browser.js` and `rspack.wasi.js` is disabled by default because `@napi/cli` produces unstable output for these files. To update the Wasm bindings, add `wasm32-wasip1-threads` to the `napi.targets` field in `package.json` before building the project.
18
+
15
19
  ## License
16
20
 
17
21
  Rspack is [MIT licensed](https://github.com/web-infra-dev/rspack/blob/main/LICENSE).
package/napi-binding.d.ts CHANGED
@@ -2477,8 +2477,13 @@ export interface RawModuleFederationManifestPluginOptions {
2477
2477
  buildInfo?: RawStatsBuildInfo
2478
2478
  }
2479
2479
 
2480
+ export interface RawModuleFederationRuntimeExperimentsOptions {
2481
+ asyncStartup?: boolean
2482
+ }
2483
+
2480
2484
  export interface RawModuleFederationRuntimePluginOptions {
2481
2485
  entryRuntime?: string | undefined
2486
+ experiments?: RawModuleFederationRuntimeExperimentsOptions
2482
2487
  }
2483
2488
 
2484
2489
  export interface RawModuleFilenameTemplateFnCtx {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/binding",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
4
4
  "license": "MIT",
5
5
  "description": "Node binding for rspack",
6
6
  "main": "binding.js",
@@ -38,8 +38,7 @@
38
38
  "aarch64-unknown-linux-gnu",
39
39
  "aarch64-apple-darwin",
40
40
  "aarch64-unknown-linux-musl",
41
- "aarch64-pc-windows-msvc",
42
- "wasm32-wasip1-threads"
41
+ "aarch64-pc-windows-msvc"
43
42
  ],
44
43
  "wasm": {
45
44
  "initialMemory": 16384,
@@ -51,16 +50,16 @@
51
50
  }
52
51
  },
53
52
  "optionalDependencies": {
54
- "@rspack/binding-darwin-arm64": "1.7.3",
55
- "@rspack/binding-win32-arm64-msvc": "1.7.3",
56
- "@rspack/binding-linux-arm64-gnu": "1.7.3",
57
- "@rspack/binding-win32-ia32-msvc": "1.7.3",
58
- "@rspack/binding-linux-arm64-musl": "1.7.3",
59
- "@rspack/binding-wasm32-wasi": "1.7.3",
60
- "@rspack/binding-darwin-x64": "1.7.3",
61
- "@rspack/binding-win32-x64-msvc": "1.7.3",
62
- "@rspack/binding-linux-x64-gnu": "1.7.3",
63
- "@rspack/binding-linux-x64-musl": "1.7.3"
53
+ "@rspack/binding-darwin-arm64": "1.7.5",
54
+ "@rspack/binding-linux-arm64-gnu": "1.7.5",
55
+ "@rspack/binding-win32-arm64-msvc": "1.7.5",
56
+ "@rspack/binding-linux-arm64-musl": "1.7.5",
57
+ "@rspack/binding-win32-ia32-msvc": "1.7.5",
58
+ "@rspack/binding-wasm32-wasi": "1.7.5",
59
+ "@rspack/binding-darwin-x64": "1.7.5",
60
+ "@rspack/binding-linux-x64-gnu": "1.7.5",
61
+ "@rspack/binding-win32-x64-msvc": "1.7.5",
62
+ "@rspack/binding-linux-x64-musl": "1.7.5"
64
63
  },
65
64
  "scripts": {
66
65
  "build:dev": "node scripts/build.js",