Skip to content

Commit e8fb053

Browse files
authored
Merge pull request #1 from axeal/snyk-fix-e9654a9996bb611372fb24b4da8ca7a9
[Snyk] Fix for 1 vulnerable dependencies
2 parents bbe26cc + 9d60f41 commit e8fb053

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

.snyk

+8
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+
- request-promise > request-promise-core > lodash:
8+
patched: '2019-07-09T06:17:51.823Z'

.travis.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ language: node_js
22
sudo: false
33

44
node_js:
5-
- "0.10"
6-
- "0.12"
7-
- "iojs"
8-
- "4"
95
- "6"
6+
- "8"
7+
- "10"

package.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"name": "solusvm",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"description": "SolusVM Admin API client.",
55
"main": "lib/solusvm.js",
66
"scripts": {
7-
"test": "./node_modules/.bin/gulp ci"
7+
"test": "./node_modules/.bin/gulp ci",
8+
"snyk-protect": "snyk protect",
9+
"prepublish": "npm run snyk-protect"
810
},
911
"repository": {
1012
"type": "git",
@@ -24,7 +26,8 @@
2426
"debug": "^2.6.8",
2527
"request": "^2.81.0",
2628
"request-promise": "^4.2.1",
27-
"util": "^0.10.3"
29+
"util": "^0.10.3",
30+
"snyk": "^1.192.4"
2831
},
2932
"devDependencies": {
3033
"chai": "^4.1.0",
@@ -38,5 +41,6 @@
3841
"nock": "^9.0.14",
3942
"rimraf": "^2.6.1",
4043
"run-sequence": "^2.1.0"
41-
}
44+
},
45+
"snyk": true
4246
}

0 commit comments

Comments
 (0)