chore: update dev dependencies and ESLint parser

- Upgrade astro-eslint-parser to version 1.2.1
- Add @types/mdast type definitions
- Minor dependency version updates in package.json and pnpm-lock.yaml
This commit is contained in:
radishzzz 2025-01-25 08:29:54 +00:00
parent fc1daf4335
commit e9e318e02d
2 changed files with 15 additions and 48 deletions

View file

@ -47,11 +47,12 @@
"devDependencies": {
"@antfu/eslint-config": "^3.16.0",
"@types/markdown-it": "^14.1.2",
"@types/mdast": "^4.0.4",
"@types/node": "^22.10.10",
"@types/sanitize-html": "^2.13.0",
"@unocss/eslint-plugin": "^65.4.3",
"@unocss/preset-attributify": "^65.4.3",
"astro-eslint-parser": "^1.2.0",
"astro-eslint-parser": "^1.2.1",
"eslint": "^9.19.0",
"eslint-plugin-astro": "^1.3.1",
"lint-staged": "^15.4.2",

60
pnpm-lock.yaml generated
View file

@ -98,10 +98,13 @@ importers:
devDependencies:
'@antfu/eslint-config':
specifier: ^3.16.0
version: 3.16.0(@typescript-eslint/utils@8.21.0(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@unocss/eslint-plugin@65.4.3(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(astro-eslint-parser@1.2.0)(eslint-plugin-astro@1.3.1(eslint@9.19.0(jiti@2.4.2)))(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3)
version: 3.16.0(@typescript-eslint/utils@8.21.0(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@unocss/eslint-plugin@65.4.3(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(astro-eslint-parser@1.2.1)(eslint-plugin-astro@1.3.1(eslint@9.19.0(jiti@2.4.2)))(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3)
'@types/markdown-it':
specifier: ^14.1.2
version: 14.1.2
'@types/mdast':
specifier: ^4.0.4
version: 4.0.4
'@types/node':
specifier: ^22.10.10
version: 22.10.10
@ -115,8 +118,8 @@ importers:
specifier: ^65.4.3
version: 65.4.3
astro-eslint-parser:
specifier: ^1.2.0
version: 1.2.0
specifier: ^1.2.1
version: 1.2.1
eslint:
specifier: ^9.19.0
version: 9.19.0(jiti@2.4.2)
@ -976,10 +979,6 @@ packages:
'@shikijs/vscode-textmate@10.0.1':
resolution: {integrity: sha512-fTIQwLF+Qhuws31iw7Ncl1R3HUDtGwIipiJ9iU+UsDUwMhegFcQKQHd51nZjb7CArq0MvON8rbgCGQYWHUKAdg==}
'@sindresorhus/merge-streams@2.3.0':
resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==}
engines: {node: '>=18'}
'@stylistic/eslint-plugin@2.13.0':
resolution: {integrity: sha512-RnO1SaiCFHn666wNz2QfZEFxvmiNRqhzaMXHXxXXKt+MEP7aajlPxUSMIQpKAaJfverpovEYqjBOXDq6dDcaOQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@ -1353,8 +1352,8 @@ packages:
astro-compress@2.3.6:
resolution: {integrity: sha512-P93OXRRykS2iLGN20KAr1tJUAUGptKOnUybqg00/8N4aHrZxR76giBhK/C9RCLm8tsnxL0nR5FCXR53MUza9Mg==}
astro-eslint-parser@1.2.0:
resolution: {integrity: sha512-LmJ63+AsDEBjo1rXFe87rxqhvMCS3W756oGBDqg83+FAOqGPjj1OncpCcn1OPqOhk5MyENkx3w0H6TrDgXEgPQ==}
astro-eslint-parser@1.2.1:
resolution: {integrity: sha512-3oqANMjrvJ+IE5pwlUWsH/4UztmYf/GTL0HPUkWnYBNAHiGVGrOh2EbegxS5niAwlO0w9dRYk0CkCPlJcu8c3Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
astro-robots-txt@1.0.0:
@ -2126,10 +2125,6 @@ packages:
resolution: {integrity: sha512-OkToC372DtlQeje9/zHIo5CT8lRP/FUgEOKBEhU4e0abL7J7CD24fD9ohiLN5hagG/kWCYj4K5oaxxtj2Z0Dig==}
engines: {node: '>=18'}
globby@14.0.2:
resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==}
engines: {node: '>=18'}
graceful-fs@4.2.11:
resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
@ -2940,10 +2935,6 @@ packages:
path-parse@1.0.7:
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
path-type@5.0.0:
resolution: {integrity: sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==}
engines: {node: '>=12'}
pathe@1.1.2:
resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==}
@ -3276,10 +3267,6 @@ packages:
engines: {node: '>=14.0.0', npm: '>=6.0.0'}
hasBin: true
slash@5.1.0:
resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==}
engines: {node: '>=14.16'}
slashes@3.0.12:
resolution: {integrity: sha512-Q9VME8WyGkc7pJf6QEkj3wE+2CnvZMI+XJhwdTPR8Z/kWQRXi7boAWLDibRPyHRTUTPx5FaU7MsyrjI3yLB4HA==}
@ -3509,10 +3496,6 @@ packages:
unenv@1.10.0:
resolution: {integrity: sha512-wY5bskBQFL9n3Eca5XnhH6KbUo/tfvkwm9OpcdCvLaeA7piBNbavbOKJySEwQ1V0RH6HvNlSAFRTpvTqgKRQXQ==}
unicorn-magic@0.1.0:
resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==}
engines: {node: '>=18'}
unified@11.0.5:
resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==}
@ -3943,7 +3926,7 @@ snapshots:
'@jridgewell/gen-mapping': 0.3.8
'@jridgewell/trace-mapping': 0.3.25
'@antfu/eslint-config@3.16.0(@typescript-eslint/utils@8.21.0(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@unocss/eslint-plugin@65.4.3(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(astro-eslint-parser@1.2.0)(eslint-plugin-astro@1.3.1(eslint@9.19.0(jiti@2.4.2)))(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3)':
'@antfu/eslint-config@3.16.0(@typescript-eslint/utils@8.21.0(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@unocss/eslint-plugin@65.4.3(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(astro-eslint-parser@1.2.1)(eslint-plugin-astro@1.3.1(eslint@9.19.0(jiti@2.4.2)))(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3)':
dependencies:
'@antfu/install-pkg': 1.0.0
'@clack/prompts': 0.9.1
@ -3983,7 +3966,7 @@ snapshots:
yargs: 17.7.2
optionalDependencies:
'@unocss/eslint-plugin': 65.4.3(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3)
astro-eslint-parser: 1.2.0
astro-eslint-parser: 1.2.1
eslint-plugin-astro: 1.3.1(eslint@9.19.0(jiti@2.4.2))
transitivePeerDependencies:
- '@eslint/json'
@ -4691,8 +4674,6 @@ snapshots:
'@shikijs/vscode-textmate@10.0.1': {}
'@sindresorhus/merge-streams@2.3.0': {}
'@stylistic/eslint-plugin@2.13.0(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3)':
dependencies:
'@typescript-eslint/utils': 8.21.0(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3)
@ -5260,7 +5241,7 @@ snapshots:
- uploadthing
- yaml
astro-eslint-parser@1.2.0:
astro-eslint-parser@1.2.1:
dependencies:
'@astrojs/compiler': 2.10.3
'@typescript-eslint/scope-manager': 8.21.0
@ -5271,7 +5252,7 @@ snapshots:
eslint-scope: 8.2.0
eslint-visitor-keys: 4.2.0
espree: 10.3.0
globby: 14.0.2
fast-glob: 3.3.3
is-glob: 4.0.3
semver: 7.6.3
transitivePeerDependencies:
@ -5836,7 +5817,7 @@ snapshots:
'@eslint-community/eslint-utils': 4.4.1(eslint@9.19.0(jiti@2.4.2))
'@jridgewell/sourcemap-codec': 1.5.0
'@typescript-eslint/types': 8.21.0
astro-eslint-parser: 1.2.0
astro-eslint-parser: 1.2.1
eslint: 9.19.0(jiti@2.4.2)
eslint-compat-utils: 0.6.4(eslint@9.19.0(jiti@2.4.2))
globals: 15.14.0
@ -6238,15 +6219,6 @@ snapshots:
globals@15.14.0: {}
globby@14.0.2:
dependencies:
'@sindresorhus/merge-streams': 2.3.0
fast-glob: 3.3.3
ignore: 5.3.2
path-type: 5.0.0
slash: 5.1.0
unicorn-magic: 0.1.0
graceful-fs@4.2.11: {}
graphemer@1.4.0: {}
@ -7441,8 +7413,6 @@ snapshots:
path-parse@1.0.7: {}
path-type@5.0.0: {}
pathe@1.1.2: {}
pathe@2.0.2: {}
@ -7926,8 +7896,6 @@ snapshots:
arg: 5.0.2
sax: 1.4.1
slash@5.1.0: {}
slashes@3.0.12: {}
slice-ansi@5.0.0:
@ -8139,8 +8107,6 @@ snapshots:
node-fetch-native: 1.6.6
pathe: 1.1.2
unicorn-magic@0.1.0: {}
unified@11.0.5:
dependencies:
'@types/unist': 3.0.3