Further bump minimum/default node to 22

This commit is contained in:
GCHQDeveloper581 2026-02-06 09:50:49 +00:00
parent 1d9b07f804
commit 6a969d6462
No known key found for this signature in database
GPG key ID: 6222E059A3DF595C
4 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
{
"name": "CyberChef",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm",
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-trixie",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {

View file

@ -4,7 +4,7 @@
# Modifier --platform=$BUILDPLATFORM limits the platform to "BUILDPLATFORM" during buildx multi-platform builds
# This is because npm "chromedriver" package is not compatiable with all platforms
# For more info see: https://docs.docker.com/build/building/multi-platform/#cross-compilation
FROM --platform=$BUILDPLATFORM node:20-alpine AS builder
FROM --platform=$BUILDPLATFORM node:22-alpine AS builder
WORKDIR /app

View file

@ -120,7 +120,7 @@ CyberChef is built to support
## Node.js support
CyberChef is built to fully support Node.js `v20`. For more information, see the ["Node API" wiki page](https://github.com/gchq/CyberChef/wiki/Node-API)
CyberChef is built to fully support Node.js `v22`. For more information, see the ["Node API" wiki page](https://github.com/gchq/CyberChef/wiki/Node-API)
## Contributing

View file

@ -36,7 +36,7 @@
"browserslist": [
"Chrome >= 50",
"Firefox >= 38",
"node >= 20"
"node >= 22"
],
"devDependencies": {
"@babel/core": "^7.24.7",