diff --git a/.changeset/smart-baboons-rush.md b/.changeset/smart-baboons-rush.md new file mode 100644 index 00000000..db3f5795 --- /dev/null +++ b/.changeset/smart-baboons-rush.md @@ -0,0 +1,5 @@ +--- +"@quassel/backend": patch +--- + +Enforce sodium-native 4.2.0 diff --git a/apps/backend/Dockerfile b/apps/backend/Dockerfile index c674e923..5c33ea42 100644 --- a/apps/backend/Dockerfile +++ b/apps/backend/Dockerfile @@ -1,7 +1,7 @@ # Install dependencies only when needed FROM docker.io/node:lts-alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. -RUN apk add --no-cache libc6-compat gcompat +RUN apk add --no-cache libc6-compat WORKDIR /usr/src/app COPY package*.json ./ RUN npm install --omit=dev diff --git a/package.json b/package.json index 233af002..ff11f49a 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "packageManager": "pnpm@9.12.3", "pnpm": { "overrides": { + "sodium-native": "4.2.0", "@nx-tools/core": "npm:@openscript/nx-tools-core@6.1.1" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9add60a7..95fb0e97 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: + sodium-native: 4.2.0 '@nx-tools/core': npm:@openscript/nx-tools-core@6.1.1 importers: @@ -5060,8 +5061,8 @@ packages: snake-case@3.0.4: resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} - sodium-native@4.2.1: - resolution: {integrity: sha512-48X3PfRLW+f0fgb3J7f7mkZ9eBKcGR/bD5mdXXLAx4RWwKUe3095yPQgiUUQTfh8Q29JzwhSQATitQDBIozN/w==} + sodium-native@4.2.0: + resolution: {integrity: sha512-rdJRAf/RE/IRFUUoUsz10slNAQDTGz5ChpIeR1Ti0BtGYstl6Uok4hHALPBdnFcLml6qXJ2pDd0/De09mPa6mg==} sonic-boom@4.2.0: resolution: {integrity: sha512-INb7TM37/mAcsGmc9hyyI6+QR3rR1zVRu36B0NeGXKnOOLiZOfER5SA+N7X7k3yUYRzLWafduTDvJAfDswwEww==} @@ -6568,7 +6569,7 @@ snapshots: dependencies: '@fastify/cookie': 9.4.0 fastify-plugin: 4.5.1 - sodium-native: 4.2.1 + sodium-native: 4.2.0 '@fastify/send@2.1.0': dependencies: @@ -11538,7 +11539,7 @@ snapshots: dot-case: 3.0.4 tslib: 2.8.1 - sodium-native@4.2.1: + sodium-native@4.2.0: dependencies: node-gyp-build: 4.8.2