2.diff (1026B)
1 diff --git a/.snyk b/.snyk 2 new file mode 100644 3 index 0000000..d6c6556 4 --- /dev/null 5 +++ b/.snyk 6 @@ -0,0 +1,7 @@ 7 +version: v1.5.0 8 +ignore: 9 + 'npm:cli:20160615': 10 + - ip-address > cli: 11 + reason: None given 12 + expires: '2016-10-03T17:10:11.468Z' 13 +patch: {} 14 diff --git a/package.json b/package.json 15 index 7dbde51..40ae8be 100644 16 --- a/package.json 17 +++ b/package.json 18 @@ -5,7 +5,9 @@ 19 "main": "gluon_web_remote.js", 20 "scripts": { 21 "test": "echo \"Error: no test specified\" && exit 1", 22 - "start": "node gluon_web_remote.js" 23 + "start": "node gluon_web_remote.js", 24 + "snyk-protect": "snyk protect", 25 + "prepublish": "npm run snyk-protect" 26 }, 27 "repository": { 28 "type": "git", 29 @@ -36,10 +38,12 @@ 30 "laeh2": "^0.3.3", 31 "request": "^2.72.0", 32 "ssh-keygen": "^0.2.1", 33 - "sshclient": "0.0.4" 34 + "sshclient": "0.0.4", 35 + "snyk": "^1.19.1" 36 }, 37 "devDependencies": { 38 "chai": "^3.5.0", 39 "mocha": "^2.5.3" 40 - } 41 -} 42 + }, 43 + "snyk": true 44 +} 45 \ No newline at end of file