From ae93e769ec22bafa0ca99ee2a5551c5b3cd5643c Mon Sep 17 00:00:00 2001 From: Simone Nigro Date: Tue, 22 Sep 2026 03:16:51 +0000 Subject: [PATCH] chore(fulmine): track the 5.x line rather than pinning 5.13.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The row was added pinned to the release current that day, so it keeps probing 5.13.3 while the published one moves: nothing in this repo re-resolves a pin, so the entry only advances when someone edits this file. A caret range, as the Express row already carries, makes each run install the 5.x current then. Verified outside Docker on node 22 with the same install the image does (npm install --omit=dev --ignore-scripts): the range resolves to 5.21.4, and src/Servers/ExpressServer/server.js runs unchanged on it — GET / 200 OK, POST / echoes the body, HEAD / and OPTIONS / 200, POST /echo returns one header per line, /cookie splits "foo=bar; baz=qux" into two lines. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01DSdspxigvSpCV6RWXyc6qf --- docs/content/servers/fulmine-js.md | 7 ++++--- src/Servers/FulmineServer/Dockerfile | 5 +++-- src/Servers/FulmineServer/package.json | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/content/servers/fulmine-js.md b/docs/content/servers/fulmine-js.md index 7329d06..bb7ff3c 100644 --- a/docs/content/servers/fulmine-js.md +++ b/docs/content/servers/fulmine-js.md @@ -28,8 +28,9 @@ RUN apt-get update \ && git config --global url."https://github.com/".insteadOf ssh://git@github.com/ WORKDIR /app COPY src/Servers/FulmineServer/package.json . -# the version is pinned rather than ranged, since this repo does not keep lock files, and nothing -# here needs an install script to run +# the version is a range rather than a pin, as the Express row's is, so a run installs the current +# 5.x rather than the release this file was written against, and nothing here needs an install +# script to run RUN npm install --omit=dev --ignore-scripts # ExpressServer's application, not a copy of it. Fulmine.js is a drop-in replacement for Express 5, # so the package is installed under the name "express" and the same file runs unchanged: what is @@ -52,7 +53,7 @@ unchanged, which is the point of the row: the source is the one on the "name": "fulmine-server", "private": true, "dependencies": { - "express": "npm:fulmine.js@5.13.3" + "express": "npm:fulmine.js@^5.21.4" } } ``` diff --git a/src/Servers/FulmineServer/Dockerfile b/src/Servers/FulmineServer/Dockerfile index dd5d87f..ae7f302 100644 --- a/src/Servers/FulmineServer/Dockerfile +++ b/src/Servers/FulmineServer/Dockerfile @@ -9,8 +9,9 @@ RUN apt-get update \ && git config --global url."https://github.com/".insteadOf ssh://git@github.com/ WORKDIR /app COPY src/Servers/FulmineServer/package.json . -# the version is pinned rather than ranged, since this repo does not keep lock files, and nothing -# here needs an install script to run +# the version is a range rather than a pin, as the Express row's is, so a run installs the current +# 5.x rather than the release this file was written against, and nothing here needs an install +# script to run RUN npm install --omit=dev --ignore-scripts # ExpressServer's application, not a copy of it. Fulmine.js is a drop-in replacement for Express 5, # so the package is installed under the name "express" and the same file runs unchanged: what is diff --git a/src/Servers/FulmineServer/package.json b/src/Servers/FulmineServer/package.json index fb19c8f..e26374e 100644 --- a/src/Servers/FulmineServer/package.json +++ b/src/Servers/FulmineServer/package.json @@ -2,6 +2,6 @@ "name": "fulmine-server", "private": true, "dependencies": { - "express": "npm:fulmine.js@5.13.3" + "express": "npm:fulmine.js@^5.21.4" } }