diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..df1b802 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:lodash:20180130': + - ember-cli-babel > broccoli-babel-transpiler > babel-core > babel-plugin-proto-to-assign > lodash: + patched: '2018-07-05T08:23:11.880Z' diff --git a/package.json b/package.json index a13e222..509e991 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ "scripts": { "build": "ember build", "start": "ember server", - "test": "ember try:each" + "test": "ember try:each", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "repository": "", "engines": { @@ -44,9 +46,11 @@ "ember-addon" ], "dependencies": { - "ember-cli-babel": "^5.1.6" + "ember-cli-babel": "^6.0.0", + "snyk": "^1.88.1" }, "ember-addon": { "configPath": "tests/dummy/config" - } + }, + "snyk": true }