@rspack/binding 2.0.0-beta.4 → 2.0.0-beta.5
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 +22 -2
- 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
|
|
@@ -2382,13 +2401,14 @@ export interface RawJavascriptParserOptions {
|
|
|
2382
2401
|
exprContextCritical?: boolean
|
|
2383
2402
|
unknownContextCritical?: boolean
|
|
2384
2403
|
wrappedContextCritical?: boolean
|
|
2404
|
+
strictThisContextOnImports?: boolean
|
|
2385
2405
|
wrappedContextRegExp?: RegExp
|
|
2386
2406
|
exportsPresence?: string
|
|
2387
2407
|
importExportsPresence?: string
|
|
2388
2408
|
reexportExportsPresence?: string
|
|
2389
2409
|
worker?: Array<string>
|
|
2390
2410
|
overrideStrict?: string
|
|
2391
|
-
importMeta?:
|
|
2411
|
+
importMeta?: string
|
|
2392
2412
|
/**
|
|
2393
2413
|
* This option is experimental in Rspack only and subject to change or be removed anytime.
|
|
2394
2414
|
* @experimental
|
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.5",
|
|
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-linux-arm64-musl": "2.0.0-beta.
|
|
56
|
-
"@rspack/binding-
|
|
57
|
-
"@rspack/binding-
|
|
58
|
-
"@rspack/binding-
|
|
59
|
-
"@rspack/binding-
|
|
60
|
-
"@rspack/binding-
|
|
61
|
-
"@rspack/binding-
|
|
62
|
-
"@rspack/binding-linux-x64-musl": "2.0.0-beta.
|
|
53
|
+
"@rspack/binding-win32-arm64-msvc": "2.0.0-beta.5",
|
|
54
|
+
"@rspack/binding-darwin-arm64": "2.0.0-beta.5",
|
|
55
|
+
"@rspack/binding-linux-arm64-musl": "2.0.0-beta.5",
|
|
56
|
+
"@rspack/binding-linux-arm64-gnu": "2.0.0-beta.5",
|
|
57
|
+
"@rspack/binding-win32-ia32-msvc": "2.0.0-beta.5",
|
|
58
|
+
"@rspack/binding-wasm32-wasi": "2.0.0-beta.5",
|
|
59
|
+
"@rspack/binding-win32-x64-msvc": "2.0.0-beta.5",
|
|
60
|
+
"@rspack/binding-darwin-x64": "2.0.0-beta.5",
|
|
61
|
+
"@rspack/binding-linux-x64-gnu": "2.0.0-beta.5",
|
|
62
|
+
"@rspack/binding-linux-x64-musl": "2.0.0-beta.5"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build:dev": "node scripts/build.js",
|