diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..49c51a4 --- /dev/null +++ b/.snyk @@ -0,0 +1,34 @@ +# 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-01T02:20:10.109Z' + - request-promise > request-promise-core > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-config > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-config > graphql-import > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-language-service-utils > graphql-config > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-language-service-types > graphql-config > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-language-service-parser > graphql-config > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-language-service-utils > graphql-config > graphql-import > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-language-service-types > graphql-config > graphql-import > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-language-service-parser > graphql-config > graphql-import > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-language-service-parser > graphql-language-service-types > graphql-config > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-language-service-utils > graphql-language-service-types > graphql-config > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-language-service-parser > graphql-language-service-types > graphql-config > graphql-import > lodash: + patched: '2020-05-01T02:20:10.109Z' + - graphiql > codemirror-graphql > graphql-language-service-interface > graphql-language-service-utils > graphql-language-service-types > graphql-config > graphql-import > lodash: + patched: '2020-05-01T02:20:10.109Z' diff --git a/package.json b/package.json index eceb23b..dab6d81 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "", "main": "index.js", "scripts": { - "start": "nodemon app.js" + "start": "nodemon app.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [], "author": "", @@ -18,9 +20,11 @@ "lodash": "^4.17.4", "node-fetch": "^1.7.3", "request": "^2.82.0", - "request-promise": "^4.2.2" + "request-promise": "^4.2.2", + "snyk": "^1.316.1" }, "devDependencies": { "nodemon": "^1.12.1" - } + }, + "snyk": true }