@rspack/binding 1.4.4 → 1.4.6
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/binding.d.ts +9 -0
- package/package.json +11 -11
package/binding.d.ts
CHANGED
|
@@ -317,6 +317,7 @@ export declare class JsCompilation {
|
|
|
317
317
|
addEntry(args: [string, EntryDependency, JsEntryOptions | undefined][], callback: (errMsg: Error | null, results: [string | null, Module][]) => void): void
|
|
318
318
|
addInclude(args: [string, EntryDependency, JsEntryOptions | undefined][], callback: (errMsg: Error | null, results: [string | null, Module][]) => void): void
|
|
319
319
|
get codeGenerationResults(): CodeGenerationResults
|
|
320
|
+
createStatsWarnings(warnings: Array<RspackError>, colored?: boolean | undefined | null): JsStatsError[]
|
|
320
321
|
}
|
|
321
322
|
|
|
322
323
|
export declare class JsCompiler {
|
|
@@ -563,6 +564,12 @@ export interface CssChunkingPluginOptions {
|
|
|
563
564
|
exclude?: RegExp
|
|
564
565
|
}
|
|
565
566
|
|
|
567
|
+
/**
|
|
568
|
+
* Expected version of @rspack/core to the current binding version
|
|
569
|
+
* @internal
|
|
570
|
+
*/
|
|
571
|
+
export const EXPECTED_RSPACK_CORE_VERSION: string
|
|
572
|
+
|
|
566
573
|
export declare function formatDiagnostic(diagnostic: JsDiagnostic): ExternalObject<'Diagnostic'>
|
|
567
574
|
|
|
568
575
|
export interface JsAddingRuntimeModule {
|
|
@@ -1489,6 +1496,7 @@ export interface NodeFsStats {
|
|
|
1489
1496
|
ctimeMs: number
|
|
1490
1497
|
birthtimeMs: number
|
|
1491
1498
|
size: number
|
|
1499
|
+
mode: number
|
|
1492
1500
|
}
|
|
1493
1501
|
|
|
1494
1502
|
export interface PathWithInfo {
|
|
@@ -2763,6 +2771,7 @@ export interface ThreadsafeNodeFS {
|
|
|
2763
2771
|
read: (fd: number, length: number, position: number) => Promise<Buffer | void>
|
|
2764
2772
|
readUntil: (fd: number, code: number, position: number) => Promise<Buffer | void>
|
|
2765
2773
|
readToEnd: (fd: number, position: number) => Promise<Buffer | void>
|
|
2774
|
+
chmod?: (name: string, mode: number) => Promise<void>
|
|
2766
2775
|
}
|
|
2767
2776
|
|
|
2768
2777
|
export declare function transform(source: string, options: string): Promise<TransformOutput>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/binding",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Node binding for rspack",
|
|
6
6
|
"main": "binding.js",
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"optionalDependencies": {
|
|
50
|
-
"@rspack/binding-
|
|
51
|
-
"@rspack/binding-
|
|
52
|
-
"@rspack/binding-win32-
|
|
53
|
-
"@rspack/binding-linux-arm64-musl": "1.4.
|
|
54
|
-
"@rspack/binding-
|
|
55
|
-
"@rspack/binding-
|
|
56
|
-
"@rspack/binding-
|
|
57
|
-
"@rspack/binding-
|
|
58
|
-
"@rspack/binding-
|
|
59
|
-
"@rspack/binding-linux-x64-musl": "1.4.
|
|
50
|
+
"@rspack/binding-darwin-arm64": "1.4.6",
|
|
51
|
+
"@rspack/binding-linux-arm64-gnu": "1.4.6",
|
|
52
|
+
"@rspack/binding-win32-arm64-msvc": "1.4.6",
|
|
53
|
+
"@rspack/binding-linux-arm64-musl": "1.4.6",
|
|
54
|
+
"@rspack/binding-win32-ia32-msvc": "1.4.6",
|
|
55
|
+
"@rspack/binding-wasm32-wasi": "1.4.6",
|
|
56
|
+
"@rspack/binding-darwin-x64": "1.4.6",
|
|
57
|
+
"@rspack/binding-linux-x64-gnu": "1.4.6",
|
|
58
|
+
"@rspack/binding-win32-x64-msvc": "1.4.6",
|
|
59
|
+
"@rspack/binding-linux-x64-musl": "1.4.6"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build:dev": "node scripts/build.js",
|