diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..49130e0 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - thrift > jsdoc > catharsis > lodash: + patched: '2020-05-01T03:27:52.187Z' + - thrift > jsdoc > requizzle > lodash: + patched: '2020-05-01T03:27:52.187Z' diff --git a/package.json b/package.json index f00df6c..37f9d38 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ ], "scripts": { "test": "eslint . && ava --verbose", - "start": "node index.js" + "start": "node index.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "main": "index.js", "repository": { @@ -32,7 +34,8 @@ "license": "MIT", "analyze": true, "dependencies": { - "thrift": "^0.11.0" + "thrift": "^0.14.0", + "snyk": "^1.316.1" }, "devDependencies": { "ava": "^0.18.1", @@ -48,5 +51,6 @@ "gulp": "^3.9.0", "gulp-babel": "^6.1.2", "gulp-thrift": "0.0.2" - } + }, + "snyk": true }