diff --git a/package.json b/package.json index d51ac32..e5b08da 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@deskpro/deskpro-ui": "^7.18.4", "@heroicons/react": "1.0.6", "@hookform/resolvers": "^3.0.1", - "@tanstack/react-query": "^4.36.1", + "@tanstack/react-query": "^5.59.16", "date-fns": "^2.29.3", "flatpickr": "^4.6.13", "lodash": "^4.17.21", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4e1b21b..625f739 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: ^3.0.1 version: 3.9.0(react-hook-form@7.53.0(react@18.3.1)) '@tanstack/react-query': - specifier: ^4.36.1 - version: 4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^5.59.16 + version: 5.59.16(react@18.3.1) date-fns: specifier: ^2.29.3 version: 2.30.0 @@ -784,6 +784,9 @@ packages: '@tanstack/query-core@4.36.1': resolution: {integrity: sha512-DJSilV5+ytBP1FbFcEJovv4rnnm/CokuVvrBEtW/Va9DvuJ3HksbXUJEpI0aV1KtuL4ZoO9AVE6PyNLzF7tLeA==} + '@tanstack/query-core@5.59.16': + resolution: {integrity: sha512-crHn+G3ltqb5JG0oUv6q+PMz1m1YkjpASrXTU+sYWW9pLk0t2GybUHNRqYPZWhxgjPaVGC4yp92gSFEJgYEsPw==} + '@tanstack/react-query@4.36.1': resolution: {integrity: sha512-y7ySVHFyyQblPl3J3eQBWpXZkliroki3ARnBKsdJchlgt7yJLRDUcf4B8soufgiYt3pEQIkBWBx1N9/ZPIeUWw==} peerDependencies: @@ -796,6 +799,11 @@ packages: react-native: optional: true + '@tanstack/react-query@5.59.16': + resolution: {integrity: sha512-MuyWheG47h6ERd4PKQ6V8gDyBu3ThNG22e1fRVwvq6ap3EqsFhyuxCAwhNP/03m/mLg+DAb0upgbPaX6VB+CkQ==} + peerDependencies: + react: ^18 || ^19 + '@testing-library/dom@8.20.1': resolution: {integrity: sha512-/DiOQ5xBxgdYRC8LNk7U+RWat0S3qRLeIw3ZIkMQ9kkVlRmwD/Eg8k8CqIpD6GW7u20JIUOfMKbxtiLutpjQ4g==} engines: {node: '>=12'} @@ -1602,6 +1610,7 @@ packages: eslint@8.4.1: resolution: {integrity: sha512-TxU/p7LB1KxQ6+7aztTnO7K0i+h0tDi81YRY9VzB6Id71kNz+fFYnf5HD5UOQmxkzcoa0TlVZf9dpMtUv0GpWg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.6.1: @@ -3903,6 +3912,8 @@ snapshots: '@tanstack/query-core@4.36.1': {} + '@tanstack/query-core@5.59.16': {} + '@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@tanstack/query-core': 4.36.1 @@ -3911,6 +3922,11 @@ snapshots: optionalDependencies: react-dom: 18.3.1(react@18.3.1) + '@tanstack/react-query@5.59.16(react@18.3.1)': + dependencies: + '@tanstack/query-core': 5.59.16 + react: 18.3.1 + '@testing-library/dom@8.20.1': dependencies: '@babel/code-frame': 7.24.7