@rspack/binding 0.0.0-canary-a244b2e → 0.0.0-canary-455b42e

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/binding.d.ts +6 -0
  2. package/package.json +2 -10
package/binding.d.ts CHANGED
@@ -12,6 +12,7 @@ export interface ThreadsafeNodeFS {
12
12
  writeFile: (...args: any[]) => any
13
13
  mkdir: (...args: any[]) => any
14
14
  mkdirp: (...args: any[]) => any
15
+ removeDirAll: (...args: any[]) => any
15
16
  }
16
17
  export interface RawPattern {
17
18
  from: string
@@ -221,6 +222,7 @@ export interface RawModuleRule {
221
222
  resource?: RawRuleSetCondition
222
223
  /** A condition matcher against the resource query. */
223
224
  resourceQuery?: RawRuleSetCondition
225
+ descriptionData?: Record<string, RawRuleSetCondition>
224
226
  sideEffects?: boolean
225
227
  use?: Array<RawModuleRuleUse>
226
228
  type?: string
@@ -310,6 +312,7 @@ export interface RawCrossOriginLoading {
310
312
  }
311
313
  export interface RawOutputOptions {
312
314
  path: string
315
+ clean: boolean
313
316
  publicPath: string
314
317
  assetModuleFilename: string
315
318
  wasmLoading: string
@@ -321,6 +324,7 @@ export interface RawOutputOptions {
321
324
  cssFilename: string
322
325
  cssChunkFilename: string
323
326
  uniqueName: string
327
+ chunkLoadingGlobal: string
324
328
  library?: RawLibraryOptions
325
329
  strictModuleErrorHandling: boolean
326
330
  enabledLibraryTypes?: Array<string>
@@ -528,6 +532,8 @@ export interface JsStatsModuleReason {
528
532
  moduleIdentifier?: string
529
533
  moduleName?: string
530
534
  moduleId?: string
535
+ type?: string
536
+ userRequest?: string
531
537
  }
532
538
  export interface JsStatsChunk {
533
539
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/binding",
3
- "version": "0.0.0-canary-a244b2e",
3
+ "version": "0.0.0-canary-455b42e",
4
4
  "license": "MIT",
5
5
  "description": "Node binding for rspack",
6
6
  "main": "binding.js",
@@ -25,15 +25,7 @@
25
25
  "name": "rspack"
26
26
  },
27
27
  "optionalDependencies": {
28
- "@rspack/binding-darwin-arm64": "0.0.0-canary-a244b2e",
29
- "@rspack/binding-win32-arm64-msvc": "0.0.0-canary-a244b2e",
30
- "@rspack/binding-linux-arm64-gnu": "0.0.0-canary-a244b2e",
31
- "@rspack/binding-linux-arm64-musl": "0.0.0-canary-a244b2e",
32
- "@rspack/binding-win32-ia32-msvc": "0.0.0-canary-a244b2e",
33
- "@rspack/binding-darwin-x64": "0.0.0-canary-a244b2e",
34
- "@rspack/binding-win32-x64-msvc": "0.0.0-canary-a244b2e",
35
- "@rspack/binding-linux-x64-gnu": "0.0.0-canary-a244b2e",
36
- "@rspack/binding-linux-x64-musl": "0.0.0-canary-a244b2e"
28
+ "@rspack/binding-linux-x64-gnu": "0.0.0-canary-455b42e"
37
29
  },
38
30
  "scripts": {
39
31
  "build:debug": "node scripts/build.js",