From 4efa50266641b4573ae4ef3360d07cc0ff21046a Mon Sep 17 00:00:00 2001 From: Catalin Pinte Date: Wed, 21 Dec 2022 17:51:55 +0200 Subject: [PATCH] Update to Next.js 13 (#870) --- packages/bigcommerce/package.json | 4 +- .../api/endpoints/checkout/get-checkout.ts | 4 +- .../customer/get-logged-in-customer.ts | 2 +- packages/commerce/package.json | 4 +- packages/commerce/src/api/endpoints/cart.ts | 2 +- .../commerce/src/api/endpoints/checkout.ts | 2 +- .../src/api/endpoints/customer/address.ts | 2 +- .../src/api/endpoints/customer/card.ts | 2 +- .../src/api/endpoints/customer/index.ts | 11 +- packages/commerce/src/api/endpoints/signup.ts | 2 +- .../commerce/src/api/endpoints/wishlist.ts | 2 +- packages/commercejs/package.json | 4 +- packages/kibocommerce/package.json | 5 +- .../src/api/endpoints/cart/remove-item.ts | 3 +- .../src/api/endpoints/cart/update-item.ts | 2 +- .../src/api/utils/cookie-handler.ts | 4 +- packages/local/package.json | 4 +- packages/ordercloud/package.json | 4 +- .../src/api/endpoints/cart/add-item.ts | 2 +- .../src/api/endpoints/cart/get-cart.ts | 2 +- .../src/api/endpoints/cart/remove-item.ts | 2 +- .../src/api/endpoints/cart/update-item.ts | 2 +- .../catalog/products/get-products.ts | 2 +- .../api/endpoints/checkout/get-checkout.ts | 2 +- .../api/endpoints/checkout/submit-checkout.ts | 2 +- .../endpoints/customer/address/add-item.ts | 2 +- .../api/endpoints/customer/card/add-item.ts | 2 +- packages/saleor/package.json | 5 +- packages/sfcc/package.json | 4 +- packages/shopify/package.json | 7 +- .../api/endpoints/checkout/get-checkout.ts | 9 +- .../shopify/src/utils/get-search-variables.ts | 2 +- packages/spree/package.json | 4 +- packages/swell/package.json | 4 +- .../swell/src/api/endpoints/checkout/index.ts | 2 +- packages/vendure/package.json | 5 +- pnpm-lock.yaml | 848 +++++++++++++----- site/assets/base.css | 6 + .../cart/CartItem/CartItem.module.css | 8 +- site/components/cart/CartItem/CartItem.tsx | 37 +- .../cart/CartSidebarView/CartSidebarView.tsx | 8 +- .../CheckoutSidebarView.tsx | 4 +- site/components/common/Footer/Footer.tsx | 24 +- .../HomeAllProductsGrid.tsx | 17 +- .../common/I18nWidget/I18nWidget.tsx | 14 +- site/components/common/Navbar/Navbar.tsx | 14 +- .../MenuSidebarView/MenuSidebarView.tsx | 8 +- site/components/common/UserNav/UserNav.tsx | 2 +- .../ProductCard/ProductCard.module.css | 11 +- .../product/ProductCard/ProductCard.tsx | 163 ++-- .../ProductSidebar/ProductSidebar.module.css | 2 +- .../ProductSlider/ProductSlider.module.css | 9 +- .../ProductView/ProductView.module.css | 8 +- .../product/ProductView/ProductView.tsx | 1 + site/components/search.tsx | 11 +- site/components/ui/Hero/Hero.tsx | 11 +- site/components/ui/Link/Link.tsx | 4 +- .../wishlist/WishlistCard/WishlistCard.tsx | 4 +- site/package.json | 4 +- site/pages/index.tsx | 2 + 60 files changed, 889 insertions(+), 454 deletions(-) diff --git a/packages/bigcommerce/package.json b/packages/bigcommerce/package.json index 551d0ea68b..08972a67f0 100644 --- a/packages/bigcommerce/package.json +++ b/packages/bigcommerce/package.json @@ -58,7 +58,7 @@ "uuidv4": "^6.2.13" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, @@ -73,7 +73,7 @@ "@types/node-fetch": "^2.6.2", "@types/react": "^18.0.14", "lint-staged": "^12.1.7", - "next": "^12.0.8", + "next": "^13.0.6", "prettier": "^2.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/bigcommerce/src/api/endpoints/checkout/get-checkout.ts b/packages/bigcommerce/src/api/endpoints/checkout/get-checkout.ts index ce39ee29c7..680bfbbe7a 100644 --- a/packages/bigcommerce/src/api/endpoints/checkout/get-checkout.ts +++ b/packages/bigcommerce/src/api/endpoints/checkout/get-checkout.ts @@ -8,8 +8,8 @@ const getCheckout: CheckoutEndpoint['handlers']['getCheckout'] = async ({ config, }) => { const { cookies } = req - const cartId = cookies.get(config.cartCookie) - const customerToken = cookies.get(config.customerCookie) + const cartId = cookies.get(config.cartCookie)?.value + const customerToken = cookies.get(config.customerCookie)?.value if (!cartId) { return { redirectTo: '/cart' } diff --git a/packages/bigcommerce/src/api/endpoints/customer/get-logged-in-customer.ts b/packages/bigcommerce/src/api/endpoints/customer/get-logged-in-customer.ts index 9076ab5848..37d440666b 100644 --- a/packages/bigcommerce/src/api/endpoints/customer/get-logged-in-customer.ts +++ b/packages/bigcommerce/src/api/endpoints/customer/get-logged-in-customer.ts @@ -27,7 +27,7 @@ export type Customer = NonNullable const getLoggedInCustomer: CustomerEndpoint['handlers']['getLoggedInCustomer'] = async ({ req, config }) => { - const token = req.cookies.get(config.customerCookie) + const token = req.cookies.get(config.customerCookie)?.value if (token) { const { data } = await config.fetch( diff --git a/packages/commerce/package.json b/packages/commerce/package.json index 0003c68241..8cc15458ed 100644 --- a/packages/commerce/package.json +++ b/packages/commerce/package.json @@ -55,7 +55,7 @@ "zod": "^3.19.1" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, @@ -68,7 +68,7 @@ "@types/node-fetch": "2.6.2", "@types/react": "^18.0.14", "lint-staged": "^12.1.7", - "next": "^12.0.8", + "next": "^13.0.6", "prettier": "^2.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/commerce/src/api/endpoints/cart.ts b/packages/commerce/src/api/endpoints/cart.ts index a1a33cc40d..b94aef915c 100644 --- a/packages/commerce/src/api/endpoints/cart.ts +++ b/packages/commerce/src/api/endpoints/cart.ts @@ -29,7 +29,7 @@ const cartEndpoint: GetAPISchema< let output const { cookies } = req - const cartId = cookies.get(config.cartCookie) + const cartId = cookies.get(config.cartCookie)?.value // Return current cart info if (req.method === 'GET') { diff --git a/packages/commerce/src/api/endpoints/checkout.ts b/packages/commerce/src/api/endpoints/checkout.ts index 58542bdf25..7928cd0d11 100644 --- a/packages/commerce/src/api/endpoints/checkout.ts +++ b/packages/commerce/src/api/endpoints/checkout.ts @@ -22,7 +22,7 @@ const checkoutEndpoint: GetAPISchema< }) const { cookies } = req - const cartId = cookies.get(config.cartCookie)! + const cartId = cookies.get(config.cartCookie)?.value const input = await getInput(req) // Get checkout diff --git a/packages/commerce/src/api/endpoints/customer/address.ts b/packages/commerce/src/api/endpoints/customer/address.ts index 725c636ba0..6e09ade8ac 100644 --- a/packages/commerce/src/api/endpoints/customer/address.ts +++ b/packages/commerce/src/api/endpoints/customer/address.ts @@ -33,7 +33,7 @@ const customerShippingEndpoint: GetAPISchema< const { cookies } = req // Cart id might be usefull for anonymous shopping - const cartId = cookies.get(config.cartCookie) + const cartId = cookies.get(config.cartCookie)?.value // Return customer addresses if (req.method === 'GET') { diff --git a/packages/commerce/src/api/endpoints/customer/card.ts b/packages/commerce/src/api/endpoints/customer/card.ts index dbac43151f..2135b47263 100644 --- a/packages/commerce/src/api/endpoints/customer/card.ts +++ b/packages/commerce/src/api/endpoints/customer/card.ts @@ -31,7 +31,7 @@ const customerCardEndpoint: GetAPISchema< const { cookies } = req // Cart id might be usefull for anonymous shopping - const cartId = cookies.get(config.cartCookie) + const cartId = cookies.get(config.cartCookie)?.value // Create or add a card if (req.method === 'GET') { diff --git a/packages/commerce/src/api/endpoints/customer/index.ts b/packages/commerce/src/api/endpoints/customer/index.ts index 92872c840f..f6145255af 100644 --- a/packages/commerce/src/api/endpoints/customer/index.ts +++ b/packages/commerce/src/api/endpoints/customer/index.ts @@ -1,6 +1,6 @@ import type { CustomerSchema } from '../../../types/customer' import type { GetAPISchema } from '../..' - +import { z } from 'zod' import { parse } from '../../utils' import validateHandlers from '../../utils/validate-handlers' @@ -19,7 +19,14 @@ const customerEndpoint: GetAPISchema< const body = null const output = await handlers['getLoggedInCustomer']({ ...ctx, body }) - return output ? parse(output, customerSchema) : { status: 204 } + return output + ? parse( + output, + z.object({ + customer: customerSchema, + }) + ) + : { status: 204 } } export default customerEndpoint diff --git a/packages/commerce/src/api/endpoints/signup.ts b/packages/commerce/src/api/endpoints/signup.ts index de25e7dc82..789b36ffb7 100644 --- a/packages/commerce/src/api/endpoints/signup.ts +++ b/packages/commerce/src/api/endpoints/signup.ts @@ -18,7 +18,7 @@ const signupEndpoint: GetAPISchema< const input = await getInput(req) const { cookies } = req - const cartId = cookies.get(config.cartCookie) + const cartId = cookies.get(config.cartCookie)?.value const body = signupBodySchema.parse({ ...input, cartId }) return handlers['signup']({ ...ctx, body }) diff --git a/packages/commerce/src/api/endpoints/wishlist.ts b/packages/commerce/src/api/endpoints/wishlist.ts index 6eec02ced9..4611f96b93 100644 --- a/packages/commerce/src/api/endpoints/wishlist.ts +++ b/packages/commerce/src/api/endpoints/wishlist.ts @@ -28,7 +28,7 @@ const wishlistEndpoint: GetAPISchema< const { cookies } = req const input = await getInput(req) - const customerToken = cookies.get(config.customerCookie) + const customerToken = cookies.get(config.customerCookie)?.value const products = new URL(req.url).searchParams.get('products') // Return current wishlist info diff --git a/packages/commercejs/package.json b/packages/commercejs/package.json index c3e28f1234..bb8c3bffdb 100644 --- a/packages/commercejs/package.json +++ b/packages/commercejs/package.json @@ -55,7 +55,7 @@ "lodash.debounce": "^4.0.8" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, @@ -71,7 +71,7 @@ "@types/node": "^17.0.8", "@types/react": "^18.0.14", "lint-staged": "^12.1.7", - "next": "^12.0.8", + "next": "^13.0.6", "prettier": "^2.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/kibocommerce/package.json b/packages/kibocommerce/package.json index de4217ec17..aa8b3ca9ef 100644 --- a/packages/kibocommerce/package.json +++ b/packages/kibocommerce/package.json @@ -53,11 +53,12 @@ "lodash.debounce": "^4.0.8" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, "devDependencies": { + "@babel/core": "^7.20.5", "@graphql-codegen/cli": "^2.7.0", "@graphql-codegen/schema-ast": "^2.4.1", "@graphql-codegen/typescript": "^2.4.2", @@ -71,7 +72,7 @@ "@types/react": "^18.0.14", "graphql": "^16.0.0", "lint-staged": "^12.1.7", - "next": "^12.0.8", + "next": "^13.0.6", "prettier": "^2.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/kibocommerce/src/api/endpoints/cart/remove-item.ts b/packages/kibocommerce/src/api/endpoints/cart/remove-item.ts index 089a0a00ef..a7bef8b56b 100644 --- a/packages/kibocommerce/src/api/endpoints/cart/remove-item.ts +++ b/packages/kibocommerce/src/api/endpoints/cart/remove-item.ts @@ -8,7 +8,8 @@ const removeItem: CartEndpoint['handlers']['removeItem'] = async ({ body: { itemId }, config, }) => { - const encodedToken = req.cookies.get(config.customerCookie) + const encodedToken = req.cookies.get(config.customerCookie)?.value + const token = encodedToken ? Buffer.from(encodedToken, 'base64').toString('ascii') : null diff --git a/packages/kibocommerce/src/api/endpoints/cart/update-item.ts b/packages/kibocommerce/src/api/endpoints/cart/update-item.ts index a665f49927..7d22ae18c7 100644 --- a/packages/kibocommerce/src/api/endpoints/cart/update-item.ts +++ b/packages/kibocommerce/src/api/endpoints/cart/update-item.ts @@ -8,7 +8,7 @@ const updateItem: CartEndpoint['handlers']['updateItem'] = async ({ body: { itemId, item }, config, }) => { - const encodedToken = req.cookies.get(config.cartCookie) + const encodedToken = req.cookies.get(config.cartCookie)?.value const token = encodedToken ? Buffer.from(encodedToken, 'base64').toString('ascii') : null diff --git a/packages/kibocommerce/src/api/utils/cookie-handler.ts b/packages/kibocommerce/src/api/utils/cookie-handler.ts index 7b2fa4f993..f8d6fce99a 100644 --- a/packages/kibocommerce/src/api/utils/cookie-handler.ts +++ b/packages/kibocommerce/src/api/utils/cookie-handler.ts @@ -19,7 +19,7 @@ export default class CookieHandler { this.config = config this.request = req - const encodedToken = req.cookies.get(config.customerCookie) + const encodedToken = req.cookies.get(config.customerCookie)?.value const token = parseCookie(encodedToken) this.accessToken = token ? token.accessToken : null } @@ -36,7 +36,7 @@ export default class CookieHandler { } isShopperCookieAnonymous() { const customerCookieKey = this.config.customerCookie - const shopperCookie = this.request.cookies.get(customerCookieKey) + const shopperCookie = this.request.cookies.get(customerCookieKey)?.value const shopperSession = parseCookie(shopperCookie) const isAnonymous = shopperSession?.customerAccount ? false : true return isAnonymous diff --git a/packages/local/package.json b/packages/local/package.json index a62cedb6d1..f8932afe41 100644 --- a/packages/local/package.json +++ b/packages/local/package.json @@ -50,7 +50,7 @@ "@vercel/commerce": "workspace:*" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, @@ -62,7 +62,7 @@ "@types/react": "^18.0.14", "@types/node-fetch": "2.6.2", "lint-staged": "^12.1.7", - "next": "^12.0.8", + "next": "^13.0.6", "prettier": "^2.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/ordercloud/package.json b/packages/ordercloud/package.json index 7991fd9558..80c6375da1 100644 --- a/packages/ordercloud/package.json +++ b/packages/ordercloud/package.json @@ -52,7 +52,7 @@ "cookie": "^0.4.1" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, @@ -66,7 +66,7 @@ "@types/cookie": "^0.4.1", "@types/node-fetch": "^2.6.2", "lint-staged": "^12.1.7", - "next": "^12.0.8", + "next": "^13.0.6", "prettier": "^2.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/ordercloud/src/api/endpoints/cart/add-item.ts b/packages/ordercloud/src/api/endpoints/cart/add-item.ts index bed4706025..11f7b430a6 100644 --- a/packages/ordercloud/src/api/endpoints/cart/add-item.ts +++ b/packages/ordercloud/src/api/endpoints/cart/add-item.ts @@ -10,7 +10,7 @@ const addItem: CartEndpoint['handlers']['addItem'] = async ({ config: { restBuyerFetch, cartCookie, tokenCookie }, }) => { // Get token - let token = req.cookies.get(tokenCookie) + let token = req.cookies.get(tokenCookie)?.value let headers: any = {} // Create an order if it doesn't exist diff --git a/packages/ordercloud/src/api/endpoints/cart/get-cart.ts b/packages/ordercloud/src/api/endpoints/cart/get-cart.ts index 7cb23cb262..8e3cf43a2b 100644 --- a/packages/ordercloud/src/api/endpoints/cart/get-cart.ts +++ b/packages/ordercloud/src/api/endpoints/cart/get-cart.ts @@ -16,7 +16,7 @@ const getCart: CartEndpoint['handlers']['getCart'] = async ({ try { // Get token - const token = req.cookies.get(tokenCookie) + const token = req.cookies.get(tokenCookie)?.value // Get cart & line items const [cart, { Items }] = await Promise.all([ diff --git a/packages/ordercloud/src/api/endpoints/cart/remove-item.ts b/packages/ordercloud/src/api/endpoints/cart/remove-item.ts index d3633b485d..0a62d895ec 100644 --- a/packages/ordercloud/src/api/endpoints/cart/remove-item.ts +++ b/packages/ordercloud/src/api/endpoints/cart/remove-item.ts @@ -7,7 +7,7 @@ const removeItem: CartEndpoint['handlers']['removeItem'] = async ({ body: { cartId, itemId }, config: { restBuyerFetch, tokenCookie }, }) => { - const token = req.cookies.get(tokenCookie) + const token = req.cookies.get(tokenCookie)?.value // Remove the item to the order await restBuyerFetch( diff --git a/packages/ordercloud/src/api/endpoints/cart/update-item.ts b/packages/ordercloud/src/api/endpoints/cart/update-item.ts index 543270d224..9a0caca858 100644 --- a/packages/ordercloud/src/api/endpoints/cart/update-item.ts +++ b/packages/ordercloud/src/api/endpoints/cart/update-item.ts @@ -9,7 +9,7 @@ const updateItem: CartEndpoint['handlers']['updateItem'] = async ({ body: { cartId, itemId, item }, config: { restBuyerFetch, tokenCookie }, }) => { - const token = req.cookies.get(tokenCookie) + const token = req.cookies.get(tokenCookie)?.value // Store specs let specs: RawVariant['Specs'] = [] diff --git a/packages/ordercloud/src/api/endpoints/catalog/products/get-products.ts b/packages/ordercloud/src/api/endpoints/catalog/products/get-products.ts index 1ccadc445b..414627f60f 100644 --- a/packages/ordercloud/src/api/endpoints/catalog/products/get-products.ts +++ b/packages/ordercloud/src/api/endpoints/catalog/products/get-products.ts @@ -7,7 +7,7 @@ const getProducts: ProductsEndpoint['handlers']['getProducts'] = async ({ body: { search, categoryId }, config: { restBuyerFetch, tokenCookie }, }) => { - const token = req.cookies.get(tokenCookie) + const token = req.cookies.get(tokenCookie)?.value //Use a dummy base as we only care about the relative path const url = new URL('/me/products', 'http://a') diff --git a/packages/ordercloud/src/api/endpoints/checkout/get-checkout.ts b/packages/ordercloud/src/api/endpoints/checkout/get-checkout.ts index 6919f2a01a..d3083c4bb8 100644 --- a/packages/ordercloud/src/api/endpoints/checkout/get-checkout.ts +++ b/packages/ordercloud/src/api/endpoints/checkout/get-checkout.ts @@ -5,7 +5,7 @@ const getCheckout: CheckoutEndpoint['handlers']['getCheckout'] = async ({ body: { cartId }, config: { restBuyerFetch }, }) => { - const token = req.cookies.get('token') + const token = req.cookies.get('token')?.value // Register credit card const payments = await restBuyerFetch( diff --git a/packages/ordercloud/src/api/endpoints/checkout/submit-checkout.ts b/packages/ordercloud/src/api/endpoints/checkout/submit-checkout.ts index 03316f8436..af63b94188 100644 --- a/packages/ordercloud/src/api/endpoints/checkout/submit-checkout.ts +++ b/packages/ordercloud/src/api/endpoints/checkout/submit-checkout.ts @@ -5,7 +5,7 @@ const submitCheckout: CheckoutEndpoint['handlers']['submitCheckout'] = async ({ body: { cartId }, config: { restBuyerFetch, tokenCookie }, }) => { - const token = req.cookies.get(tokenCookie) + const token = req.cookies.get(tokenCookie)?.value // Submit order await restBuyerFetch('POST', `/orders/Outgoing/${cartId}/submit`, null, { diff --git a/packages/ordercloud/src/api/endpoints/customer/address/add-item.ts b/packages/ordercloud/src/api/endpoints/customer/address/add-item.ts index 951a8a74c8..d9e219ac03 100644 --- a/packages/ordercloud/src/api/endpoints/customer/address/add-item.ts +++ b/packages/ordercloud/src/api/endpoints/customer/address/add-item.ts @@ -5,7 +5,7 @@ const addItem: CustomerAddressEndpoint['handlers']['addItem'] = async ({ body: { item, cartId }, config: { restBuyerFetch, tokenCookie }, }) => { - const token = req.cookies.get(tokenCookie) + const token = req.cookies.get(tokenCookie)?.value // Register address const address = await restBuyerFetch('POST', `/me/addresses`, { diff --git a/packages/ordercloud/src/api/endpoints/customer/card/add-item.ts b/packages/ordercloud/src/api/endpoints/customer/card/add-item.ts index 0b6ced31df..c949bf1f38 100644 --- a/packages/ordercloud/src/api/endpoints/customer/card/add-item.ts +++ b/packages/ordercloud/src/api/endpoints/customer/card/add-item.ts @@ -7,7 +7,7 @@ const addItem: CustomerCardEndpoint['handlers']['addItem'] = async ({ config: { restBuyerFetch, tokenCookie }, }) => { // Get token - const token = req.cookies.get(tokenCookie) + const token = req.cookies.get(tokenCookie)?.value const [exp_month, exp_year] = item.cardExpireDate.split('/') const stripeToken = await fetch('https://api.stripe.com/v1/tokens', { diff --git a/packages/saleor/package.json b/packages/saleor/package.json index 8fc0b3d916..d2cf2bad17 100644 --- a/packages/saleor/package.json +++ b/packages/saleor/package.json @@ -54,11 +54,12 @@ "lodash.debounce": "^4.0.8" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, "devDependencies": { + "@babel/core": "^7.20.5", "@graphql-codegen/cli": "^2.7.0", "@graphql-codegen/schema-ast": "^2.4.1", "@graphql-codegen/typescript": "^2.4.2", @@ -73,7 +74,7 @@ "@types/react": "^18.0.14", "graphql": "^16.0.0", "lint-staged": "^12.1.7", - "next": "^12.0.8", + "next": "^13.0.6", "prettier": "^2.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/sfcc/package.json b/packages/sfcc/package.json index 375a72748d..54a43aa713 100644 --- a/packages/sfcc/package.json +++ b/packages/sfcc/package.json @@ -51,7 +51,7 @@ "commerce-sdk": "^2.7.0" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, @@ -63,7 +63,7 @@ "@types/react": "^18.0.14", "@types/node-fetch": "^2.6.2", "lint-staged": "^12.1.7", - "next": "^12.0.8", + "next": "^13.0.6", "prettier": "^2.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/shopify/package.json b/packages/shopify/package.json index cdf0e82ff3..c6adbfbcf2 100644 --- a/packages/shopify/package.json +++ b/packages/shopify/package.json @@ -54,11 +54,12 @@ "lodash.debounce": "^4.0.8" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, "devDependencies": { + "@babel/core": "^7.20.5", "@graphql-codegen/cli": "2.7.0", "@graphql-codegen/schema-ast": "^2.4.1", "@graphql-codegen/typescript": "^2.6.0", @@ -69,10 +70,10 @@ "@types/js-cookie": "3.0.2", "@types/lodash.debounce": "^4.0.7", "@types/node": "^18.0.3", - "@types/react": "^18.0.14", "@types/node-fetch": "2.6.2", - "graphql": "^16.0.0", + "@types/react": "^18.0.14", "dotenv": "^16.0.1", + "graphql": "^16.0.0", "lint-staged": "^13.0.3", "next": "^12.2.1", "prettier": "^2.7.1", diff --git a/packages/shopify/src/api/endpoints/checkout/get-checkout.ts b/packages/shopify/src/api/endpoints/checkout/get-checkout.ts index d9be6f607d..bed5c7b3c5 100644 --- a/packages/shopify/src/api/endpoints/checkout/get-checkout.ts +++ b/packages/shopify/src/api/endpoints/checkout/get-checkout.ts @@ -11,15 +11,16 @@ const getCheckout: CheckoutEndpoint['handlers']['getCheckout'] = async ({ config, }) => { const { cookies } = req - const checkoutUrl = cookies.get(SHOPIFY_CHECKOUT_URL_COOKIE) - const customerCookie = cookies.get(SHOPIFY_CUSTOMER_TOKEN_COOKIE) + const checkoutUrl = cookies.get(SHOPIFY_CHECKOUT_URL_COOKIE)?.value + const customerCookie = cookies.get(SHOPIFY_CUSTOMER_TOKEN_COOKIE)?.value if (customerCookie) { try { await config.fetch(associateCustomerWithCheckoutMutation, { variables: { - checkoutId: cookies.get(SHOPIFY_CHECKOUT_ID_COOKIE), - customerAccessToken: cookies.get(SHOPIFY_CUSTOMER_TOKEN_COOKIE), + checkoutId: cookies.get(SHOPIFY_CHECKOUT_ID_COOKIE)?.value, + customerAccessToken: cookies.get(SHOPIFY_CUSTOMER_TOKEN_COOKIE) + ?.value, }, }) } catch (error) { diff --git a/packages/shopify/src/utils/get-search-variables.ts b/packages/shopify/src/utils/get-search-variables.ts index 41f0f0493b..26c7d3faa4 100644 --- a/packages/shopify/src/utils/get-search-variables.ts +++ b/packages/shopify/src/utils/get-search-variables.ts @@ -11,7 +11,7 @@ export const getSearchVariables = ({ let query = '' if (search) { - query += `product_type:"${search}" OR title:"${search}" OR tag:"${search}" ` + query += `(product_type:${search}) OR (title:${search}) OR (tag:${search}) ` } if (brandId) { diff --git a/packages/spree/package.json b/packages/spree/package.json index ee18a911e3..e396d8f7fc 100644 --- a/packages/spree/package.json +++ b/packages/spree/package.json @@ -54,7 +54,7 @@ "swr": "^1.3.0" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, @@ -68,7 +68,7 @@ "@types/node-fetch": "^2.6.2", "@types/react": "^18.0.14", "lint-staged": "^12.1.7", - "next": "^12.0.8", + "next": "^13.0.6", "prettier": "^2.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/swell/package.json b/packages/swell/package.json index 3eb5afdfe6..9f79e46b1c 100644 --- a/packages/swell/package.json +++ b/packages/swell/package.json @@ -54,7 +54,7 @@ "swell-js": "^4.0.0-next.0" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, @@ -68,7 +68,7 @@ "@types/node-fetch": "^2.6.2", "@types/react": "^18.0.14", "lint-staged": "^12.1.7", - "next": "^12.0.8", + "next": "^13.0.6", "prettier": "^2.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/swell/src/api/endpoints/checkout/index.ts b/packages/swell/src/api/endpoints/checkout/index.ts index fba5316187..6ae546a25d 100644 --- a/packages/swell/src/api/endpoints/checkout/index.ts +++ b/packages/swell/src/api/endpoints/checkout/index.ts @@ -7,7 +7,7 @@ const getCheckout: CheckoutEndpoint['handlers']['getCheckout'] = async ({ req, }) => { const { cookies } = req - const checkoutUrl = cookies.get(SWELL_CHECKOUT_URL_COOKIE) + const checkoutUrl = cookies.get(SWELL_CHECKOUT_URL_COOKIE)?.value if (checkoutUrl) { return { redirectTo: checkoutUrl } diff --git a/packages/vendure/package.json b/packages/vendure/package.json index 988d2c0b02..87c8950644 100644 --- a/packages/vendure/package.json +++ b/packages/vendure/package.json @@ -52,11 +52,12 @@ "@vercel/commerce": "workspace:*" }, "peerDependencies": { - "next": "^12", + "next": "^13", "react": "^18", "react-dom": "^18" }, "devDependencies": { + "@babel/core": "^7.20.5", "@graphql-codegen/cli": "2.7.0", "@graphql-codegen/schema-ast": "^2.4.1", "@graphql-codegen/typescript": "^2.4.2", @@ -69,7 +70,7 @@ "@types/node-fetch": "^2.6.2", "graphql": "^16.0.0", "lint-staged": "^12.1.7", - "next": "^12.0.8", + "next": "^13.0.6", "prettier": "^2.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 02515ed235..3669499f1f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -32,7 +32,7 @@ importers: jsonwebtoken: ^8.5.1 lint-staged: ^12.1.7 lodash.debounce: ^4.0.8 - next: ^12.0.8 + next: ^13.0.6 prettier: ^2.5.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -61,7 +61,7 @@ importers: '@types/node-fetch': 2.6.2 '@types/react': 18.0.20 lint-staged: 12.5.0 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.6_biqbaboplfbrettd7655fr4n2y prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -83,7 +83,7 @@ importers: import-cwd: ^3.0.0 js-cookie: ^3.0.1 lint-staged: ^12.1.7 - next: ^12.0.8 + next: ^13.0.6 prettier: ^2.5.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -108,7 +108,7 @@ importers: '@types/node-fetch': 2.6.2 '@types/react': 18.0.20 lint-staged: 12.5.0 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.6_biqbaboplfbrettd7655fr4n2y prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -135,7 +135,7 @@ importers: jsonwebtoken: ^8.5.1 lint-staged: ^12.1.7 lodash.debounce: ^4.0.8 - next: ^12.0.8 + next: ^13.0.6 prettier: ^2.5.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -161,7 +161,7 @@ importers: '@types/node': 17.0.45 '@types/react': 18.0.20 lint-staged: 12.5.0 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.6_biqbaboplfbrettd7655fr4n2y prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -171,6 +171,7 @@ importers: packages/kibocommerce: specifiers: + '@babel/core': ^7.20.5 '@graphql-codegen/cli': ^2.7.0 '@graphql-codegen/schema-ast': ^2.4.1 '@graphql-codegen/typescript': ^2.4.2 @@ -186,7 +187,7 @@ importers: graphql: ^16.0.0 lint-staged: ^12.1.7 lodash.debounce: ^4.0.8 - next: ^12.0.8 + next: ^13.0.6 prettier: ^2.5.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -198,6 +199,7 @@ importers: '@vercel/commerce': link:../commerce lodash.debounce: 4.0.8 devDependencies: + '@babel/core': 7.20.5 '@graphql-codegen/cli': 2.12.0_5nhrphdxro5xxa2f5vmz5votda '@graphql-codegen/schema-ast': 2.5.1_graphql@16.6.0 '@graphql-codegen/typescript': 2.7.3_graphql@16.6.0 @@ -211,7 +213,7 @@ importers: '@types/react': 18.0.20 graphql: 16.6.0 lint-staged: 12.5.0 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.6_672uxklweod7ene3nqtsh262ca prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -230,7 +232,7 @@ importers: '@types/react': ^18.0.14 '@vercel/commerce': workspace:* lint-staged: ^12.1.7 - next: ^12.0.8 + next: ^13.0.6 prettier: ^2.5.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -247,7 +249,7 @@ importers: '@types/node-fetch': 2.6.2 '@types/react': 18.0.20 lint-staged: 12.5.0 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.6_biqbaboplfbrettd7655fr4n2y prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -269,7 +271,7 @@ importers: cookie: ^0.4.1 lint-staged: ^12.1.7 lodash.debounce: ^4.0.8 - next: ^12.0.8 + next: ^13.0.6 prettier: ^2.5.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -290,7 +292,7 @@ importers: '@types/node-fetch': 2.6.2 '@types/react': 18.0.20 lint-staged: 12.5.0 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.6_biqbaboplfbrettd7655fr4n2y prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -300,6 +302,7 @@ importers: packages/saleor: specifiers: + '@babel/core': ^7.20.5 '@graphql-codegen/cli': ^2.7.0 '@graphql-codegen/schema-ast': ^2.4.1 '@graphql-codegen/typescript': ^2.4.2 @@ -317,7 +320,7 @@ importers: js-cookie: ^3.0.1 lint-staged: ^12.1.7 lodash.debounce: ^4.0.8 - next: ^12.0.8 + next: ^13.0.6 prettier: ^2.5.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -330,6 +333,7 @@ importers: js-cookie: 3.0.1 lodash.debounce: 4.0.8 devDependencies: + '@babel/core': 7.20.5 '@graphql-codegen/cli': 2.12.0_5nhrphdxro5xxa2f5vmz5votda '@graphql-codegen/schema-ast': 2.5.1_graphql@16.6.0 '@graphql-codegen/typescript': 2.7.3_graphql@16.6.0 @@ -344,7 +348,7 @@ importers: '@types/react': 18.0.20 graphql: 16.6.0 lint-staged: 12.5.0 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.6_672uxklweod7ene3nqtsh262ca prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -364,7 +368,7 @@ importers: '@vercel/commerce': workspace:* commerce-sdk: ^2.7.0 lint-staged: ^12.1.7 - next: ^12.0.8 + next: ^13.0.6 prettier: ^2.5.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -382,7 +386,7 @@ importers: '@types/node-fetch': 2.6.2 '@types/react': 18.0.20 lint-staged: 12.5.0 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.6_biqbaboplfbrettd7655fr4n2y prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -392,6 +396,7 @@ importers: packages/shopify: specifiers: + '@babel/core': ^7.20.5 '@graphql-codegen/cli': 2.7.0 '@graphql-codegen/schema-ast': ^2.4.1 '@graphql-codegen/typescript': ^2.6.0 @@ -422,6 +427,7 @@ importers: js-cookie: 3.0.1 lodash.debounce: 4.0.8 devDependencies: + '@babel/core': 7.20.5 '@graphql-codegen/cli': 2.7.0_gholt4t4onvjnzhsre2mzmeyhy '@graphql-codegen/schema-ast': 2.5.1_graphql@16.6.0 '@graphql-codegen/typescript': 2.7.3_graphql@16.6.0 @@ -437,7 +443,7 @@ importers: dotenv: 16.0.2 graphql: 16.6.0 lint-staged: 13.0.3 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 12.3.0_672uxklweod7ene3nqtsh262ca prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -460,7 +466,7 @@ importers: js-cookie: ^3.0.1 lint-staged: ^12.1.7 lodash.debounce: ^4.0.8 - next: ^12.0.8 + next: ^13.0.6 prettier: ^2.5.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -484,7 +490,7 @@ importers: '@types/node-fetch': 2.6.2 '@types/react': 18.0.20 lint-staged: 12.5.0 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.6_biqbaboplfbrettd7655fr4n2y prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -506,7 +512,7 @@ importers: js-cookie: ^3.0.1 lint-staged: ^12.1.7 lodash.debounce: ^4.0.8 - next: ^12.0.8 + next: ^13.0.6 prettier: ^2.5.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -529,7 +535,7 @@ importers: '@types/node-fetch': 2.6.2 '@types/react': 18.0.20 lint-staged: 12.5.0 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.6_biqbaboplfbrettd7655fr4n2y prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -547,6 +553,7 @@ importers: packages/vendure: specifiers: + '@babel/core': ^7.20.5 '@graphql-codegen/cli': 2.7.0 '@graphql-codegen/schema-ast': ^2.4.1 '@graphql-codegen/typescript': ^2.4.2 @@ -560,7 +567,7 @@ importers: '@vercel/commerce': workspace:* graphql: ^16.0.0 lint-staged: ^12.1.7 - next: ^12.0.8 + next: ^13.0.6 prettier: ^2.5.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -570,6 +577,7 @@ importers: dependencies: '@vercel/commerce': link:../commerce devDependencies: + '@babel/core': 7.20.5 '@graphql-codegen/cli': 2.7.0_fte77dov2vin5jxmf6euzzc57i '@graphql-codegen/schema-ast': 2.5.1_graphql@16.6.0 '@graphql-codegen/typescript': 2.7.3_graphql@16.6.0 @@ -582,7 +590,7 @@ importers: '@types/react': 18.0.20 graphql: 16.6.0 lint-staged: 12.5.0 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.6_672uxklweod7ene3nqtsh262ca prettier: 2.7.1 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -626,7 +634,7 @@ importers: lint-staged: ^13.0.3 lodash.random: ^3.2.0 lodash.throttle: ^4.1.1 - next: ^12.3.0 + next: ^13.0.4 next-themes: ^0.2.0 postcss: ^8.3.5 postcss-flexbugs-fixes: ^5.0.2 @@ -664,8 +672,8 @@ importers: keen-slider: 6.8.0 lodash.random: 3.2.0 lodash.throttle: 4.1.1 - next: 12.3.0_biqbaboplfbrettd7655fr4n2y - next-themes: 0.2.1_c3hne4hwj64hb7tofigd3bvkji + next: 13.0.4_biqbaboplfbrettd7655fr4n2y + next-themes: 0.2.1_dcors23iqtgxrhrwosgnnc4xji postcss: 8.4.16 postcss-nesting: 10.1.10_postcss@8.4.16 react: 18.2.0 @@ -709,13 +717,13 @@ packages: peerDependencies: graphql: '*' dependencies: - '@babel/core': 7.19.0 - '@babel/generator': 7.19.0 - '@babel/parser': 7.19.0 + '@babel/core': 7.20.5 + '@babel/generator': 7.20.5 + '@babel/parser': 7.20.5 '@babel/runtime': 7.19.0 - '@babel/traverse': 7.19.0 - '@babel/types': 7.19.0 - babel-preset-fbjs: 3.4.0_@babel+core@7.19.0 + '@babel/traverse': 7.20.5 + '@babel/types': 7.20.5 + babel-preset-fbjs: 3.4.0_@babel+core@7.20.5 chalk: 4.1.2 fb-watchman: 2.0.1 fbjs: 3.0.4 @@ -748,25 +756,25 @@ packages: '@babel/highlight': 7.18.6 dev: true - /@babel/compat-data/7.19.0: - resolution: {integrity: sha512-y5rqgTTPTmaF5e2nVhOxw+Ur9HDJLsWb6U/KpgUzRZEdPfE6VOubXBKLdbcUTijzRptednSBDQbYZBOSqJxpJw==} + /@babel/compat-data/7.20.5: + resolution: {integrity: sha512-KZXo2t10+/jxmkhNXc7pZTqRvSOIvVv/+lJwHS+B2rErwOyjuVRh60yVpb7liQ1U5t7lLJ1bz+t8tSypUZdm0g==} engines: {node: '>=6.9.0'} dev: true - /@babel/core/7.19.0: - resolution: {integrity: sha512-reM4+U7B9ss148rh2n1Qs9ASS+w94irYXga7c2jaQv9RVzpS7Mv1a9rnYYwuDa45G+DkORt9g6An2k/V4d9LbQ==} + /@babel/core/7.20.5: + resolution: {integrity: sha512-UdOWmk4pNWTm/4DlPUl/Pt4Gz4rcEMb7CY0Y3eJl5Yz1vI8ZJGmHWaVE55LoxRjdpx0z259GE9U5STA9atUinQ==} engines: {node: '>=6.9.0'} dependencies: '@ampproject/remapping': 2.2.0 '@babel/code-frame': 7.18.6 - '@babel/generator': 7.19.0 - '@babel/helper-compilation-targets': 7.19.0_@babel+core@7.19.0 - '@babel/helper-module-transforms': 7.19.0 - '@babel/helpers': 7.19.0 - '@babel/parser': 7.19.0 + '@babel/generator': 7.20.5 + '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 + '@babel/helper-module-transforms': 7.20.2 + '@babel/helpers': 7.20.6 + '@babel/parser': 7.20.5 '@babel/template': 7.18.10 - '@babel/traverse': 7.19.0 - '@babel/types': 7.19.0 + '@babel/traverse': 7.20.5 + '@babel/types': 7.20.5 convert-source-map: 1.8.0 debug: 4.3.4 gensync: 1.0.0-beta.2 @@ -776,11 +784,11 @@ packages: - supports-color dev: true - /@babel/generator/7.19.0: - resolution: {integrity: sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg==} + /@babel/generator/7.20.5: + resolution: {integrity: sha512-jl7JY2Ykn9S0yj4DQP82sYvPU+T3g0HFcWTqDLqiuA9tGRNIj9VfbtXGAYTTkyNEnQk1jkMGOdYka8aG/lulCA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.19.0 + '@babel/types': 7.20.5 '@jridgewell/gen-mapping': 0.3.2 jsesc: 2.5.2 dev: true @@ -789,29 +797,29 @@ packages: resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.19.0 + '@babel/types': 7.20.5 dev: true - /@babel/helper-compilation-targets/7.19.0_@babel+core@7.19.0: - resolution: {integrity: sha512-Ai5bNWXIvwDvWM7njqsG3feMlL9hCVQsPYXodsZyLwshYkZVJt59Gftau4VrE8S9IT9asd2uSP1hG6wCNw+sXA==} + /@babel/helper-compilation-targets/7.20.0_@babel+core@7.20.5: + resolution: {integrity: sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/compat-data': 7.19.0 - '@babel/core': 7.19.0 + '@babel/compat-data': 7.20.5 + '@babel/core': 7.20.5 '@babel/helper-validator-option': 7.18.6 browserslist: 4.21.3 semver: 6.3.0 dev: true - /@babel/helper-create-class-features-plugin/7.19.0_@babel+core@7.19.0: + /@babel/helper-create-class-features-plugin/7.19.0_@babel+core@7.20.5: resolution: {integrity: sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-annotate-as-pure': 7.18.6 '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-function-name': 7.19.0 @@ -833,42 +841,42 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.18.10 - '@babel/types': 7.19.0 + '@babel/types': 7.20.5 dev: true /@babel/helper-hoist-variables/7.18.6: resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.19.0 + '@babel/types': 7.20.5 dev: true /@babel/helper-member-expression-to-functions/7.18.9: resolution: {integrity: sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.19.0 + '@babel/types': 7.20.5 dev: true /@babel/helper-module-imports/7.18.6: resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.19.0 + '@babel/types': 7.20.5 dev: true - /@babel/helper-module-transforms/7.19.0: - resolution: {integrity: sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ==} + /@babel/helper-module-transforms/7.20.2: + resolution: {integrity: sha512-zvBKyJXRbmK07XhMuujYoJ48B5yvvmM6+wcpv6Ivj4Yg6qO7NOZOSnvZN9CRl1zz1Z4cKf8YejmCMh8clOoOeA==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-module-imports': 7.18.6 - '@babel/helper-simple-access': 7.18.6 + '@babel/helper-simple-access': 7.20.2 '@babel/helper-split-export-declaration': 7.18.6 - '@babel/helper-validator-identifier': 7.18.6 + '@babel/helper-validator-identifier': 7.19.1 '@babel/template': 7.18.10 - '@babel/traverse': 7.19.0 - '@babel/types': 7.19.0 + '@babel/traverse': 7.20.5 + '@babel/types': 7.20.5 transitivePeerDependencies: - supports-color dev: true @@ -877,7 +885,7 @@ packages: resolution: {integrity: sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.19.0 + '@babel/types': 7.20.5 dev: true /@babel/helper-plugin-utils/7.19.0: @@ -892,35 +900,35 @@ packages: '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-member-expression-to-functions': 7.18.9 '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/traverse': 7.19.0 - '@babel/types': 7.19.0 + '@babel/traverse': 7.20.5 + '@babel/types': 7.20.5 transitivePeerDependencies: - supports-color dev: true - /@babel/helper-simple-access/7.18.6: - resolution: {integrity: sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==} + /@babel/helper-simple-access/7.20.2: + resolution: {integrity: sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.19.0 + '@babel/types': 7.20.5 dev: true /@babel/helper-skip-transparent-expression-wrappers/7.18.9: resolution: {integrity: sha512-imytd2gHi3cJPsybLRbmFrF7u5BIEuI2cNheyKi3/iOBC63kNn3q8Crn2xVuESli0aM4KYsyEqKyS7lFL8YVtw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.19.0 + '@babel/types': 7.20.5 dev: true /@babel/helper-split-export-declaration/7.18.6: resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.19.0 + '@babel/types': 7.20.5 dev: true - /@babel/helper-string-parser/7.18.10: - resolution: {integrity: sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw==} + /@babel/helper-string-parser/7.19.4: + resolution: {integrity: sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==} engines: {node: '>=6.9.0'} dev: true @@ -929,18 +937,23 @@ packages: engines: {node: '>=6.9.0'} dev: true + /@babel/helper-validator-identifier/7.19.1: + resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} + engines: {node: '>=6.9.0'} + dev: true + /@babel/helper-validator-option/7.18.6: resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==} engines: {node: '>=6.9.0'} dev: true - /@babel/helpers/7.19.0: - resolution: {integrity: sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg==} + /@babel/helpers/7.20.6: + resolution: {integrity: sha512-Pf/OjgfgFRW5bApskEz5pvidpim7tEDPlFtKcNRXWmfHGn9IEI2W2flqRQXTFb7gIPTyK++N6rVHuwKut4XK6w==} engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.18.10 - '@babel/traverse': 7.19.0 - '@babel/types': 7.19.0 + '@babel/traverse': 7.20.5 + '@babel/types': 7.20.5 transitivePeerDependencies: - supports-color dev: true @@ -954,118 +967,118 @@ packages: js-tokens: 4.0.0 dev: true - /@babel/parser/7.19.0: - resolution: {integrity: sha512-74bEXKX2h+8rrfQUfsBfuZZHzsEs6Eql4pqy/T4Nn6Y9wNPggQOqD6z6pn5Bl8ZfysKouFZT/UXEH94ummEeQw==} + /@babel/parser/7.20.5: + resolution: {integrity: sha512-r27t/cy/m9uKLXQNWWebeCUHgnAZq0CpG1OwKRxzJMP1vpSU4bSIK2hq+/cp0bQxetkXx38n09rNu8jVkcK/zA==} engines: {node: '>=6.0.0'} hasBin: true dependencies: - '@babel/types': 7.19.0 + '@babel/types': 7.20.5 dev: true - /@babel/plugin-proposal-class-properties/7.18.6_@babel+core@7.19.0: + /@babel/plugin-proposal-class-properties/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 - '@babel/helper-create-class-features-plugin': 7.19.0_@babel+core@7.19.0 + '@babel/core': 7.20.5 + '@babel/helper-create-class-features-plugin': 7.19.0_@babel+core@7.20.5 '@babel/helper-plugin-utils': 7.19.0 transitivePeerDependencies: - supports-color dev: true - /@babel/plugin-proposal-object-rest-spread/7.18.9_@babel+core@7.19.0: + /@babel/plugin-proposal-object-rest-spread/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/compat-data': 7.19.0 - '@babel/core': 7.19.0 - '@babel/helper-compilation-targets': 7.19.0_@babel+core@7.19.0 + '@babel/compat-data': 7.20.5 + '@babel/core': 7.20.5 + '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.19.0 - '@babel/plugin-transform-parameters': 7.18.8_@babel+core@7.19.0 + '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.20.5 + '@babel/plugin-transform-parameters': 7.18.8_@babel+core@7.20.5 dev: true - /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.19.0: + /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.20.5: resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-syntax-flow/7.18.6_@babel+core@7.19.0: + /@babel/plugin-syntax-flow/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-LUbR+KNTBWCUAqRG9ex5Gnzu2IOkt8jRJbHHXFT9q+L9zm7M/QQbEqXyw1n1pohYvOyWC8CjeyjrSaIwiYjK7A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-syntax-jsx/7.18.6_@babel+core@7.19.0: + /@babel/plugin-syntax-jsx/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.19.0: + /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.20.5: resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-arrow-functions/7.18.6_@babel+core@7.19.0: + /@babel/plugin-transform-arrow-functions/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-block-scoped-functions/7.18.6_@babel+core@7.19.0: + /@babel/plugin-transform-block-scoped-functions/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-block-scoping/7.18.9_@babel+core@7.19.0: + /@babel/plugin-transform-block-scoping/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-classes/7.19.0_@babel+core@7.19.0: + /@babel/plugin-transform-classes/7.19.0_@babel+core@7.20.5: resolution: {integrity: sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-compilation-targets': 7.19.0_@babel+core@7.19.0 + '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-function-name': 7.19.0 '@babel/helper-optimise-call-expression': 7.18.6 @@ -1077,179 +1090,179 @@ packages: - supports-color dev: true - /@babel/plugin-transform-computed-properties/7.18.9_@babel+core@7.19.0: + /@babel/plugin-transform-computed-properties/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-destructuring/7.18.13_@babel+core@7.19.0: + /@babel/plugin-transform-destructuring/7.18.13_@babel+core@7.20.5: resolution: {integrity: sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-flow-strip-types/7.19.0_@babel+core@7.19.0: + /@babel/plugin-transform-flow-strip-types/7.19.0_@babel+core@7.20.5: resolution: {integrity: sha512-sgeMlNaQVbCSpgLSKP4ZZKfsJVnFnNQlUSk6gPYzR/q7tzCgQF2t8RBKAP6cKJeZdveei7Q7Jm527xepI8lNLg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-flow': 7.18.6_@babel+core@7.19.0 + '@babel/plugin-syntax-flow': 7.18.6_@babel+core@7.20.5 dev: true - /@babel/plugin-transform-for-of/7.18.8_@babel+core@7.19.0: + /@babel/plugin-transform-for-of/7.18.8_@babel+core@7.20.5: resolution: {integrity: sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-function-name/7.18.9_@babel+core@7.19.0: + /@babel/plugin-transform-function-name/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 - '@babel/helper-compilation-targets': 7.19.0_@babel+core@7.19.0 + '@babel/core': 7.20.5 + '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 '@babel/helper-function-name': 7.19.0 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-literals/7.18.9_@babel+core@7.19.0: + /@babel/plugin-transform-literals/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-member-expression-literals/7.18.6_@babel+core@7.19.0: + /@babel/plugin-transform-member-expression-literals/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-modules-commonjs/7.18.6_@babel+core@7.19.0: + /@babel/plugin-transform-modules-commonjs/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 - '@babel/helper-module-transforms': 7.19.0 + '@babel/core': 7.20.5 + '@babel/helper-module-transforms': 7.20.2 '@babel/helper-plugin-utils': 7.19.0 - '@babel/helper-simple-access': 7.18.6 + '@babel/helper-simple-access': 7.20.2 babel-plugin-dynamic-import-node: 2.3.3 transitivePeerDependencies: - supports-color dev: true - /@babel/plugin-transform-object-super/7.18.6_@babel+core@7.19.0: + /@babel/plugin-transform-object-super/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 '@babel/helper-replace-supers': 7.18.9 transitivePeerDependencies: - supports-color dev: true - /@babel/plugin-transform-parameters/7.18.8_@babel+core@7.19.0: + /@babel/plugin-transform-parameters/7.18.8_@babel+core@7.20.5: resolution: {integrity: sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-property-literals/7.18.6_@babel+core@7.19.0: + /@babel/plugin-transform-property-literals/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-react-display-name/7.18.6_@babel+core@7.19.0: + /@babel/plugin-transform-react-display-name/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-react-jsx/7.19.0_@babel+core@7.19.0: + /@babel/plugin-transform-react-jsx/7.19.0_@babel+core@7.20.5: resolution: {integrity: sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-annotate-as-pure': 7.18.6 '@babel/helper-module-imports': 7.18.6 '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.19.0 - '@babel/types': 7.19.0 + '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.20.5 + '@babel/types': 7.20.5 dev: true - /@babel/plugin-transform-shorthand-properties/7.18.6_@babel+core@7.19.0: + /@babel/plugin-transform-shorthand-properties/7.18.6_@babel+core@7.20.5: resolution: {integrity: sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-spread/7.19.0_@babel+core@7.19.0: + /@babel/plugin-transform-spread/7.19.0_@babel+core@7.20.5: resolution: {integrity: sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 '@babel/helper-skip-transparent-expression-wrappers': 7.18.9 dev: true - /@babel/plugin-transform-template-literals/7.18.9_@babel+core@7.19.0: + /@babel/plugin-transform-template-literals/7.18.9_@babel+core@7.20.5: resolution: {integrity: sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.19.0 + '@babel/core': 7.20.5 '@babel/helper-plugin-utils': 7.19.0 dev: true @@ -1278,34 +1291,34 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.18.6 - '@babel/parser': 7.19.0 - '@babel/types': 7.19.0 + '@babel/parser': 7.20.5 + '@babel/types': 7.20.5 dev: true - /@babel/traverse/7.19.0: - resolution: {integrity: sha512-4pKpFRDh+utd2mbRC8JLnlsMUii3PMHjpL6a0SZ4NMZy7YFP9aXORxEhdMVOc9CpWtDF09IkciQLEhK7Ml7gRA==} + /@babel/traverse/7.20.5: + resolution: {integrity: sha512-WM5ZNN3JITQIq9tFZaw1ojLU3WgWdtkxnhM1AegMS+PvHjkM5IXjmYEGY7yukz5XS4sJyEf2VzWjI8uAavhxBQ==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.18.6 - '@babel/generator': 7.19.0 + '@babel/generator': 7.20.5 '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-function-name': 7.19.0 '@babel/helper-hoist-variables': 7.18.6 '@babel/helper-split-export-declaration': 7.18.6 - '@babel/parser': 7.19.0 - '@babel/types': 7.19.0 + '@babel/parser': 7.20.5 + '@babel/types': 7.20.5 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: - supports-color dev: true - /@babel/types/7.19.0: - resolution: {integrity: sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA==} + /@babel/types/7.20.5: + resolution: {integrity: sha512-c9fst/h2/dcF7H+MJKZ2T0KjEQ8hY/BNnDk/H3XY8C4Aw/eWQXWn/lWntHF9ooUBnGmEvbfGrTgLWc+um0YDUg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-string-parser': 7.18.10 - '@babel/helper-validator-identifier': 7.18.6 + '@babel/helper-string-parser': 7.19.4 + '@babel/helper-validator-identifier': 7.19.1 to-fast-properties: 2.0.0 dev: true @@ -1918,9 +1931,9 @@ packages: peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 dependencies: - '@babel/parser': 7.19.0 - '@babel/traverse': 7.19.0 - '@babel/types': 7.19.0 + '@babel/parser': 7.20.5 + '@babel/traverse': 7.20.5 + '@babel/types': 7.20.5 '@graphql-tools/utils': 8.12.0_graphql@16.6.0 graphql: 16.6.0 tslib: 2.4.0 @@ -2286,6 +2299,15 @@ packages: /@next/env/12.3.0: resolution: {integrity: sha512-PTJpjAFVbzBQ9xXpzMTroShvD5YDIIy46jQ7d4LrWpY+/5a8H90Tm8hE3Hvkc5RBRspVo7kvEOnqQms0A+2Q6w==} + dev: true + + /@next/env/13.0.4: + resolution: {integrity: sha512-N5Z3bdxBzoxrC5bwykDFITzdWuwDteOdZ+7nxixY+I1XpRX8/iQYbw2wuXMdqdfBGm2NNUpAqg8YF2e4oAC2UQ==} + dev: false + + /@next/env/13.0.6: + resolution: {integrity: sha512-yceT6DCHKqPRS1cAm8DHvDvK74DLIkDQdm5iV+GnIts8h0QbdHvkUIkdOvQoOODgpr6018skbmSQp12z5OWIQQ==} + dev: true /@next/eslint-plugin-next/12.3.0: resolution: {integrity: sha512-jVdq1qYTNDjUtulnE8/hkPv0pHILV4jMg5La99iaY/FFm20WxVnsAZtbNnMvlPbf8dc010oO304SX9yXbg5PAw==} @@ -2299,6 +2321,25 @@ packages: cpu: [arm] os: [android] requiresBuild: true + dev: true + optional: true + + /@next/swc-android-arm-eabi/13.0.4: + resolution: {integrity: sha512-SD9H+/zuV3L0oHIhsDdFkDqFtg6pIHtqRUPlsrNdOsmWXgMlSzxBmwt2ta4kyrazS62BQu7XRUG++ZyODS7AWg==} + engines: {node: '>= 10'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: false + optional: true + + /@next/swc-android-arm-eabi/13.0.6: + resolution: {integrity: sha512-FGFSj3v2Bluw8fD/X+1eXIEB0PhoJE0zfutsAauRhmNpjjZshLDgoXMWm1jTRL/04K/o9gwwO2+A8+sPVCH1uw==} + engines: {node: '>= 10'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true optional: true /@next/swc-android-arm64/12.3.0: @@ -2307,6 +2348,25 @@ packages: cpu: [arm64] os: [android] requiresBuild: true + dev: true + optional: true + + /@next/swc-android-arm64/13.0.4: + resolution: {integrity: sha512-F8W5WcBbdn/zBoy32/mQiefs9DNsT12CTSSVCsO8GvQR7GjJU+uduQ4drKcSDoDLuAFULc2jDN06Circq4vuQg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: false + optional: true + + /@next/swc-android-arm64/13.0.6: + resolution: {integrity: sha512-7MgbtU7kimxuovVsd7jSJWMkIHBDBUsNLmmlkrBRHTvgzx5nDBXogP0hzZm7EImdOPwVMPpUHRQMBP9mbsiJYQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true optional: true /@next/swc-darwin-arm64/12.3.0: @@ -2315,6 +2375,25 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true + dev: true + optional: true + + /@next/swc-darwin-arm64/13.0.4: + resolution: {integrity: sha512-/lajev+9GSie+rRTl5z8skW9RJwZ+TwMKLzzM24TbDk8lUjqPTyJZ/cU0NDj8J7VQAZ6EehACSh9rcJeBRtLuA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: false + optional: true + + /@next/swc-darwin-arm64/13.0.6: + resolution: {integrity: sha512-AUVEpVTxbP/fxdFsjVI9d5a0CFn6NVV7A/RXOb0Y+pXKIIZ1V5rFjPwpYfIfyOo2lrqgehMNQcyMRoTrhq04xg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true optional: true /@next/swc-darwin-x64/12.3.0: @@ -2323,6 +2402,25 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true + dev: true + optional: true + + /@next/swc-darwin-x64/13.0.4: + resolution: {integrity: sha512-HK4b2rFiju8d40GTL/jH9U6OQ7BYA2MeEHs7Dm7Rp7kwQtLzP3z6osdQS8er20tIFHDE4b+oVBy03ZUQkHf0Pg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: false + optional: true + + /@next/swc-darwin-x64/13.0.6: + resolution: {integrity: sha512-SasCDJlshglsPnbzhWaIF6VEGkQy2NECcAOxPwaPr0cwbbt4aUlZ7QmskNzgolr5eAjFS/xTr7CEeKJtZpAAtQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true optional: true /@next/swc-freebsd-x64/12.3.0: @@ -2331,6 +2429,25 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true + dev: true + optional: true + + /@next/swc-freebsd-x64/13.0.4: + resolution: {integrity: sha512-xBvIGLaGzZtgJfRRJ2DBN82DQCJ/O7jkXyBp8X/vHefPWyVXVqF6C68Rv8ADp11thPpf8WpjkvDDLb9AuWHQUA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: false + optional: true + + /@next/swc-freebsd-x64/13.0.6: + resolution: {integrity: sha512-6Lbxd9gAdXneTkwHyYW/qtX1Tdw7ND9UbiGsGz/SP43ZInNWnW6q0au4hEVPZ9bOWWRKzcVoeTBdoMpQk9Hx9w==} + engines: {node: '>= 10'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true optional: true /@next/swc-linux-arm-gnueabihf/12.3.0: @@ -2339,6 +2456,25 @@ packages: cpu: [arm] os: [linux] requiresBuild: true + dev: true + optional: true + + /@next/swc-linux-arm-gnueabihf/13.0.4: + resolution: {integrity: sha512-s13pxNp9deKmmxEGTp1MoL1e4nf4wbEymEaHgFxUlhoR1OD9tK8oTNrQphQePJgVjzcWmRGH/dX7O9mVkHbU/g==} + engines: {node: '>= 10'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@next/swc-linux-arm-gnueabihf/13.0.6: + resolution: {integrity: sha512-wNdi5A519e1P+ozEuYOhWPzzE6m1y7mkO6NFwn6watUwO0X9nZs7fT9THmnekvmFQpaZ6U+xf2MQ9poQoCh6jQ==} + engines: {node: '>= 10'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true optional: true /@next/swc-linux-arm64-gnu/12.3.0: @@ -2347,6 +2483,25 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@next/swc-linux-arm64-gnu/13.0.4: + resolution: {integrity: sha512-Lklo65usNzoYwjX51CpDKOepWVZBdwO49/Jz3djxiYUr2lRtpDVnlfwCvzN+47j3BMVMWtC2ndIi8Q4s3J0v4g==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@next/swc-linux-arm64-gnu/13.0.6: + resolution: {integrity: sha512-e8KTRnleQY1KLk5PwGV5hrmvKksCc74QRpHl5ffWnEEAtL2FE0ave5aIkXqErsPdXkiKuA/owp3LjQrP+/AH7Q==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true optional: true /@next/swc-linux-arm64-musl/12.3.0: @@ -2355,6 +2510,25 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@next/swc-linux-arm64-musl/13.0.4: + resolution: {integrity: sha512-+3BXtXBwjVhd5lahDe5nKZ7EwD6hE/oLFQkITCvgxymU5qYHGlLFyF52/lyw8qhyxoCr7mMVsUFhlCzVwCfNjg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@next/swc-linux-arm64-musl/13.0.6: + resolution: {integrity: sha512-/7RF03C3mhjYpHN+pqOolgME3guiHU5T3TsejuyteqyEyzdEyLHod+jcYH6ft7UZ71a6TdOewvmbLOtzHW2O8A==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true optional: true /@next/swc-linux-x64-gnu/12.3.0: @@ -2363,6 +2537,25 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@next/swc-linux-x64-gnu/13.0.4: + resolution: {integrity: sha512-QB8qoZrvHhZsz62nUrTKlp5IiZ8I7KZsaa6437H/W/NOZHLGJjCxROnhUjLvKVe/T5P86pjya2SUOUqWAjz4Pg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@next/swc-linux-x64-gnu/13.0.6: + resolution: {integrity: sha512-kxyEXnYHpOEkFnmrlwB1QlzJtjC6sAJytKcceIyFUHbCaD3W/Qb5tnclcnHKTaFccizZRePXvV25Ok/eUSpKTw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true optional: true /@next/swc-linux-x64-musl/12.3.0: @@ -2371,6 +2564,25 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@next/swc-linux-x64-musl/13.0.4: + resolution: {integrity: sha512-WaahF6DYUQRg1QqIMcuOu2ZsFhS3aC5iWeQyeptMHklP9wb4FfTNmBArKHknX/GXD8P9gI38WTAHJ25cc0zVwg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@next/swc-linux-x64-musl/13.0.6: + resolution: {integrity: sha512-N0c6gubS3WW1oYYgo02xzZnNatfVQP/CiJq2ax+DJ55ePV62IACbRCU99TZNXXg+Kos6vNW4k+/qgvkvpGDeyA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true optional: true /@next/swc-win32-arm64-msvc/12.3.0: @@ -2379,6 +2591,25 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true + dev: true + optional: true + + /@next/swc-win32-arm64-msvc/13.0.4: + resolution: {integrity: sha512-FD+k1j2jeY0aKcqcpzFKfTsv55PPmIZ5GKDyPjjV5AO6XvQ4nALwWl4JwizjH2426TfLXObb+C3MH0bl9Ok1Kw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: false + optional: true + + /@next/swc-win32-arm64-msvc/13.0.6: + resolution: {integrity: sha512-QjeMB2EBqBFPb/ac0CYr7GytbhUkrG4EwFWbcE0vsRp4H8grt25kYpFQckL4Jak3SUrp7vKfDwZ/SwO7QdO8vw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true optional: true /@next/swc-win32-ia32-msvc/12.3.0: @@ -2387,6 +2618,25 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true + dev: true + optional: true + + /@next/swc-win32-ia32-msvc/13.0.4: + resolution: {integrity: sha512-+Q/Q8Ydvz3X3U84CyZdNv1HC7fE43k+xB8C6b3IFmWGa5Tu2tfskQ2FsUNBrYreZjhFC/894J3rVQ6Vj6Auugg==} + engines: {node: '>= 10'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: false + optional: true + + /@next/swc-win32-ia32-msvc/13.0.6: + resolution: {integrity: sha512-EQzXtdqRTcmhT/tCq81rIwE36Y3fNHPInaCuJzM/kftdXfa0F+64y7FAoMO13npX8EG1+SamXgp/emSusKrCXg==} + engines: {node: '>= 10'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true optional: true /@next/swc-win32-x64-msvc/12.3.0: @@ -2395,6 +2645,25 @@ packages: cpu: [x64] os: [win32] requiresBuild: true + dev: true + optional: true + + /@next/swc-win32-x64-msvc/13.0.4: + resolution: {integrity: sha512-vXtbo9N1FdtZZRcv4BliU28tTYrkb1EnVpUiiFFe88I6kS9aZVTMY9Z/OtDR52rl1JF1hgs9sL/59D/TQqSATQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: false + optional: true + + /@next/swc-win32-x64-msvc/13.0.6: + resolution: {integrity: sha512-pSkqZ//UP/f2sS9T7IvHLfEWDPTX0vRyXJnAUNisKvO3eF3e1xdhDX7dix/X3Z3lnN4UjSwOzclAI87JFbOwmQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true optional: true /@nodelib/fs.scandir/2.1.5: @@ -3022,6 +3291,12 @@ packages: dependencies: tslib: 2.4.0 + /@swc/helpers/0.4.14: + resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==} + dependencies: + tslib: 2.4.0 + dev: true + /@swc/wasm/1.2.122: resolution: {integrity: sha512-sM1VCWQxmNhFtdxME+8UXNyPNhxNu7zdb6ikWpz0YKAQQFRGT5ThZgJrubEpah335SUToNg8pkdDF7ibVCjxbQ==} requiresBuild: true @@ -3672,38 +3947,38 @@ packages: resolution: {integrity: sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ==} dev: true - /babel-preset-fbjs/3.4.0_@babel+core@7.19.0: + /babel-preset-fbjs/3.4.0_@babel+core@7.20.5: resolution: {integrity: sha512-9ywCsCvo1ojrw0b+XYk7aFvTH6D9064t0RIL1rtMf3nsa02Xw41MS7sZw216Im35xj/UY0PDBQsa1brUDDF1Ow==} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.19.0 - '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.19.0 - '@babel/plugin-proposal-object-rest-spread': 7.18.9_@babel+core@7.19.0 - '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.19.0 - '@babel/plugin-syntax-flow': 7.18.6_@babel+core@7.19.0 - '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.19.0 - '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.19.0 - '@babel/plugin-transform-arrow-functions': 7.18.6_@babel+core@7.19.0 - '@babel/plugin-transform-block-scoped-functions': 7.18.6_@babel+core@7.19.0 - '@babel/plugin-transform-block-scoping': 7.18.9_@babel+core@7.19.0 - '@babel/plugin-transform-classes': 7.19.0_@babel+core@7.19.0 - '@babel/plugin-transform-computed-properties': 7.18.9_@babel+core@7.19.0 - '@babel/plugin-transform-destructuring': 7.18.13_@babel+core@7.19.0 - '@babel/plugin-transform-flow-strip-types': 7.19.0_@babel+core@7.19.0 - '@babel/plugin-transform-for-of': 7.18.8_@babel+core@7.19.0 - '@babel/plugin-transform-function-name': 7.18.9_@babel+core@7.19.0 - '@babel/plugin-transform-literals': 7.18.9_@babel+core@7.19.0 - '@babel/plugin-transform-member-expression-literals': 7.18.6_@babel+core@7.19.0 - '@babel/plugin-transform-modules-commonjs': 7.18.6_@babel+core@7.19.0 - '@babel/plugin-transform-object-super': 7.18.6_@babel+core@7.19.0 - '@babel/plugin-transform-parameters': 7.18.8_@babel+core@7.19.0 - '@babel/plugin-transform-property-literals': 7.18.6_@babel+core@7.19.0 - '@babel/plugin-transform-react-display-name': 7.18.6_@babel+core@7.19.0 - '@babel/plugin-transform-react-jsx': 7.19.0_@babel+core@7.19.0 - '@babel/plugin-transform-shorthand-properties': 7.18.6_@babel+core@7.19.0 - '@babel/plugin-transform-spread': 7.19.0_@babel+core@7.19.0 - '@babel/plugin-transform-template-literals': 7.18.9_@babel+core@7.19.0 + '@babel/core': 7.20.5 + '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-proposal-object-rest-spread': 7.18.9_@babel+core@7.20.5 + '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.20.5 + '@babel/plugin-syntax-flow': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.20.5 + '@babel/plugin-transform-arrow-functions': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-transform-block-scoped-functions': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-transform-block-scoping': 7.18.9_@babel+core@7.20.5 + '@babel/plugin-transform-classes': 7.19.0_@babel+core@7.20.5 + '@babel/plugin-transform-computed-properties': 7.18.9_@babel+core@7.20.5 + '@babel/plugin-transform-destructuring': 7.18.13_@babel+core@7.20.5 + '@babel/plugin-transform-flow-strip-types': 7.19.0_@babel+core@7.20.5 + '@babel/plugin-transform-for-of': 7.18.8_@babel+core@7.20.5 + '@babel/plugin-transform-function-name': 7.18.9_@babel+core@7.20.5 + '@babel/plugin-transform-literals': 7.18.9_@babel+core@7.20.5 + '@babel/plugin-transform-member-expression-literals': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-transform-modules-commonjs': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-transform-object-super': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-transform-parameters': 7.18.8_@babel+core@7.20.5 + '@babel/plugin-transform-property-literals': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-transform-react-display-name': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-transform-react-jsx': 7.19.0_@babel+core@7.20.5 + '@babel/plugin-transform-shorthand-properties': 7.18.6_@babel+core@7.20.5 + '@babel/plugin-transform-spread': 7.19.0_@babel+core@7.20.5 + '@babel/plugin-transform-template-literals': 7.18.9_@babel+core@7.20.5 babel-plugin-syntax-trailing-function-commas: 7.0.0-beta.0 transitivePeerDependencies: - supports-color @@ -3805,7 +4080,7 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001399 + caniuse-lite: 1.0.30001422 electron-to-chromium: 1.4.249 node-releases: 2.0.6 update-browserslist-db: 1.0.9_browserslist@4.21.3 @@ -3918,6 +4193,9 @@ packages: /caniuse-lite/1.0.30001399: resolution: {integrity: sha512-4vQ90tMKS+FkvuVWS5/QY1+d805ODxZiKFzsU8o/RsVJz49ZSRR8EjykLJbqhzdPgadbX6wB538wOzle3JniRA==} + /caniuse-lite/1.0.30001422: + resolution: {integrity: sha512-hSesn02u1QacQHhaxl/kNMZwqVG35Sz/8DgvmgedxSH8z9UUpcDYSPYgsj3x5dQNRcNp6BwpSfQfVzYUTm+fog==} + /capital-case/1.0.4: resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==} dependencies: @@ -4089,6 +4367,9 @@ packages: engines: {node: '>= 10'} dev: true + /client-only/0.0.1: + resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==} + /cliui/6.0.0: resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==} dependencies: @@ -4724,7 +5005,7 @@ packages: eslint: 8.23.1 eslint-import-resolver-node: 0.3.6 eslint-import-resolver-typescript: 2.7.1_hdzsmr7kawaomymueo2tso6fjq - eslint-plugin-import: 2.26.0_6r44hdgvdiqbnekattsi42eeia + eslint-plugin-import: 2.26.0_eslint@8.23.1 eslint-plugin-jsx-a11y: 6.6.1_eslint@8.23.1 eslint-plugin-react: 7.31.8_eslint@8.23.1 eslint-plugin-react-hooks: 4.6.0_eslint@8.23.1 @@ -4761,7 +5042,7 @@ packages: dependencies: debug: 4.3.4 eslint: 8.23.1 - eslint-plugin-import: 2.26.0_6r44hdgvdiqbnekattsi42eeia + eslint-plugin-import: 2.26.0_eslint@8.23.1 glob: 7.2.3 is-glob: 4.0.3 resolve: 1.22.1 @@ -4770,7 +5051,7 @@ packages: - supports-color dev: true - /eslint-module-utils/2.7.4_ssuof5somrshypivkj4dxrg5tm: + /eslint-module-utils/2.7.4_oxfrjumrtiktpkw7r2zaom7f74: resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} engines: {node: '>=4'} peerDependencies: @@ -4791,16 +5072,14 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.37.0_4brgkhw6cq4me3drk3kxrpb2mm debug: 3.2.7 eslint: 8.23.1 eslint-import-resolver-node: 0.3.6 - eslint-import-resolver-typescript: 2.7.1_hdzsmr7kawaomymueo2tso6fjq transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-import/2.26.0_6r44hdgvdiqbnekattsi42eeia: + /eslint-plugin-import/2.26.0_eslint@8.23.1: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: @@ -4810,14 +5089,13 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.37.0_4brgkhw6cq4me3drk3kxrpb2mm array-includes: 3.1.5 array.prototype.flat: 1.3.0 debug: 2.6.9 doctrine: 2.1.0 eslint: 8.23.1 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.4_ssuof5somrshypivkj4dxrg5tm + eslint-module-utils: 2.7.4_oxfrjumrtiktpkw7r2zaom7f74 has: 1.0.3 is-core-module: 2.10.0 is-glob: 4.0.3 @@ -7065,19 +7343,19 @@ packages: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true - /next-themes/0.2.1_c3hne4hwj64hb7tofigd3bvkji: + /next-themes/0.2.1_dcors23iqtgxrhrwosgnnc4xji: resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==} peerDependencies: next: '*' react: '*' react-dom: '*' dependencies: - next: 12.3.0_biqbaboplfbrettd7655fr4n2y + next: 13.0.4_biqbaboplfbrettd7655fr4n2y react: 18.2.0 react-dom: 18.2.0_react@18.2.0 dev: false - /next/12.3.0_biqbaboplfbrettd7655fr4n2y: + /next/12.3.0_672uxklweod7ene3nqtsh262ca: resolution: {integrity: sha512-GpzI6me9V1+XYtfK0Ae9WD0mKqHyzQlGq1xH1rzNIYMASo4Tkl4rTe9jSqtBpXFhOS33KohXs9ZY38Akkhdciw==} engines: {node: '>=12.22.0'} hasBin: true @@ -7101,7 +7379,7 @@ packages: postcss: 8.4.14 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 - styled-jsx: 5.0.6_react@18.2.0 + styled-jsx: 5.0.6_zavbqmrropwrojvx6ojaa4s7im use-sync-external-store: 1.2.0_react@18.2.0 optionalDependencies: '@next/swc-android-arm-eabi': 12.3.0 @@ -7120,6 +7398,140 @@ packages: transitivePeerDependencies: - '@babel/core' - babel-plugin-macros + dev: true + + /next/13.0.4_biqbaboplfbrettd7655fr4n2y: + resolution: {integrity: sha512-4P0MvbjPCI1E/UPL1GrTXtYlgFnbBbY3JQ+AMY8jYE2SwyvCWctEJySoRjveznAHjrl6TIjuAJeB8u1c2StYUQ==} + engines: {node: '>=14.6.0'} + hasBin: true + peerDependencies: + fibers: '>= 3.1.0' + node-sass: ^6.0.0 || ^7.0.0 + react: ^18.2.0 + react-dom: ^18.2.0 + sass: ^1.3.0 + peerDependenciesMeta: + fibers: + optional: true + node-sass: + optional: true + sass: + optional: true + dependencies: + '@next/env': 13.0.4 + '@swc/helpers': 0.4.11 + caniuse-lite: 1.0.30001422 + postcss: 8.4.14 + react: 18.2.0 + react-dom: 18.2.0_react@18.2.0 + styled-jsx: 5.1.0_react@18.2.0 + use-sync-external-store: 1.2.0_react@18.2.0 + optionalDependencies: + '@next/swc-android-arm-eabi': 13.0.4 + '@next/swc-android-arm64': 13.0.4 + '@next/swc-darwin-arm64': 13.0.4 + '@next/swc-darwin-x64': 13.0.4 + '@next/swc-freebsd-x64': 13.0.4 + '@next/swc-linux-arm-gnueabihf': 13.0.4 + '@next/swc-linux-arm64-gnu': 13.0.4 + '@next/swc-linux-arm64-musl': 13.0.4 + '@next/swc-linux-x64-gnu': 13.0.4 + '@next/swc-linux-x64-musl': 13.0.4 + '@next/swc-win32-arm64-msvc': 13.0.4 + '@next/swc-win32-ia32-msvc': 13.0.4 + '@next/swc-win32-x64-msvc': 13.0.4 + transitivePeerDependencies: + - '@babel/core' + - babel-plugin-macros + dev: false + + /next/13.0.6_672uxklweod7ene3nqtsh262ca: + resolution: {integrity: sha512-COvigvms2LRt1rrzfBQcMQ2GZd86Mvk1z+LOLY5pniFtL4VrTmhZ9salrbKfSiXbhsD01TrDdD68ec3ABDyscA==} + engines: {node: '>=14.6.0'} + hasBin: true + peerDependencies: + fibers: '>= 3.1.0' + node-sass: ^6.0.0 || ^7.0.0 + react: ^18.2.0 + react-dom: ^18.2.0 + sass: ^1.3.0 + peerDependenciesMeta: + fibers: + optional: true + node-sass: + optional: true + sass: + optional: true + dependencies: + '@next/env': 13.0.6 + '@swc/helpers': 0.4.14 + caniuse-lite: 1.0.30001422 + postcss: 8.4.14 + react: 18.2.0 + react-dom: 18.2.0_react@18.2.0 + styled-jsx: 5.1.0_zavbqmrropwrojvx6ojaa4s7im + optionalDependencies: + '@next/swc-android-arm-eabi': 13.0.6 + '@next/swc-android-arm64': 13.0.6 + '@next/swc-darwin-arm64': 13.0.6 + '@next/swc-darwin-x64': 13.0.6 + '@next/swc-freebsd-x64': 13.0.6 + '@next/swc-linux-arm-gnueabihf': 13.0.6 + '@next/swc-linux-arm64-gnu': 13.0.6 + '@next/swc-linux-arm64-musl': 13.0.6 + '@next/swc-linux-x64-gnu': 13.0.6 + '@next/swc-linux-x64-musl': 13.0.6 + '@next/swc-win32-arm64-msvc': 13.0.6 + '@next/swc-win32-ia32-msvc': 13.0.6 + '@next/swc-win32-x64-msvc': 13.0.6 + transitivePeerDependencies: + - '@babel/core' + - babel-plugin-macros + dev: true + + /next/13.0.6_biqbaboplfbrettd7655fr4n2y: + resolution: {integrity: sha512-COvigvms2LRt1rrzfBQcMQ2GZd86Mvk1z+LOLY5pniFtL4VrTmhZ9salrbKfSiXbhsD01TrDdD68ec3ABDyscA==} + engines: {node: '>=14.6.0'} + hasBin: true + peerDependencies: + fibers: '>= 3.1.0' + node-sass: ^6.0.0 || ^7.0.0 + react: ^18.2.0 + react-dom: ^18.2.0 + sass: ^1.3.0 + peerDependenciesMeta: + fibers: + optional: true + node-sass: + optional: true + sass: + optional: true + dependencies: + '@next/env': 13.0.6 + '@swc/helpers': 0.4.14 + caniuse-lite: 1.0.30001422 + postcss: 8.4.14 + react: 18.2.0 + react-dom: 18.2.0_react@18.2.0 + styled-jsx: 5.1.0_react@18.2.0 + optionalDependencies: + '@next/swc-android-arm-eabi': 13.0.6 + '@next/swc-android-arm64': 13.0.6 + '@next/swc-darwin-arm64': 13.0.6 + '@next/swc-darwin-x64': 13.0.6 + '@next/swc-freebsd-x64': 13.0.6 + '@next/swc-linux-arm-gnueabihf': 13.0.6 + '@next/swc-linux-arm64-gnu': 13.0.6 + '@next/swc-linux-arm64-musl': 13.0.6 + '@next/swc-linux-x64-gnu': 13.0.6 + '@next/swc-linux-x64-musl': 13.0.6 + '@next/swc-win32-arm64-msvc': 13.0.6 + '@next/swc-win32-ia32-msvc': 13.0.6 + '@next/swc-win32-x64-msvc': 13.0.6 + transitivePeerDependencies: + - '@babel/core' + - babel-plugin-macros + dev: true /no-case/3.0.4: resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} @@ -8849,7 +9261,7 @@ packages: engines: {node: '>=8'} dev: true - /styled-jsx/5.0.6_react@18.2.0: + /styled-jsx/5.0.6_zavbqmrropwrojvx6ojaa4s7im: resolution: {integrity: sha512-xOeROtkK5MGMDimBQ3J6iPId8q0t/BDoG5XN6oKkZClVz9ISF/hihN8OCn2LggMU6N32aXnrXBdn3auSqNS9fA==} engines: {node: '>= 12.0.0'} peerDependencies: @@ -8862,7 +9274,43 @@ packages: babel-plugin-macros: optional: true dependencies: + '@babel/core': 7.20.5 react: 18.2.0 + dev: true + + /styled-jsx/5.1.0_react@18.2.0: + resolution: {integrity: sha512-/iHaRJt9U7T+5tp6TRelLnqBqiaIT0HsO0+vgyj8hK2KUk7aejFqRrumqPUlAqDwAj8IbS/1hk3IhBAAK/FCUQ==} + engines: {node: '>= 12.0.0'} + peerDependencies: + '@babel/core': '*' + babel-plugin-macros: '*' + react: '>= 16.8.0 || 17.x.x || ^18.0.0-0' + peerDependenciesMeta: + '@babel/core': + optional: true + babel-plugin-macros: + optional: true + dependencies: + client-only: 0.0.1 + react: 18.2.0 + + /styled-jsx/5.1.0_zavbqmrropwrojvx6ojaa4s7im: + resolution: {integrity: sha512-/iHaRJt9U7T+5tp6TRelLnqBqiaIT0HsO0+vgyj8hK2KUk7aejFqRrumqPUlAqDwAj8IbS/1hk3IhBAAK/FCUQ==} + engines: {node: '>= 12.0.0'} + peerDependencies: + '@babel/core': '*' + babel-plugin-macros: '*' + react: '>= 16.8.0 || 17.x.x || ^18.0.0-0' + peerDependenciesMeta: + '@babel/core': + optional: true + babel-plugin-macros: + optional: true + dependencies: + '@babel/core': 7.20.5 + client-only: 0.0.1 + react: 18.2.0 + dev: true /supports-color/2.0.0: resolution: {integrity: sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==} diff --git a/site/assets/base.css b/site/assets/base.css index 37e14196c2..85c0277c59 100644 --- a/site/assets/base.css +++ b/site/assets/base.css @@ -119,3 +119,9 @@ a { opacity: 1; } } + +@media not all and (min-resolution: 0.001dpcm) { + img[loading='lazy'] { + clip-path: inset(0.5px); + } +} diff --git a/site/components/cart/CartItem/CartItem.module.css b/site/components/cart/CartItem/CartItem.module.css index dd43314fbd..5816e66ce2 100644 --- a/site/components/cart/CartItem/CartItem.module.css +++ b/site/components/cart/CartItem/CartItem.module.css @@ -17,13 +17,7 @@ } .productImage { - position: absolute; - transform: scale(1.9); - width: 100%; - height: 100%; - left: 30% !important; - top: 30% !important; - z-index: 1; + @apply w-full h-full object-cover; } .productName { diff --git a/site/components/cart/CartItem/CartItem.tsx b/site/components/cart/CartItem/CartItem.tsx index d76ccbaeeb..fd605b1cfa 100644 --- a/site/components/cart/CartItem/CartItem.tsx +++ b/site/components/cart/CartItem/CartItem.tsx @@ -1,4 +1,4 @@ -import { ChangeEvent, FocusEventHandler, useEffect, useState } from 'react' +import { ChangeEvent, useEffect, useState } from 'react' import cn from 'clsx' import Image from 'next/image' import Link from 'next/link' @@ -84,31 +84,26 @@ const CartItem = ({ {...rest} >
-
+
- - closeSidebarIfPresent()} - className={s.productImage} - width={150} - height={150} - src={item.variant.image?.url || placeholderImg} - alt={item.variant.image?.alt || 'Product Image'} - unoptimized - /> - + closeSidebarIfPresent()} + className={s.productImage} + width={64} + height={64} + src={item.variant.image?.url || placeholderImg} + alt={item.variant.image?.alt || 'Product Image'} + />
- - closeSidebarIfPresent()} - > - {item.name} - - + closeSidebarIfPresent()} + > + {item.name} + {options && options.length > 0 && (
diff --git a/site/components/cart/CartSidebarView/CartSidebarView.tsx b/site/components/cart/CartSidebarView/CartSidebarView.tsx index 327602c0be..2198615cdb 100644 --- a/site/components/cart/CartSidebarView/CartSidebarView.tsx +++ b/site/components/cart/CartSidebarView/CartSidebarView.tsx @@ -74,11 +74,9 @@ const CartSidebarView: FC = () => { <>
- - - My Cart - - + + My Cart +