Skip to content

Commit 9f08528

Browse files
authored
Merge pull request #38 from NetCZ/snyk-fix-73a0bb08dd522b18afb3f766d135a51a
[Snyk] Fix for 1 vulnerable dependencies
2 parents 9b476f2 + 9d0a623 commit 9f08528

File tree

3 files changed

+913
-846
lines changed

3 files changed

+913
-846
lines changed

.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.5
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
SNYK-JS-LODASH-450202:
7+
- lodash:
8+
patched: '2019-07-04T05:32:34.833Z'

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
"scripts": {
2424
"test": "mocha",
2525
"test:cov": "nyc --reporter=text-lcov yarn test | coveralls",
26-
"semantic-release": "semantic-release"
26+
"semantic-release": "semantic-release",
27+
"snyk-protect": "snyk protect",
28+
"prepublish": "yarn snyk-protect"
2729
},
2830
"husky": {
2931
"hooks": {
@@ -45,6 +47,8 @@
4547
"husky": "^3.0.0",
4648
"mocha": "^6.1.4",
4749
"nyc": "^14.1.1",
48-
"semantic-release": "^15.13.12"
49-
}
50+
"semantic-release": "^15.13.12",
51+
"snyk": "^1.189.0"
52+
},
53+
"snyk": true
5054
}

0 commit comments

Comments
 (0)