Skip to content

Commit d19ba19

Browse files
Merge pull request #83 from intuit/snyk-fix-a1dade62a98fe4245b5d0942852b8d3f
[Snyk] Fix for 1 vulnerabilities
2 parents 6baca25 + 77bdb01 commit d19ba19

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

sample/.snyk

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.14.1
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
SNYK-JS-LODASH-567746:
7+
- intuit-oauth > winston > async > lodash:
8+
patched: '2020-05-01T06:23:47.085Z'
9+
- ngrok > request-promise-native > request-promise-core > lodash:
10+
patched: '2020-05-01T06:23:47.085Z'

sample/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "A sample NodeJs application to demonstrate the use of the client OAuth library",
55
"scripts": {
66
"start": "node app",
7-
"test": "./node_modules/mocha/bin/mocha test/**/*-test.js --reporter spec"
7+
"test": "./node_modules/mocha/bin/mocha test/**/*-test.js --reporter spec",
8+
"snyk-protect": "snyk protect",
9+
"prepublish": "npm run snyk-protect"
810
},
911
"author": "[email protected]",
1012
"license": "APACHE",
@@ -17,6 +19,8 @@
1719
"ejs": "^2.5.2",
1820
"dotenv": "^5.0.1",
1921
"ngrok": "^3.2.5",
20-
"intuit-oauth": "3.0.0"
21-
}
22+
"intuit-oauth": "3.0.0",
23+
"snyk": "^1.316.1"
24+
},
25+
"snyk": true
2226
}

0 commit comments

Comments
 (0)