@bundle-stats/utils 4.17.0-beta.0 → 4.17.0-beta.2
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/package.json +4 -4
- package/src/webpack/types.ts +2 -2
- package/types/webpack/types.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bundle-stats/utils",
|
|
3
|
-
"version": "4.17.0-beta.
|
|
3
|
+
"version": "4.17.0-beta.2",
|
|
4
4
|
"description": "BundleStats utils",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib-esm/index.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/relative-ci/bundle-stats/blob/master/packages/utils#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@bundle-stats/plugin-webpack-filter": "4.17.0-beta.
|
|
39
|
-
"@bundle-stats/plugin-webpack-validate": "4.17.0-beta.
|
|
38
|
+
"@bundle-stats/plugin-webpack-filter": "4.17.0-beta.2",
|
|
39
|
+
"@bundle-stats/plugin-webpack-validate": "4.17.0-beta.2",
|
|
40
40
|
"serialize-query-params": "2.0.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"core-js": "^3.0.0",
|
|
57
57
|
"lodash": "^4.0.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "f81f1d37f9a616c43a9a4c779830b5fe46c0a72e"
|
|
60
60
|
}
|
package/src/webpack/types.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface MetaChunk {
|
|
|
29
29
|
name: string;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export interface
|
|
32
|
+
export interface AssetMetricRun extends MetricRun {
|
|
33
33
|
name: string;
|
|
34
34
|
isEntry: boolean;
|
|
35
35
|
isInitial: boolean;
|
|
@@ -37,7 +37,7 @@ export interface Asset extends MetricRun {
|
|
|
37
37
|
chunkId?: string;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export type Assets = Record<string,
|
|
40
|
+
export type Assets = Record<string, AssetMetricRun>;
|
|
41
41
|
|
|
42
42
|
export interface MetricsAssets {
|
|
43
43
|
metrics: {
|
package/types/webpack/types.d.ts
CHANGED
|
@@ -25,14 +25,14 @@ export interface MetaChunk {
|
|
|
25
25
|
id: string;
|
|
26
26
|
name: string;
|
|
27
27
|
}
|
|
28
|
-
export interface
|
|
28
|
+
export interface AssetMetricRun extends MetricRun {
|
|
29
29
|
name: string;
|
|
30
30
|
isEntry: boolean;
|
|
31
31
|
isInitial: boolean;
|
|
32
32
|
isChunk: boolean;
|
|
33
33
|
chunkId?: string;
|
|
34
34
|
}
|
|
35
|
-
export type Assets = Record<string,
|
|
35
|
+
export type Assets = Record<string, AssetMetricRun>;
|
|
36
36
|
export interface MetricsAssets {
|
|
37
37
|
metrics: {
|
|
38
38
|
assets: Assets;
|