diff --git a/docker/Dockerfile.frontend b/docker/Dockerfile.frontend index 052c1929..6a887d52 100644 --- a/docker/Dockerfile.frontend +++ b/docker/Dockerfile.frontend @@ -1,4 +1,4 @@ -FROM node:21.7.3-alpine3.20 AS base +FROM node:22.12.0-alpine3.20 AS base WORKDIR /app COPY ./frontend/package*.json . diff --git a/docker/Dockerfile.hardhat b/docker/Dockerfile.hardhat index ff1b66f6..ce901aa4 100644 --- a/docker/Dockerfile.hardhat +++ b/docker/Dockerfile.hardhat @@ -1,4 +1,4 @@ -FROM node:20.11-alpine3.19 +FROM node:22.12-alpine3.19 # Create non-root user RUN addgroup -S hardhat-group && adduser -S hardhat-user -G hardhat-group diff --git a/frontend/.nvmrc b/frontend/.nvmrc index a7ac3d0d..1d9b7831 100644 --- a/frontend/.nvmrc +++ b/frontend/.nvmrc @@ -1 +1 @@ -21.7.3 +22.12.0 diff --git a/frontend/package-lock.json b/frontend/package-lock.json index c42f56b3..f4e4d5a2 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -24,7 +24,6 @@ "dexie": "^4.0.4", "floating-vue": "^5.2.2", "genlayer-js": "^0.4.6", - "git-describe": "^4.1.1", "hash-sum": "^2.0.0", "jump.js": "^1.0.2", "lodash-es": "^4.17.21", @@ -54,7 +53,7 @@ "@types/jsdom": "^21.1.6", "@types/lodash-es": "^4.17.12", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.5", + "@types/node": "^22.0.0", "@types/selenium-webdriver": "^4.1.22", "@types/sinon": "^17.0.3", "@types/splitpanes": "^2.2.6", @@ -2146,13 +2145,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.16.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.5.tgz", - "integrity": "sha512-VwYCweNo3ERajwy0IUlqqcyZ8/A7Zwa9ZP3MnENWcB11AejO+tLy3pu850goUW2FC/IJMdZUfKpX/yxL1gymCA==", + "version": "22.10.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.1.tgz", + "integrity": "sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.20.0" } }, "node_modules/@types/selenium-webdriver": { @@ -2166,11 +2165,6 @@ "@types/ws": "*" } }, - "node_modules/@types/semver": { - "version": "7.5.8", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", - "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==" - }, "node_modules/@types/sinon": { "version": "17.0.3", "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-17.0.3.tgz", @@ -5748,30 +5742,6 @@ "giget": "dist/cli.mjs" } }, - "node_modules/git-describe": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-describe/-/git-describe-4.1.1.tgz", - "integrity": "sha512-JC8ganO5kO80G8+XE98TDDjnMXQN3Estk3qdJuG2EGRF/l6zuMTMcN+8OSfQZ5FWpqIRLB015anWX4aSRgnxAQ==", - "dependencies": { - "@types/semver": "^7.3.8", - "lodash": "^4.17.21" - }, - "engines": { - "node": ">=4.0.0" - }, - "optionalDependencies": { - "semver": "^5.6.0" - } - }, - "node_modules/git-describe/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "optional": true, - "bin": { - "semver": "bin/semver" - } - }, "node_modules/glob": { "version": "10.4.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", @@ -7002,7 +6972,8 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "node_modules/lodash-es": { "version": "4.17.21", @@ -10578,9 +10549,9 @@ } }, "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==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", "dev": true, "license": "MIT" }, diff --git a/frontend/package.json b/frontend/package.json index ae81ce38..0d1a1616 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -65,7 +65,7 @@ "@types/jsdom": "^21.1.6", "@types/lodash-es": "^4.17.12", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.5", + "@types/node": "^22.0.0", "@types/selenium-webdriver": "^4.1.22", "@types/sinon": "^17.0.3", "@types/splitpanes": "^2.2.6",