diff --git a/package-lock.json b/package-lock.json index 3afe353..83bcaa7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "devDependencies": { "@contentful/app-scripts": "1.19.1", "@testing-library/react": "14.0.0", - "@types/node": "16.18.38", + "@types/node": "20.16.10", "@types/react": "18.3.1", "@types/react-dom": "18.3.0", "@vitejs/plugin-react": "4.2.1", @@ -32,6 +32,9 @@ "typescript": "5.1.6", "vite": "4.5.5", "vitest": "0.32.4" + }, + "engines": { + "node": ">=20.0.0" } }, "node_modules/@ampproject/remapping": { @@ -2312,10 +2315,13 @@ "integrity": "sha512-MhCUjojzDhVLnZnxwPwa+rETFRDQ0ffjxYdrqOP6TBO2O0/Z64PV5tNeYApo4bc4y4frbWOrRwv/eEkXlI13Rw==" }, "node_modules/@types/node": { - "version": "16.18.38", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.38.tgz", - "integrity": "sha512-6sfo1qTulpVbkxECP+AVrHV9OoJqhzCsfTNp5NIG+enM4HyM3HvZCO798WShIXBN0+QtDIcutJCjsVYnQP5rIQ==", - "dev": true + "version": "20.16.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.10.tgz", + "integrity": "sha512-vQUKgWTjEIRFCvK6CyriPH3MZYiYlNy0fKiEYHWbcoWLEgs4opurGGKlebrTLqdSMIbXImH6XExNiIyNUv3WpA==", + "dev": true, + "dependencies": { + "undici-types": "~6.19.2" + } }, "node_modules/@types/parse-json": { "version": "4.0.2", @@ -5244,6 +5250,12 @@ "integrity": "sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==", "dev": true }, + "node_modules/undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true + }, "node_modules/update-browserslist-db": { "version": "1.0.15", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.15.tgz", diff --git a/package.json b/package.json index aa0316d..b42fe54 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "devDependencies": { "@contentful/app-scripts": "1.19.1", "@testing-library/react": "14.0.0", - "@types/node": "16.18.38", + "@types/node": "20.16.10", "@types/react": "18.3.1", "@types/react-dom": "18.3.0", "@vitejs/plugin-react": "4.2.1", @@ -35,5 +35,8 @@ "typescript": "5.1.6", "vite": "4.5.5", "vitest": "0.32.4" + }, + "engines": { + "node": ">=20.0.0" } }