diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..c340bb2 --- /dev/null +++ b/.snyk @@ -0,0 +1,54 @@ +# 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: + - nuxt > @nuxt/webpack > @babel/core > lodash: + patched: '2019-07-04T01:01:11.312Z' + - lodash: + patched: '2019-07-04T01:01:11.312Z' + - eslint > table > lodash: + patched: '2019-07-04T01:01:11.312Z' + - eslint-plugin-vue > vue-eslint-parser > lodash: + patched: '2019-07-04T01:01:11.312Z' + - node-sass > sass-graph > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/builder > lodash: + patched: '2019-07-04T01:01:11.312Z' + - eslint > inquirer > lodash: + patched: '2019-07-04T01:01:11.312Z' + - node-sass > gaze > globule > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > html-webpack-plugin > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > hard-source-webpack-plugin > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > extract-css-chunks-webpack-plugin > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > css-loader > lodash: + patched: '2019-07-04T01:01:11.312Z' + - eslint > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > webpack-bundle-analyzer > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > thread-loader > async > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > @babel/core > @babel/types > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > @babel/core > @babel/helpers > @babel/types > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > @nuxt/babel-preset-app > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > @nuxt/babel-preset-app > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-function-name > @babel/types > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > @nuxt/babel-preset-app > @babel/preset-env > @babel/plugin-transform-parameters > @babel/helper-call-delegate > @babel/traverse > @babel/generator > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > @nuxt/babel-preset-app > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-replace-supers > @babel/traverse > @babel/generator > @babel/types > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > @nuxt/babel-preset-app > @babel/preset-env > @babel/plugin-proposal-async-generator-functions > @babel/helper-remap-async-to-generator > @babel/helper-wrap-function > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-04T01:01:11.312Z' + - nuxt > @nuxt/webpack > @nuxt/babel-preset-app > @babel/preset-env > @babel/plugin-proposal-async-generator-functions > @babel/helper-remap-async-to-generator > @babel/helper-wrap-function > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-04T01:01:11.312Z' diff --git a/package.json b/package.json index 7d9890c..81d75d5 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "vue": "^2.5.22", "vue-lazyload": "^1.2.6", "vue-numeral-filter": "^1.1.1", - "vuetify": "^1.4.2" + "vuetify": "^1.4.2", + "snyk": "^1.189.0" }, "scripts": { "dev": "NODE_ENV=development node server/index.js", @@ -38,11 +39,14 @@ "start": "node server/index.js", "start:ci": "NODE_ENV=production CI=true node server/index.js", "test:cypress": "cypress run", - "wait": "wait-on http://localhost:3000" + "wait": "wait-on http://localhost:3000", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "cypress": "^3.1.0", "express-http-proxy": "^1.5.0", "wait-on": "^3.2.0" - } + }, + "snyk": true }