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 5757 "@types/lodash" : " ^4.17.15" ,
5858 "@types/lodash-es" : " ^4.17.12" ,
5959 "@types/micromatch" : " ^4.0.9" ,
60- "@types/node" : " ^22.13.2 " ,
60+ "@types/node" : " ^22.13.4 " ,
6161 "@types/resolve" : " ^1.20.6" ,
6262 "@types/semver" : " ^7.5.8" ,
6363 "@types/set-value" : " ^4.0.3" ,
6464 "@vitest/coverage-v8" : " ~3.0.5" ,
65- "astro" : " ^5.2.6 " ,
65+ "astro" : " ^5.3.0 " ,
6666 "ci-info" : " ^4.1.0" ,
6767 "comment-json" : " ^4.2.5" ,
6868 "cross-env" : " ^7.0.3" ,
9494 "postcss7" : " npm:postcss@7" ,
9595 "prettier" : " ^3.5.1" ,
9696 "rimraf" : " ^6.0.1" ,
97- "rollup" : " ^4.34.6 " ,
97+ "rollup" : " ^4.34.7 " ,
9898 "set-value" : " ^4.1.0" ,
9999 "tailwindcss" : " ^3.4.17" ,
100100 "tailwindcss-patch" : " workspace:*" ,
110110 "vite" : " ^6.1.0" ,
111111 "vite-tsconfig-paths" : " ^5.1.4" ,
112112 "vitest" : " ~3.0.5" ,
113- "webpack" : " ^5.97.1 " ,
113+ "webpack" : " ^5.98.0 " ,
114114 "webpack-build-utils" : " ^0.0.7" ,
115115 "yaml" : " ^2.7.0"
116116 }
Original file line number Diff line number Diff line change 6464 },
6565 "dependencies" : {
6666 "@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 " ,
7070 "@tailwindcss-mangle/config" : " workspace:^" ,
7171 "@tailwindcss-mangle/shared" : " workspace:^" ,
7272 "fast-sort" : " ^3.4.1" ,
Original file line number Diff line number Diff line change 7171 }
7272 },
7373 "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 " ,
7878 "@tailwindcss-mangle/config" : " workspace:^" ,
7979 "cac" : " ^6.7.14" ,
8080 "consola" : " ^3.4.0" ,
Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ export async function extractRawCandidates(
4444}
4545
4646export interface ExtractValidCandidatesOption {
47- sources : GlobEntry [ ]
48- base : string
49- css : string
47+ sources ? : GlobEntry [ ]
48+ base ? : string
49+ css ? : string
5050}
5151
52- export async function extractValidCandidates ( options ?: Partial < ExtractValidCandidatesOption > ) {
52+ export async function extractValidCandidates ( options ?: ExtractValidCandidatesOption ) {
5353 const cwd = process . cwd ( )
5454 const { sources, base, css } = defuOverrideArray <
5555 Required < ExtractValidCandidatesOption > ,
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export type TailwindcssClassCache = Map<
5656export interface TailwindcssRuntimeContext {
5757 applyClassCache : Map < any , any >
5858 candidateRuleCache : Map <
59- string | string ,
59+ string ,
6060 Set <
6161 [
6262 {
You can’t perform that action at this time.
0 commit comments