@rspack/binding 1.4.0 → 1.4.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/binding.d.ts +4 -0
  3. package/package.json +11 -11
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <picture>
2
- <img alt="Rspack Banner" src="https://assets.rspack.dev/rspack/rspack-banner.png">
2
+ <img alt="Rspack Banner" src="https://assets.rspack.rs/rspack/rspack-banner.png">
3
3
  </picture>
4
4
 
5
5
  # @rspack/binding
package/binding.d.ts CHANGED
@@ -1892,6 +1892,8 @@ rspackFuture?: RawRspackFuture
1892
1892
  cache: boolean | { type: "persistent" } & RawExperimentCacheOptionsPersistent | { type: "memory" }
1893
1893
  useInputFileSystem?: false | Array<RegExp>
1894
1894
  inlineConst: boolean
1895
+ inlineEnum: boolean
1896
+ typeReexportsPresence: boolean
1895
1897
  }
1896
1898
 
1897
1899
  export interface RawExperimentSnapshotOptions {
@@ -2606,6 +2608,8 @@ export interface RealDependencyLocation {
2606
2608
  }
2607
2609
 
2608
2610
  /**
2611
+ * this is a process level tracing, which means it would be shared by all compilers in the same process
2612
+ * only the first call would take effect, the following calls would be ignored
2609
2613
  * Some code is modified based on
2610
2614
  * https://github.com/swc-project/swc/blob/d1d0607158ab40463d1b123fed52cc526eba8385/bindings/binding_core_node/src/util.rs#L29-L58
2611
2615
  * Apache-2.0 licensed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/binding",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "license": "MIT",
5
5
  "description": "Node binding for rspack",
6
6
  "main": "binding.js",
@@ -47,16 +47,16 @@
47
47
  }
48
48
  },
49
49
  "optionalDependencies": {
50
- "@rspack/binding-win32-arm64-msvc": "1.4.0",
51
- "@rspack/binding-darwin-arm64": "1.4.0",
52
- "@rspack/binding-linux-arm64-gnu": "1.4.0",
53
- "@rspack/binding-linux-arm64-musl": "1.4.0",
54
- "@rspack/binding-wasm32-wasi": "1.4.0",
55
- "@rspack/binding-darwin-x64": "1.4.0",
56
- "@rspack/binding-win32-x64-msvc": "1.4.0",
57
- "@rspack/binding-win32-ia32-msvc": "1.4.0",
58
- "@rspack/binding-linux-x64-gnu": "1.4.0",
59
- "@rspack/binding-linux-x64-musl": "1.4.0"
50
+ "@rspack/binding-darwin-arm64": "1.4.2",
51
+ "@rspack/binding-win32-arm64-msvc": "1.4.2",
52
+ "@rspack/binding-linux-arm64-gnu": "1.4.2",
53
+ "@rspack/binding-linux-arm64-musl": "1.4.2",
54
+ "@rspack/binding-wasm32-wasi": "1.4.2",
55
+ "@rspack/binding-darwin-x64": "1.4.2",
56
+ "@rspack/binding-win32-ia32-msvc": "1.4.2",
57
+ "@rspack/binding-win32-x64-msvc": "1.4.2",
58
+ "@rspack/binding-linux-x64-gnu": "1.4.2",
59
+ "@rspack/binding-linux-x64-musl": "1.4.2"
60
60
  },
61
61
  "scripts": {
62
62
  "build:dev": "node scripts/build.js",