@rspack/binding 1.4.5 → 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 +8 -0
- package/package.json +11 -11
package/binding.d.ts
CHANGED
|
@@ -564,6 +564,12 @@ export interface CssChunkingPluginOptions {
|
|
|
564
564
|
exclude?: RegExp
|
|
565
565
|
}
|
|
566
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
|
+
|
|
567
573
|
export declare function formatDiagnostic(diagnostic: JsDiagnostic): ExternalObject<'Diagnostic'>
|
|
568
574
|
|
|
569
575
|
export interface JsAddingRuntimeModule {
|
|
@@ -1490,6 +1496,7 @@ export interface NodeFsStats {
|
|
|
1490
1496
|
ctimeMs: number
|
|
1491
1497
|
birthtimeMs: number
|
|
1492
1498
|
size: number
|
|
1499
|
+
mode: number
|
|
1493
1500
|
}
|
|
1494
1501
|
|
|
1495
1502
|
export interface PathWithInfo {
|
|
@@ -2764,6 +2771,7 @@ export interface ThreadsafeNodeFS {
|
|
|
2764
2771
|
read: (fd: number, length: number, position: number) => Promise<Buffer | void>
|
|
2765
2772
|
readUntil: (fd: number, code: number, position: number) => Promise<Buffer | void>
|
|
2766
2773
|
readToEnd: (fd: number, position: number) => Promise<Buffer | void>
|
|
2774
|
+
chmod?: (name: string, mode: number) => Promise<void>
|
|
2767
2775
|
}
|
|
2768
2776
|
|
|
2769
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-
|
|
53
|
-
"@rspack/binding-linux-arm64-musl": "1.4.
|
|
54
|
-
"@rspack/binding-win32-ia32-msvc": "1.4.
|
|
55
|
-
"@rspack/binding-
|
|
56
|
-
"@rspack/binding-
|
|
57
|
-
"@rspack/binding-
|
|
58
|
-
"@rspack/binding-
|
|
59
|
-
"@rspack/binding-linux-x64-
|
|
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",
|