Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Please consult our [SECURITY.md](SECURITY.md) for specific instructions on repor

This project uses:

- [Node.js](https://nodejs.org/) 24.22.1 for local development and the production image build; CI and the development Docker image use Node.js 24.
- [Node.js](https://nodejs.org/) 24.22.3 for local development and the production image build; CI and the development Docker image use Node.js 24.
- [Express](https://github.com/expressjs)
- [MongoDB](https://www.mongodb.com/) replica sets for local development and testing
- [Amazon DocumentDB](https://aws.amazon.com/documentdb/) in production
Expand Down Expand Up @@ -85,7 +85,7 @@ See the [Docker README](docker/README.md) to run both the application and MongoD

##### Install dependencies

Install Node.js 24.22.1 with its bundled npm, then install the application and migration dependencies:
Install Node.js 24.22.3 with its bundled npm, then install the application and migration dependencies:

```sh
npm ci
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:24.22.1-trixie-slim@sha256:43b9ba1142b8dcf33fa8f922ca1be85714adc444e0586c7cf7726daaeabc1bea AS build
FROM node:24.22.3-trixie-slim@sha256:4d00acb4bcc42c454c4eb801526f7ad7f772ea3bd4fd168c5cc2e384abcbb9d4 AS build

LABEL \
mitre.name=cveawg \
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN node src/swagger.js \
&& npm prune --omit=dev \
&& npm cache clean --force

FROM gcr.io/distroless/nodejs24-debian13:nonroot@sha256:cb606325b7ec4af55462cb0b424a53b452a5b4a894ffe841fcf1048d216fb9f8 AS runtime
FROM gcr.io/distroless/nodejs24-debian13:nonroot-d80a5ba65a6abbacd7f441962bdba2ab57e81379@sha256:675c532423b908f9e56f9d60a4e62309b63cd2a3175acb90a46b96f7ee68e121 AS runtime

LABEL \
mitre.name=cveawg \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:24-alpine3.22
FROM node:24.22.3-alpine3.24@sha256:116b800c3754b440ee0aa3ed2f20f5bf3d99a554bfd9adeea09ea8017f6e85f5
# do not copy files we mount in compose
# our local and production docker files could co-exist using "targets" in
# the `FROM` statements
Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ show `Serving on port 3000`; press Ctrl+C to leave the log view. Open Swagger UI
[http://localhost:3000/api-docs/](http://localhost:3000/api-docs/).

The Compose application uses [Dockerfile.dev](Dockerfile.dev), based on Node.js 24. The
separate [production Dockerfile](Dockerfile) builds with Node.js 24.22.1 and uses a
separate [production Dockerfile](Dockerfile) builds with Node.js 24.22.3 and uses a
Distroless Node.js 24 runtime. Shell, population, and test commands in this guide apply
to the development image.

Expand Down
2 changes: 1 addition & 1 deletion test-http/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim-buster
FROM python:3.13.18-slim-trixie@sha256:168d3a5d10f2152f8e8d77b6843ac82c22a846cfefeef7afdf9aa630404e82a7

LABEL name="Dockerized Endpoint Testing"

Expand Down
2 changes: 1 addition & 1 deletion test/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CVE Services Tests

The JavaScript test suites use [Mocha](https://mochajs.org/) and [Chai](https://www.chaijs.com/).
Use Node.js 24.22.1 and run commands from the repository root. Install dependencies with
Use Node.js 24.22.3 and run commands from the repository root. Install dependencies with
`npm ci` as described in the [local setup guide](../README.md#local-development).

## Unit tests
Expand Down
4 changes: 3 additions & 1 deletion test/integration-tests/org/disabledOrgRoleContractTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ describe('Disabled organization legacy role contract', () => {
expect((await BaseOrg.findOne({ UUID: org.UUID }).read('primary').lean()).disabled).to.equal(true)
})

it('enables a disabled org on a legacy role grant and disables it when the last active role is removed', async () => {
it('enables a disabled org on a legacy role grant and disables it when the last active role is removed', async function () {
this.timeout(10000)

const org = await createOrg(['CNA'], true)
const edits = [
{ action: 'add', role: 'ADP', activeRoles: ['ADP'], storedRoles: ['ADP'], disabled: false, type: 'ADPOrg' },
Expand Down
Loading