@rspack-canary/binding 1.7.0-canary-be5d0ef3-20251222175046 → 1.7.0-canary-ecf3f75d-20251223084957

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 +8 -1
  2. package/package.json +11 -11
package/napi-binding.d.ts CHANGED
@@ -334,6 +334,7 @@ export declare class JsCompiler {
334
334
  rebuild(changed_files: string[], removed_files: string[], callback: (err: null | Error) => void): void
335
335
  close(): Promise<void>
336
336
  getVirtualFileStore(): VirtualFileStore | null
337
+ getCompilerId(): ExternalObject<CompilerId>
337
338
  }
338
339
 
339
340
  export declare class JsContextModuleFactoryAfterResolveData {
@@ -361,6 +362,10 @@ export declare class JsContextModuleFactoryBeforeResolveData {
361
362
  set recursive(recursive: boolean)
362
363
  }
363
364
 
365
+ export declare class JsCoordinator {
366
+ constructor(getServerCompilerIdJsFn: () => ExternalObject<CompilerId>)
367
+ }
368
+
364
369
  export declare class JsDependencies {
365
370
  get fileDependencies(): Array<string>
366
371
  get addedFileDependencies(): Array<string>
@@ -602,7 +607,9 @@ export declare enum BuiltinPluginName {
602
607
  LazyCompilationPlugin = 'LazyCompilationPlugin',
603
608
  ModuleInfoHeaderPlugin = 'ModuleInfoHeaderPlugin',
604
609
  HttpUriPlugin = 'HttpUriPlugin',
605
- CssChunkingPlugin = 'CssChunkingPlugin'
610
+ CssChunkingPlugin = 'CssChunkingPlugin',
611
+ RscServerPlugin = 'RscServerPlugin',
612
+ RscClientPlugin = 'RscClientPlugin'
606
613
  }
607
614
 
608
615
  export declare function cleanupGlobalTrace(): void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-canary/binding",
3
- "version": "1.7.0-canary-be5d0ef3-20251222175046",
3
+ "version": "1.7.0-canary-ecf3f75d-20251223084957",
4
4
  "license": "MIT",
5
5
  "description": "Node binding for rspack",
6
6
  "main": "binding.js",
@@ -51,16 +51,16 @@
51
51
  }
52
52
  },
53
53
  "optionalDependencies": {
54
- "@rspack/binding-darwin-arm64": "npm:@rspack-canary/binding-darwin-arm64@1.7.0-canary-be5d0ef3-20251222175046",
55
- "@rspack/binding-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.7.0-canary-be5d0ef3-20251222175046",
56
- "@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.7.0-canary-be5d0ef3-20251222175046",
57
- "@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.7.0-canary-be5d0ef3-20251222175046",
58
- "@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.7.0-canary-be5d0ef3-20251222175046",
59
- "@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.7.0-canary-be5d0ef3-20251222175046",
60
- "@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.7.0-canary-be5d0ef3-20251222175046",
61
- "@rspack/binding-darwin-x64": "npm:@rspack-canary/binding-darwin-x64@1.7.0-canary-be5d0ef3-20251222175046",
62
- "@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.7.0-canary-be5d0ef3-20251222175046",
63
- "@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.7.0-canary-be5d0ef3-20251222175046"
54
+ "@rspack/binding-darwin-arm64": "npm:@rspack-canary/binding-darwin-arm64@1.7.0-canary-ecf3f75d-20251223084957",
55
+ "@rspack/binding-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.7.0-canary-ecf3f75d-20251223084957",
56
+ "@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.7.0-canary-ecf3f75d-20251223084957",
57
+ "@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.7.0-canary-ecf3f75d-20251223084957",
58
+ "@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.7.0-canary-ecf3f75d-20251223084957",
59
+ "@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.7.0-canary-ecf3f75d-20251223084957",
60
+ "@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.7.0-canary-ecf3f75d-20251223084957",
61
+ "@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.7.0-canary-ecf3f75d-20251223084957",
62
+ "@rspack/binding-darwin-x64": "npm:@rspack-canary/binding-darwin-x64@1.7.0-canary-ecf3f75d-20251223084957",
63
+ "@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.7.0-canary-ecf3f75d-20251223084957"
64
64
  },
65
65
  "scripts": {
66
66
  "build:dev": "node scripts/build.js",