@projectwallace/css-analyzer 9.0.0 → 9.2.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/dist/css-analyzer.js +796 -780
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -138,6 +138,7 @@ declare function analyzeInternal<T extends boolean>(css: string, options: Option
|
|
|
138
138
|
};
|
|
139
139
|
layer: CollectionCount<T>;
|
|
140
140
|
property: CollectionCount<T>;
|
|
141
|
+
scope: CollectionCount<T>;
|
|
141
142
|
complexity: {
|
|
142
143
|
min: number;
|
|
143
144
|
max: number;
|
|
@@ -327,6 +328,7 @@ declare function analyzeInternal<T extends boolean>(css: string, options: Option
|
|
|
327
328
|
ratio: number;
|
|
328
329
|
};
|
|
329
330
|
pseudoClasses: CollectionCount<T>;
|
|
331
|
+
pseudoElements: CollectionCount<T>;
|
|
330
332
|
accessibility: {
|
|
331
333
|
total: number;
|
|
332
334
|
totalUnique: number;
|
|
@@ -339,6 +341,7 @@ declare function analyzeInternal<T extends boolean>(css: string, options: Option
|
|
|
339
341
|
}) & {
|
|
340
342
|
ratio: number;
|
|
341
343
|
};
|
|
344
|
+
attributes: CollectionCount<T>;
|
|
342
345
|
keyframes: CollectionCount<T>;
|
|
343
346
|
prefixed: {
|
|
344
347
|
total: number;
|
|
@@ -529,6 +532,7 @@ declare function analyzeInternal<T extends boolean>(css: string, options: Option
|
|
|
529
532
|
};
|
|
530
533
|
keywords: CollectionCount<T>;
|
|
531
534
|
resets: CollectionCount<T>;
|
|
535
|
+
displays: CollectionCount<T>;
|
|
532
536
|
};
|
|
533
537
|
__meta__: {
|
|
534
538
|
parseTime: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projectwallace/css-analyzer",
|
|
3
3
|
"description": "The best CSS analyzer out there. Check design tokens, complexity, specificity, performance and more.",
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.2.0",
|
|
5
5
|
"author": "Bart Veneman",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|