diff --git a/Dockerfile b/Dockerfile index 8da41ec2f06..80f5e204155 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine +FROM node:20-alpine # Create app directory WORKDIR /usr/src/app diff --git a/package.json b/package.json index 6d593c59dcc..cec59d16c6c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "The AMP Project website.", "repository": "git@github.com:ampproject/docs.git", "engines": { - "node": "18.x" + "node": "20.x" }, "private": true, "scripts": { @@ -83,15 +83,15 @@ "joi": "17.12.1", "js-yaml": "4.1.0", "json-tree-view": "0.4.12", - "linkifyjs": "2.1.9", - "lru-cache": "6.0.0", + "linkifyjs": "4.1.3", + "lru-cache": "10.2.0", "middy": "0.36.0", "module-alias": "2.2.3", "mri": "1.2.0", "multer": "1.4.4-lts.1", - "node-fetch": "2.7.0", + "node-fetch": "3.3.2", "nunjucks": "3.2.4", - "p-queue": "6.6.2", + "p-queue": "8.0.1", "postcss": "8.4.35", "postcss-css-variables": "0.19.0", "randomstring": "1.3.0", @@ -124,23 +124,23 @@ "absolutify": "0.1.0", "amphtml-validator": "1.0.38", "ansi-colors": "4.1.3", - "archiver": "6.0.1", + "archiver": "7.0.1", "babel-loader": "9.1.3", "clean-css": "5.3.3", "clean-webpack-plugin": "4.0.0", - "codemirror": "5.65.16", + "codemirror": "6.0.1", "copy-webpack-plugin": "12.0.2", - "css-loader": "6.10.0", + "css-loader": "7.1.1", "css-minimizer-webpack-plugin": "6.0.0", - "del": "6.1.1", - "eslint": "8.56.0", + "del": "7.1.0", + "eslint": "9.1.1", "eslint-config-google": "0.14.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.1.3", "fetch-mock": "9.11.0", "file-loader": "6.2.0", "filemanager-webpack-plugin": "8.0.0", - "gulp": "4.0.2", + "gulp": "5.0.0", "gulp-amphtml-validator": "1.0.6", "gulp-once": "2.1.1", "gulp-sass": "5.1.0", @@ -151,7 +151,7 @@ "html-loader": "5.0.0", "html-webpack-inline-source-plugin": "1.0.0-beta.2", "html-webpack-plugin": "5.6.0", - "husky": "7.0.4", + "husky": "9.0.11", "jasmine": "5.1.0", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", @@ -159,7 +159,7 @@ "js-base64": "3.7.6", "js-beautify": "1.15.1", "keymaster": "1.6.2", - "marked": "2.1.3", + "marked": "12.0.2", "mini-css-extract-plugin": "2.8.0", "mini-svg-data-uri": "1.4.4", "netlify-cli": "17.16.4", @@ -173,7 +173,7 @@ "sass-loader": "14.1.1", "snarkdown": "2.0.0", "striptags": "3.2.0", - "supertest": "6.3.4", + "supertest": "7.0.0", "svg-spritemap-webpack-plugin": "4.5.0", "through2": "4.0.2", "url-loader": "4.1.1",