@rspack-canary/binding 1.7.0-canary-ecf3f75d-20251223084957 → 1.7.0-canary-e20de023-20251223174329
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.
- package/napi-binding.d.ts +12 -10
- package/package.json +11 -11
package/napi-binding.d.ts
CHANGED
|
@@ -326,7 +326,7 @@ export declare class JsCompilation {
|
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
export declare class JsCompiler {
|
|
329
|
-
constructor(compilerPath: string, options: RawOptions, builtinPlugins: Array<BuiltinPlugin>, registerJsTaps: RegisterJsTaps, outputFilesystem: ThreadsafeNodeFS, intermediateFilesystem: ThreadsafeNodeFS | undefined | null, inputFilesystem: ThreadsafeNodeFS | undefined | null, resolverFactoryReference: JsResolverFactory, unsafeFastDrop: boolean)
|
|
329
|
+
constructor(compilerPath: string, options: RawOptions, builtinPlugins: Array<BuiltinPlugin>, registerJsTaps: RegisterJsTaps, outputFilesystem: ThreadsafeNodeFS, intermediateFilesystem: ThreadsafeNodeFS | undefined | null, inputFilesystem: ThreadsafeNodeFS | undefined | null, resolverFactoryReference: JsResolverFactory, unsafeFastDrop: boolean, platform: RawCompilerPlatform)
|
|
330
330
|
setNonSkippableRegisters(kinds: Array<RegisterJsTapKind>): void
|
|
331
331
|
/** Build with the given option passed to the constructor */
|
|
332
332
|
build(callback: (err: null | Error) => void): void
|
|
@@ -334,7 +334,6 @@ 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>
|
|
338
337
|
}
|
|
339
338
|
|
|
340
339
|
export declare class JsContextModuleFactoryAfterResolveData {
|
|
@@ -362,10 +361,6 @@ export declare class JsContextModuleFactoryBeforeResolveData {
|
|
|
362
361
|
set recursive(recursive: boolean)
|
|
363
362
|
}
|
|
364
363
|
|
|
365
|
-
export declare class JsCoordinator {
|
|
366
|
-
constructor(getServerCompilerIdJsFn: () => ExternalObject<CompilerId>)
|
|
367
|
-
}
|
|
368
|
-
|
|
369
364
|
export declare class JsDependencies {
|
|
370
365
|
get fileDependencies(): Array<string>
|
|
371
366
|
get addedFileDependencies(): Array<string>
|
|
@@ -561,7 +556,7 @@ export declare enum BuiltinPluginName {
|
|
|
561
556
|
RealContentHashPlugin = 'RealContentHashPlugin',
|
|
562
557
|
RemoveEmptyChunksPlugin = 'RemoveEmptyChunksPlugin',
|
|
563
558
|
EnsureChunkConditionsPlugin = 'EnsureChunkConditionsPlugin',
|
|
564
|
-
|
|
559
|
+
CaseSensitivePlugin = 'CaseSensitivePlugin',
|
|
565
560
|
DataUriPlugin = 'DataUriPlugin',
|
|
566
561
|
FileUriPlugin = 'FileUriPlugin',
|
|
567
562
|
RuntimePlugin = 'RuntimePlugin',
|
|
@@ -607,9 +602,7 @@ export declare enum BuiltinPluginName {
|
|
|
607
602
|
LazyCompilationPlugin = 'LazyCompilationPlugin',
|
|
608
603
|
ModuleInfoHeaderPlugin = 'ModuleInfoHeaderPlugin',
|
|
609
604
|
HttpUriPlugin = 'HttpUriPlugin',
|
|
610
|
-
CssChunkingPlugin = 'CssChunkingPlugin'
|
|
611
|
-
RscServerPlugin = 'RscServerPlugin',
|
|
612
|
-
RscClientPlugin = 'RscClientPlugin'
|
|
605
|
+
CssChunkingPlugin = 'CssChunkingPlugin'
|
|
613
606
|
}
|
|
614
607
|
|
|
615
608
|
export declare function cleanupGlobalTrace(): void
|
|
@@ -1845,6 +1838,15 @@ export interface RawCircularDependencyRspackPluginOptions {
|
|
|
1845
1838
|
onEnd?: () => void
|
|
1846
1839
|
}
|
|
1847
1840
|
|
|
1841
|
+
export interface RawCompilerPlatform {
|
|
1842
|
+
web?: boolean | null
|
|
1843
|
+
browser?: boolean | null
|
|
1844
|
+
webworker?: boolean | null
|
|
1845
|
+
node?: boolean | null
|
|
1846
|
+
nwjs?: boolean | null
|
|
1847
|
+
electron?: boolean | null
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1848
1850
|
export interface RawConsumeOptions {
|
|
1849
1851
|
key: string
|
|
1850
1852
|
import?: string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/binding",
|
|
3
|
-
"version": "1.7.0-canary-
|
|
3
|
+
"version": "1.7.0-canary-e20de023-20251223174329",
|
|
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-
|
|
55
|
-
"@rspack/binding-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.7.0-canary-
|
|
56
|
-
"@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.7.0-canary-
|
|
57
|
-
"@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.7.0-canary-
|
|
58
|
-
"@rspack/binding-
|
|
59
|
-
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.7.0-canary-
|
|
60
|
-
"@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.7.0-canary-
|
|
61
|
-
"@rspack/binding-linux-
|
|
62
|
-
"@rspack/binding-
|
|
63
|
-
"@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.7.0-canary-
|
|
54
|
+
"@rspack/binding-darwin-arm64": "npm:@rspack-canary/binding-darwin-arm64@1.7.0-canary-e20de023-20251223174329",
|
|
55
|
+
"@rspack/binding-win32-arm64-msvc": "npm:@rspack-canary/binding-win32-arm64-msvc@1.7.0-canary-e20de023-20251223174329",
|
|
56
|
+
"@rspack/binding-linux-arm64-gnu": "npm:@rspack-canary/binding-linux-arm64-gnu@1.7.0-canary-e20de023-20251223174329",
|
|
57
|
+
"@rspack/binding-win32-ia32-msvc": "npm:@rspack-canary/binding-win32-ia32-msvc@1.7.0-canary-e20de023-20251223174329",
|
|
58
|
+
"@rspack/binding-darwin-x64": "npm:@rspack-canary/binding-darwin-x64@1.7.0-canary-e20de023-20251223174329",
|
|
59
|
+
"@rspack/binding-wasm32-wasi": "npm:@rspack-canary/binding-wasm32-wasi@1.7.0-canary-e20de023-20251223174329",
|
|
60
|
+
"@rspack/binding-win32-x64-msvc": "npm:@rspack-canary/binding-win32-x64-msvc@1.7.0-canary-e20de023-20251223174329",
|
|
61
|
+
"@rspack/binding-linux-arm64-musl": "npm:@rspack-canary/binding-linux-arm64-musl@1.7.0-canary-e20de023-20251223174329",
|
|
62
|
+
"@rspack/binding-linux-x64-gnu": "npm:@rspack-canary/binding-linux-x64-gnu@1.7.0-canary-e20de023-20251223174329",
|
|
63
|
+
"@rspack/binding-linux-x64-musl": "npm:@rspack-canary/binding-linux-x64-musl@1.7.0-canary-e20de023-20251223174329"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build:dev": "node scripts/build.js",
|