From d3bcb2871de502fe8bf6cf235deb5971f03a6265 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:23:02 +0100 Subject: [PATCH 1/2] fix: packages/gatsby-remark-responsive-iframe/package.json & packages/gatsby-remark-responsive-iframe/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/gatsby-remark-responsive-iframe/package.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 } From 1d80a2c0035be387f7dbcd1da86626c8405a44e7 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:23:03 +0100 Subject: [PATCH 2/2] fix: packages/gatsby-remark-responsive-iframe/package.json & packages/gatsby-remark-responsive-iframe/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/gatsby-remark-responsive-iframe/.snyk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 packages/gatsby-remark-responsive-iframe/.snyk 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'