Skip to content

Commit 30c8068

Browse files
Resolve CVEs from security scan
1 parent e4b4d66 commit 30c8068

7 files changed

Lines changed: 560 additions & 402 deletions

File tree

backend/package-lock.json

Lines changed: 11 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
"typescript-eslint": "^8.53.0"
6161
},
6262
"overrides": {
63+
"@hono/node-server": "^1.19.10",
64+
"hono": "^4.12.7",
6365
"lodash": "^4.17.23"
6466
}
6567
}

backend/prisma/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ WORKDIR /app
1414
COPY package*.json /app/
1515

1616
# Install Prisma using the version in the backend package.json (but don't install any other backend packages)
17-
RUN PRISMA_VERSION=$(jq -r .devDependencies.prisma package.json) && \
18-
echo '{"dependencies":{"prisma":"'"$PRISMA_VERSION"'"},"overrides":{"lodash":"^4.17.23"}}' > /app/package.json
17+
RUN PRISMA_VERSION="$(jq -r .devDependencies.prisma package.json)" && \
18+
OVERRIDES="$(jq -r .overrides package.json)" && \
19+
echo '{"dependencies":{"prisma":"'"$PRISMA_VERSION"'"},"overrides":'"$OVERRIDES"'}' > /app/package.json
1920

2021
RUN npm ci --ignore-scripts --omit=optional --omit=dev
2122

0 commit comments

Comments
 (0)