Skip to content

Commit

Permalink
chore: upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Aug 1, 2024
1 parent 1000529 commit c9d6263
Show file tree
Hide file tree
Showing 6 changed files with 1,846 additions and 1,297 deletions.
8 changes: 8 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@ import antfu from '@antfu/eslint-config'

export default antfu({
unocss: true,
rules: {
'regexp/no-useless-quantifier': 'off',
'regexp/no-super-linear-backtracking': 'off',
'regexp/no-misleading-capturing-group': 'off',
'regexp/strict': 'off',
'regexp/no-lazy-ends': 'off',
'regexp/no-useless-lazy': 'off',
},
})
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@
"magicAnimate": "esno scripts/magicAnimate.ts"
},
"devDependencies": {
"@antfu/eslint-config": "2.21.1",
"@babel/types": "^7.24.7",
"@antfu/eslint-config": "2.24.1",
"@babel/types": "^7.25.2",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.14.2",
"@types/node": "^22.0.2",
"@types/postcss-js": "^4.0.4",
"@unocss/eslint-plugin": "^0.61.0",
"@unocss/eslint-plugin": "^0.61.9",
"bumpp": "^9.4.1",
"eslint": "^9.4.0",
"eslint": "^9.8.0",
"esno": "^4.7.0",
"fs-extra": "^11.2.0",
"lint-staged": "^15.2.6",
"lint-staged": "^15.2.7",
"magic.css": "^1.4.8",
"simple-git-hooks": "^2.11.1",
"typescript": "5.4.5",
"typescript": "5.5.4",
"unbuild": "^2.0.0",
"unocss": "^0.61.0",
"unocss": "^0.61.9",
"unocss-preset-useful": "workspace:*",
"vite": "^5.2.13",
"vitest": "^1.6.0"
"vite": "^5.3.5",
"vitest": "^2.0.5"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
Expand Down
18 changes: 9 additions & 9 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
"stub": "unbuild --stub"
},
"dependencies": {
"@unocss/preset-attributify": "^0.61.0",
"@unocss/preset-icons": "^0.61.0",
"@unocss/preset-mini": "^0.61.0",
"@unocss/preset-rem-to-px": "^0.61.0",
"@unocss/preset-tagify": "^0.61.0",
"@unocss/preset-typography": "^0.61.0",
"@unocss/preset-uno": "^0.61.0",
"@unocss/preset-web-fonts": "^0.61.0",
"postcss": "^8.4.38",
"@unocss/preset-attributify": "^0.61.9",
"@unocss/preset-icons": "^0.61.9",
"@unocss/preset-mini": "^0.61.9",
"@unocss/preset-rem-to-px": "^0.61.9",
"@unocss/preset-tagify": "^0.61.9",
"@unocss/preset-typography": "^0.61.9",
"@unocss/preset-uno": "^0.61.9",
"@unocss/preset-web-fonts": "^0.61.9",
"postcss": "^8.4.40",
"postcss-js": "^4.0.1",
"unocss-preset-scrollbar": "^0.3.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/core/preflights/reset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ Make elements with the HTML hidden attribute stay hidden by default.
`.trim()

function compressCSS(css: string) {
return css.replace(/[\s\r\n]+/g, ' ').replace(/\/\*[\s\S]*?\*\//g, '')
return css.replace(/\s+/g, ' ').replace(/\/\*[\s\S]*?\*\//g, '')
}

export const resetPreflight: Preflight = {
Expand Down
10 changes: 5 additions & 5 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.27"
"vue": "^3.4.35"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"typescript": "^5.4.5",
"vite": "^5.2.13",
"vue-tsc": "^2.0.21"
"@vitejs/plugin-vue": "^5.1.2",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vue-tsc": "^2.0.29"
}
}
Loading

0 comments on commit c9d6263

Please sign in to comment.