Skip to content

Commit d31eaa4

Browse files
authoredOct 10, 2024··
feat: updated Babel dependencies and miscellaneous devDependencies (#591)
* chore: ran ncu -u * pnpm dedupe * remove .husky/pre-commit lines * fix tests
1 parent 1864154 commit d31eaa4

File tree

4 files changed

+426
-418
lines changed

4 files changed

+426
-418
lines changed
 

‎.husky/pre-commit

-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
31
npx lint-staged

‎package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,21 @@
4747
"*": "prettier --ignore-unknown --write"
4848
},
4949
"dependencies": {
50-
"@babel/generator": "^7.23.6",
51-
"@babel/parser": "^7.22.5",
52-
"@babel/traverse": "^7.22.5"
50+
"@babel/generator": "^7.25.7",
51+
"@babel/parser": "^7.25.8",
52+
"@babel/traverse": "^7.25.7"
5353
},
5454
"devDependencies": {
55-
"@babel/types": "^7.22.5",
55+
"@babel/types": "^7.25.8",
5656
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
5757
"@eslint/js": "^9.12.0",
58-
"@release-it/conventional-changelog": "^8.0.0",
58+
"@release-it/conventional-changelog": "^8.0.2",
5959
"@types/babel__generator": "^7.6.8",
60-
"@types/babel__traverse": "^7.20.1",
61-
"@vitest/coverage-v8": "^2.0.0",
60+
"@types/babel__traverse": "^7.20.6",
61+
"@vitest/coverage-v8": "^2.1.2",
6262
"@vitest/eslint-plugin": "^1.1.7",
63-
"console-fail-test": "^0.4.0",
64-
"cspell": "^8.0.0",
63+
"console-fail-test": "^0.5.0",
64+
"cspell": "^8.14.4",
6565
"eslint": "^9.12.0",
6666
"eslint-plugin-jsdoc": "^50.3.1",
6767
"eslint-plugin-jsonc": "^2.16.0",
@@ -84,12 +84,12 @@
8484
"tsup": "^8.3.0",
8585
"typescript": "^5.6.3",
8686
"typescript-eslint": "^8.8.1",
87-
"vitest": "^2.0.0"
87+
"vitest": "^2.1.2"
8888
},
8989
"peerDependencies": {
9090
"prettier": "^2 || ^3"
9191
},
92-
"packageManager": "pnpm@9.5.0",
92+
"packageManager": "pnpm@9.12.1",
9393
"engines": {
9494
"node": ">=18"
9595
},

‎pnpm-lock.yaml

+413-403
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/preprocess.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ c}`,
9999
[`while (a) ;`, `while (a) ;`],
100100
[`while (a) b;`, `while(a){b}`],
101101
[`while (a) { b; }`, `while (a) { b; }`],
102-
[`while (a) <b>c;`, `while(a){(<b>c)}`],
102+
[`while (a) <b>c;`, `while(a){<b>c}`],
103103
[`while (a) <b />;`, `while(a){<b/>}`, `test.js`],
104104
[`while (a) <b />;`, `while(a){<b/>}`, `test.tsx`],
105105
[
@@ -109,7 +109,7 @@ while (a) // b
109109
`,
110110
`
111111
while(a){// b
112-
(<c>d)}
112+
<c>d}
113113
`,
114114
],
115115

0 commit comments

Comments
 (0)
Please sign in to comment.