Skip to content

Commit

Permalink
chore(deps): upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed May 19, 2024
1 parent 8a50930 commit 290859a
Show file tree
Hide file tree
Showing 5 changed files with 626 additions and 412 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@changesets/cli": "^2.27.2",
"@tailwindcss-mangle/core": "workspace:*",
"@tailwindcss-mangle/shared": "workspace:*",
"@tsconfig/recommended": "^1.0.6",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.12.10",
"@types/node": "^20.12.12",
"@vitest/coverage-v8": "^1.6.0",
"bumpp": "^9.4.1",
"cross-env": "^7.0.3",
"dedent": "^1.5.3",
"defu": "^6.1.4",
"del": "^7.1.0",
"eslint": "^8.56.0",
"eslint": "^9.3.0",
"eslint-config-icebreaker": "^1.2.3",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/tailwindcss-patch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@types/babel__traverse": "^7.20.5",
"@types/resolve": "^1.20.6",
"@types/semver": "^7.5.8",
"pkg-types": "^1.1.0",
"pkg-types": "^1.1.1",
"tailwindcss": "^3.4.3"
},
"dependencies": {
Expand All @@ -58,7 +58,7 @@
"lilconfig": "^3.1.1",
"postcss": "^8.4.38",
"resolve": "^1.22.8",
"semver": "^7.6.1"
"semver": "^7.6.2"
},
"homepage": "https://github.com/sonofmagic/tailwindcss-mangle",
"repository": {
Expand Down
15 changes: 12 additions & 3 deletions packages/tailwindcss-patch/src/babel/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
export { default as generate } from '@babel/generator'
export { default as traverse } from '@babel/traverse'
export { parse } from '@babel/parser'
import _babelGenerate from '@babel/generator'
import _babelTraverse from '@babel/traverse'

export { parse, parseExpression } from '@babel/parser'

function _interopDefaultCompat(e: any) {
return e && typeof e === 'object' && 'default' in e ? e.default : e
}

export const generate = _interopDefaultCompat(_babelGenerate) as typeof _babelGenerate

export const traverse = _interopDefaultCompat(_babelTraverse) as typeof _babelTraverse
2 changes: 1 addition & 1 deletion packages/unplugin-tailwindcss-mangle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
},
"devDependencies": {
"@types/babel__helper-plugin-utils": "^7.10.3",
"astro": "^4.7.1",
"astro": "^4.8.6",
"css-loader": "^7.1.1",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.9.0",
Expand Down
Loading

0 comments on commit 290859a

Please sign in to comment.