Skip to content

Commit

Permalink
fix: frontend/package.json & frontend/.snyk to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Aug 31, 2023
1 parent efe8488 commit fb47a15
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 3 deletions.
52 changes: 52 additions & 0 deletions frontend/.snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.25.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:debug:20170905':
- '@angular-devkit/core > chokidar > fsevents > node-pre-gyp > tar-pack > debug':
patched: '2023-08-31T14:04:40.679Z'
id: 'npm:debug:20170905'
path: >-
@angular-devkit/core > chokidar > fsevents > node-pre-gyp > tar-pack >
debug
'npm:extend:20180424':
- '@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request > extend':
patched: '2023-08-31T14:04:40.679Z'
id: 'npm:extend:20180424'
path: >-
@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request >
extend
'npm:hoek:20180212':
- '@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request > hawk > hoek':
patched: '2023-08-31T14:04:40.679Z'
id: 'npm:hoek:20180212'
path: >-
@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request >
hawk > hoek
- '@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request > hawk > boom > hoek':
patched: '2023-08-31T14:04:40.679Z'
id: 'npm:hoek:20180212'
path: >-
@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request >
hawk > boom > hoek
- '@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request > hawk > sntp > hoek':
patched: '2023-08-31T14:04:40.679Z'
id: 'npm:hoek:20180212'
path: >-
@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request >
hawk > sntp > hoek
'npm:stringstream:20180511':
- '@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request > stringstream':
patched: '2023-08-31T14:04:40.679Z'
id: 'npm:stringstream:20180511'
path: >-
@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request >
stringstream
'npm:tough-cookie:20170905':
- '@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request > tough-cookie':
patched: '2023-08-31T14:04:40.679Z'
id: 'npm:tough-cookie:20170905'
path: >-
@angular-devkit/core > chokidar > fsevents > node-pre-gyp > request >
tough-cookie
10 changes: 7 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"build:fire": "ng build --environment fire -sm",
"build:prod": "ng build --prod -sm",
"build:node-sass": "npm rebuild node-sass",
"deploy:fire": "firebase deploy"
"deploy:fire": "firebase deploy",
"prepare": "yarn run snyk-protect",
"snyk-protect": "snyk-protect"
},
"private": true,
"dependencies": {
Expand Down Expand Up @@ -50,7 +52,8 @@
"rxjs": "5.5.6",
"typeface-montserrat": "^0.0.45",
"web-animations-js": "^2.3.1",
"zone.js": "^0.8.4"
"zone.js": "^0.8.4",
"@snyk/protect": "latest"
},
"devDependencies": {
"@angular/cli": "^1.6",
Expand All @@ -74,5 +77,6 @@
"ts-node": "^4.1.0",
"tslint": "^5.9.1",
"typescript": "^2.6.0"
}
},
"snyk": true
}

0 comments on commit fb47a15

Please sign in to comment.