Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dependencies] Add version constraint ws>=8.17.1 to address vulnerability #344

Merged
merged 3 commits into from
Jul 23, 2024
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
2 changes: 1 addition & 1 deletion frontend/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:18.20-alpine
WORKDIR /app
COPY . .
COPY resources/attributions/npm-python-attributions.txt public/license.txt
Expand Down
2 changes: 2 additions & 0 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
distDir: 'build',
reactStrictMode: true,
basePath: '/pcui',
images: {
Expand Down
155 changes: 75 additions & 80 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"i18next": "^21.8.13",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"next": "^13.5.1",
"next": "^14.1.1",
"next-transpile-modules": "^10.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -28,7 +28,7 @@
"test": "jest",
"lint": "next lint",
"dev": "next dev",
"export": "next build && next export -o build",
"export": "next build",
"prepare": "./scripts/git-secrets-command.sh '--register-aws > /dev/null' && cd .. && husky install frontend/.husky",
"ts-reignore": "npx ts-migrate reignore . --sources='src/**/*'",
"ts-validate": "tsc -p tsconfig.json"
Expand Down Expand Up @@ -62,7 +62,8 @@
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"timezone-mock": "^1.3.6",
"typescript": "^4.7.4"
"typescript": "^4.7.4",
"ws": ">=8.17.1"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
Expand Down
Loading