From 6adbd4805258fe403ad25a0bab39042dc2e64e76 Mon Sep 17 00:00:00 2001 From: AswinAsok Date: Sun, 10 Sep 2023 17:46:39 +0530 Subject: [PATCH] fix(swiper):version-downgrade --- package-lock.json | 49 ++++++++++++++++++++++++++++++++++++++++------- package.json | 2 +- 2 files changed, 43 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7de1e8dee..6f435467e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "react-scripts": "5.0.1", "react-tabs": "^5.1.0", "react-time-ago": "^7.2.1", - "swiper": "^10.1.0", + "swiper": "^8.4.7", "web-vitals": "^2.1.4" }, "devDependencies": { @@ -7644,6 +7644,14 @@ "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" } }, + "node_modules/dom7": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/dom7/-/dom7-4.0.6.tgz", + "integrity": "sha512-emjdpPLhpNubapLFdjNL9tP06Sr+GZkrIHEXLWvOGsytACUrkbeIdjO5g77m00BrHTznnlcNqgmn7pCN192TBA==", + "dependencies": { + "ssr-window": "^4.0.0" + } + }, "node_modules/domelementtype": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", @@ -16903,6 +16911,11 @@ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" }, + "node_modules/ssr-window": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/ssr-window/-/ssr-window-4.0.2.tgz", + "integrity": "sha512-ISv/Ch+ig7SOtw7G2+qkwfVASzazUnvlDTwypdLoPoySv+6MqlOV10VwPSE6EWkGjhW50lUmghPmpYZXMu/+AQ==" + }, "node_modules/stable": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz", @@ -17291,9 +17304,9 @@ } }, "node_modules/swiper": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/swiper/-/swiper-10.1.0.tgz", - "integrity": "sha512-E+wh+hcSbwlRfXuwBTclcOOikOjNdSF0a2Sdg3J4cIWtHO64A7SaLRfezfrJ67CW3GEc15AduYU2YKlElsjqsQ==", + "version": "8.4.7", + "resolved": "https://registry.npmjs.org/swiper/-/swiper-8.4.7.tgz", + "integrity": "sha512-VwO/KU3i9IV2Sf+W2NqyzwWob4yX9Qdedq6vBtS0rFqJ6Fa5iLUJwxQkuD4I38w0WDJwmFl8ojkdcRFPHWD+2g==", "funding": [ { "type": "patreon", @@ -17304,6 +17317,11 @@ "url": "http://opencollective.com/swiper" } ], + "hasInstallScript": true, + "dependencies": { + "dom7": "^4.0.4", + "ssr-window": "^4.0.2" + }, "engines": { "node": ">= 4.7.0" } @@ -24288,6 +24306,14 @@ "entities": "^2.0.0" } }, + "dom7": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/dom7/-/dom7-4.0.6.tgz", + "integrity": "sha512-emjdpPLhpNubapLFdjNL9tP06Sr+GZkrIHEXLWvOGsytACUrkbeIdjO5g77m00BrHTznnlcNqgmn7pCN192TBA==", + "requires": { + "ssr-window": "^4.0.0" + } + }, "domelementtype": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", @@ -30815,6 +30841,11 @@ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" }, + "ssr-window": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/ssr-window/-/ssr-window-4.0.2.tgz", + "integrity": "sha512-ISv/Ch+ig7SOtw7G2+qkwfVASzazUnvlDTwypdLoPoySv+6MqlOV10VwPSE6EWkGjhW50lUmghPmpYZXMu/+AQ==" + }, "stable": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz", @@ -31106,9 +31137,13 @@ } }, "swiper": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/swiper/-/swiper-10.1.0.tgz", - "integrity": "sha512-E+wh+hcSbwlRfXuwBTclcOOikOjNdSF0a2Sdg3J4cIWtHO64A7SaLRfezfrJ67CW3GEc15AduYU2YKlElsjqsQ==" + "version": "8.4.7", + "resolved": "https://registry.npmjs.org/swiper/-/swiper-8.4.7.tgz", + "integrity": "sha512-VwO/KU3i9IV2Sf+W2NqyzwWob4yX9Qdedq6vBtS0rFqJ6Fa5iLUJwxQkuD4I38w0WDJwmFl8ojkdcRFPHWD+2g==", + "requires": { + "dom7": "^4.0.4", + "ssr-window": "^4.0.2" + } }, "symbol-tree": { "version": "3.2.4", diff --git a/package.json b/package.json index 823177e7f..6b0b0afc4 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "react-scripts": "5.0.1", "react-tabs": "^5.1.0", "react-time-ago": "^7.2.1", - "swiper": "^10.1.0", + "swiper": "8.4.7", "web-vitals": "^2.1.4" }, "scripts": {