diff --git a/.nvmrc b/.nvmrc index b6a7d89..209e3ef 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +20 diff --git a/package-lock.json b/package-lock.json index 892ce5a..1b2dfae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,13 +13,13 @@ "@serenity-js/core": "^2.33.8", "@serenity-js/mocha": "^2.33.8", "@types/mocha": "^9.0.0", - "@types/node": "^16.4.6", + "@types/node": "^20.11.10", "mocha": "^9.0.3", "ts-node": "^10.2.1", "typescript": "^4.3.5" }, "engines": { - "node": "^12 || ^14 || ^16", + "node": "^12 || ^14 || ^16 || ^20.0.0", "npm": "^6 || ^7" } }, @@ -173,10 +173,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "16.4.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.6.tgz", - "integrity": "sha512-FKyawK3o5KL16AwbeFajen8G4K3mmqUrQsehn5wNKs8IzlKHE8TfnSmILXVMVziAEcnB23u1RCFU1NT6hSyr7Q==", - "dev": true + "version": "20.11.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.10.tgz", + "integrity": "sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@ungap/promise-all-settled": { "version": "1.1.2", @@ -1338,6 +1341,12 @@ "node": ">=4.2.0" } }, + "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 + }, "node_modules/upath": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", @@ -1671,10 +1680,13 @@ "dev": true }, "@types/node": { - "version": "16.4.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.6.tgz", - "integrity": "sha512-FKyawK3o5KL16AwbeFajen8G4K3mmqUrQsehn5wNKs8IzlKHE8TfnSmILXVMVziAEcnB23u1RCFU1NT6hSyr7Q==", - "dev": true + "version": "20.11.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.10.tgz", + "integrity": "sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==", + "dev": true, + "requires": { + "undici-types": "~5.26.4" + } }, "@ungap/promise-all-settled": { "version": "1.1.2", @@ -2480,6 +2492,12 @@ "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==", "dev": true }, + "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 + }, "upath": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", diff --git a/package.json b/package.json index c6829a0..e3ed815 100644 --- a/package.json +++ b/package.json @@ -25,13 +25,13 @@ "@serenity-js/core": "^2.33.8", "@serenity-js/mocha": "^2.33.8", "@types/mocha": "^9.0.0", - "@types/node": "^16.4.6", + "@types/node": "^20.11.10", "mocha": "^9.0.3", "ts-node": "^10.2.1", "typescript": "^4.3.5" }, "engines": { - "node": "^12 || ^14 || ^16", + "node": "^12 || ^14 || ^16 || ^20.0.0", "npm": "^6 || ^7" } }