@rspack/binding 2.0.0-beta.8 → 2.0.0-beta.9

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 (2) hide show
  1. package/napi-binding.d.ts +27 -22
  2. package/package.json +13 -12
package/napi-binding.d.ts CHANGED
@@ -2426,33 +2426,34 @@ export interface RawJavascriptParserOptions {
2426
2426
  worker?: Array<string>
2427
2427
  overrideStrict?: string
2428
2428
  importMeta?: string
2429
- /**
2430
- * This option is experimental in Rspack only and subject to change or be removed anytime.
2431
- * @experimental
2432
- */
2433
- requireAlias?: boolean
2434
- /**
2435
- * This option is experimental in Rspack only and subject to change or be removed anytime.
2436
- * @experimental
2437
- */
2438
- requireAsExpression?: boolean
2439
- /**
2440
- * This option is experimental in Rspack only and subject to change or be removed anytime.
2441
- * @experimental
2442
- */
2443
- requireDynamic?: boolean
2444
- /**
2445
- * This option is experimental in Rspack only and subject to change or be removed anytime.
2446
- * @experimental
2447
- */
2448
- requireResolve?: boolean
2429
+ commonjsMagicComments?: boolean
2449
2430
  commonjs?: boolean | { exports?: boolean | 'skipInEsm' }
2431
+ deferImport?: boolean
2432
+ /**
2433
+ * This option is experimental in Rspack only and subject to change or be removed anytime.
2434
+ * @experimental
2435
+ */
2436
+ requireAlias?: boolean
2437
+ /**
2438
+ * This option is experimental in Rspack only and subject to change or be removed anytime.
2439
+ * @experimental
2440
+ */
2441
+ requireAsExpression?: boolean
2442
+ /**
2443
+ * This option is experimental in Rspack only and subject to change or be removed anytime.
2444
+ * @experimental
2445
+ */
2446
+ requireDynamic?: boolean
2447
+ /**
2448
+ * This option is experimental in Rspack only and subject to change or be removed anytime.
2449
+ * @experimental
2450
+ */
2451
+ requireResolve?: boolean
2450
2452
  /**
2451
2453
  * This option is experimental in Rspack only and subject to change or be removed anytime.
2452
2454
  * @experimental
2453
2455
  */
2454
2456
  importDynamic?: boolean
2455
- commonjsMagicComments?: boolean
2456
2457
  /**
2457
2458
  * This option is experimental in Rspack only and subject to change or be removed anytime.
2458
2459
  * @experimental
@@ -2463,7 +2464,11 @@ typeReexportsPresence?: string
2463
2464
  * @experimental
2464
2465
  */
2465
2466
  jsx?: boolean
2466
- deferImport?: boolean
2467
+ /**
2468
+ * This option is experimental in Rspack only and subject to change or be removed anytime.
2469
+ * @experimental
2470
+ */
2471
+ importMetaResolve?: boolean
2467
2472
  }
2468
2473
 
2469
2474
  export interface RawJsonGeneratorOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/binding",
3
- "version": "2.0.0-beta.8",
3
+ "version": "2.0.0-beta.9",
4
4
  "license": "MIT",
5
5
  "description": "Node binding for rspack",
6
6
  "main": "binding.js",
@@ -19,10 +19,11 @@
19
19
  "bugs": "https://github.com/web-infra-dev/rspack/issues",
20
20
  "repository": "web-infra-dev/rspack",
21
21
  "devDependencies": {
22
+ "@types/node": "^20.19.37",
22
23
  "@napi-rs/cli": "3.5.1",
23
24
  "@napi-rs/wasm-runtime": "1.1.1",
24
25
  "emnapi": "1.8.1",
25
- "typescript": "^5.9.3"
26
+ "typescript": "^6.0.2"
26
27
  },
27
28
  "napi": {
28
29
  "binaryName": "rspack",
@@ -50,16 +51,16 @@
50
51
  }
51
52
  },
52
53
  "optionalDependencies": {
53
- "@rspack/binding-darwin-arm64": "2.0.0-beta.8",
54
- "@rspack/binding-win32-arm64-msvc": "2.0.0-beta.8",
55
- "@rspack/binding-linux-arm64-gnu": "2.0.0-beta.8",
56
- "@rspack/binding-linux-arm64-musl": "2.0.0-beta.8",
57
- "@rspack/binding-win32-x64-msvc": "2.0.0-beta.8",
58
- "@rspack/binding-linux-x64-gnu": "2.0.0-beta.8",
59
- "@rspack/binding-darwin-x64": "2.0.0-beta.8",
60
- "@rspack/binding-linux-x64-musl": "2.0.0-beta.8",
61
- "@rspack/binding-wasm32-wasi": "2.0.0-beta.8",
62
- "@rspack/binding-win32-ia32-msvc": "2.0.0-beta.8"
54
+ "@rspack/binding-darwin-arm64": "2.0.0-beta.9",
55
+ "@rspack/binding-win32-arm64-msvc": "2.0.0-beta.9",
56
+ "@rspack/binding-linux-arm64-gnu": "2.0.0-beta.9",
57
+ "@rspack/binding-linux-arm64-musl": "2.0.0-beta.9",
58
+ "@rspack/binding-win32-ia32-msvc": "2.0.0-beta.9",
59
+ "@rspack/binding-wasm32-wasi": "2.0.0-beta.9",
60
+ "@rspack/binding-darwin-x64": "2.0.0-beta.9",
61
+ "@rspack/binding-win32-x64-msvc": "2.0.0-beta.9",
62
+ "@rspack/binding-linux-x64-gnu": "2.0.0-beta.9",
63
+ "@rspack/binding-linux-x64-musl": "2.0.0-beta.9"
63
64
  },
64
65
  "scripts": {
65
66
  "build:dev": "node scripts/build.js",