diff --git a/.nvmrc b/.nvmrc index 33206cb..7af24b7 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v22.0.0 +22.11.0 diff --git a/.tool-versions b/.tool-versions index eb7f8f3..f8ab203 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 22.0.0 +nodejs 22.11.0 diff --git a/package-lock.json b/package-lock.json index 99b89be..1f1ff71 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@jest/types": "^29.6.3", "@size-limit/preset-small-lib": "^11.1.2", "@types/jest": "^29.5.12", - "@types/node": "^20.12.7", + "@types/node": "^22.8.7", "commit-and-tag-version": "^12.4.1", "husky": "^9.0.11", "jest": "^29.7.0", @@ -34,7 +34,7 @@ "typescript": "^5.4.5" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.11.0" } }, "node_modules/@ampproject/remapping": { @@ -4526,12 +4526,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.12.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz", - "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==", + "version": "22.8.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.7.tgz", + "integrity": "sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.8" } }, "node_modules/@types/normalize-package-data": { @@ -15506,10 +15507,11 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true, + "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", diff --git a/package.json b/package.json index 25f6c43..6abcd62 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "types": "./dist/index.d.ts", "files": ["dist"], "engines": { - "node": ">=18.0.0" + "node": ">=22.11.0" }, "scripts": { "add-shebang": "./add-shebang.sh", @@ -58,7 +58,7 @@ "@jest/types": "^29.6.3", "@size-limit/preset-small-lib": "^11.1.2", "@types/jest": "^29.5.12", - "@types/node": "^20.12.7", + "@types/node": "^22.8.7", "commit-and-tag-version": "^12.4.1", "husky": "^9.0.11", "jest": "^29.7.0",