Extract isInIframe

This commit is contained in:
Lukasz Ostrowski 2023-02-07 21:31:58 +01:00
parent d13ece4b07
commit 14d25cc1ca
11 changed files with 40 additions and 206 deletions

View file

@ -0,0 +1,7 @@
---
"saleor-app-data-importer": patch
"@saleor/apps-shared": patch
"saleor-app-invoices": patch
---
Extract isInIframe to new shared package and use it in apps

View file

@ -6,5 +6,5 @@ module.exports = {
experimental: { experimental: {
esmExternals: true, esmExternals: true,
}, },
transpilePackages: ["nuvo-react"], transpilePackages: ["nuvo-react", "@saleor/apps-shared"],
}; };

View file

@ -37,7 +37,8 @@
"usehooks-ts": "^2.9.1", "usehooks-ts": "^2.9.1",
"vite": "^4.1.1", "vite": "^4.1.1",
"vitest": "^0.28.4", "vitest": "^0.28.4",
"zod": "^3.20.2" "zod": "^3.20.2",
"@saleor/apps-shared": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^8.33.0", "eslint": "^8.33.0",

View file

@ -3,7 +3,7 @@ import { useAppBridge } from "@saleor/app-sdk/app-bridge";
import { useEffect } from "react"; import { useEffect } from "react";
import { useIsMounted } from "usehooks-ts"; import { useIsMounted } from "usehooks-ts";
import { useRouter } from "next/router"; import { useRouter } from "next/router";
import { isInIframe } from "../lib/is-in-iframe"; import { isInIframe } from "@saleor/apps-shared/is-in-iframe";
import { LinearProgress } from "@material-ui/core"; import { LinearProgress } from "@material-ui/core";
const IndexPage: NextPage = () => { const IndexPage: NextPage = () => {

View file

@ -27,6 +27,7 @@ const moduleExports = {
ignoreDuringBuilds: true, ignoreDuringBuilds: true,
}, },
reactStrictMode: true, reactStrictMode: true,
transpilePackages: ["@saleor/apps-shared"],
}; };
const sentryWebpackPluginOptions = { const sentryWebpackPluginOptions = {

View file

@ -34,7 +34,7 @@
"graphql": "^16.6.0", "graphql": "^16.6.0",
"graphql-tag": "^2.12.6", "graphql-tag": "^2.12.6",
"microinvoice": "^1.0.6", "microinvoice": "^1.0.6",
"next": "13.0.6", "next": "13.1.6",
"pino": "^8.8.0", "pino": "^8.8.0",
"pino-pretty": "^9.1.1", "pino-pretty": "^9.1.1",
"react": "18.2.0", "react": "18.2.0",
@ -43,7 +43,8 @@
"tiny-invariant": "^1.3.1", "tiny-invariant": "^1.3.1",
"urql": "^3.0.3", "urql": "^3.0.3",
"usehooks-ts": "^2.9.1", "usehooks-ts": "^2.9.1",
"zod": "^3.19.1" "zod": "^3.19.1",
"@saleor/apps-shared": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"@graphql-codegen/cli": "2.13.3", "@graphql-codegen/cli": "2.13.3",

View file

@ -1,7 +0,0 @@
export function isInIframe() {
try {
return window.self !== window.top;
} catch (e) {
return true;
}
}

View file

@ -3,8 +3,8 @@ import { useAppBridge } from "@saleor/app-sdk/app-bridge";
import { useEffect } from "react"; import { useEffect } from "react";
import { useIsMounted } from "usehooks-ts"; import { useIsMounted } from "usehooks-ts";
import { useRouter } from "next/router"; import { useRouter } from "next/router";
import { isInIframe } from "../lib/is-in-iframe";
import { LinearProgress } from "@material-ui/core"; import { LinearProgress } from "@material-ui/core";
import { isInIframe } from "@saleor/apps-shared/is-in-iframe";
const IndexPage: NextPage = () => { const IndexPage: NextPage = () => {
const { appBridgeState } = useAppBridge(); const { appBridgeState } = useAppBridge();

View file

@ -0,0 +1,6 @@
{
"name": "@saleor/apps-shared",
"version": "1.0.0",
"dependencies": {
}
}

View file

@ -30,6 +30,7 @@ importers:
'@material-ui/icons': ^4.11.3 '@material-ui/icons': ^4.11.3
'@material-ui/lab': 4.0.0-alpha.61 '@material-ui/lab': 4.0.0-alpha.61
'@saleor/app-sdk': 0.26.1 '@saleor/app-sdk': 0.26.1
'@saleor/apps-shared': workspace:*
'@saleor/macaw-ui': ^0.7.2 '@saleor/macaw-ui': ^0.7.2
'@testing-library/react': ^13.4.0 '@testing-library/react': ^13.4.0
'@testing-library/react-hooks': ^8.0.1 '@testing-library/react-hooks': ^8.0.1
@ -63,6 +64,7 @@ importers:
'@material-ui/icons': 4.11.3_x54wk6dsnsxe7g7vvfmytp77te '@material-ui/icons': 4.11.3_x54wk6dsnsxe7g7vvfmytp77te
'@material-ui/lab': 4.0.0-alpha.61_x54wk6dsnsxe7g7vvfmytp77te '@material-ui/lab': 4.0.0-alpha.61_x54wk6dsnsxe7g7vvfmytp77te
'@saleor/app-sdk': 0.26.1_3vryta7zmbcsw4rrqf4axjqggm '@saleor/app-sdk': 0.26.1_3vryta7zmbcsw4rrqf4axjqggm
'@saleor/apps-shared': link:../../packages/shared
'@saleor/macaw-ui': 0.7.2_pmlnlm755hlzzzocw2qhf3a34e '@saleor/macaw-ui': 0.7.2_pmlnlm755hlzzzocw2qhf3a34e
'@urql/exchange-auth': 1.0.0_graphql@16.6.0 '@urql/exchange-auth': 1.0.0_graphql@16.6.0
'@vitejs/plugin-react': 3.1.0_vite@4.1.1 '@vitejs/plugin-react': 3.1.0_vite@4.1.1
@ -115,6 +117,7 @@ importers:
'@material-ui/icons': ^4.11.3 '@material-ui/icons': ^4.11.3
'@material-ui/lab': 4.0.0-alpha.61 '@material-ui/lab': 4.0.0-alpha.61
'@saleor/app-sdk': 0.27.1 '@saleor/app-sdk': 0.27.1
'@saleor/apps-shared': workspace:*
'@saleor/macaw-ui': ^0.7.2 '@saleor/macaw-ui': ^0.7.2
'@sentry/nextjs': ^7.31.1 '@sentry/nextjs': ^7.31.1
'@tanstack/react-query': ^4.19.1 '@tanstack/react-query': ^4.19.1
@ -136,7 +139,7 @@ importers:
graphql-tag: ^2.12.6 graphql-tag: ^2.12.6
jsdom: ^20.0.3 jsdom: ^20.0.3
microinvoice: ^1.0.6 microinvoice: ^1.0.6
next: 13.0.6 next: 13.1.6
pino: ^8.8.0 pino: ^8.8.0
pino-pretty: ^9.1.1 pino-pretty: ^9.1.1
react: 18.2.0 react: 18.2.0
@ -154,12 +157,13 @@ importers:
'@material-ui/core': 4.12.4_5ndqzdd6t4rivxsukjv3i3ak2q '@material-ui/core': 4.12.4_5ndqzdd6t4rivxsukjv3i3ak2q
'@material-ui/icons': 4.11.3_x54wk6dsnsxe7g7vvfmytp77te '@material-ui/icons': 4.11.3_x54wk6dsnsxe7g7vvfmytp77te
'@material-ui/lab': 4.0.0-alpha.61_x54wk6dsnsxe7g7vvfmytp77te '@material-ui/lab': 4.0.0-alpha.61_x54wk6dsnsxe7g7vvfmytp77te
'@saleor/app-sdk': 0.27.1_6jx7hpii6hgsrmhxgqrmo3277u '@saleor/app-sdk': 0.27.1_3vryta7zmbcsw4rrqf4axjqggm
'@saleor/apps-shared': link:../../packages/shared
'@saleor/macaw-ui': 0.7.2_pmlnlm755hlzzzocw2qhf3a34e '@saleor/macaw-ui': 0.7.2_pmlnlm755hlzzzocw2qhf3a34e
'@sentry/nextjs': 7.36.0_next@13.0.6+react@18.2.0 '@sentry/nextjs': 7.36.0_next@13.1.6+react@18.2.0
'@tanstack/react-query': 4.24.4_biqbaboplfbrettd7655fr4n2y '@tanstack/react-query': 4.24.4_biqbaboplfbrettd7655fr4n2y
'@trpc/client': 10.10.0_@trpc+server@10.10.0 '@trpc/client': 10.10.0_@trpc+server@10.10.0
'@trpc/next': 10.10.0_2h2nnrhz7xm6pmm753vjf7cavu '@trpc/next': 10.10.0_ngwrfmgr4sjzncpabpxzk5etba
'@trpc/react-query': 10.10.0_5mhyv2iryamqlilh5gtjpyz23q '@trpc/react-query': 10.10.0_5mhyv2iryamqlilh5gtjpyz23q
'@trpc/server': 10.10.0 '@trpc/server': 10.10.0
'@urql/exchange-auth': 1.0.0_graphql@16.6.0 '@urql/exchange-auth': 1.0.0_graphql@16.6.0
@ -169,7 +173,7 @@ importers:
graphql: 16.6.0 graphql: 16.6.0
graphql-tag: 2.12.6_graphql@16.6.0 graphql-tag: 2.12.6_graphql@16.6.0
microinvoice: 1.0.6 microinvoice: 1.0.6
next: 13.0.6_biqbaboplfbrettd7655fr4n2y next: 13.1.6_biqbaboplfbrettd7655fr4n2y
pino: 8.9.0 pino: 8.9.0
pino-pretty: 9.1.1 pino-pretty: 9.1.1
react: 18.2.0 react: 18.2.0
@ -212,6 +216,9 @@ importers:
eslint-config-turbo: 0.0.7 eslint-config-turbo: 0.0.7
eslint-plugin-react: 7.28.0 eslint-plugin-react: 7.28.0
packages/shared:
specifiers: {}
packages: packages:
/20-exceljs/4.5.16: /20-exceljs/4.5.16:
@ -2252,10 +2259,6 @@ packages:
react-is: 17.0.2 react-is: 17.0.2
dev: false dev: false
/@next/env/13.0.6:
resolution: {integrity: sha512-yceT6DCHKqPRS1cAm8DHvDvK74DLIkDQdm5iV+GnIts8h0QbdHvkUIkdOvQoOODgpr6018skbmSQp12z5OWIQQ==}
dev: false
/@next/env/13.1.6: /@next/env/13.1.6:
resolution: {integrity: sha512-s+W9Fdqh5MFk6ECrbnVmmAOwxKQuhGMT7xXHrkYIBMBcTiOqNWhv5KbJIboKR5STXxNXl32hllnvKaffzFaWQg==} resolution: {integrity: sha512-s+W9Fdqh5MFk6ECrbnVmmAOwxKQuhGMT7xXHrkYIBMBcTiOqNWhv5KbJIboKR5STXxNXl32hllnvKaffzFaWQg==}
dev: false dev: false
@ -2266,15 +2269,6 @@ packages:
glob: 7.1.7 glob: 7.1.7
dev: false dev: false
/@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: false
optional: true
/@next/swc-android-arm-eabi/13.1.6: /@next/swc-android-arm-eabi/13.1.6:
resolution: {integrity: sha512-F3/6Z8LH/pGlPzR1AcjPFxx35mPqjE5xZcf+IL+KgbW9tMkp7CYi1y7qKrEWU7W4AumxX/8OINnDQWLiwLasLQ==} resolution: {integrity: sha512-F3/6Z8LH/pGlPzR1AcjPFxx35mPqjE5xZcf+IL+KgbW9tMkp7CYi1y7qKrEWU7W4AumxX/8OINnDQWLiwLasLQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2284,15 +2278,6 @@ packages:
dev: false dev: false
optional: true optional: true
/@next/swc-android-arm64/13.0.6:
resolution: {integrity: sha512-7MgbtU7kimxuovVsd7jSJWMkIHBDBUsNLmmlkrBRHTvgzx5nDBXogP0hzZm7EImdOPwVMPpUHRQMBP9mbsiJYQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [android]
requiresBuild: true
dev: false
optional: true
/@next/swc-android-arm64/13.1.6: /@next/swc-android-arm64/13.1.6:
resolution: {integrity: sha512-cMwQjnB8vrYkWyK/H0Rf2c2pKIH4RGjpKUDvbjVAit6SbwPDpmaijLio0LWFV3/tOnY6kvzbL62lndVA0mkYpw==} resolution: {integrity: sha512-cMwQjnB8vrYkWyK/H0Rf2c2pKIH4RGjpKUDvbjVAit6SbwPDpmaijLio0LWFV3/tOnY6kvzbL62lndVA0mkYpw==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2302,15 +2287,6 @@ packages:
dev: false dev: false
optional: true 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: false
optional: true
/@next/swc-darwin-arm64/13.1.6: /@next/swc-darwin-arm64/13.1.6:
resolution: {integrity: sha512-KKRQH4DDE4kONXCvFMNBZGDb499Hs+xcFAwvj+rfSUssIDrZOlyfJNy55rH5t2Qxed1e4K80KEJgsxKQN1/fyw==} resolution: {integrity: sha512-KKRQH4DDE4kONXCvFMNBZGDb499Hs+xcFAwvj+rfSUssIDrZOlyfJNy55rH5t2Qxed1e4K80KEJgsxKQN1/fyw==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2320,15 +2296,6 @@ packages:
dev: false dev: false
optional: true optional: true
/@next/swc-darwin-x64/13.0.6:
resolution: {integrity: sha512-SasCDJlshglsPnbzhWaIF6VEGkQy2NECcAOxPwaPr0cwbbt4aUlZ7QmskNzgolr5eAjFS/xTr7CEeKJtZpAAtQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: false
optional: true
/@next/swc-darwin-x64/13.1.6: /@next/swc-darwin-x64/13.1.6:
resolution: {integrity: sha512-/uOky5PaZDoaU99ohjtNcDTJ6ks/gZ5ykTQDvNZDjIoCxFe3+t06bxsTPY6tAO6uEAw5f6vVFX5H5KLwhrkZCA==} resolution: {integrity: sha512-/uOky5PaZDoaU99ohjtNcDTJ6ks/gZ5ykTQDvNZDjIoCxFe3+t06bxsTPY6tAO6uEAw5f6vVFX5H5KLwhrkZCA==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2338,15 +2305,6 @@ packages:
dev: false dev: false
optional: true 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: false
optional: true
/@next/swc-freebsd-x64/13.1.6: /@next/swc-freebsd-x64/13.1.6:
resolution: {integrity: sha512-qaEALZeV7to6weSXk3Br80wtFQ7cFTpos/q+m9XVRFggu+8Ib895XhMWdJBzew6aaOcMvYR6KQ6JmHA2/eMzWw==} resolution: {integrity: sha512-qaEALZeV7to6weSXk3Br80wtFQ7cFTpos/q+m9XVRFggu+8Ib895XhMWdJBzew6aaOcMvYR6KQ6JmHA2/eMzWw==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2356,15 +2314,6 @@ packages:
dev: false dev: false
optional: true 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: false
optional: true
/@next/swc-linux-arm-gnueabihf/13.1.6: /@next/swc-linux-arm-gnueabihf/13.1.6:
resolution: {integrity: sha512-OybkbC58A1wJ+JrJSOjGDvZzrVEQA4sprJejGqMwiZyLqhr9Eo8FXF0y6HL+m1CPCpPhXEHz/2xKoYsl16kNqw==} resolution: {integrity: sha512-OybkbC58A1wJ+JrJSOjGDvZzrVEQA4sprJejGqMwiZyLqhr9Eo8FXF0y6HL+m1CPCpPhXEHz/2xKoYsl16kNqw==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2374,15 +2323,6 @@ packages:
dev: false dev: false
optional: true 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: false
optional: true
/@next/swc-linux-arm64-gnu/13.1.6: /@next/swc-linux-arm64-gnu/13.1.6:
resolution: {integrity: sha512-yCH+yDr7/4FDuWv6+GiYrPI9kcTAO3y48UmaIbrKy8ZJpi7RehJe3vIBRUmLrLaNDH3rY1rwoHi471NvR5J5NQ==} resolution: {integrity: sha512-yCH+yDr7/4FDuWv6+GiYrPI9kcTAO3y48UmaIbrKy8ZJpi7RehJe3vIBRUmLrLaNDH3rY1rwoHi471NvR5J5NQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2392,15 +2332,6 @@ packages:
dev: false dev: false
optional: true 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: false
optional: true
/@next/swc-linux-arm64-musl/13.1.6: /@next/swc-linux-arm64-musl/13.1.6:
resolution: {integrity: sha512-ECagB8LGX25P9Mrmlc7Q/TQBb9rGScxHbv/kLqqIWs2fIXy6Y/EiBBiM72NTwuXUFCNrWR4sjUPSooVBJJ3ESQ==} resolution: {integrity: sha512-ECagB8LGX25P9Mrmlc7Q/TQBb9rGScxHbv/kLqqIWs2fIXy6Y/EiBBiM72NTwuXUFCNrWR4sjUPSooVBJJ3ESQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2410,15 +2341,6 @@ packages:
dev: false dev: false
optional: true 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: false
optional: true
/@next/swc-linux-x64-gnu/13.1.6: /@next/swc-linux-x64-gnu/13.1.6:
resolution: {integrity: sha512-GT5w2mruk90V/I5g6ScuueE7fqj/d8Bui2qxdw6lFxmuTgMeol5rnzAv4uAoVQgClOUO/MULilzlODg9Ib3Y4Q==} resolution: {integrity: sha512-GT5w2mruk90V/I5g6ScuueE7fqj/d8Bui2qxdw6lFxmuTgMeol5rnzAv4uAoVQgClOUO/MULilzlODg9Ib3Y4Q==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2428,15 +2350,6 @@ packages:
dev: false dev: false
optional: true 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: false
optional: true
/@next/swc-linux-x64-musl/13.1.6: /@next/swc-linux-x64-musl/13.1.6:
resolution: {integrity: sha512-keFD6KvwOPzmat4TCnlnuxJCQepPN+8j3Nw876FtULxo8005Y9Ghcl7ACcR8GoiKoddAq8gxNBrpjoxjQRHeAQ==} resolution: {integrity: sha512-keFD6KvwOPzmat4TCnlnuxJCQepPN+8j3Nw876FtULxo8005Y9Ghcl7ACcR8GoiKoddAq8gxNBrpjoxjQRHeAQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2446,15 +2359,6 @@ packages:
dev: false dev: false
optional: true 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: false
optional: true
/@next/swc-win32-arm64-msvc/13.1.6: /@next/swc-win32-arm64-msvc/13.1.6:
resolution: {integrity: sha512-OwertslIiGQluFvHyRDzBCIB07qJjqabAmINlXUYt7/sY7Q7QPE8xVi5beBxX/rxTGPIbtyIe3faBE6Z2KywhQ==} resolution: {integrity: sha512-OwertslIiGQluFvHyRDzBCIB07qJjqabAmINlXUYt7/sY7Q7QPE8xVi5beBxX/rxTGPIbtyIe3faBE6Z2KywhQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2464,15 +2368,6 @@ packages:
dev: false dev: false
optional: true 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: false
optional: true
/@next/swc-win32-ia32-msvc/13.1.6: /@next/swc-win32-ia32-msvc/13.1.6:
resolution: {integrity: sha512-g8zowiuP8FxUR9zslPmlju7qYbs2XBtTLVSxVikPtUDQedhcls39uKYLvOOd1JZg0ehyhopobRoH1q+MHlIN/w==} resolution: {integrity: sha512-g8zowiuP8FxUR9zslPmlju7qYbs2XBtTLVSxVikPtUDQedhcls39uKYLvOOd1JZg0ehyhopobRoH1q+MHlIN/w==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2482,15 +2377,6 @@ packages:
dev: false dev: false
optional: true 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: false
optional: true
/@next/swc-win32-x64-msvc/13.1.6: /@next/swc-win32-x64-msvc/13.1.6:
resolution: {integrity: sha512-Ls2OL9hi3YlJKGNdKv8k3X/lLgc3VmLG3a/DeTkAd+lAituJp8ZHmRmm9f9SL84fT3CotlzcgbdaCDfFwFA6bA==} resolution: {integrity: sha512-Ls2OL9hi3YlJKGNdKv8k3X/lLgc3VmLG3a/DeTkAd+lAituJp8ZHmRmm9f9SL84fT3CotlzcgbdaCDfFwFA6bA==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
@ -2627,7 +2513,7 @@ packages:
- supports-color - supports-color
dev: false dev: false
/@saleor/app-sdk/0.27.1_6jx7hpii6hgsrmhxgqrmo3277u: /@saleor/app-sdk/0.27.1_3vryta7zmbcsw4rrqf4axjqggm:
resolution: {integrity: sha512-ZNbucokKCdBE1qa+YLHvjBVazYcRuUExBdaPW9aNxfeYyXgQNCdHqJx9oA/S1lMEVSbZSIRcn8Sx1+X/eEV8BA==} resolution: {integrity: sha512-ZNbucokKCdBE1qa+YLHvjBVazYcRuUExBdaPW9aNxfeYyXgQNCdHqJx9oA/S1lMEVSbZSIRcn8Sx1+X/eEV8BA==}
peerDependencies: peerDependencies:
next: '>=12' next: '>=12'
@ -2638,7 +2524,7 @@ packages:
fast-glob: 3.2.12 fast-glob: 3.2.12
graphql: 16.6.0 graphql: 16.6.0
jose: 4.11.4 jose: 4.11.4
next: 13.0.6_biqbaboplfbrettd7655fr4n2y next: 13.1.6_biqbaboplfbrettd7655fr4n2y
raw-body: 2.5.1 raw-body: 2.5.1
react: 18.2.0 react: 18.2.0
react-dom: 18.2.0_react@18.2.0 react-dom: 18.2.0_react@18.2.0
@ -2722,7 +2608,7 @@ packages:
tslib: 1.14.1 tslib: 1.14.1
dev: false dev: false
/@sentry/nextjs/7.36.0_next@13.0.6+react@18.2.0: /@sentry/nextjs/7.36.0_next@13.1.6+react@18.2.0:
resolution: {integrity: sha512-7IUwBjCjo3rWuvEG16D1wKb0D+aMyCU920VGCAQVZaqTZAgrgAKfpTa1Sk0fmDxYglW1EBI9QM+WEnOa9RleLw==} resolution: {integrity: sha512-7IUwBjCjo3rWuvEG16D1wKb0D+aMyCU920VGCAQVZaqTZAgrgAKfpTa1Sk0fmDxYglW1EBI9QM+WEnOa9RleLw==}
engines: {node: '>=8'} engines: {node: '>=8'}
peerDependencies: peerDependencies:
@ -2743,7 +2629,7 @@ packages:
'@sentry/utils': 7.36.0 '@sentry/utils': 7.36.0
'@sentry/webpack-plugin': 1.20.0 '@sentry/webpack-plugin': 1.20.0
chalk: 3.0.0 chalk: 3.0.0
next: 13.0.6_biqbaboplfbrettd7655fr4n2y next: 13.1.6_biqbaboplfbrettd7655fr4n2y
react: 18.2.0 react: 18.2.0
rollup: 2.78.0 rollup: 2.78.0
tslib: 1.14.1 tslib: 1.14.1
@ -3028,7 +2914,7 @@ packages:
'@trpc/server': 10.10.0 '@trpc/server': 10.10.0
dev: false dev: false
/@trpc/next/10.10.0_2h2nnrhz7xm6pmm753vjf7cavu: /@trpc/next/10.10.0_ngwrfmgr4sjzncpabpxzk5etba:
resolution: {integrity: sha512-7d84L2OoF0RW06drTbNGOOggwMes8JxI3Ln/VOIaYeERzwOFNCtWPmGjWCdq4l1SKbXC6+baS+b9n5cXc+euwA==} resolution: {integrity: sha512-7d84L2OoF0RW06drTbNGOOggwMes8JxI3Ln/VOIaYeERzwOFNCtWPmGjWCdq4l1SKbXC6+baS+b9n5cXc+euwA==}
peerDependencies: peerDependencies:
'@tanstack/react-query': ^4.3.8 '@tanstack/react-query': ^4.3.8
@ -3043,7 +2929,7 @@ packages:
'@trpc/client': 10.10.0_@trpc+server@10.10.0 '@trpc/client': 10.10.0_@trpc+server@10.10.0
'@trpc/react-query': 10.10.0_5mhyv2iryamqlilh5gtjpyz23q '@trpc/react-query': 10.10.0_5mhyv2iryamqlilh5gtjpyz23q
'@trpc/server': 10.10.0 '@trpc/server': 10.10.0
next: 13.0.6_biqbaboplfbrettd7655fr4n2y next: 13.1.6_biqbaboplfbrettd7655fr4n2y
react: 18.2.0 react: 18.2.0
react-dom: 18.2.0_react@18.2.0 react-dom: 18.2.0_react@18.2.0
react-ssr-prepass: 1.5.0_react@18.2.0 react-ssr-prepass: 1.5.0_react@18.2.0
@ -7074,50 +6960,6 @@ packages:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
dev: true 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.30001450
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: false
/next/13.1.6_biqbaboplfbrettd7655fr4n2y: /next/13.1.6_biqbaboplfbrettd7655fr4n2y:
resolution: {integrity: sha512-hHlbhKPj9pW+Cymvfzc15lvhaOZ54l+8sXDXJWm3OBNBzgrVj6hwGPmqqsXg40xO1Leq+kXpllzRPuncpC0Phw==} resolution: {integrity: sha512-hHlbhKPj9pW+Cymvfzc15lvhaOZ54l+8sXDXJWm3OBNBzgrVj6hwGPmqqsXg40xO1Leq+kXpllzRPuncpC0Phw==}
engines: {node: '>=14.6.0'} engines: {node: '>=14.6.0'}
@ -8847,23 +8689,6 @@ packages:
resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==} resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==}
dev: false dev: false
/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
dev: false
/styled-jsx/5.1.1_react@18.2.0: /styled-jsx/5.1.1_react@18.2.0:
resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==} resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==}
engines: {node: '>= 12.0.0'} engines: {node: '>= 12.0.0'}