@rspack/binding 2.0.0-beta.4 → 2.0.0-beta.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/napi-binding.d.ts +28 -7
- package/package.json +11 -11
package/napi-binding.d.ts
CHANGED
|
@@ -1099,6 +1099,18 @@ export interface JsRsdoctorChunkModules {
|
|
|
1099
1099
|
modules: Array<number>
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
|
+
export interface JsRsdoctorConnection {
|
|
1103
|
+
ukey: number
|
|
1104
|
+
dependencyId: string
|
|
1105
|
+
module: number
|
|
1106
|
+
originModule?: number
|
|
1107
|
+
resolvedModule: number
|
|
1108
|
+
dependencyType: string
|
|
1109
|
+
userRequest: string
|
|
1110
|
+
loc?: string
|
|
1111
|
+
active: boolean
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1102
1114
|
export interface JsRsdoctorDependency {
|
|
1103
1115
|
ukey: number
|
|
1104
1116
|
kind: string
|
|
@@ -1124,7 +1136,6 @@ export interface JsRsdoctorExportInfo {
|
|
|
1124
1136
|
from?: number
|
|
1125
1137
|
variable?: number
|
|
1126
1138
|
identifier?: JsRsdoctorStatement
|
|
1127
|
-
sideEffects: Array<number>
|
|
1128
1139
|
}
|
|
1129
1140
|
|
|
1130
1141
|
export interface JsRsdoctorJsonModuleSize {
|
|
@@ -1146,6 +1157,7 @@ export interface JsRsdoctorModule {
|
|
|
1146
1157
|
chunks: Array<number>
|
|
1147
1158
|
issuerPath: Array<number>
|
|
1148
1159
|
bailoutReason: Array<string>
|
|
1160
|
+
sideEffectsLocations: Array<JsRsdoctorSideEffectLocation>
|
|
1149
1161
|
}
|
|
1150
1162
|
|
|
1151
1163
|
export interface JsRsdoctorModuleGraph {
|
|
@@ -1195,6 +1207,13 @@ export interface JsRsdoctorSideEffect {
|
|
|
1195
1207
|
variable?: number
|
|
1196
1208
|
}
|
|
1197
1209
|
|
|
1210
|
+
export interface JsRsdoctorSideEffectLocation {
|
|
1211
|
+
location: string
|
|
1212
|
+
nodeType: string
|
|
1213
|
+
module: number
|
|
1214
|
+
request: string
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1198
1217
|
export interface JsRsdoctorSourceMapFeatures {
|
|
1199
1218
|
cheap?: boolean
|
|
1200
1219
|
module?: boolean
|
|
@@ -1911,7 +1930,7 @@ export interface RawConsumeOptions {
|
|
|
1911
1930
|
import?: string
|
|
1912
1931
|
importResolved?: string
|
|
1913
1932
|
shareKey: string
|
|
1914
|
-
shareScope: string
|
|
1933
|
+
shareScope: string | Array<string>
|
|
1915
1934
|
requiredVersion?: string | false | undefined
|
|
1916
1935
|
packageName?: string
|
|
1917
1936
|
strictVersion: boolean
|
|
@@ -1927,7 +1946,7 @@ export interface RawConsumeSharedPluginOptions {
|
|
|
1927
1946
|
|
|
1928
1947
|
export interface RawContainerPluginOptions {
|
|
1929
1948
|
name: string
|
|
1930
|
-
shareScope: string
|
|
1949
|
+
shareScope: string | Array<string>
|
|
1931
1950
|
library: JsLibraryOptions
|
|
1932
1951
|
runtime?: false | string
|
|
1933
1952
|
filename?: string
|
|
@@ -1938,7 +1957,7 @@ export interface RawContainerPluginOptions {
|
|
|
1938
1957
|
export interface RawContainerReferencePluginOptions {
|
|
1939
1958
|
remoteType: string
|
|
1940
1959
|
remotes: Array<RawRemoteOptions>
|
|
1941
|
-
shareScope?: string
|
|
1960
|
+
shareScope?: string | Array<string>
|
|
1942
1961
|
enhanced: boolean
|
|
1943
1962
|
}
|
|
1944
1963
|
|
|
@@ -2237,6 +2256,7 @@ export interface RawExternalsPresets {
|
|
|
2237
2256
|
export interface RawExtractComments {
|
|
2238
2257
|
banner?: string | boolean
|
|
2239
2258
|
condition?: string
|
|
2259
|
+
conditionFlags?: string
|
|
2240
2260
|
}
|
|
2241
2261
|
|
|
2242
2262
|
export interface RawFallbackCacheGroupOptions {
|
|
@@ -2382,13 +2402,14 @@ export interface RawJavascriptParserOptions {
|
|
|
2382
2402
|
exprContextCritical?: boolean
|
|
2383
2403
|
unknownContextCritical?: boolean
|
|
2384
2404
|
wrappedContextCritical?: boolean
|
|
2405
|
+
strictThisContextOnImports?: boolean
|
|
2385
2406
|
wrappedContextRegExp?: RegExp
|
|
2386
2407
|
exportsPresence?: string
|
|
2387
2408
|
importExportsPresence?: string
|
|
2388
2409
|
reexportExportsPresence?: string
|
|
2389
2410
|
worker?: Array<string>
|
|
2390
2411
|
overrideStrict?: string
|
|
2391
|
-
importMeta?:
|
|
2412
|
+
importMeta?: string
|
|
2392
2413
|
/**
|
|
2393
2414
|
* This option is experimental in Rspack only and subject to change or be removed anytime.
|
|
2394
2415
|
* @experimental
|
|
@@ -2753,7 +2774,7 @@ export interface RawProgressPluginOptions {
|
|
|
2753
2774
|
export interface RawProvideOptions {
|
|
2754
2775
|
key: string
|
|
2755
2776
|
shareKey: string
|
|
2756
|
-
shareScope: string
|
|
2777
|
+
shareScope: string | Array<string>
|
|
2757
2778
|
version?: string | false | undefined
|
|
2758
2779
|
eager: boolean
|
|
2759
2780
|
singleton?: boolean
|
|
@@ -2774,7 +2795,7 @@ export interface RawRemoteAliasTarget {
|
|
|
2774
2795
|
export interface RawRemoteOptions {
|
|
2775
2796
|
key: string
|
|
2776
2797
|
external: Array<string>
|
|
2777
|
-
shareScope: string
|
|
2798
|
+
shareScope: string | Array<string>
|
|
2778
2799
|
}
|
|
2779
2800
|
|
|
2780
2801
|
export interface RawResolveOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/binding",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Node binding for rspack",
|
|
6
6
|
"main": "binding.js",
|
|
@@ -50,16 +50,16 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
|
-
"@rspack/binding-
|
|
54
|
-
"@rspack/binding-
|
|
55
|
-
"@rspack/binding-
|
|
56
|
-
"@rspack/binding-
|
|
57
|
-
"@rspack/binding-
|
|
58
|
-
"@rspack/binding-
|
|
59
|
-
"@rspack/binding-darwin-x64": "2.0.0-beta.
|
|
60
|
-
"@rspack/binding-
|
|
61
|
-
"@rspack/binding-
|
|
62
|
-
"@rspack/binding-linux-x64-musl": "2.0.0-beta.
|
|
53
|
+
"@rspack/binding-linux-arm64-gnu": "2.0.0-beta.6",
|
|
54
|
+
"@rspack/binding-linux-arm64-musl": "2.0.0-beta.6",
|
|
55
|
+
"@rspack/binding-wasm32-wasi": "2.0.0-beta.6",
|
|
56
|
+
"@rspack/binding-darwin-arm64": "2.0.0-beta.6",
|
|
57
|
+
"@rspack/binding-win32-arm64-msvc": "2.0.0-beta.6",
|
|
58
|
+
"@rspack/binding-win32-ia32-msvc": "2.0.0-beta.6",
|
|
59
|
+
"@rspack/binding-darwin-x64": "2.0.0-beta.6",
|
|
60
|
+
"@rspack/binding-win32-x64-msvc": "2.0.0-beta.6",
|
|
61
|
+
"@rspack/binding-linux-x64-gnu": "2.0.0-beta.6",
|
|
62
|
+
"@rspack/binding-linux-x64-musl": "2.0.0-beta.6"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build:dev": "node scripts/build.js",
|