From f75ea4c5ba2a3aea83d3480f45a3ccc11332877b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 25 Mar 2023 11:08:49 +0000 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-LIQUIDJS-2952868 - https://snyk.io/vuln/SNYK-JS-STYLEDCOMPONENTS-3149924 --- package-lock.json | 25 +++++++++++++++---------- package.json | 4 ++-- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index e24993fa337a..f3e9f344dc3e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,7 +52,7 @@ "javascript-stringify": "^2.1.0", "js-cookie": "^3.0.1", "js-yaml": "^4.1.0", - "liquidjs": "9.22.1", + "liquidjs": "^10.0.0", "lodash": "^4.17.21", "lodash-es": "^4.17.21", "lowdb": "5.0.5", @@ -86,7 +86,7 @@ "sharp": "0.31.3", "slash": "^5.0.0", "strip-html-comments": "^1.0.0", - "styled-components": "^5.3.5", + "styled-components": "^5.3.7", "swr": "^2.0.0", "ts-dedent": "^2.2.0", "unified": "^10.1.2", @@ -13702,14 +13702,15 @@ } }, "node_modules/liquidjs": { - "version": "9.22.1", - "license": "MIT", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.0.0.tgz", + "integrity": "sha512-uY3fKqBSRmnat0wB5qWk0W5N5iT78OUhuIXNRiMfhYQ3p35al9mEWKQ68/Z+WD54V2upaxEM8nHaZ6o1B8WCMA==", "bin": { "liquid": "bin/liquid.js", "liquidjs": "bin/liquid.js" }, "engines": { - "node": ">=4.8.7" + "node": ">=14" }, "funding": { "type": "opencollective", @@ -18482,9 +18483,9 @@ } }, "node_modules/styled-components": { - "version": "5.3.5", - "hasInstallScript": true, - "license": "MIT", + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-5.3.7.tgz", + "integrity": "sha512-JL1b4A79OGqav4TxkrNsuuQfy6ZnrpyQx6hBDQ3Hd3JyuR2IQuVNBpF+FCEWFNZpN5hj+fhkaEVWteVJ18f0tw==", "dependencies": { "@babel/helper-module-imports": "^7.0.0", "@babel/traverse": "^7.4.5", @@ -29061,7 +29062,9 @@ } }, "liquidjs": { - "version": "9.22.1" + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.0.0.tgz", + "integrity": "sha512-uY3fKqBSRmnat0wB5qWk0W5N5iT78OUhuIXNRiMfhYQ3p35al9mEWKQ68/Z+WD54V2upaxEM8nHaZ6o1B8WCMA==" }, "listr2": { "version": "4.0.5", @@ -31936,7 +31939,9 @@ } }, "styled-components": { - "version": "5.3.5", + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-5.3.7.tgz", + "integrity": "sha512-JL1b4A79OGqav4TxkrNsuuQfy6ZnrpyQx6hBDQ3Hd3JyuR2IQuVNBpF+FCEWFNZpN5hj+fhkaEVWteVJ18f0tw==", "requires": { "@babel/helper-module-imports": "^7.0.0", "@babel/traverse": "^7.4.5", diff --git a/package.json b/package.json index 293cacf00c54..cbb00b1330a4 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "javascript-stringify": "^2.1.0", "js-cookie": "^3.0.1", "js-yaml": "^4.1.0", - "liquidjs": "9.22.1", + "liquidjs": "10.0.0", "lodash": "^4.17.21", "lodash-es": "^4.17.21", "lowdb": "5.0.5", @@ -88,7 +88,7 @@ "sharp": "0.31.3", "slash": "^5.0.0", "strip-html-comments": "^1.0.0", - "styled-components": "^5.3.5", + "styled-components": "^5.3.7", "swr": "^2.0.0", "ts-dedent": "^2.2.0", "unified": "^10.1.2",