Skip to content

Commit 13b6a96

Browse files
feat: bumped deps to latest with Node.js >=18.3.0 minimum (#1605)
## Overview General catch-all `ncu -u` and `pnpm dedupe`. The latest versions of a few packages had required changes: * `husky`: now has a smaller `.husky/*` hooks file format, yay! * `eslint-plugin-jsdoc`: has a new stylistic rule added to recommended (gajus/eslint-plugin-jsdoc#1175 (comment)) * `eslint-plugin-n`: noted that `parseArgs` was added as experimental in `18.3.0`, so I bumped the minimum Node support version to `18.3.0`. That was the _actual_ minimum version before; anything earlier would crash. 💖
1 parent 212b5f7 commit 13b6a96

24 files changed

+1332
-1923
lines changed

Diff for: .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

Diff for: docs/FAQs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Then:
111111

112112
<!-- eslint-disable jsonc/sort-keys -->
113113

114-
```jsonc package.json
114+
```json package.json
115115
{
116116
"exports": {
117117
".": {

Diff for: eslint.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export default tseslint.config(
7373
"operator-assignment": "error",
7474

7575
// These on-by-default rules don't work well for this repo and we like them off.
76+
"jsdoc/lines-before-block": "off",
7677
"jsdoc/require-jsdoc": "off",
7778
"jsdoc/require-param": "off",
7879
"jsdoc/require-property": "off",
@@ -95,6 +96,10 @@ export default tseslint.config(
9596
"error",
9697
{ allowBoolean: true, allowNullish: true, allowNumber: true },
9798
],
99+
"n/no-unsupported-features/node-builtins": [
100+
"error",
101+
{ allowExperimental: true },
102+
],
98103
"perfectionist/sort-objects": [
99104
"error",
100105
{

Diff for: package.json

+38-38
Original file line numberDiff line numberDiff line change
@@ -42,69 +42,69 @@
4242
},
4343
"dependencies": {
4444
"@clack/prompts": "^0.7.0",
45-
"all-contributors-for-repository": "^0.2.1",
45+
"all-contributors-for-repository": "^0.2.2",
4646
"chalk": "^5.3.0",
47-
"execa": "^9.0.0",
47+
"execa": "^9.3.0",
4848
"get-github-auth-token": "^0.1.0",
4949
"git-remote-origin-url": "^4.0.0",
50-
"git-url-parse": "^14.0.0",
50+
"git-url-parse": "^14.1.0",
5151
"js-yaml": "^4.1.0",
5252
"lazy-value": "^3.0.0",
53-
"npm-user": "^6.0.0",
54-
"octokit": "^4.0.0",
53+
"npm-user": "^6.1.1",
54+
"octokit": "^4.0.2",
5555
"parse-author": "^2.0.0",
56-
"prettier": "^3.1.0",
57-
"replace-in-file": "^8.0.0",
58-
"rimraf": "^6.0.0",
59-
"title-case": "^4.1.2",
60-
"zod": "^3.22.4",
61-
"zod-validation-error": "^3.0.2"
56+
"prettier": "^3.3.3",
57+
"replace-in-file": "^8.1.0",
58+
"rimraf": "^6.0.1",
59+
"title-case": "^4.3.1",
60+
"zod": "^3.23.8",
61+
"zod-validation-error": "^3.3.1"
6262
},
6363
"devDependencies": {
6464
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
65-
"@eslint/js": "^9.2.0",
66-
"@octokit/request-error": "^6.1.1",
65+
"@eslint/js": "^9.8.0",
66+
"@octokit/request-error": "^6.1.4",
6767
"@release-it/conventional-changelog": "^8.0.1",
6868
"@types/eslint-plugin-markdown": "^2.0.2",
6969
"@types/eslint__js": "^8.42.3",
7070
"@types/git-url-parse": "^9.0.3",
7171
"@types/js-yaml": "^4.0.9",
72-
"@types/node": "^20.12.7",
72+
"@types/node": "^22.1.0",
7373
"@types/parse-author": "^2.0.3",
74-
"@vitest/coverage-v8": "^2.0.2",
75-
"c8": "^10.0.0",
74+
"@vitest/coverage-v8": "^2.0.5",
75+
"c8": "^10.1.2",
7676
"console-fail-test": "^0.4.4",
77-
"cspell": "^8.1.3",
78-
"eslint": "^9.2.0",
79-
"eslint-plugin-jsdoc": "^48.5.0",
80-
"eslint-plugin-jsonc": "^2.15.0",
81-
"eslint-plugin-markdown": "^5.0.0",
82-
"eslint-plugin-n": "^17.3.1",
83-
"eslint-plugin-package-json": "^0.15.0",
77+
"cspell": "^8.13.1",
78+
"eslint": "^9.8.0",
79+
"eslint-plugin-jsdoc": "^49.0.0",
80+
"eslint-plugin-jsonc": "^2.16.0",
81+
"eslint-plugin-markdown": "^5.1.0",
82+
"eslint-plugin-n": "^17.10.2",
83+
"eslint-plugin-package-json": "^0.15.2",
8484
"eslint-plugin-perfectionist": "^3.1.2",
85-
"eslint-plugin-regexp": "^2.5.0",
86-
"eslint-plugin-vitest": "^0.5.3",
85+
"eslint-plugin-regexp": "^2.6.0",
86+
"eslint-plugin-vitest": "^0.5.4",
8787
"eslint-plugin-yml": "^1.14.0",
88-
"globby": "^14.0.1",
89-
"husky": "^9.0.11",
88+
"globby": "^14.0.2",
89+
"husky": "^9.1.4",
9090
"jsonc-eslint-parser": "^2.4.0",
91-
"knip": "5.26.0",
92-
"lint-staged": "^15.2.2",
91+
"knip": "5.27.0",
92+
"lint-staged": "^15.2.8",
9393
"markdownlint": "^0.34.0",
9494
"markdownlint-cli": "^0.41.0",
95-
"prettier-plugin-curly": "^0.2.1",
96-
"prettier-plugin-packagejson": "^2.5.0",
95+
"prettier-plugin-curly": "^0.2.2",
96+
"prettier-plugin-packagejson": "^2.5.1",
9797
"prettier-plugin-sh": "^0.14.0",
98-
"release-it": "^17.3.0",
98+
"release-it": "^17.6.0",
9999
"sentences-per-line": "^0.2.1",
100-
"tsup": "^8.1.0",
101-
"tsx": "^4.9.0",
102-
"typescript": "^5.5.2",
103-
"typescript-eslint": "^8.0.0",
104-
"vitest": "^2.0.2"
100+
"tsup": "^8.2.4",
101+
"tsx": "^4.16.5",
102+
"typescript": "^5.5.4",
103+
"typescript-eslint": "^8.0.1",
104+
"vitest": "^2.0.5"
105105
},
106106
"engines": {
107-
"node": ">=18"
107+
"node": ">=18.3.0"
108108
},
109109
"publishConfig": {
110110
"provenance": true

0 commit comments

Comments
 (0)