diff --git a/packages/graphql-react-query/package.json b/packages/graphql-react-query/package.json index 1606949d..5443af66 100644 --- a/packages/graphql-react-query/package.json +++ b/packages/graphql-react-query/package.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@soundxyz/gql-string": "workspace:*", - "@tanstack/react-query": "^4.35.7", + "@tanstack/react-query": "^5.45.0", "@types/lodash-es": "^4.17.9", "@types/node": "^20.8.6", "@types/react": "^18.2.28", @@ -29,7 +29,7 @@ }, "peerDependencies": { "@soundxyz/gql-string": "workspace:^", - "@tanstack/react-query": "^4.35.7", + "@tanstack/react-query": "^5.45.0", "@types/react": ">=17", "lodash-es": "^4.17.21", "react": ">=17", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index acf4e136..9f3658b1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -194,8 +194,8 @@ importers: specifier: workspace:* version: link:../gql-string/dist '@tanstack/react-query': - specifier: ^4.35.7 - version: 4.35.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: ^5.45.0 + version: 5.45.0(react@18.2.0) '@types/lodash-es': specifier: ^4.17.9 version: 4.17.9 @@ -1157,20 +1157,13 @@ packages: '@swc/helpers@0.5.2': resolution: {integrity: sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==} - '@tanstack/query-core@4.35.7': - resolution: {integrity: sha512-PgDJtX75ubFS0WCYFM7DqEoJ4QbxU3S5OH3gJSI40xr7UVVax3/J4CM3XUMOTs+EOT5YGEfssi3tfRVGte4DEw==} + '@tanstack/query-core@5.45.0': + resolution: {integrity: sha512-RVfIZQmFUTdjhSAAblvueimfngYyfN6HlwaJUPK71PKd7yi43Vs1S/rdimmZedPWX/WGppcq/U1HOj7O7FwYxw==} - '@tanstack/react-query@4.35.7': - resolution: {integrity: sha512-0MankquP/6EOM2ATfEov6ViiKemey5uTbjGlFMX1xGotwNaqC76YKDMJdHumZupPbZcZPWAeoPGEHQmVKIKoOQ==} + '@tanstack/react-query@5.45.0': + resolution: {integrity: sha512-y272cKRJp1BvehrWG4ashOBuqBj1Qm2O6fgYJ9LYSHrLdsCXl74GbSVjUQTReUdHuRIl9cEOoyPa6HYag400lw==} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-native: '*' - peerDependenciesMeta: - react-dom: - optional: true - react-native: - optional: true + react: ^18.0.0 '@types/is-ci@3.0.1': resolution: {integrity: sha512-mnb1ngaGQPm6LFZaNdh3xPOoQMkrQb/KBPhPPN2p2Wk8XgeUqWj6xPnvyQ8rvcK/VFritVmQG8tvQuy7g+9/nQ==} @@ -1792,6 +1785,7 @@ packages: glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported globals@11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} @@ -1929,6 +1923,7 @@ packages: inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -4201,15 +4196,12 @@ snapshots: dependencies: tslib: 2.6.2 - '@tanstack/query-core@4.35.7': {} + '@tanstack/query-core@5.45.0': {} - '@tanstack/react-query@4.35.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@tanstack/react-query@5.45.0(react@18.2.0)': dependencies: - '@tanstack/query-core': 4.35.7 + '@tanstack/query-core': 5.45.0 react: 18.2.0 - use-sync-external-store: 1.2.0(react@18.2.0) - optionalDependencies: - react-dom: 18.2.0(react@18.2.0) '@types/is-ci@3.0.1': dependencies: