From 3ed8ba81e1b3054f09ef1998066640f4fda23ab2 Mon Sep 17 00:00:00 2001 From: Lucas Alves Costa <50385918+luckasnix@users.noreply.github.com> Date: Sun, 1 Dec 2024 16:23:57 -0300 Subject: [PATCH] chore: increase the Node version (#60) --- .nvmrc | 2 +- package-lock.json | 40 +++++++++++++++++++++++++++++++--------- package.json | 4 ++-- 3 files changed, 34 insertions(+), 12 deletions(-) diff --git a/.nvmrc b/.nvmrc index e32c86e..cf7bc2e 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.0.0 +20.8.1 diff --git a/package-lock.json b/package-lock.json index 8c59f65..e923967 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,13 +12,16 @@ "@biomejs/biome": "1.9.4", "@commitlint/cli": "19.5.0", "@commitlint/config-conventional": "19.5.0", - "@types/node": "20.0.0", + "@types/node": "20.8.10", "husky": "9.1.6", "semantic-release": "24.2.0", "typescript": "5.0.4", "vite": "5.4.10", "vite-plugin-dts": "4.3.0", "vitest": "2.1.4" + }, + "engines": { + "node": ">=20.8.1" } }, "node_modules/@babel/code-frame": { @@ -2090,11 +2093,14 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.0.0.tgz", - "integrity": "sha512-cD2uPTDnQQCVpmRefonO98/PPijuOnnEy5oytWJFPY1N9aJCz2wJ5kSGWO+zJoed2cY2JxQh6yBuUq4vIn61hw==", + "version": "20.8.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.10.tgz", + "integrity": "sha512-TlgT8JntpcbmKUFzjhsyhGfP2fsiz1Mv56im6enJ905xG1DAYesxJaeSbGqQmAw8OWPdhyJGhGSQGKRNJ45u9w==", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/normalize-package-data": { "version": "2.4.4", @@ -8826,6 +8832,13 @@ "node": ">=0.8.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, + "license": "MIT" + }, "node_modules/unicode-emoji-modifier-base": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz", @@ -10505,10 +10518,13 @@ "dev": true }, "@types/node": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.0.0.tgz", - "integrity": "sha512-cD2uPTDnQQCVpmRefonO98/PPijuOnnEy5oytWJFPY1N9aJCz2wJ5kSGWO+zJoed2cY2JxQh6yBuUq4vIn61hw==", - "dev": true + "version": "20.8.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.10.tgz", + "integrity": "sha512-TlgT8JntpcbmKUFzjhsyhGfP2fsiz1Mv56im6enJ905xG1DAYesxJaeSbGqQmAw8OWPdhyJGhGSQGKRNJ45u9w==", + "dev": true, + "requires": { + "undici-types": "~5.26.4" + } }, "@types/normalize-package-data": { "version": "2.4.4", @@ -15037,6 +15053,12 @@ "dev": true, "optional": 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 + }, "unicode-emoji-modifier-base": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz", diff --git a/package.json b/package.json index 0853519..467bfe2 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "access": "public" }, "engines": { - "node": ">=20.0.0" + "node": ">=20.8.1" }, "scripts": { "build": "tsc && vite build", @@ -49,7 +49,7 @@ "@biomejs/biome": "1.9.4", "@commitlint/cli": "19.5.0", "@commitlint/config-conventional": "19.5.0", - "@types/node": "20.0.0", + "@types/node": "20.8.10", "husky": "9.1.6", "semantic-release": "24.2.0", "typescript": "5.0.4",