Skip to content

Commit

Permalink
deps: update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomontalbano committed Feb 9, 2023
1 parent 7faf45e commit 1b20096
Show file tree
Hide file tree
Showing 7 changed files with 1,441 additions and 1,497 deletions.
2,899 changes: 1,421 additions & 1,478 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/setup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"license": "MIT",
"dependencies": {
"@commercelayer/js-auth": "^2.3.0",
"@commercelayer/sdk": "^4.21.0"
"@commercelayer/sdk": "^4.24.1"
}
}
4 changes: 2 additions & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"dist"
],
"dependencies": {
"zod": "^3.20.2"
"zod": "^3.20.6"
},
"devDependencies": {
"typescript": "^4.9.4"
"typescript": "^4.9.5"
},
"scripts": {
"ts:check": "tsc --noEmit",
Expand Down
26 changes: 13 additions & 13 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@
"dependencies": {
"@commercelayer/demo-store-types": "^2.0.0",
"@commercelayer/js-auth": "^2.3.0",
"@commercelayer/react-components": "4.1.0",
"@commercelayer/sdk": "^4.21.0",
"@commercelayer/react-components": "4.2.2",
"@commercelayer/sdk": "^4.24.1",
"@svgr/webpack": "^6.5.1",
"@types/lodash": "^4.14.191",
"fuse.js": "^6.6.2",
"iframe-resizer-react": "^1.1.0",
"immer": "^9.0.18",
"immer": "^9.0.19",
"lodash": "^4.17.21",
"next": "^13.1.3",
"next": "^13.1.6",
"next-localization": "^0.12.0",
"next-pwa": "^5.6.0",
"react": "^18",
"react-dom": "^18",
"react-remark": "^2.1.0",
"swiper": "^8.4.6",
"swiper": "^9.0.3",
"use-immer": "^0.8.1"
},
"devDependencies": {
Expand All @@ -48,16 +48,16 @@
"@types/react": "^18",
"autoprefixer": "^10.4.13",
"dotenv-cli": "^7.0.0",
"eslint": "8.32.0",
"eslint-config-next": "13.1.3",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"next-sitemap": "^3.1.45",
"eslint": "8.33.0",
"eslint-config-next": "13.1.6",
"jest": "^29.4.2",
"jest-environment-jsdom": "^29.4.2",
"next-sitemap": "^3.1.52",
"postcss": "^8.4.21",
"sass": "^1.57.1",
"tailwindcss": "^3.2.4",
"sass": "^1.58.0",
"tailwindcss": "^3.2.6",
"ts-jest": "^29.0.5",
"typescript": "4.9.4"
"typescript": "4.9.5"
},
"engines": {
"node": "^16.13.0 || ^18.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/website/src/components/Auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { NEXT_PUBLIC_BASE_PATH } from '#utils/envs'
import { getPersistKey } from '#utils/order'
import { AuthReturnType, ClientCredentials, getSalesChannelToken } from '@commercelayer/js-auth'
import { CommerceLayer, LineItemsContainer, OrderContainer, OrderStorage } from '@commercelayer/react-components'
import type { DefaultChildrenType } from '@commercelayer/react-components/lib/esm/typings/globals'
import { useRouter } from 'next/router'
import { useEffect, useState } from 'react'

Expand Down Expand Up @@ -52,7 +53,7 @@ const hasExpired = (time: number | undefined): boolean => time === undefined ||
const isValid = (auth: Auth | null): auth is Auth => !hasExpired(auth?.expires)

type Props = {
children ?: React.ReactNode
children: DefaultChildrenType
locale: ShoppableLocale
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ exports[`CustomPage component 1`] = `
data-testid="carousel-page-component"
>
<div
class="swiper swiper-initialized swiper-horizontal swiper-pointer-events carousel"
class="swiper swiper-initialized swiper-horizontal carousel"
>
<div
class="swiper-wrapper"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ exports[`product detail page 1`] = `
class=" basis-1/2"
>
<div
class="swiper swiper-initialized swiper-horizontal swiper-pointer-events carousel"
class="swiper swiper-initialized swiper-horizontal carousel"
>
<div
class="swiper-wrapper"
Expand Down

0 comments on commit 1b20096

Please sign in to comment.