From a651d366bc96979c1241d4fccebd5dd69563f3f6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 18 Aug 2021 12:23:42 +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-D3COLOR-1076592 --- package-lock.json | 156 +++++++++++++++++++--------------------------- package.json | 2 +- 2 files changed, 65 insertions(+), 93 deletions(-) diff --git a/package-lock.json b/package-lock.json index d77f715b94f6..df494e19b30e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4625,52 +4625,47 @@ "integrity": "sha512-OWyu3U6PJL2VGlAfoz6nTU4opXHlR0yp0h+0Q0rf/hMKQLiew6NmecKcR1Nx2Qw4dJHgOnZRXqQ6vQrhcNV3WQ==" }, "@nivo/line": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@nivo/line/-/line-0.62.0.tgz", - "integrity": "sha512-P48gt8NjhRb5W8QjafgO/DMKVD+21X4Jf13wwL6k8lzwaKOaWS37OPPPpvDREQFZhHYWG6KcnIGEo99/yOzdWw==", - "requires": { - "@nivo/annotations": "0.62.0", - "@nivo/axes": "0.62.0", - "@nivo/colors": "0.62.0", - "@nivo/core": "0.62.0", - "@nivo/legends": "0.62.0", - "@nivo/scales": "0.62.0", - "@nivo/tooltip": "0.62.0", - "@nivo/voronoi": "0.62.0", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@nivo/line/-/line-0.63.0.tgz", + "integrity": "sha512-zQur5HeW1FNBaiem1cbLULvT7es8e8X0OtPR8DUsN5VUnBWclMnKfPdWyl4ZSD0UDU+lsxKy0W/Sx2YWlCtWNg==", + "requires": { + "@nivo/annotations": "0.63.0", + "@nivo/axes": "0.63.0", + "@nivo/colors": "0.63.0", + "@nivo/legends": "0.63.0", + "@nivo/scales": "0.63.0", + "@nivo/tooltip": "0.63.0", + "@nivo/voronoi": "0.63.0", "d3-shape": "^1.3.5", - "lodash": "^4.17.11", - "react-motion": "^0.5.2" + "react-spring": "^8.0.27" }, "dependencies": { "@nivo/annotations": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@nivo/annotations/-/annotations-0.62.0.tgz", - "integrity": "sha512-cvwUMeEkqVZ9yEgiWf3Nj3bHY36JHK7fHdXbcYS6KYZ05m5mbVWFMxHE45fPKRLaWoMqaK+rhPpioMHGYC/4mA==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@nivo/annotations/-/annotations-0.63.0.tgz", + "integrity": "sha512-hfJRI9UWFIezx1ybxK/zEoqRX5oboNwF6NENlj+Kbst0rYTNxKHbSjQDTovmVVZEvHX3Thj5XDkvP9/dTULf9Q==", "requires": { - "@nivo/colors": "0.62.0", - "@nivo/core": "0.62.0", + "@nivo/colors": "0.63.0", "lodash": "^4.17.11", - "react-motion": "^0.5.2" + "react-spring": "^8.0.27" } }, "@nivo/axes": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@nivo/axes/-/axes-0.62.0.tgz", - "integrity": "sha512-9MBYGtKTVks5wvR/Xsj7h0/N6M2FHdwad/CmRP91agTBwyhMyYE9ifEwcP0urshZ6Jt9D1e5GxtZYwrPwFWv/A==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@nivo/axes/-/axes-0.63.0.tgz", + "integrity": "sha512-d8CdCJR2VSD0hVpsehQGEfUWXL6w02rNs92KG+pFzUhhd1Xk7RGZQjvF+a4ikvSvjmnz7QfbDE+yIYOZLntY6A==", "requires": { - "@nivo/core": "0.62.0", - "@nivo/scales": "0.62.0", - "d3-format": "^1.3.2", + "@nivo/scales": "0.63.0", + "d3-format": "^1.4.4", "d3-time": "^1.0.11", "d3-time-format": "^2.1.3", - "lodash": "^4.17.11", - "react-motion": "^0.5.2" + "react-spring": "^8.0.27" } }, "@nivo/colors": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@nivo/colors/-/colors-0.62.0.tgz", - "integrity": "sha512-yBbdy0eD9oG4j7SXWx1FIa6l30/6H0pMINB3Qth3Pz0cFtXNf7mHjbIziSdt+nW8syT6GvxCtU+Vw98M52bA2A==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@nivo/colors/-/colors-0.63.0.tgz", + "integrity": "sha512-z214/P5F+RDuQLLroB+tAsyyn093BN1TDxtEVQ9t0gbi2qkQVTbBUR8rGYW35NeLRrTpPfLoHVekoUtL5el/Bg==", "requires": { "d3-color": "^1.2.3", "d3-scale": "^3.0.0", @@ -4681,39 +4676,37 @@ } }, "@nivo/core": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@nivo/core/-/core-0.62.0.tgz", - "integrity": "sha512-0MdLAy4NgwL/QRJQN9oVFL8aF6H0qd0iHG3Ewy3asvgh/Dmz4boXKsTX5+V9puTeJHJtnlBdSgWqimqeeiXD8w==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@nivo/core/-/core-0.63.0.tgz", + "integrity": "sha512-baGSWH1KLsZ5I4jb6oRc4ZREPgbrjJFaGs5mQAUrI1fkymGxmQbgLPlxA20cO/PU5Ikpuagsq8AKzuJHdZ/Ttw==", "requires": { - "@nivo/tooltip": "0.62.0", "d3-color": "^1.2.3", - "d3-format": "^1.3.2", + "d3-format": "^1.4.4", "d3-hierarchy": "^1.1.8", - "d3-interpolate": "^1.3.2", "d3-scale": "^3.0.0", "d3-scale-chromatic": "^1.3.3", "d3-shape": "^1.3.5", "d3-time-format": "^2.1.3", "lodash": "^4.17.11", - "react-measure": "^2.2.4", - "react-motion": "^0.5.2", - "recompose": "^0.30.0" + "react-spring": "^8.0.27", + "recompose": "^0.30.0", + "resize-observer-polyfill": "^1.5.1" } }, "@nivo/legends": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@nivo/legends/-/legends-0.62.0.tgz", - "integrity": "sha512-0Vda6OyftmeL0j1wKqDe64qXQ1t+4h/GVxZK4wUXfFHkxHmLOnX+KFPwAWtHaYwmBb8RuzBlZfLipkKk2M3Dwg==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@nivo/legends/-/legends-0.63.0.tgz", + "integrity": "sha512-PZgSUrXw9J/CW9ISKLJWvx0UypodpUYMRxejv0INsmHdLYEyi/9rxX+67pOY0utqCZ5KFWIOk5lwFqGcNY0+Jw==", "requires": { - "@nivo/core": "0.62.0", + "@nivo/core": "0.63.0", "lodash": "^4.17.11", "recompose": "^0.30.0" } }, "@nivo/scales": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@nivo/scales/-/scales-0.62.0.tgz", - "integrity": "sha512-x3L7/yCPLNmj/mtnOl9E/kL/3KMXKyS3IyzqB2F5PAiUcsUpxKmHwcJ9ATdPKcoUaYpf/wa9z+jL92/AInz3Pw==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@nivo/scales/-/scales-0.63.0.tgz", + "integrity": "sha512-DeMgtY3AYRBV+qhT8t61dU7rSx4uNrj+FBPtMb7+0PuWDFzTR113tx0vtu8XlEUtTxpTZCJFk7B1mAFDiMnV+A==", "requires": { "d3-scale": "^3.0.0", "d3-time-format": "^2.1.3", @@ -4721,13 +4714,11 @@ } }, "@nivo/tooltip": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@nivo/tooltip/-/tooltip-0.62.0.tgz", - "integrity": "sha512-MoEq+WLDynH+DBRihb432RLtxEkvC3mKWjMuNlMwTQy+sk7h6NfIPw1QCeLrjiA/0w5qNSmWtbIv4dEJNExfwg==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@nivo/tooltip/-/tooltip-0.63.0.tgz", + "integrity": "sha512-MJVLDxp7kKwohcMrFGlKKXAXmos7dBxN7/SINOdnbXeBIqLU0bPAgk0WuVdICcaHOwRvoqDCYKlIkpNaJXzU1Q==", "requires": { - "@nivo/core": "0.62.0", - "react-measure": "^2.2.4", - "react-motion": "^0.5.2" + "react-spring": "^8.0.27" } }, "d3-color": { @@ -4819,44 +4810,32 @@ } }, "@nivo/voronoi": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@nivo/voronoi/-/voronoi-0.62.0.tgz", - "integrity": "sha512-+Q+zTjp4LsjmUNMA3tFe13UdjANsE1NLTKajrwEBvQEx87GWYUJP2G+tNBrb2WfkBUmH0XTkkH7upLy4Gx//HA==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@nivo/voronoi/-/voronoi-0.63.0.tgz", + "integrity": "sha512-eM1ZQ/QJGhz3g0Wy8sucVUAdylqmpJNE2YZARYKM9HKbs3EgV4yLcGdM4f5NU28V1QdGWx/TMP1R2OwY6H3ovg==", "requires": { - "@nivo/core": "0.62.0", + "@nivo/core": "0.63.0", "d3-delaunay": "^5.1.1", "d3-scale": "^3.0.0", "recompose": "^0.30.0" }, "dependencies": { "@nivo/core": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@nivo/core/-/core-0.62.0.tgz", - "integrity": "sha512-0MdLAy4NgwL/QRJQN9oVFL8aF6H0qd0iHG3Ewy3asvgh/Dmz4boXKsTX5+V9puTeJHJtnlBdSgWqimqeeiXD8w==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@nivo/core/-/core-0.63.0.tgz", + "integrity": "sha512-baGSWH1KLsZ5I4jb6oRc4ZREPgbrjJFaGs5mQAUrI1fkymGxmQbgLPlxA20cO/PU5Ikpuagsq8AKzuJHdZ/Ttw==", "requires": { - "@nivo/tooltip": "0.62.0", "d3-color": "^1.2.3", - "d3-format": "^1.3.2", + "d3-format": "^1.4.4", "d3-hierarchy": "^1.1.8", - "d3-interpolate": "^1.3.2", "d3-scale": "^3.0.0", "d3-scale-chromatic": "^1.3.3", "d3-shape": "^1.3.5", "d3-time-format": "^2.1.3", "lodash": "^4.17.11", - "react-measure": "^2.2.4", - "react-motion": "^0.5.2", - "recompose": "^0.30.0" - } - }, - "@nivo/tooltip": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@nivo/tooltip/-/tooltip-0.62.0.tgz", - "integrity": "sha512-MoEq+WLDynH+DBRihb432RLtxEkvC3mKWjMuNlMwTQy+sk7h6NfIPw1QCeLrjiA/0w5qNSmWtbIv4dEJNExfwg==", - "requires": { - "@nivo/core": "0.62.0", - "react-measure": "^2.2.4", - "react-motion": "^0.5.2" + "react-spring": "^8.0.27", + "recompose": "^0.30.0", + "resize-observer-polyfill": "^1.5.1" } }, "d3-color": { @@ -20954,11 +20933,6 @@ } } }, - "get-node-dimensions": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-node-dimensions/-/get-node-dimensions-1.2.1.tgz", - "integrity": "sha512-2MSPMu7S1iOTL+BOa6K1S62hB2zUAYNF/lV0gSVlOaacd087lc6nR1H1r0e3B1CerTo+RceOmi1iJW+vp21xcQ==" - }, "get-package-type": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", @@ -31425,17 +31399,6 @@ "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" }, - "react-measure": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/react-measure/-/react-measure-2.5.2.tgz", - "integrity": "sha512-M+rpbTLWJ3FD6FXvYV6YEGvQ5tMayQ3fGrZhRPHrE9bVlBYfDCLuDcgNttYfk8IqfOI03jz6cbpqMRTUclQnaA==", - "requires": { - "@babel/runtime": "^7.2.0", - "get-node-dimensions": "^1.2.1", - "prop-types": "^15.6.2", - "resize-observer-polyfill": "^1.5.0" - } - }, "react-motion": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/react-motion/-/react-motion-0.5.2.tgz", @@ -31492,6 +31455,15 @@ "throttle-debounce": "^3.0.1" } }, + "react-spring": { + "version": "8.0.27", + "resolved": "https://registry.npmjs.org/react-spring/-/react-spring-8.0.27.tgz", + "integrity": "sha512-nDpWBe3ZVezukNRandTeLSPcwwTMjNVu1IDq9qA/AMiUqHuRN4BeSWvKr3eIxxg1vtiYiOLy4FqdfCP5IoP77g==", + "requires": { + "@babel/runtime": "^7.3.1", + "prop-types": "^15.5.8" + } + }, "react-syntax-highlighter": { "version": "13.5.3", "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-13.5.3.tgz", diff --git a/package.json b/package.json index 5a97e2741eb1..1d7b618b5c72 100644 --- a/package.json +++ b/package.json @@ -153,7 +153,7 @@ "@nivo/bar": "0.73.1", "@nivo/core": "0.73.0", "@nivo/heatmap": "0.73.0", - "@nivo/line": "0.62.0", + "@nivo/line": "0.63.0", "@nivo/pie": "0.73.0", "@rocket.chat/apps-engine": "1.27.1", "@rocket.chat/css-in-js": "^0.28.0",