Skip to content

Commit

Permalink
fix: ui/.snyk & ui/package.json to reduce vulnerabilities
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-450202
  • Loading branch information
snyk-test committed Jul 4, 2019
1 parent 683453b commit 5578d28
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
18 changes: 18 additions & 0 deletions ui/.snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.5
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-450202:
- dagre-d3 > lodash:
patched: '2019-07-04T03:43:29.361Z'
- dagre-d3 > graphlib > lodash:
patched: '2019-07-04T03:43:29.361Z'
- dagre-d3 > dagre > lodash:
patched: '2019-07-04T03:43:29.361Z'
- fomantic-ui > inquirer > lodash:
patched: '2019-07-04T03:43:29.361Z'
- dagre-d3 > dagre > graphlib > lodash:
patched: '2019-07-04T03:43:29.361Z'
- ngx-infinite-scroll > opencollective > inquirer > lodash:
patched: '2019-07-04T03:43:29.361Z'
10 changes: 7 additions & 3 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"build:analyse": "webpack-bundle-analyzer dist/stats.json",
"precommit": "lint-staged",
"sentry:release": "sentry-cli releases -o ${SENTRY_ORG} -p ${SENTRY_PROJECT} new ${CDS_VERSION}",
"sentry:sourcemaps": "sentry-cli releases -o ${SENTRY_ORG} -p ${SENTRY_PROJECT} files ${CDS_VERSION} upload-sourcemaps --url-prefix=${SENTRY_CDS_PREFIX_URL}"
"sentry:sourcemaps": "sentry-cli releases -o ${SENTRY_ORG} -p ${SENTRY_PROJECT} files ${CDS_VERSION} upload-sourcemaps --url-prefix=${SENTRY_CDS_PREFIX_URL}",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"lint-staged": {
"linters": {
Expand Down Expand Up @@ -94,7 +96,8 @@
"spinkit": "1.2.5",
"string-format-obj": "1.1.1",
"ts-helpers": "1.1.2",
"zone.js": "0.9.1"
"zone.js": "0.9.1",
"snyk": "^1.189.0"
},
"devDependencies": {
"@angular-builders/custom-webpack": "8.0.2",
Expand Down Expand Up @@ -128,5 +131,6 @@
"webdriver-manager": "12.1.1",
"webpack-bundle-analyzer": "3.3.2",
"wrench-sui": "0.0.3"
}
},
"snyk": true
}

0 comments on commit 5578d28

Please sign in to comment.