@bundle-stats/utils 3.4.0-alpha.3 → 3.4.0-beta.0
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/lib/transformers/budgets-insights.js +100 -52
- package/lib/transformers/budgets-insights.js.map +1 -1
- package/lib/types.js +3 -0
- package/lib/types.js.map +1 -0
- package/lib/webpack/extract/assets.js +11 -7
- package/lib/webpack/extract/assets.js.map +1 -1
- package/lib/webpack/metrics.js +1 -1
- package/lib/webpack/metrics.js.map +1 -1
- package/lib-esm/transformers/budgets-insights.js +98 -49
- package/lib-esm/transformers/budgets-insights.js.map +1 -1
- package/lib-esm/types.js +2 -0
- package/lib-esm/types.js.map +1 -0
- package/lib-esm/webpack/extract/assets.js +11 -7
- package/lib-esm/webpack/extract/assets.js.map +1 -1
- package/lib-esm/webpack/metrics.js +1 -1
- package/lib-esm/webpack/metrics.js.map +1 -1
- package/package.json +12 -12
- package/src/transformers/budgets-insights.ts +144 -75
- package/src/types.ts +14 -0
- package/src/webpack/extract/{assets.js → assets.ts} +41 -12
- package/src/webpack/metrics.ts +1 -1
- package/types/browsertime/compare.d.ts +1 -0
- package/types/browsertime/constants.d.ts +1 -0
- package/types/browsertime/extract.d.ts +6 -0
- package/types/browsertime/filter.d.ts +1 -0
- package/types/browsertime/index.d.ts +6 -0
- package/types/browsertime/metrics.d.ts +107 -0
- package/types/browsertime/selectors.d.ts +1 -0
- package/types/config/component-links.d.ts +35 -0
- package/types/config/delta.d.ts +9 -0
- package/types/config/file-types.d.ts +45 -0
- package/types/config/index.d.ts +11 -0
- package/types/config/insights.d.ts +4 -0
- package/types/config/metrics.d.ts +35 -0
- package/types/constants.d.ts +165 -0
- package/types/i18n.d.ts +16 -0
- package/types/index.d.ts +7 -0
- package/types/jobs/create-job.d.ts +1 -0
- package/types/jobs/create-jobs.d.ts +1 -0
- package/types/jobs/create-summary.d.ts +1 -0
- package/types/jobs/index.d.ts +2 -0
- package/types/lighthouse/compare.d.ts +1 -0
- package/types/lighthouse/constants.d.ts +1 -0
- package/types/lighthouse/extract/audits.d.ts +6 -0
- package/types/lighthouse/extract/category-scores.d.ts +6 -0
- package/types/lighthouse/extract/index.d.ts +1 -0
- package/types/lighthouse/extract/score-category-scores.d.ts +10 -0
- package/types/lighthouse/filter.d.ts +1 -0
- package/types/lighthouse/index.d.ts +6 -0
- package/types/lighthouse/metrics.d.ts +65 -0
- package/types/lighthouse/selectors.d.ts +1 -0
- package/types/polyfills.d.ts +1 -0
- package/types/report/add-row-metric-data.d.ts +8 -0
- package/types/report/compare-metrics.d.ts +2 -0
- package/types/report/create.d.ts +14 -0
- package/types/report/get-metric-changed.d.ts +2 -0
- package/types/report/index.d.ts +5 -0
- package/types/report/merge-metrics-by-key.d.ts +4 -0
- package/types/report/types.d.ts +8 -0
- package/types/transformers/budgets-insights.d.ts +34 -0
- package/types/transformers/index.d.ts +1 -0
- package/types/types.d.ts +9 -0
- package/types/utils/component-links.d.ts +193 -0
- package/types/utils/date.d.ts +2 -0
- package/types/utils/delta.d.ts +6 -0
- package/types/utils/file-types.d.ts +4 -0
- package/types/utils/format.d.ts +5 -0
- package/types/utils/index.d.ts +6 -0
- package/types/utils/metrics.d.ts +3 -0
- package/types/webpack/compare.d.ts +14 -0
- package/types/webpack/constants.d.ts +33 -0
- package/types/webpack/extract/assets-cache-invalidation.d.ts +7 -0
- package/types/webpack/extract/assets-chunk-count.d.ts +7 -0
- package/types/webpack/extract/assets-count.d.ts +7 -0
- package/types/webpack/extract/assets-size-total-insight.d.ts +12 -0
- package/types/webpack/extract/assets-size.d.ts +11 -0
- package/types/webpack/extract/assets.d.ts +11 -0
- package/types/webpack/extract/index.d.ts +1 -0
- package/types/webpack/extract/meta.d.ts +6 -0
- package/types/webpack/extract/modules-count.d.ts +7 -0
- package/types/webpack/extract/modules-packages-count.d.ts +7 -0
- package/types/webpack/extract/modules-packages-duplicate.d.ts +21 -0
- package/types/webpack/extract/modules-packages.d.ts +7 -0
- package/types/webpack/extract/modules.d.ts +2 -0
- package/types/webpack/index.d.ts +8 -0
- package/types/webpack/metrics.d.ts +116 -0
- package/types/webpack/selectors.d.ts +41 -0
- package/types/webpack/utils.d.ts +8 -0
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
export declare enum MetricTypeType {
|
|
2
|
+
'METRIC_TYPE_NUMERIC' = 0,
|
|
3
|
+
'METRIC_TYPE_SCORE' = 1,
|
|
4
|
+
'METRIC_TYPE_FILE_SIZE' = 2,
|
|
5
|
+
'METRIC_TYPE_DURATION' = 3,
|
|
6
|
+
'METRIC_TYPE_PERCENTAGE' = 4
|
|
7
|
+
}
|
|
8
|
+
export interface MetricTypeConfig {
|
|
9
|
+
label: string;
|
|
10
|
+
description: string;
|
|
11
|
+
type: MetricTypeType;
|
|
12
|
+
}
|
|
13
|
+
export interface MetricType extends MetricTypeConfig {
|
|
14
|
+
formatter: Function;
|
|
15
|
+
biggerIsBetter: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare enum MetricRunInfoDeltaType {
|
|
18
|
+
'HIGH_NEGATIVE' = 0,
|
|
19
|
+
'NEGATIVE' = 1,
|
|
20
|
+
'LOW_NEGATIVE' = 2,
|
|
21
|
+
'NO_CHANGE' = 3,
|
|
22
|
+
'LOW_POSITIVE' = 4,
|
|
23
|
+
'POSITIVE' = 5,
|
|
24
|
+
'HIGH_POSITIVE' = 6
|
|
25
|
+
}
|
|
26
|
+
export interface MetricRun {
|
|
27
|
+
value: number;
|
|
28
|
+
}
|
|
29
|
+
export interface MetricRunInfo {
|
|
30
|
+
value: number;
|
|
31
|
+
displayValue: string;
|
|
32
|
+
delta?: number;
|
|
33
|
+
displayDelta?: string;
|
|
34
|
+
displayDeltaPercentage?: string;
|
|
35
|
+
deltaType?: MetricRunInfoDeltaType;
|
|
36
|
+
}
|
|
37
|
+
export interface Metric {
|
|
38
|
+
value: number;
|
|
39
|
+
}
|
|
40
|
+
export interface ModuleMetric extends Metric {
|
|
41
|
+
name: string;
|
|
42
|
+
chunkIds: Array<String>;
|
|
43
|
+
duplicated: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface PackageMetric extends Metric {
|
|
46
|
+
path: string;
|
|
47
|
+
}
|
|
48
|
+
export interface WebpackMetricsModules {
|
|
49
|
+
metrics: {
|
|
50
|
+
duplicateCode: MetricRun;
|
|
51
|
+
duplicateModulesCount: MetricRun;
|
|
52
|
+
modules: Record<string, ModuleMetric>;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
export interface WebpackMetricsPackages {
|
|
56
|
+
metrics: {
|
|
57
|
+
packages: Record<string, PackageMetric>;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export interface LighthouseSource {
|
|
61
|
+
lighthouseVersion: string;
|
|
62
|
+
fetchTime: string;
|
|
63
|
+
requestedUrl: string;
|
|
64
|
+
categories: {
|
|
65
|
+
[key: string]: {
|
|
66
|
+
score: number;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
audits: {
|
|
70
|
+
[key: string]: {
|
|
71
|
+
score: number;
|
|
72
|
+
numericValue: number;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export interface LighthouseMetricsCategoryScores {
|
|
77
|
+
performanceScore: MetricRun;
|
|
78
|
+
accessibilityScore: MetricRun;
|
|
79
|
+
bestPracticesScore: MetricRun;
|
|
80
|
+
seoScore: MetricRun;
|
|
81
|
+
pwaScore: MetricRun;
|
|
82
|
+
}
|
|
83
|
+
export interface LighthouseMetricsScore {
|
|
84
|
+
score: MetricRun;
|
|
85
|
+
}
|
|
86
|
+
export interface LighthouseMetricsAudits {
|
|
87
|
+
speedIndex: MetricRun;
|
|
88
|
+
firstMeaningfulPaint: MetricRun;
|
|
89
|
+
timeToFirstByte: MetricRun;
|
|
90
|
+
firstInteractive: MetricRun;
|
|
91
|
+
totalByteWeight: MetricRun;
|
|
92
|
+
domSize: MetricRun;
|
|
93
|
+
}
|
|
94
|
+
export interface BrowsertimeSourceMetric {
|
|
95
|
+
median: number;
|
|
96
|
+
}
|
|
97
|
+
export interface BrowsertimeSource {
|
|
98
|
+
info?: {
|
|
99
|
+
browsertime: {
|
|
100
|
+
version: string;
|
|
101
|
+
};
|
|
102
|
+
timestamp: string;
|
|
103
|
+
url: string;
|
|
104
|
+
};
|
|
105
|
+
statistics?: {
|
|
106
|
+
timings: {
|
|
107
|
+
firstPaint: BrowsertimeSourceMetric;
|
|
108
|
+
fullyLoaded: BrowsertimeSourceMetric;
|
|
109
|
+
pageTimings: {
|
|
110
|
+
backEndTime: BrowsertimeSourceMetric;
|
|
111
|
+
domContentLoadedTime: BrowsertimeSourceMetric;
|
|
112
|
+
domInteractiveTime: BrowsertimeSourceMetric;
|
|
113
|
+
domainLookupTime: BrowsertimeSourceMetric;
|
|
114
|
+
frontEndTime: BrowsertimeSourceMetric;
|
|
115
|
+
pageDownloadTime: BrowsertimeSourceMetric;
|
|
116
|
+
pageLoadTime: BrowsertimeSourceMetric;
|
|
117
|
+
redirectionTime: BrowsertimeSourceMetric;
|
|
118
|
+
serverConnectionTime: BrowsertimeSourceMetric;
|
|
119
|
+
serverResponseTime: BrowsertimeSourceMetric;
|
|
120
|
+
};
|
|
121
|
+
paintTiming: {
|
|
122
|
+
'first-contentful-paint': BrowsertimeSourceMetric;
|
|
123
|
+
};
|
|
124
|
+
rumSpeedIndex: BrowsertimeSourceMetric;
|
|
125
|
+
};
|
|
126
|
+
visualmetrics: {
|
|
127
|
+
FirstVisualChange: BrowsertimeSourceMetric;
|
|
128
|
+
LastVisualChange: BrowsertimeSourceMetric;
|
|
129
|
+
PerceptualSpeedIndex: BrowsertimeSourceMetric;
|
|
130
|
+
SpeedIndex: BrowsertimeSourceMetric;
|
|
131
|
+
VisualComplete85: BrowsertimeSourceMetric;
|
|
132
|
+
VisualComplete95: BrowsertimeSourceMetric;
|
|
133
|
+
VisualComplete99: BrowsertimeSourceMetric;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
export interface BrowsertimeMetrics {
|
|
138
|
+
firstPaint: MetricRun;
|
|
139
|
+
fullyLoaded: MetricRun;
|
|
140
|
+
backEndTime: MetricRun;
|
|
141
|
+
domContentLoadedTime: MetricRun;
|
|
142
|
+
domInteractiveTime: MetricRun;
|
|
143
|
+
domainLookupTime: MetricRun;
|
|
144
|
+
frontEndTime: MetricRun;
|
|
145
|
+
pageDownloadTime: MetricRun;
|
|
146
|
+
pageLoadTime: MetricRun;
|
|
147
|
+
redirectionTime: MetricRun;
|
|
148
|
+
serverConnectionTime: MetricRun;
|
|
149
|
+
serverResponseTime: MetricRun;
|
|
150
|
+
firstContentfulPaint: MetricRun;
|
|
151
|
+
rumSpeedIndex: MetricRun;
|
|
152
|
+
firstVisualChange: MetricRun;
|
|
153
|
+
lastVisualChange: MetricRun;
|
|
154
|
+
perceptualSpeedIndex: MetricRun;
|
|
155
|
+
speedIndex: MetricRun;
|
|
156
|
+
visualComplete85: MetricRun;
|
|
157
|
+
visualComplete95: MetricRun;
|
|
158
|
+
visualComplete99: MetricRun;
|
|
159
|
+
}
|
|
160
|
+
export declare enum InsightType {
|
|
161
|
+
ERROR = "ERROR",
|
|
162
|
+
WARNING = "WARNING",
|
|
163
|
+
INFO = "INFO",
|
|
164
|
+
SUCCESS = "SUCCESS"
|
|
165
|
+
}
|
package/types/i18n.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
const COMPONENT_LINK_TOTALS: string;
|
|
3
|
+
const COMPONENT_LINK_BUNDLE_ASSETS_INITIAL_JS: string;
|
|
4
|
+
const COMPONENT_LINK_BUNDLE_ASSETS_INITIAL_CSS: string;
|
|
5
|
+
const COMPONENT_LINK_BUNDLE_ASSETS_CACHE_INVALIDATION: string;
|
|
6
|
+
const COMPONENT_LINK_BUNDLE_ASSETS_COUNT: string;
|
|
7
|
+
const COMPONENT_LINK_BUNDLE_ASSETS_CHUNK_COUNT: string;
|
|
8
|
+
const COMPONENT_LINK_MODULES: string;
|
|
9
|
+
const COMPONENT_LINK_MODULES_DUPLICATE: string;
|
|
10
|
+
const COMPONENT_LINK_CHUNK_MODULES: string;
|
|
11
|
+
const COMPONENT_LINK_PACKAGES_COUNT: string;
|
|
12
|
+
const COMPONENT_LINK_PACKAGES_DUPLICATE: string;
|
|
13
|
+
const COMPONENT_LINK_VIEW_PACKAGE: string;
|
|
14
|
+
const COMPONENT_LINK_BUNDLE_ASSETS_BY_FILE_TYPE: string;
|
|
15
|
+
}
|
|
16
|
+
export default _default;
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function createJob(source: any, baseline: any, options?: {}): {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function createJobs(sources: any, options: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function createSummary(metricPaths: any, baselineSourceMetrics: any, currentSourceMetrics: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function compare(jobs: any): import("../report/types").ReportRow[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const SUMMARY_METRIC_PATHS: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function extract(webpackStats: any, baseline: any): {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function filter(source: Object): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export namespace metrics {
|
|
2
|
+
namespace score {
|
|
3
|
+
export const label: string;
|
|
4
|
+
export { METRIC_TYPE_SCORE as type };
|
|
5
|
+
}
|
|
6
|
+
namespace performanceScore {
|
|
7
|
+
const label_1: string;
|
|
8
|
+
export { label_1 as label };
|
|
9
|
+
export { METRIC_TYPE_SCORE as type };
|
|
10
|
+
}
|
|
11
|
+
namespace accessibilityScore {
|
|
12
|
+
const label_2: string;
|
|
13
|
+
export { label_2 as label };
|
|
14
|
+
export { METRIC_TYPE_SCORE as type };
|
|
15
|
+
}
|
|
16
|
+
namespace bestPracticesScore {
|
|
17
|
+
const label_3: string;
|
|
18
|
+
export { label_3 as label };
|
|
19
|
+
export { METRIC_TYPE_SCORE as type };
|
|
20
|
+
}
|
|
21
|
+
namespace seoScore {
|
|
22
|
+
const label_4: string;
|
|
23
|
+
export { label_4 as label };
|
|
24
|
+
export { METRIC_TYPE_SCORE as type };
|
|
25
|
+
}
|
|
26
|
+
namespace pwaScore {
|
|
27
|
+
const label_5: string;
|
|
28
|
+
export { label_5 as label };
|
|
29
|
+
export { METRIC_TYPE_SCORE as type };
|
|
30
|
+
}
|
|
31
|
+
namespace speedIndex {
|
|
32
|
+
const label_6: string;
|
|
33
|
+
export { label_6 as label };
|
|
34
|
+
export { METRIC_TYPE_DURATION as type };
|
|
35
|
+
}
|
|
36
|
+
namespace firstMeaningfulPaint {
|
|
37
|
+
const label_7: string;
|
|
38
|
+
export { label_7 as label };
|
|
39
|
+
export { METRIC_TYPE_DURATION as type };
|
|
40
|
+
}
|
|
41
|
+
namespace timeToFirstByte {
|
|
42
|
+
const label_8: string;
|
|
43
|
+
export { label_8 as label };
|
|
44
|
+
export { METRIC_TYPE_DURATION as type };
|
|
45
|
+
}
|
|
46
|
+
namespace firstInteractive {
|
|
47
|
+
const label_9: string;
|
|
48
|
+
export { label_9 as label };
|
|
49
|
+
export { METRIC_TYPE_DURATION as type };
|
|
50
|
+
}
|
|
51
|
+
namespace totalByteWeight {
|
|
52
|
+
const label_10: string;
|
|
53
|
+
export { label_10 as label };
|
|
54
|
+
export { METRIC_TYPE_FILE_SIZE as type };
|
|
55
|
+
}
|
|
56
|
+
namespace domSize {
|
|
57
|
+
const label_11: string;
|
|
58
|
+
export { label_11 as label };
|
|
59
|
+
export { METRIC_TYPE_NUMERIC as type };
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
import { METRIC_TYPE_SCORE } from "../config/metrics";
|
|
63
|
+
import { METRIC_TYPE_DURATION } from "../config/metrics";
|
|
64
|
+
import { METRIC_TYPE_FILE_SIZE } from "../config/metrics";
|
|
65
|
+
import { METRIC_TYPE_NUMERIC } from "../config/metrics";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function selectors(job: any): {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const createReport: (jobs: Array<any>) => {
|
|
2
|
+
constructor: Function;
|
|
3
|
+
toString(): string;
|
|
4
|
+
toLocaleString(): string;
|
|
5
|
+
valueOf(): Object;
|
|
6
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
7
|
+
isPrototypeOf(v: Object): boolean;
|
|
8
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
9
|
+
insights?: any;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
version: string;
|
|
12
|
+
runs: any[];
|
|
13
|
+
summary: {};
|
|
14
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as types from './types';
|
|
2
|
+
declare type RunMetrics = Record<string, types.MetricValue>;
|
|
3
|
+
export declare const mergeMetricsByKey: (runs: Array<RunMetrics>, rowTransformers?: ((row: types.ReportRow) => types.ReportRow)[] | undefined) => Array<types.ReportRow>;
|
|
4
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as types from '../types';
|
|
2
|
+
import { InsightType } from '../constants';
|
|
3
|
+
interface OptionBudgetMetric {
|
|
4
|
+
metric: string;
|
|
5
|
+
value: number;
|
|
6
|
+
}
|
|
7
|
+
interface Options {
|
|
8
|
+
budgets?: Array<OptionBudgetMetric>;
|
|
9
|
+
}
|
|
10
|
+
interface BudgetInsightMetricData {
|
|
11
|
+
currentValue: number;
|
|
12
|
+
budgetValue: number;
|
|
13
|
+
failed: boolean;
|
|
14
|
+
}
|
|
15
|
+
interface BudgetInsightMetric {
|
|
16
|
+
type: InsightType;
|
|
17
|
+
message: {
|
|
18
|
+
text: string;
|
|
19
|
+
md: string;
|
|
20
|
+
};
|
|
21
|
+
data: BudgetInsightMetricData;
|
|
22
|
+
}
|
|
23
|
+
interface BudgetInsight extends types.Insight {
|
|
24
|
+
data: {
|
|
25
|
+
[metricId: string]: BudgetInsightMetric;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
interface BudgetsInsightsOutput {
|
|
29
|
+
insights: {
|
|
30
|
+
budgets: BudgetInsight;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export declare const getExtract: (source: string) => (_: unknown, currentExtractedData: any, __: unknown, options?: Options) => BudgetsInsightsOutput | null;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as budgetInsights from './budgets-insights';
|
package/types/types.d.ts
ADDED
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
export function getAssetFileTypeFilters(value?: boolean): {};
|
|
2
|
+
export function getAssetEntryTypeFilters(value?: boolean): {};
|
|
3
|
+
export function getModuleSourceTypeFilters(value?: boolean): {
|
|
4
|
+
[x: string]: boolean;
|
|
5
|
+
};
|
|
6
|
+
export function getModuleChunkFilters(chunkIds: any, value: any): any;
|
|
7
|
+
export function getModuleFileTypeFilters(value?: boolean): {};
|
|
8
|
+
export namespace TOTALS {
|
|
9
|
+
const section: string;
|
|
10
|
+
const title: string;
|
|
11
|
+
}
|
|
12
|
+
export namespace BUNDLE_ASSETS_INITIAL_JS {
|
|
13
|
+
const section_1: string;
|
|
14
|
+
export { section_1 as section };
|
|
15
|
+
const title_1: string;
|
|
16
|
+
export { title_1 as title };
|
|
17
|
+
export const params: {
|
|
18
|
+
[x: string]: {
|
|
19
|
+
filters: {};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export namespace BUNDLE_ASSETS_INITIAL_CSS {
|
|
24
|
+
const section_2: string;
|
|
25
|
+
export { section_2 as section };
|
|
26
|
+
const title_2: string;
|
|
27
|
+
export { title_2 as title };
|
|
28
|
+
const params_1: {
|
|
29
|
+
[x: string]: {
|
|
30
|
+
filters: {};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export { params_1 as params };
|
|
34
|
+
}
|
|
35
|
+
export namespace BUNDLE_ASSETS_CACHE_INVALIDATION {
|
|
36
|
+
const section_3: string;
|
|
37
|
+
export { section_3 as section };
|
|
38
|
+
const title_3: string;
|
|
39
|
+
export { title_3 as title };
|
|
40
|
+
const params_2: {
|
|
41
|
+
[x: string]: {
|
|
42
|
+
filters: {
|
|
43
|
+
[x: string]: boolean;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export { params_2 as params };
|
|
48
|
+
}
|
|
49
|
+
export namespace BUNDLE_ASSETS_COUNT {
|
|
50
|
+
const section_4: string;
|
|
51
|
+
export { section_4 as section };
|
|
52
|
+
const title_4: string;
|
|
53
|
+
export { title_4 as title };
|
|
54
|
+
const params_3: {
|
|
55
|
+
[x: string]: {
|
|
56
|
+
filters: {
|
|
57
|
+
[x: string]: boolean;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export { params_3 as params };
|
|
62
|
+
}
|
|
63
|
+
export namespace BUNDLE_ASSETS_CHUNK_COUNT {
|
|
64
|
+
const section_5: string;
|
|
65
|
+
export { section_5 as section };
|
|
66
|
+
const title_5: string;
|
|
67
|
+
export { title_5 as title };
|
|
68
|
+
const params_4: {
|
|
69
|
+
[x: string]: {
|
|
70
|
+
filters: {};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
export { params_4 as params };
|
|
74
|
+
}
|
|
75
|
+
export namespace BUNDLE_MODULES {
|
|
76
|
+
const section_6: string;
|
|
77
|
+
export { section_6 as section };
|
|
78
|
+
const title_6: string;
|
|
79
|
+
export { title_6 as title };
|
|
80
|
+
const params_5: {
|
|
81
|
+
[x: string]: {
|
|
82
|
+
filters: {
|
|
83
|
+
[x: string]: boolean;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export { params_5 as params };
|
|
88
|
+
}
|
|
89
|
+
export namespace BUNDLE_MODULES_DUPLICATE {
|
|
90
|
+
const section_7: string;
|
|
91
|
+
export { section_7 as section };
|
|
92
|
+
const title_7: string;
|
|
93
|
+
export { title_7 as title };
|
|
94
|
+
const params_6: {
|
|
95
|
+
[x: string]: {
|
|
96
|
+
filters: {
|
|
97
|
+
[x: string]: boolean;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
export { params_6 as params };
|
|
102
|
+
}
|
|
103
|
+
export function getBundleModulesBySearch(search: any): {
|
|
104
|
+
section: string;
|
|
105
|
+
title: string;
|
|
106
|
+
params: {
|
|
107
|
+
[x: string]: {
|
|
108
|
+
search: any;
|
|
109
|
+
filters: {
|
|
110
|
+
[x: string]: boolean;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
export function getBundleModulesByChunk(chunkIds: any, chunkId: any, fileType?: string): {
|
|
116
|
+
section: string;
|
|
117
|
+
title: string;
|
|
118
|
+
params: {
|
|
119
|
+
[x: string]: {
|
|
120
|
+
filters: any;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export namespace BUNLDE_PACKAGES_COUNT {
|
|
125
|
+
const section_8: string;
|
|
126
|
+
export { section_8 as section };
|
|
127
|
+
const title_8: string;
|
|
128
|
+
export { title_8 as title };
|
|
129
|
+
const params_7: {
|
|
130
|
+
[x: string]: {
|
|
131
|
+
filters: {
|
|
132
|
+
[x: string]: boolean;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
export { params_7 as params };
|
|
137
|
+
}
|
|
138
|
+
export namespace BUNDLE_PACKAGES_DUPLICATE {
|
|
139
|
+
const section_9: string;
|
|
140
|
+
export { section_9 as section };
|
|
141
|
+
const title_9: string;
|
|
142
|
+
export { title_9 as title };
|
|
143
|
+
const params_8: {
|
|
144
|
+
[x: string]: {
|
|
145
|
+
filters: {
|
|
146
|
+
[x: string]: boolean;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
export { params_8 as params };
|
|
151
|
+
}
|
|
152
|
+
export function getBundleAssetsFileTypeComponentLink(fileType: any, label: any): {
|
|
153
|
+
section: string;
|
|
154
|
+
title: string;
|
|
155
|
+
params: {
|
|
156
|
+
[x: string]: {
|
|
157
|
+
filters: {};
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
export function getBundlePackagesByNameComponentLink(search: any): {
|
|
162
|
+
section: string;
|
|
163
|
+
title: string;
|
|
164
|
+
params: {
|
|
165
|
+
[x: string]: {
|
|
166
|
+
search: any;
|
|
167
|
+
filters: {
|
|
168
|
+
[x: string]: boolean;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
export function getComponentStateQueryString(params?: {}): string;
|
|
174
|
+
export const METRIC_COMPONENT_LINKS: Map<string, {
|
|
175
|
+
link: {
|
|
176
|
+
section: string;
|
|
177
|
+
title: string;
|
|
178
|
+
};
|
|
179
|
+
showDelta?: undefined;
|
|
180
|
+
} | {
|
|
181
|
+
link: {
|
|
182
|
+
section: string;
|
|
183
|
+
title: string;
|
|
184
|
+
params: {
|
|
185
|
+
[x: string]: {
|
|
186
|
+
filters: {
|
|
187
|
+
[x: string]: boolean;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
showDelta: boolean;
|
|
193
|
+
}>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export function getFilenameFileType(filename: string, patterns: Object): string;
|
|
2
|
+
export function getFileType(filename: any): string;
|
|
3
|
+
export function getModuleSourceFileType(moduleSourceFilename: string): string;
|
|
4
|
+
export function getModuleFileType(moduleFilename: string): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export namespace compareBySection {
|
|
2
|
+
export { compareStats as stats };
|
|
3
|
+
export { compareSizes as sizes };
|
|
4
|
+
export { compareAssets as assets };
|
|
5
|
+
export { compareModules as modules };
|
|
6
|
+
export { comparePackages as packages };
|
|
7
|
+
}
|
|
8
|
+
export function compare(jobs: Object[]): Object;
|
|
9
|
+
declare function compareStats(jobs: Object[], rowTransformers?: Function[] | undefined): Object[];
|
|
10
|
+
declare function compareSizes(jobs: Object[], rowTransformers?: Function[] | undefined): Object[];
|
|
11
|
+
declare function compareAssets(jobs: Object[], rowTransformers?: Function[] | undefined): Object[];
|
|
12
|
+
declare function compareModules(jobs: Object[], rowTransformers?: Function[] | undefined): Object[];
|
|
13
|
+
declare function comparePackages(jobs: Object[], rowTransformers?: Function[] | undefined): Object[];
|
|
14
|
+
export {};
|