diff --git a/.snyk b/.snyk new file mode 100644 index 000000000..0a4d94590 --- /dev/null +++ b/.snyk @@ -0,0 +1,50 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-browserify > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-uglify > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-watch > lodash: + patched: '2020-05-01T03:18:58.844Z' + - byteballcore > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt > grunt-legacy-log > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt > grunt-legacy-util > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-angular-gettext > angular-gettext-tools > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-browserify > async > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-watch > async > lodash: + patched: '2020-05-01T03:18:58.844Z' + - byteballcore > async > lodash: + patched: '2020-05-01T03:18:58.844Z' + - zip > async > lodash: + patched: '2020-05-01T03:18:58.844Z' + - zip > zip-stream > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > archiver > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt > grunt-legacy-log > grunt-legacy-log-utils > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > archiver > async > lodash: + patched: '2020-05-01T03:18:58.844Z' + - zip > zip-stream > archiver-utils > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > archiver > archiver-utils > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > archiver > zip-stream > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-watch > gaze > globule > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > archiver > zip-stream > archiver-utils > lodash: + patched: '2020-05-01T03:18:58.844Z' diff --git a/package.json b/package.json index b668359b2..c6df99de0 100644 --- a/package.json +++ b/package.json @@ -64,13 +64,16 @@ "shelljs": "^0.3.0", "sjcl": "^1.0.2", "unzip": "git+https://github.com/byteball/unzip.git", - "zip": "git+https://github.com/xJeneKx/zip.git" + "zip": "git+https://github.com/xJeneKx/zip.git", + "snyk": "^1.316.1" }, "optionalDependencies": { "innosetup-compiler": "^5.5.9" }, "scripts": { - "test": "./node_modules/.bin/grunt test-coveralls" + "test": "./node_modules/.bin/grunt test-coveralls", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "angular-mocks": "^1.2.0", @@ -82,5 +85,6 @@ "karma-jasmine": "^1.1.2", "karma-phantomjs-launcher": "^1.0.4", "phantomjs-prebuilt": "^2.1.16" - } + }, + "snyk": true }