@rspack/binding 2.0.0-rc.1 → 2.0.0-rc.3
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 +4 -12
- package/package.json +13 -13
package/napi-binding.d.ts
CHANGED
|
@@ -549,7 +549,6 @@ export declare enum BuiltinPluginName {
|
|
|
549
549
|
HotModuleReplacementPlugin = 'HotModuleReplacementPlugin',
|
|
550
550
|
LimitChunkCountPlugin = 'LimitChunkCountPlugin',
|
|
551
551
|
WorkerPlugin = 'WorkerPlugin',
|
|
552
|
-
WebWorkerTemplatePlugin = 'WebWorkerTemplatePlugin',
|
|
553
552
|
MergeDuplicateChunksPlugin = 'MergeDuplicateChunksPlugin',
|
|
554
553
|
SplitChunksPlugin = 'SplitChunksPlugin',
|
|
555
554
|
RemoveDuplicateModulesPlugin = 'RemoveDuplicateModulesPlugin',
|
|
@@ -732,7 +731,7 @@ export interface JsBeforeModuleIdsArg {
|
|
|
732
731
|
}
|
|
733
732
|
|
|
734
733
|
export interface JsBeforeModuleIdsResult {
|
|
735
|
-
assignments: Record<string, string>
|
|
734
|
+
assignments: Record<string, string | number>
|
|
736
735
|
}
|
|
737
736
|
|
|
738
737
|
export interface JsBuildMeta {
|
|
@@ -740,15 +739,11 @@ export interface JsBuildMeta {
|
|
|
740
739
|
hasTopLevelAwait?: boolean
|
|
741
740
|
esm?: boolean
|
|
742
741
|
exportsType?: undefined | 'unset' | 'default' | 'namespace' | 'flagged' | 'dynamic'
|
|
743
|
-
defaultObject?: undefined | 'false' | 'redirect' |
|
|
742
|
+
defaultObject?: undefined | 'false' | 'redirect' | 'redirect-warn'
|
|
744
743
|
sideEffectFree?: boolean
|
|
745
744
|
exportsFinalName?: Array<[string, string]> | undefined
|
|
746
745
|
}
|
|
747
746
|
|
|
748
|
-
export interface JsBuildMetaDefaultObjectRedirectWarn {
|
|
749
|
-
redirectWarn: JsDefaultObjectRedirectWarnObject
|
|
750
|
-
}
|
|
751
|
-
|
|
752
747
|
export interface JsBuildTimeExecutionOption {
|
|
753
748
|
publicPath?: string
|
|
754
749
|
baseUri?: string
|
|
@@ -810,10 +805,6 @@ export interface JsCreateScriptData {
|
|
|
810
805
|
chunk: Chunk
|
|
811
806
|
}
|
|
812
807
|
|
|
813
|
-
export interface JsDefaultObjectRedirectWarnObject {
|
|
814
|
-
ignore: boolean
|
|
815
|
-
}
|
|
816
|
-
|
|
817
808
|
export interface JsDiagnostic {
|
|
818
809
|
message: string
|
|
819
810
|
help?: string
|
|
@@ -1893,6 +1884,7 @@ export interface RawCacheGroupOptions {
|
|
|
1893
1884
|
minChunks?: number
|
|
1894
1885
|
minSize?: number | RawSplitChunkSizes
|
|
1895
1886
|
minSizeReduction?: number | RawSplitChunkSizes
|
|
1887
|
+
enforceSizeThreshold?: number | RawSplitChunkSizes
|
|
1896
1888
|
maxSize?: number | RawSplitChunkSizes
|
|
1897
1889
|
maxAsyncSize?: number | RawSplitChunkSizes
|
|
1898
1890
|
maxInitialSize?: number | RawSplitChunkSizes
|
|
@@ -3008,7 +3000,7 @@ export interface RawSplitChunksOptions {
|
|
|
3008
3000
|
hidePathInfo?: boolean
|
|
3009
3001
|
minSize?: number | RawSplitChunkSizes
|
|
3010
3002
|
minSizeReduction?: number | RawSplitChunkSizes
|
|
3011
|
-
enforceSizeThreshold?: number
|
|
3003
|
+
enforceSizeThreshold?: number | RawSplitChunkSizes
|
|
3012
3004
|
minRemainingSize?: number | RawSplitChunkSizes
|
|
3013
3005
|
maxSize?: number | RawSplitChunkSizes
|
|
3014
3006
|
maxAsyncSize?: number | RawSplitChunkSizes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/binding",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Node binding for rspack",
|
|
6
6
|
"main": "binding.js",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@emnapi/core": "1.9.2",
|
|
23
23
|
"@emnapi/runtime": "1.9.2",
|
|
24
|
-
"@napi-rs/cli": "3.6.
|
|
25
|
-
"@napi-rs/wasm-runtime": "1.1.
|
|
24
|
+
"@napi-rs/cli": "3.6.1",
|
|
25
|
+
"@napi-rs/wasm-runtime": "1.1.3",
|
|
26
26
|
"@types/node": "^20.19.39",
|
|
27
27
|
"emnapi": "1.9.2",
|
|
28
28
|
"typescript": "^6.0.2"
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"@rspack/binding-
|
|
58
|
-
"@rspack/binding-linux-arm64-gnu": "2.0.0-rc.
|
|
59
|
-
"@rspack/binding-
|
|
60
|
-
"@rspack/binding-
|
|
61
|
-
"@rspack/binding-
|
|
62
|
-
"@rspack/binding-
|
|
63
|
-
"@rspack/binding-
|
|
64
|
-
"@rspack/binding-
|
|
65
|
-
"@rspack/binding-
|
|
66
|
-
"@rspack/binding-linux-x64-
|
|
57
|
+
"@rspack/binding-win32-arm64-msvc": "2.0.0-rc.3",
|
|
58
|
+
"@rspack/binding-linux-arm64-gnu": "2.0.0-rc.3",
|
|
59
|
+
"@rspack/binding-linux-arm64-musl": "2.0.0-rc.3",
|
|
60
|
+
"@rspack/binding-win32-ia32-msvc": "2.0.0-rc.3",
|
|
61
|
+
"@rspack/binding-darwin-arm64": "2.0.0-rc.3",
|
|
62
|
+
"@rspack/binding-win32-x64-msvc": "2.0.0-rc.3",
|
|
63
|
+
"@rspack/binding-darwin-x64": "2.0.0-rc.3",
|
|
64
|
+
"@rspack/binding-linux-x64-gnu": "2.0.0-rc.3",
|
|
65
|
+
"@rspack/binding-wasm32-wasi": "2.0.0-rc.3",
|
|
66
|
+
"@rspack/binding-linux-x64-musl": "2.0.0-rc.3"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build:dev": "node scripts/build.js",
|