lighthouse 9.5.0-dev.20221031 → 9.5.0-dev.20221102

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.
@@ -94,17 +94,29 @@ class DOMSize extends Audit {
94
94
  const items = [
95
95
  {
96
96
  statistic: str_(UIStrings.statisticDOMElements),
97
- value: stats.totalBodyElements,
97
+ value: {
98
+ type: 'numeric',
99
+ granularity: 1,
100
+ value: stats.totalBodyElements,
101
+ },
98
102
  },
99
103
  {
100
104
  node: Audit.makeNodeItem(stats.depth),
101
105
  statistic: str_(UIStrings.statisticDOMDepth),
102
- value: stats.depth.max,
106
+ value: {
107
+ type: 'numeric',
108
+ granularity: 1,
109
+ value: stats.depth.max,
110
+ },
103
111
  },
104
112
  {
105
113
  node: Audit.makeNodeItem(stats.width),
106
114
  statistic: str_(UIStrings.statisticDOMWidth),
107
- value: stats.width.max,
115
+ value: {
116
+ type: 'numeric',
117
+ granularity: 1,
118
+ value: stats.width.max,
119
+ },
108
120
  },
109
121
  ];
110
122
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lighthouse",
3
3
  "type": "module",
4
- "version": "9.5.0-dev.20221031",
4
+ "version": "9.5.0-dev.20221102",
5
5
  "description": "Automated auditing, performance metrics, and best practices for the web.",
6
6
  "main": "./core/index.js",
7
7
  "bin": {