@rspack/binding 2.0.2 → 2.0.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 +13 -3
- package/package.json +12 -12
package/napi-binding.d.ts
CHANGED
|
@@ -216,6 +216,7 @@ export declare class Dependency {
|
|
|
216
216
|
get type(): string
|
|
217
217
|
get category(): string
|
|
218
218
|
get request(): string | undefined
|
|
219
|
+
get attributes(): Record<string, string> | undefined
|
|
219
220
|
get critical(): boolean
|
|
220
221
|
set critical(val: boolean)
|
|
221
222
|
get ids(): Array<string> | undefined
|
|
@@ -741,7 +742,6 @@ export interface JsBuildMeta {
|
|
|
741
742
|
exportsType?: undefined | 'unset' | 'default' | 'namespace' | 'flagged' | 'dynamic'
|
|
742
743
|
defaultObject?: undefined | 'false' | 'redirect' | 'redirect-warn'
|
|
743
744
|
sideEffectFree?: boolean
|
|
744
|
-
exportsFinalName?: Array<[string, string]> | undefined
|
|
745
745
|
}
|
|
746
746
|
|
|
747
747
|
export interface JsBuildTimeExecutionOption {
|
|
@@ -1055,8 +1055,14 @@ export interface JsRscClientPluginOptions {
|
|
|
1055
1055
|
coordinator: JsCoordinator
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
+
export interface JsRscCssLinkOptions {
|
|
1059
|
+
precedence?: string | boolean
|
|
1060
|
+
props?: Record<string, string>
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1058
1063
|
export interface JsRscServerPluginOptions {
|
|
1059
1064
|
coordinator: JsCoordinator
|
|
1065
|
+
cssLink?: JsRscCssLinkOptions | undefined | null
|
|
1060
1066
|
onServerComponentChanges?: (() => void | Promise<void>) | undefined | null
|
|
1061
1067
|
onManifest?: ((arg: string) => Promise<undefined>) | undefined | null
|
|
1062
1068
|
}
|
|
@@ -2914,6 +2920,10 @@ export interface RawRslibPluginOptions {
|
|
|
2914
2920
|
emitDts?: RawSwcEmitDtsOptions
|
|
2915
2921
|
}
|
|
2916
2922
|
|
|
2923
|
+
export interface RawRstestDynamicImportOriginOptions {
|
|
2924
|
+
functionName?: string
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2917
2927
|
export interface RawRstestPluginOptions {
|
|
2918
2928
|
injectModulePathName: boolean
|
|
2919
2929
|
importMetaPathName: boolean
|
|
@@ -2921,7 +2931,7 @@ export interface RawRstestPluginOptions {
|
|
|
2921
2931
|
manualMockRoot: string
|
|
2922
2932
|
preserveNewUrl?: Array<string>
|
|
2923
2933
|
globals?: boolean
|
|
2924
|
-
|
|
2934
|
+
injectDynamicImportOrigin?: boolean | { functionName?: string }
|
|
2925
2935
|
}
|
|
2926
2936
|
|
|
2927
2937
|
export interface RawRuleSetCondition {
|
|
@@ -3292,7 +3302,7 @@ export interface TsconfigOptions {
|
|
|
3292
3302
|
*/
|
|
3293
3303
|
configFile: string
|
|
3294
3304
|
/**
|
|
3295
|
-
* Support for
|
|
3305
|
+
* Support for TypeScript Project References.
|
|
3296
3306
|
*
|
|
3297
3307
|
* * `'auto'`: use the `references` field from tsconfig of `config_file`.
|
|
3298
3308
|
* * `string[]`: manually provided relative or absolute path.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/binding",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Node binding for rspack",
|
|
6
6
|
"main": "binding.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@emnapi/runtime": "1.10.0",
|
|
24
24
|
"@napi-rs/cli": "3.6.2",
|
|
25
25
|
"@napi-rs/wasm-runtime": "1.1.4",
|
|
26
|
-
"@types/node": "^20.19.
|
|
26
|
+
"@types/node": "^20.19.40",
|
|
27
27
|
"emnapi": "1.10.0",
|
|
28
28
|
"typescript": "^6.0.3"
|
|
29
29
|
},
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"@rspack/binding-
|
|
58
|
-
"@rspack/binding-
|
|
59
|
-
"@rspack/binding-linux-arm64-gnu": "2.0.
|
|
60
|
-
"@rspack/binding-
|
|
61
|
-
"@rspack/binding-
|
|
62
|
-
"@rspack/binding-
|
|
63
|
-
"@rspack/binding-
|
|
64
|
-
"@rspack/binding-
|
|
65
|
-
"@rspack/binding-linux-x64-musl": "2.0.
|
|
66
|
-
"@rspack/binding-
|
|
57
|
+
"@rspack/binding-win32-arm64-msvc": "2.0.3",
|
|
58
|
+
"@rspack/binding-darwin-arm64": "2.0.3",
|
|
59
|
+
"@rspack/binding-linux-arm64-gnu": "2.0.3",
|
|
60
|
+
"@rspack/binding-wasm32-wasi": "2.0.3",
|
|
61
|
+
"@rspack/binding-linux-arm64-musl": "2.0.3",
|
|
62
|
+
"@rspack/binding-win32-ia32-msvc": "2.0.3",
|
|
63
|
+
"@rspack/binding-darwin-x64": "2.0.3",
|
|
64
|
+
"@rspack/binding-win32-x64-msvc": "2.0.3",
|
|
65
|
+
"@rspack/binding-linux-x64-musl": "2.0.3",
|
|
66
|
+
"@rspack/binding-linux-x64-gnu": "2.0.3"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build:dev": "node scripts/build.js",
|