diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..f295532 --- /dev/null +++ b/.snyk @@ -0,0 +1,29 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:hawk:20160119': + - dalek-driver-native > dalek-internal-webdriver > wd > request > hawk: + patched: '2022-07-31T21:48:01.921Z' + 'npm:http-signature:20150122': + - dalek-driver-native > dalek-internal-webdriver > wd > request > http-signature: + patched: '2022-07-31T21:48:01.921Z' + 'npm:mime:20170907': + - dalek-browser-phantomjs > phantomjs > request > form-data > mime: + patched: '2022-07-31T21:48:01.921Z' + - dalek-driver-native > dalek-internal-webdriver > wd > request > form-data > mime: + patched: '2022-07-31T21:48:01.921Z' + 'npm:minimatch:20160620': + - dalek-driver-native > dalek-internal-webdriver > wd > archiver > glob > minimatch: + patched: '2022-07-31T21:48:01.921Z' + 'npm:request:20160119': + - dalek-browser-phantomjs > phantomjs > request: + patched: '2022-07-31T21:48:01.921Z' + - dalek-driver-native > dalek-internal-webdriver > wd > request: + patched: '2022-07-31T21:48:01.921Z' + 'npm:tunnel-agent:20170305': + - dalek-browser-phantomjs > phantomjs > request > tunnel-agent: + patched: '2022-07-31T21:48:01.921Z' + - dalek-driver-native > dalek-internal-webdriver > wd > request > tunnel-agent: + patched: '2022-07-31T21:48:01.921Z' diff --git a/package.json b/package.json index 2b98f38..25dbf73 100644 --- a/package.json +++ b/package.json @@ -10,17 +10,18 @@ "dependencies": { "dalek-driver-native": "0.0.6", "dalek-reporter-console": "0.0.7", - "dalek-browser-phantomjs": "0.0.4", + "dalek-browser-phantomjs": "0.0.5", "q": "1.1.2", "chai": "1.9.1", "async": "0.9.0", "eventemitter2": "0.4.14", - "cheerio": "0.18.0", + "cheerio": "0.20.0", "lodash": "2.4.1", "js-yaml": "3.2.3", "json5": "0.4.0", "coffee-script": "1.8.0", - "glob": "4.2.1" + "glob": "5.0.15", + "@snyk/protect": "latest" }, "devDependencies": { "grunt": "0.4.5", @@ -44,7 +45,9 @@ "dalek-build-tools": "0.0.2" }, "scripts": { - "test": "grunt test" + "test": "grunt test", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "repository": { "type": "git", @@ -69,5 +72,6 @@ ], "engine": { "node": ">=0.10" - } + }, + "snyk": true }