feat: update growthbook and handle network errors (#61374)

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
This commit is contained in:
Oliver Eyton-Williams
2025-09-22 17:36:38 +02:00
committed by GitHub
parent 8d791e0718
commit 00a015cd92
7 changed files with 247 additions and 46 deletions
+14 -14
View File
@@ -346,8 +346,8 @@ importers:
specifier: 1.3.9
version: 1.3.9(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
'@growthbook/growthbook-react':
specifier: 0.20.0
version: 0.20.0(react@17.0.2)
specifier: 1.6.0
version: 1.6.0(react@17.0.2)
'@headlessui/react':
specifier: 1.7.19
version: 1.7.19(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
@@ -3044,20 +3044,20 @@ packages:
peerDependencies:
graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
'@growthbook/growthbook-react@0.20.0':
resolution: {integrity: sha512-mFlp0z6oZv71uRcze7QMkr5xRqoWAFxXahY9DFa/mwHwLS1giqC7wE5DQUKz2ZaC8G3YZ7ORpXB9bOc9ucILZw==}
'@growthbook/growthbook-react@1.6.0':
resolution: {integrity: sha512-B1zSLfjRKfDlXNXMCvDLBGRAEslNDu2acUgCtHLvtGm/ZeiXtT4TuSG6dy9U2XcXczMFHoDtDln3skGb6mbo7g==}
engines: {node: '>=10'}
peerDependencies:
react: ^16.8.0-0 || ^17.0.0-0 || ^18.0.0-0
'@growthbook/growthbook@0.30.0':
resolution: {integrity: sha512-ennMHKZIhAZokHHcnA9/tOTLFdBB4DQR0WHT8Lf1pD80jWVv8JBCAzsV1jzSjYUQhb8R8pLR2Kho0IfgjzIZGQ==}
engines: {node: '>=10'}
react: ^16.8.0-0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0-0
'@growthbook/growthbook@1.3.1':
resolution: {integrity: sha512-ewtwq6+86rRKwcYUXEmBVR1JuiEIYZhxow/Z52qyAxJwEHdXmpS4Yk8sVeVD9bphCwE2r0zuifxFkBxmnIL4Mg==}
engines: {node: '>=10'}
'@growthbook/growthbook@1.6.0':
resolution: {integrity: sha512-0aMB8j1lVLob4uXpFpTmylMEzlMsaaeFZiXgtaveCQwF+vwdKZG+aCOX/XQyLEvdsU1x3M4s/kZSiFM1lRMgQw==}
engines: {node: '>=10'}
'@hapi/address@2.1.4':
resolution: {integrity: sha512-QD1PhQk+s31P1ixsX0H0Suoupp3VMXzIVMSwobR3F3MSUO2YCV0B7xqLcUw/Bh8yuvd3LhpyqLQWTNcRmp6IdQ==}
deprecated: Moved to 'npm install @sideway/address'
@@ -17603,16 +17603,16 @@ snapshots:
dependencies:
graphql: 15.8.0
'@growthbook/growthbook-react@0.20.0(react@17.0.2)':
'@growthbook/growthbook-react@1.6.0(react@17.0.2)':
dependencies:
'@growthbook/growthbook': 0.30.0
'@growthbook/growthbook': 1.6.0
react: 17.0.2
'@growthbook/growthbook@0.30.0':
'@growthbook/growthbook@1.3.1':
dependencies:
dom-mutator: 0.6.0
'@growthbook/growthbook@1.3.1':
'@growthbook/growthbook@1.6.0':
dependencies:
dom-mutator: 0.6.0
@@ -24368,7 +24368,7 @@ snapshots:
'@babel/plugin-proposal-numeric-separator': 7.18.6(@babel/core@7.23.7)
'@babel/plugin-proposal-optional-chaining': 7.17.12(@babel/core@7.23.7)
'@babel/preset-typescript': 7.23.3(@babel/core@7.23.7)
'@babel/runtime': 7.27.3
'@babel/runtime': 7.23.9
babel-plugin-remove-graphql-queries: 3.15.0(@babel/core@7.23.7)(gatsby@3.15.0(@types/node@20.12.8)(babel-eslint@10.1.0(eslint@7.32.0))(eslint-import-resolver-typescript@3.10.1)(eslint-plugin-testing-library@3.9.0(eslint@7.32.0)(typescript@5.2.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(typescript@5.2.2))
gatsby: 3.15.0(@types/node@20.12.8)(babel-eslint@10.1.0(eslint@7.32.0))(eslint-import-resolver-typescript@3.10.1)(eslint-plugin-testing-library@3.9.0(eslint@7.32.0)(typescript@5.2.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(typescript@5.2.2)
transitivePeerDependencies: