diff --git a/packages/graphql-react-query/package.json b/packages/graphql-react-query/package.json index 1606949d..96bd075d 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.59.11", "@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.59.11", "@types/react": ">=17", "lodash-es": "^4.17.21", "react": ">=17", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index acf4e136..f68623e3 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.59.11 + version: 5.59.11(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.59.10': + resolution: {integrity: sha512-XxvnKeBWqDTHstyjA1qmSD5VS/FZ2g/qYvPMhFM7IZF0JnMqMxtzbiUkiTFaZ4YZo/Q84LS0hZi0UncKJ3vIhg==} - '@tanstack/react-query@4.35.7': - resolution: {integrity: sha512-0MankquP/6EOM2ATfEov6ViiKemey5uTbjGlFMX1xGotwNaqC76YKDMJdHumZupPbZcZPWAeoPGEHQmVKIKoOQ==} + '@tanstack/react-query@5.59.11': + resolution: {integrity: sha512-m5I4+4NHy6p0uzKLiq30EdRGk37CHHjXJsfMT0bty/Z/aO11LgXUgDBCq/xma4eO5RlV95sFVmi2QB9nVaLlxg==} 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 || ^19 '@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.59.10': {} - '@tanstack/react-query@4.35.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@tanstack/react-query@5.59.11(react@18.2.0)': dependencies: - '@tanstack/query-core': 4.35.7 + '@tanstack/query-core': 5.59.10 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: