diff --git a/package.json b/package.json index b274760..8ef09a1 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "redux": "^4.0.5", "redux-thunk": "^2.3.0", "sass": "^1.34.0", - "swiper": "^6.6.2" + "swiper": "^8.4.4" }, "devDependencies": { "@chec/seeder": "^1.1.1", diff --git a/pages/_app.js b/pages/_app.js index 96b2c73..0deefd6 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -6,7 +6,8 @@ import { Provider } from 'react-redux'; import commerce from '../lib/commerce'; import { loadStripe } from '@stripe/stripe-js'; import { setCustomer } from '../store/actions/authenticateActions'; -import 'swiper/components/effect-fade/effect-fade.scss'; +import 'swiper/css'; +import 'swiper/css/effect-fade'; const MyApp = ({Component, pageProps}) => { diff --git a/pages/_document.js b/pages/_document.js index 2323cbb..a9d0c75 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -29,7 +29,6 @@ class MyDocument extends Document { href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700,900&display=swap" rel="stylesheet" /> - diff --git a/yarn.lock b/yarn.lock index 1f62490..39670a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -745,9 +745,9 @@ camelcase@^5.0.0: integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== caniuse-lite@^1.0.30001202, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001228: - version "1.0.30001230" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001230.tgz#8135c57459854b2240b57a4a6786044bdc5a9f71" - integrity sha512-5yBd5nWCBS+jWKTcHOzXwo5xzcj4ePE/yjtkZyUV1BTUmrBaA9MRGC+e7mxnqXSA90CmCA8L3eKLaSUkt099IQ== + version "1.0.30001426" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001426.tgz" + integrity sha512-n7cosrHLl8AWt0wwZw/PJZgUg3lV0gk9LMI7ikGJwhyhgsd2Nb65vKvmSexCqq/J7rbH3mFG6yZZiPR5dLPW5A== chalk@2.4.2, chalk@^2.0.0, chalk@^2.4.2: version "2.4.2" @@ -1125,12 +1125,12 @@ dom-helpers@^5.0.1: "@babel/runtime" "^7.6.3" csstype "^2.6.7" -dom7@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/dom7/-/dom7-3.0.0.tgz#b861ce5d67a6becd7aaa3ad02942ff14b1240331" - integrity sha512-oNlcUdHsC4zb7Msx7JN3K0Nro1dzJ48knvBOnDPKJ2GV9wl1i5vydJZUSyOfrkKFDZEud/jBsTk92S/VGSAe/g== +dom7@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/dom7/-/dom7-4.0.4.tgz#8b68c5d8e5e2ed0fddb1cb93e433bc9060c8f3fb" + integrity sha512-DSSgBzQ4rJWQp1u6o+3FVwMNnT5bzQbMb+o31TjYYeRi05uAcpF8koxdfzeoe5ElzPmua7W7N28YJhF7iEKqIw== dependencies: - ssr-window "^3.0.0-alpha.1" + ssr-window "^4.0.0" domain-browser@4.19.0: version "4.19.0" @@ -3468,10 +3468,10 @@ sprintf-js@~1.0.2: resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= -ssr-window@^3.0.0, ssr-window@^3.0.0-alpha.1: - version "3.0.0" - resolved "https://registry.yarnpkg.com/ssr-window/-/ssr-window-3.0.0.tgz#fd5b82801638943e0cc704c4691801435af7ac37" - integrity sha512-q+8UfWDg9Itrg0yWK7oe5p/XRCJpJF9OBtXfOPgSJl+u3Xd5KI328RUEvUqSMVM9CiQUEf1QdBzJMkYGErj9QA== +ssr-window@^4.0.0, ssr-window@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/ssr-window/-/ssr-window-4.0.2.tgz#dc6b3ee37be86ac0e3ddc60030f7b3bc9b8553be" + integrity sha512-ISv/Ch+ig7SOtw7G2+qkwfVASzazUnvlDTwypdLoPoySv+6MqlOV10VwPSE6EWkGjhW50lUmghPmpYZXMu/+AQ== stacktrace-parser@0.1.10: version "0.1.10" @@ -3683,13 +3683,13 @@ supports-color@^8.0.0: dependencies: has-flag "^4.0.0" -swiper@^6.6.2: - version "6.6.2" - resolved "https://registry.yarnpkg.com/swiper/-/swiper-6.6.2.tgz#461d6657b53eefe59c6e852a5187c2cfd4e6a8c1" - integrity sha512-l9ICRsPtK92fF1nzR/r56bNE9A8ufz99yr810+IgQTfnKWVDIE/DD/uQKtIRpbFAIeuesU/J4F1ziIC/jBug7g== +swiper@^8.4.4: + version "8.4.4" + resolved "https://registry.yarnpkg.com/swiper/-/swiper-8.4.4.tgz#868ccad5384624e84143b469c75bc54ba004e668" + integrity sha512-jA/8BfOZwT8PqPSnMX0TENZYitXEhNa7ZSNj1Diqh5LZyUJoBQaZcqAiPQ/PIg1+IPaRn/V8ZYVb0nxHMh51yw== dependencies: - dom7 "^3.0.0" - ssr-window "^3.0.0" + dom7 "^4.0.4" + ssr-window "^4.0.2" symbol-observable@^1.2.0: version "1.2.0"