@rspack/binding 0.2.10 → 0.2.11-canary-ecc70e3-20230809010759
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 +9 -0
- package/package.json +10 -10
package/binding.d.ts
CHANGED
|
@@ -46,6 +46,7 @@ export class JsStats {
|
|
|
46
46
|
getNamedChunkGroups(): Array<JsStatsChunkGroup>
|
|
47
47
|
getErrors(): Array<JsStatsError>
|
|
48
48
|
getWarnings(): Array<JsStatsWarning>
|
|
49
|
+
getLogging(acceptedTypes: number): Array<JsStatsLogging>
|
|
49
50
|
getHash(): string
|
|
50
51
|
}
|
|
51
52
|
|
|
@@ -340,6 +341,13 @@ export interface JsStatsGetAssets {
|
|
|
340
341
|
assetsByChunkName: Array<JsStatsAssetsByChunkName>
|
|
341
342
|
}
|
|
342
343
|
|
|
344
|
+
export interface JsStatsLogging {
|
|
345
|
+
name: string
|
|
346
|
+
type: string
|
|
347
|
+
args?: Array<string>
|
|
348
|
+
trace?: Array<string>
|
|
349
|
+
}
|
|
350
|
+
|
|
343
351
|
export interface JsStatsModule {
|
|
344
352
|
type: string
|
|
345
353
|
moduleType: string
|
|
@@ -675,6 +683,7 @@ export interface RawLibraryOptions {
|
|
|
675
683
|
export interface RawMinification {
|
|
676
684
|
passes: number
|
|
677
685
|
dropConsole: boolean
|
|
686
|
+
asciiOnly: boolean
|
|
678
687
|
pureFuncs: Array<string>
|
|
679
688
|
extractComments?: string
|
|
680
689
|
test?: RawMinificationConditions
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/binding",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11-canary-ecc70e3-20230809010759",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Node binding for rspack",
|
|
6
6
|
"main": "binding.js",
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"binaryName": "rspack"
|
|
23
23
|
},
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@rspack/binding-darwin-arm64": "0.2.
|
|
26
|
-
"@rspack/binding-
|
|
27
|
-
"@rspack/binding-linux-arm64-gnu": "0.2.
|
|
28
|
-
"@rspack/binding-linux-arm64-musl": "0.2.
|
|
29
|
-
"@rspack/binding-
|
|
30
|
-
"@rspack/binding-
|
|
31
|
-
"@rspack/binding-win32-
|
|
32
|
-
"@rspack/binding-
|
|
33
|
-
"@rspack/binding-
|
|
25
|
+
"@rspack/binding-darwin-arm64": "0.2.11-canary-ecc70e3-20230809010759",
|
|
26
|
+
"@rspack/binding-darwin-x64": "0.2.11-canary-ecc70e3-20230809010759",
|
|
27
|
+
"@rspack/binding-linux-arm64-gnu": "0.2.11-canary-ecc70e3-20230809010759",
|
|
28
|
+
"@rspack/binding-linux-arm64-musl": "0.2.11-canary-ecc70e3-20230809010759",
|
|
29
|
+
"@rspack/binding-linux-x64-gnu": "0.2.11-canary-ecc70e3-20230809010759",
|
|
30
|
+
"@rspack/binding-linux-x64-musl": "0.2.11-canary-ecc70e3-20230809010759",
|
|
31
|
+
"@rspack/binding-win32-arm64-msvc": "0.2.11-canary-ecc70e3-20230809010759",
|
|
32
|
+
"@rspack/binding-win32-ia32-msvc": "0.2.11-canary-ecc70e3-20230809010759",
|
|
33
|
+
"@rspack/binding-win32-x64-msvc": "0.2.11-canary-ecc70e3-20230809010759"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build:debug": "node scripts/build.js",
|