diff --git a/packages/gatsby-remark-responsive-iframe/.snyk b/packages/gatsby-remark-responsive-iframe/.snyk new file mode 100644 index 0000000000000..3ac09dac1638d --- /dev/null +++ b/packages/gatsby-remark-responsive-iframe/.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: + - lodash: + patched: '2020-05-01T05:23:00.331Z' + - cheerio > lodash: + patched: '2020-05-01T05:23:00.331Z' diff --git a/packages/gatsby-remark-responsive-iframe/package.json b/packages/gatsby-remark-responsive-iframe/package.json index 2bf4671fa1834..aa69d077964f6 100644 --- a/packages/gatsby-remark-responsive-iframe/package.json +++ b/packages/gatsby-remark-responsive-iframe/package.json @@ -11,7 +11,8 @@ "bluebird": "^3.5.0", "cheerio": "^1.0.0-rc.2", "lodash": "^4.17.10", - "unist-util-visit": "^1.3.0" + "unist-util-visit": "^1.3.0", + "snyk": "^1.316.1" }, "devDependencies": { "@babel/cli": "^7.0.0", @@ -34,8 +35,10 @@ "repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-responsive-iframe", "scripts": { "build": "babel src --out-dir . --ignore **/__tests__", - "prepare": "cross-env NODE_ENV=production npm run build", - "watch": "babel -w src --out-dir . --ignore **/__tests__" + "prepare": "npm run snyk-protect && cross-env NODE_ENV=production npm run build", + "watch": "babel -w src --out-dir . --ignore **/__tests__", + "snyk-protect": "snyk protect" }, - "gitHead": "5bd5aebe066b9875354a81a4b9ed98722731c465" + "gitHead": "5bd5aebe066b9875354a81a4b9ed98722731c465", + "snyk": true }