@bundle-stats/utils 3.2.4 → 3.2.5-alpha.20
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/CHANGELOG.md +72 -0
- package/package.json +6 -6
- package/types/browsertime/compare.d.ts +0 -1
- package/types/browsertime/constants.d.ts +0 -1
- package/types/browsertime/extract.d.ts +0 -6
- package/types/browsertime/filter.d.ts +0 -1
- package/types/browsertime/index.d.ts +0 -6
- package/types/browsertime/metrics.d.ts +0 -107
- package/types/browsertime/selectors.d.ts +0 -1
- package/types/config/component-links.d.ts +0 -34
- package/types/config/delta.d.ts +0 -9
- package/types/config/file-types.d.ts +0 -45
- package/types/config/index.d.ts +0 -11
- package/types/config/insights.d.ts +0 -4
- package/types/config/metrics.d.ts +0 -35
- package/types/constants.d.ts +0 -156
- package/types/i18n.d.ts +0 -15
- package/types/index.d.ts +0 -5
- package/types/jobs/create-job.d.ts +0 -1
- package/types/jobs/create-jobs.d.ts +0 -1
- package/types/jobs/create-summary.d.ts +0 -1
- package/types/jobs/index.d.ts +0 -2
- package/types/lighthouse/compare.d.ts +0 -1
- package/types/lighthouse/constants.d.ts +0 -1
- package/types/lighthouse/extract/audits.d.ts +0 -6
- package/types/lighthouse/extract/category-scores.d.ts +0 -6
- package/types/lighthouse/extract/index.d.ts +0 -1
- package/types/lighthouse/extract/score-category-scores.d.ts +0 -10
- package/types/lighthouse/filter.d.ts +0 -1
- package/types/lighthouse/index.d.ts +0 -6
- package/types/lighthouse/metrics.d.ts +0 -65
- package/types/lighthouse/selectors.d.ts +0 -1
- package/types/polyfills.d.ts +0 -1
- package/types/report/add-row-metric-data.d.ts +0 -8
- package/types/report/compare-metrics.d.ts +0 -2
- package/types/report/create.d.ts +0 -14
- package/types/report/get-metric-changed.d.ts +0 -2
- package/types/report/index.d.ts +0 -5
- package/types/report/merge-metrics-by-key.d.ts +0 -4
- package/types/report/types.d.ts +0 -8
- package/types/utils/component-links.d.ts +0 -179
- package/types/utils/date.d.ts +0 -2
- package/types/utils/delta.d.ts +0 -6
- package/types/utils/file-types.d.ts +0 -4
- package/types/utils/format.d.ts +0 -5
- package/types/utils/index.d.ts +0 -6
- package/types/utils/metrics.d.ts +0 -3
- package/types/webpack/compare.d.ts +0 -14
- package/types/webpack/constants.d.ts +0 -9
- package/types/webpack/extract/assets-cache-invalidation.d.ts +0 -7
- package/types/webpack/extract/assets-chunk-count.d.ts +0 -7
- package/types/webpack/extract/assets-count.d.ts +0 -7
- package/types/webpack/extract/assets-size-total-insight.d.ts +0 -12
- package/types/webpack/extract/assets-size.d.ts +0 -11
- package/types/webpack/extract/assets.d.ts +0 -8
- package/types/webpack/extract/index.d.ts +0 -1
- package/types/webpack/extract/meta.d.ts +0 -6
- package/types/webpack/extract/modules-count.d.ts +0 -7
- package/types/webpack/extract/modules-packages-count.d.ts +0 -7
- package/types/webpack/extract/modules-packages-duplicate.d.ts +0 -20
- package/types/webpack/extract/modules-packages.d.ts +0 -7
- package/types/webpack/extract/modules.d.ts +0 -2
- package/types/webpack/index.d.ts +0 -8
- package/types/webpack/metrics.d.ts +0 -131
- package/types/webpack/selectors.d.ts +0 -41
- package/types/webpack/utils.d.ts +0 -8
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export namespace selectors {
|
|
2
|
-
export { getStatsMetrics as stats };
|
|
3
|
-
export { getSizeMetrics as sizes };
|
|
4
|
-
export { getAssetsMetrics as assets };
|
|
5
|
-
export { getModulesMetrics as modules };
|
|
6
|
-
export { getPackageMetrics as packages };
|
|
7
|
-
}
|
|
8
|
-
declare function getStatsMetrics(job: {
|
|
9
|
-
metrics: {
|
|
10
|
-
webpack: Object;
|
|
11
|
-
};
|
|
12
|
-
}): Object;
|
|
13
|
-
declare function getSizeMetrics(job: {
|
|
14
|
-
metrics: {
|
|
15
|
-
webpack: {
|
|
16
|
-
sizes: Object;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
}): Object;
|
|
20
|
-
declare function getAssetsMetrics(job: {
|
|
21
|
-
metrics: {
|
|
22
|
-
webpack: {
|
|
23
|
-
assets: Object;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
}): Object;
|
|
27
|
-
declare function getModulesMetrics(job: {
|
|
28
|
-
metrics: {
|
|
29
|
-
webpack: {
|
|
30
|
-
modules: Object;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
}): Object;
|
|
34
|
-
declare function getPackageMetrics(job: {
|
|
35
|
-
metrics: {
|
|
36
|
-
webpack: {
|
|
37
|
-
packages: Object;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
}): Object;
|
|
41
|
-
export {};
|
package/types/webpack/utils.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export function getAssetName(assetFilepath: any): any;
|
|
2
|
-
export function getModuleName(name: any): any;
|
|
3
|
-
export function calculateCacheInvalidation(rows: any): number;
|
|
4
|
-
export function getMetricAdded(runs: any): boolean;
|
|
5
|
-
export function getMetricDeleted(runs: any): boolean;
|
|
6
|
-
export const getMetricType: Function;
|
|
7
|
-
export function getPackagePublicName(packageId: string): string;
|
|
8
|
-
export function normalizeChunkId(chunkId: string | number): string;
|