Skip to content
This repository was archived by the owner on Oct 11, 2019. It is now read-only.

Commit 11e9a1e

Browse files
committed
fix: .snyk & package.json to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-AXIOS-174505
1 parent 6ed17d8 commit 11e9a1e

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

.snyk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.13.3
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
SNYK-JS-AXIOS-174505:
7+
- axios:
8+
patched: '2019-05-06T05:10:46.925Z'

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"watch-ts": "tsc -w",
1212
"dev": "nodemon",
1313
"test": "echo \"Testing...\" && nyc --reporter=text nyc mocha && nyc report",
14-
"lint": "tslint --project tslint.json"
14+
"lint": "tslint --project tslint.json",
15+
"snyk-protect": "snyk protect",
16+
"prepare": "npm run snyk-protect"
1517
},
1618
"repository": {
1719
"type": "git",
@@ -53,7 +55,8 @@
5355
"swagger-express-ts": "^1.0.1",
5456
"swagger-ui-dist": "^3.20.9",
5557
"yamljs": "^0.3.0",
56-
"jenkins": "^0.23.0"
58+
"jenkins": "^0.23.0",
59+
"snyk": "^1.161.1"
5760
},
5861
"nyc": {
5962
"include": [
@@ -74,5 +77,6 @@
7477
],
7578
"sourceMap": true,
7679
"instrument": true
77-
}
80+
},
81+
"snyk": true
7882
}

0 commit comments

Comments
 (0)