diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..d5bee9a --- /dev/null +++ b/.snyk @@ -0,0 +1,20 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - feathers-sync > lodash: + patched: '2019-07-04T00:38:02.028Z' + - yup > lodash: + patched: '2019-07-04T00:38:02.028Z' + - mongoose > async > lodash: + patched: '2019-07-04T00:38:02.028Z' + - request-promise > request-promise-core > lodash: + patched: '2019-07-04T00:38:02.028Z' + - pug-html-loader > pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2019-07-04T00:38:02.028Z' + - pug-html-loader > pug > pug-filters > constantinople > babel-types > lodash: + patched: '2019-07-04T00:38:02.028Z' + - pug-html-loader > pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2019-07-04T00:38:02.028Z' diff --git a/package.json b/package.json index ce35c3f..7e12f7b 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,9 @@ "integration": "cross-env NODE_ENV=test && npm-run-all --parallel serve test-client", "dev": "npm-run-all --parallel watch serve", "build": "gulp && NODE_ENV=production webpack -p", - "production": "cross-env NODE_ENV=production node server/" + "production": "cross-env NODE_ENV=production node server/", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "axios": "^0.15.3", @@ -74,7 +76,8 @@ "vue-server-renderer": "^2.5.2", "vue-stash": "^2.0.1-beta", "winston": "^2.3.1", - "yup": "^0.22.0" + "yup": "^0.22.0", + "snyk": "^1.189.0" }, "devDependencies": { "babel": "^6.23.0", @@ -144,5 +147,6 @@ "webpack-cleanup-plugin": "^0.5.1", "webpack-merge": "^4.1.0", "webpack-node-externals": "^1.6.0" - } + }, + "snyk": true }