@rspack/binding 1.3.6 → 1.3.7

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 -4
  2. package/package.json +10 -10
package/binding.d.ts CHANGED
@@ -77,6 +77,7 @@ export declare class Chunks {
77
77
  }
78
78
 
79
79
  export declare class ConcatenatedModule {
80
+ get rootModule(): Module
80
81
  get modules(): Module[]
81
82
  _originalSource(): JsCompatSource | undefined
82
83
  nameForCondition(): string | undefined
@@ -98,6 +99,7 @@ export declare class ContextModule {
98
99
  }
99
100
 
100
101
  export declare class Dependency {
102
+ get _parentModule(): Module | undefined
101
103
  get type(): string
102
104
  get category(): string
103
105
  get request(): string | undefined
@@ -1513,10 +1515,10 @@ export interface RawCircularDependencyRspackPluginOptions {
1513
1515
  allowAsyncCycles?: boolean
1514
1516
  exclude?: RegExp
1515
1517
  ignoredConnections?: Array<[string | RegExp, string | RegExp]>
1516
- onDetected?: (entrypoint: Module, modules: string[], compilation: JsCompilation) => void
1517
- onIgnored?: (entrypoint: Module, modules: string[], compilation: JsCompilation) => void
1518
- onStart?: (compilation: JsCompilation) => void
1519
- onEnd?: (compilation: JsCompilation) => void
1518
+ onDetected?: (entrypoint: Module, modules: string[]) => void
1519
+ onIgnored?: (entrypoint: Module, modules: string[]) => void
1520
+ onStart?: () => void
1521
+ onEnd?: () => void
1520
1522
  }
1521
1523
 
1522
1524
  export interface RawConsumeOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/binding",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "license": "MIT",
5
5
  "description": "Node binding for rspack",
6
6
  "main": "binding.js",
@@ -48,15 +48,15 @@
48
48
  }
49
49
  },
50
50
  "optionalDependencies": {
51
- "@rspack/binding-darwin-arm64": "1.3.6",
52
- "@rspack/binding-win32-arm64-msvc": "1.3.6",
53
- "@rspack/binding-linux-arm64-musl": "1.3.6",
54
- "@rspack/binding-linux-arm64-gnu": "1.3.6",
55
- "@rspack/binding-win32-ia32-msvc": "1.3.6",
56
- "@rspack/binding-win32-x64-msvc": "1.3.6",
57
- "@rspack/binding-linux-x64-gnu": "1.3.6",
58
- "@rspack/binding-darwin-x64": "1.3.6",
59
- "@rspack/binding-linux-x64-musl": "1.3.6"
51
+ "@rspack/binding-darwin-arm64": "1.3.7",
52
+ "@rspack/binding-linux-arm64-gnu": "1.3.7",
53
+ "@rspack/binding-win32-arm64-msvc": "1.3.7",
54
+ "@rspack/binding-darwin-x64": "1.3.7",
55
+ "@rspack/binding-linux-arm64-musl": "1.3.7",
56
+ "@rspack/binding-win32-ia32-msvc": "1.3.7",
57
+ "@rspack/binding-win32-x64-msvc": "1.3.7",
58
+ "@rspack/binding-linux-x64-gnu": "1.3.7",
59
+ "@rspack/binding-linux-x64-musl": "1.3.7"
60
60
  },
61
61
  "scripts": {
62
62
  "build:dev": "node scripts/build.js",