File tree Expand file tree Collapse file tree 7 files changed +398
-420
lines changed Expand file tree Collapse file tree 7 files changed +398
-420
lines changed Original file line number Diff line number Diff line change 57
57
"@types/lodash" : " ^4.17.15" ,
58
58
"@types/lodash-es" : " ^4.17.12" ,
59
59
"@types/micromatch" : " ^4.0.9" ,
60
- "@types/node" : " ^22.13.2 " ,
60
+ "@types/node" : " ^22.13.4 " ,
61
61
"@types/resolve" : " ^1.20.6" ,
62
62
"@types/semver" : " ^7.5.8" ,
63
63
"@types/set-value" : " ^4.0.3" ,
64
64
"@vitest/coverage-v8" : " ~3.0.5" ,
65
- "astro" : " ^5.2.6 " ,
65
+ "astro" : " ^5.3.0 " ,
66
66
"ci-info" : " ^4.1.0" ,
67
67
"comment-json" : " ^4.2.5" ,
68
68
"cross-env" : " ^7.0.3" ,
94
94
"postcss7" : " npm:postcss@7" ,
95
95
"prettier" : " ^3.5.1" ,
96
96
"rimraf" : " ^6.0.1" ,
97
- "rollup" : " ^4.34.6 " ,
97
+ "rollup" : " ^4.34.7 " ,
98
98
"set-value" : " ^4.1.0" ,
99
99
"tailwindcss" : " ^3.4.17" ,
100
100
"tailwindcss-patch" : " workspace:*" ,
110
110
"vite" : " ^6.1.0" ,
111
111
"vite-tsconfig-paths" : " ^5.1.4" ,
112
112
"vitest" : " ~3.0.5" ,
113
- "webpack" : " ^5.97.1 " ,
113
+ "webpack" : " ^5.98.0 " ,
114
114
"webpack-build-utils" : " ^0.0.7" ,
115
115
"yaml" : " ^2.7.0"
116
116
}
Original file line number Diff line number Diff line change 64
64
},
65
65
"dependencies" : {
66
66
"@ast-core/escape" : " ^1.0.1" ,
67
- "@babel/parser" : " ^7.26.8 " ,
68
- "@babel/traverse" : " ^7.26.8 " ,
69
- "@babel/types" : " ^7.26.8 " ,
67
+ "@babel/parser" : " ^7.26.9 " ,
68
+ "@babel/traverse" : " ^7.26.9 " ,
69
+ "@babel/types" : " ^7.26.9 " ,
70
70
"@tailwindcss-mangle/config" : " workspace:^" ,
71
71
"@tailwindcss-mangle/shared" : " workspace:^" ,
72
72
"fast-sort" : " ^3.4.1" ,
Original file line number Diff line number Diff line change 71
71
}
72
72
},
73
73
"dependencies" : {
74
- "@babel/generator" : " ^7.26.8 " ,
75
- "@babel/parser" : " ^7.26.8 " ,
76
- "@babel/traverse" : " ^7.26.8 " ,
77
- "@babel/types" : " ^7.26.8 " ,
74
+ "@babel/generator" : " ^7.26.9 " ,
75
+ "@babel/parser" : " ^7.26.9 " ,
76
+ "@babel/traverse" : " ^7.26.9 " ,
77
+ "@babel/types" : " ^7.26.9 " ,
78
78
"@tailwindcss-mangle/config" : " workspace:^" ,
79
79
"cac" : " ^6.7.14" ,
80
80
"consola" : " ^3.4.0" ,
Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ export async function extractRawCandidates(
44
44
}
45
45
46
46
export interface ExtractValidCandidatesOption {
47
- sources : GlobEntry [ ]
48
- base : string
49
- css : string
47
+ sources ? : GlobEntry [ ]
48
+ base ? : string
49
+ css ? : string
50
50
}
51
51
52
- export async function extractValidCandidates ( options ?: Partial < ExtractValidCandidatesOption > ) {
52
+ export async function extractValidCandidates ( options ?: ExtractValidCandidatesOption ) {
53
53
const cwd = process . cwd ( )
54
54
const { sources, base, css } = defuOverrideArray <
55
55
Required < ExtractValidCandidatesOption > ,
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export type TailwindcssClassCache = Map<
56
56
export interface TailwindcssRuntimeContext {
57
57
applyClassCache : Map < any , any >
58
58
candidateRuleCache : Map <
59
- string | string ,
59
+ string ,
60
60
Set <
61
61
[
62
62
{
You can’t perform that action at this time.
0 commit comments