Skip to content

Commit 75079c5

Browse files
azuclaude
andauthored
fix: update minimatch import for v10 compatibility (#165)
* fix: update minimatch import for v10 compatibility - Change from default export to named export (minimatch v10 breaking change) - Make Document:exit handler async to fix TypeScript type error - All tests passing (36 passing) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * fix: remove @types/minimatch as minimatch v10 includes types - minimatch v10 includes its own TypeScript definitions - @types/minimatch is now deprecated and causes conflicts 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>
1 parent c4119ae commit 75079c5

File tree

3 files changed

+802
-1550
lines changed

3 files changed

+802
-1550
lines changed

package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,22 @@
4040
"trailingComma": "none"
4141
},
4242
"dependencies": {
43-
"minimatch": "^3.0.4",
44-
"p-memoize": "^3.1.0",
45-
"p-queue": "^6.2.0",
46-
"textlint-rule-helper": "^2.2.4"
43+
"minimatch": "^10.0.3",
44+
"p-memoize": "^8.0.0",
45+
"p-queue": "^8.1.0",
46+
"textlint-rule-helper": "^2.3.1"
4747
},
4848
"devDependencies": {
49-
"@textlint/ast-node-types": "^12.6.1",
50-
"@textlint/types": "^12.6.1",
51-
"@types/minimatch": "^5.1.2",
49+
"@textlint/ast-node-types": "^15.2.1",
50+
"@textlint/types": "^15.2.1",
5251
"@types/mocha": "^10.0.0",
5352
"@types/node": "^24.3.0",
5453
"lint-staged": "^16.1.5",
5554
"mocha": "^11.7.1",
5655
"prettier": "^3.6.2",
57-
"textlint": "^12.6.1",
58-
"textlint-scripts": "^12.6.1",
59-
"textlint-tester": "^12.6.1",
56+
"textlint": "^15.2.1",
57+
"textlint-scripts": "^15.2.1",
58+
"textlint-tester": "^15.2.1",
6059
"ts-node": "^10.9.1",
6160
"ts-node-test-register": "^10.0.0",
6261
"typescript": "^5.9.2"
@@ -67,8 +66,8 @@
6766
},
6867
"pnpm": {
6968
"overrides": {
70-
"@textlint/ast-node-types": "^12.6.1",
71-
"@textlint/types": "^12.6.1"
69+
"@textlint/ast-node-types": "^15.2.1",
70+
"@textlint/types": "^15.2.1"
7271
}
7372
},
7473
"peerDependencies": {

0 commit comments

Comments
 (0)