@rspack/binding 1.3.4 → 1.3.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/binding.d.ts +13 -13
- package/package.json +10 -10
package/binding.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export type AssetInfo = KnownAssetInfo & Record<string, any>;
|
|
|
12
12
|
|
|
13
13
|
export const MODULE_IDENTIFIER_SYMBOL: unique symbol;
|
|
14
14
|
|
|
15
|
+
export const COMPILATION_HOOKS_MAP_SYMBOL: unique symbol;
|
|
16
|
+
|
|
15
17
|
export interface Module {
|
|
16
18
|
[MODULE_IDENTIFIER_SYMBOL]: string;
|
|
17
19
|
readonly type: string;
|
|
@@ -32,15 +34,14 @@ interface NormalModuleConstructor {
|
|
|
32
34
|
export var NormalModule: NormalModuleConstructor;
|
|
33
35
|
|
|
34
36
|
export interface NormalModule extends Module {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
get
|
|
42
|
-
|
|
43
|
-
set matchResource(val: string | undefined)
|
|
37
|
+
readonly resource: string;
|
|
38
|
+
readonly request: string;
|
|
39
|
+
readonly userRequest: string;
|
|
40
|
+
readonly rawRequest: string;
|
|
41
|
+
readonly resourceResolveData: JsResourceData | undefined;
|
|
42
|
+
readonly loaders: ReadonlyArray<JsLoaderItem>;
|
|
43
|
+
get matchResource(): string | undefined;
|
|
44
|
+
set matchResource(val: string | undefined);
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
export interface ConcatenatedModule extends Module {
|
|
@@ -50,6 +51,7 @@ export interface ContextModule extends Module {
|
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
export interface ExternalModule extends Module {
|
|
54
|
+
readonly userRequest: string;
|
|
53
55
|
}
|
|
54
56
|
/* -- banner.d.ts end -- */
|
|
55
57
|
|
|
@@ -131,8 +133,6 @@ export declare class EntryOptionsDto {
|
|
|
131
133
|
export type EntryOptionsDTO = EntryOptionsDto
|
|
132
134
|
|
|
133
135
|
export declare class ExternalModule {
|
|
134
|
-
get userRequest(): string
|
|
135
|
-
set userRequest(val: string)
|
|
136
136
|
_originalSource(): JsCompatSource | undefined
|
|
137
137
|
nameForCondition(): string | undefined
|
|
138
138
|
get blocks(): AsyncDependenciesBlock[]
|
|
@@ -2222,7 +2222,7 @@ export interface RawResolveOptions {
|
|
|
2222
2222
|
importsFields?: Array<string>
|
|
2223
2223
|
extensionAlias?: Record<string, Array<string>>
|
|
2224
2224
|
aliasFields?: Array<string>
|
|
2225
|
-
restrictions?:
|
|
2225
|
+
restrictions?: (string | RegExp)[]
|
|
2226
2226
|
roots?: Array<string>
|
|
2227
2227
|
pnp?: boolean
|
|
2228
2228
|
}
|
|
@@ -2247,7 +2247,7 @@ export interface RawResolveOptionsWithDependencyType {
|
|
|
2247
2247
|
importsFields?: Array<string>
|
|
2248
2248
|
extensionAlias?: Record<string, Array<string>>
|
|
2249
2249
|
aliasFields?: Array<string>
|
|
2250
|
-
restrictions?:
|
|
2250
|
+
restrictions?: (string | RegExp)[]
|
|
2251
2251
|
roots?: Array<string>
|
|
2252
2252
|
dependencyCategory?: string
|
|
2253
2253
|
resolveToContext?: boolean
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/binding",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Node binding for rspack",
|
|
6
6
|
"main": "binding.js",
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"optionalDependencies": {
|
|
51
|
-
"@rspack/binding-
|
|
52
|
-
"@rspack/binding-
|
|
53
|
-
"@rspack/binding-
|
|
54
|
-
"@rspack/binding-
|
|
55
|
-
"@rspack/binding-darwin-
|
|
56
|
-
"@rspack/binding-win32-
|
|
57
|
-
"@rspack/binding-
|
|
58
|
-
"@rspack/binding-linux-x64-gnu": "1.3.
|
|
59
|
-
"@rspack/binding-linux-x64-musl": "1.3.
|
|
51
|
+
"@rspack/binding-linux-arm64-gnu": "1.3.5",
|
|
52
|
+
"@rspack/binding-linux-arm64-musl": "1.3.5",
|
|
53
|
+
"@rspack/binding-win32-ia32-msvc": "1.3.5",
|
|
54
|
+
"@rspack/binding-win32-arm64-msvc": "1.3.5",
|
|
55
|
+
"@rspack/binding-darwin-arm64": "1.3.5",
|
|
56
|
+
"@rspack/binding-win32-x64-msvc": "1.3.5",
|
|
57
|
+
"@rspack/binding-darwin-x64": "1.3.5",
|
|
58
|
+
"@rspack/binding-linux-x64-gnu": "1.3.5",
|
|
59
|
+
"@rspack/binding-linux-x64-musl": "1.3.5"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build:dev": "node scripts/build.js",
|