Skip to content

Commit

Permalink
mitigate ws and braces vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-polinsky committed Jul 8, 2024
1 parent 0359ac6 commit debc003
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 83 deletions.
7 changes: 7 additions & 0 deletions common/config/rush/pnpm-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/pnpm-config.schema.json",
"useWorkspaces": true,
"globalOverrides": {
"braces": "^3.0.3"
}
}
105 changes: 27 additions & 78 deletions common/config/rush/pnpm-lock.yaml

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

3 changes: 2 additions & 1 deletion packages/apps/desktop-viewer-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@
"rimraf": "^3.0.2",
"sass": "^1.64.2",
"typescript": "~5.0.4",
"webpack": "^5.1.2"
"webpack": "^5.1.2",
"ws": "^7.5.10"
},
"eslintConfig": {
"extends": [
Expand Down
3 changes: 2 additions & 1 deletion packages/apps/web-viewer-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"@types/node": "^18.17.1",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
"typescript": "~5.0.4"
"typescript": "~5.0.4",
"ws": "^8.17.1"
},
"browserslist": [
">0.2%",
Expand Down
3 changes: 0 additions & 3 deletions rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json",
"rushVersion": "5.112.2",
"pnpmVersion": "7.32.2",
"pnpmOptions": {
"useWorkspaces": true
},
"nodeSupportedVersionRange": "^18.12.0 || ^20.9.0",
"projectFolderMinDepth": 2,
"projectFolderMaxDepth": 3,
Expand Down

0 comments on commit debc003

Please sign in to comment.