@bamboocss/parser 1.39.1 → 1.40.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/index.d.cts +3 -0
- package/dist/index.d.mts +3 -0
- package/package.json +10 -10
package/dist/index.d.cts
CHANGED
|
@@ -52,9 +52,12 @@ declare class Generator extends Context {
|
|
|
52
52
|
* markdown is invisible to a scan of your own source, and the failure is an element quietly
|
|
53
53
|
* losing its reset rather than anything that reports itself.
|
|
54
54
|
*/
|
|
55
|
+
/** Whether this context has already named what the reset lost; see `prunePreflight`. */
|
|
56
|
+
private reportedPreflightPrune;
|
|
55
57
|
prunePreflight: (sheet: Stylesheet, rendered: Set<string>) => {
|
|
56
58
|
removedRules: number;
|
|
57
59
|
removedParts: number;
|
|
60
|
+
removedElements: Set<string>;
|
|
58
61
|
} | undefined;
|
|
59
62
|
/**
|
|
60
63
|
* Drop `@keyframes` nothing can reach. Same completeness requirement as
|
package/dist/index.d.mts
CHANGED
|
@@ -52,9 +52,12 @@ declare class Generator extends Context {
|
|
|
52
52
|
* markdown is invisible to a scan of your own source, and the failure is an element quietly
|
|
53
53
|
* losing its reset rather than anything that reports itself.
|
|
54
54
|
*/
|
|
55
|
+
/** Whether this context has already named what the reset lost; see `prunePreflight`. */
|
|
56
|
+
private reportedPreflightPrune;
|
|
55
57
|
prunePreflight: (sheet: Stylesheet, rendered: Set<string>) => {
|
|
56
58
|
removedRules: number;
|
|
57
59
|
removedParts: number;
|
|
60
|
+
removedElements: Set<string>;
|
|
58
61
|
} | undefined;
|
|
59
62
|
/**
|
|
60
63
|
* Drop `@keyframes` nothing can reach. Same completeness requirement as
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bamboocss/parser",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.40.0",
|
|
4
4
|
"description": "The static parser for bamboo css",
|
|
5
5
|
"homepage": "https://bamboocss.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"ts-morph": "28.0.0",
|
|
36
36
|
"ts-pattern": "5.9.0",
|
|
37
|
-
"@bamboocss/config": "^1.
|
|
38
|
-
"@bamboocss/core": "^1.
|
|
39
|
-
"@bamboocss/extractor": "1.
|
|
40
|
-
"@bamboocss/
|
|
41
|
-
"@bamboocss/
|
|
42
|
-
"@bamboocss/types": "1.
|
|
37
|
+
"@bamboocss/config": "^1.40.0",
|
|
38
|
+
"@bamboocss/core": "^1.40.0",
|
|
39
|
+
"@bamboocss/extractor": "1.40.0",
|
|
40
|
+
"@bamboocss/shared": "1.40.0",
|
|
41
|
+
"@bamboocss/logger": "1.40.0",
|
|
42
|
+
"@bamboocss/types": "1.40.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@bamboocss/
|
|
46
|
-
"@bamboocss/plugin-
|
|
47
|
-
"@bamboocss/
|
|
45
|
+
"@bamboocss/plugin-svelte": "1.40.0",
|
|
46
|
+
"@bamboocss/plugin-vue": "1.40.0",
|
|
47
|
+
"@bamboocss/generator": "1.40.0"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "tsdown src/index.ts --format=esm,cjs --dts",
|