diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..546d74f --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# 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: + - ember-cli > portfinder > async > lodash: + patched: '2020-05-09T00:32:46.286Z' + - ember-cli > broccoli > console-ui > inquirer > lodash: + patched: '2020-05-09T00:32:46.286Z' + - ember-cli > @babel/plugin-transform-modules-amd > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-09T00:32:46.286Z' + - ember-cli > broccoli-babel-transpiler > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-09T00:32:46.286Z' diff --git a/package.json b/package.json index df75180..0a58a09 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,9 @@ "lint:hbs": "./node_modules/.bin/ember-template-lint app/templates/", "lint:scss": "stylelint app/styles", "start": "ember serve", - "test": "npm run lint && ember test" + "test": "npm run lint && ember test", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "dependencies": { "@ember/jquery": "^1.0.0", @@ -67,9 +69,11 @@ "sass": "^1.20.1", "stylelint": "^13.1.0", "stylelint-config-recommended": "^3.0.0", - "stylelint-scss": "^3.3.0" + "stylelint-scss": "^3.3.0", + "snyk": "^1.319.2" }, "engines": { "node": ">= 10.*" - } + }, + "snyk": true }