diff --git a/components/package.json b/components/package.json index 5cc325c7..18e5b4d9 100644 --- a/components/package.json +++ b/components/package.json @@ -38,7 +38,7 @@ "@perses-dev/client": "0.54.0", "numbro": "^2.3.6", "@tanstack/match-sorter-utils": "^8.19.4", - "@tanstack/react-table": "^8.20.5", + "@tanstack/react-table": "^8.21.3", "@uiw/react-codemirror": "^4.19.1", "date-fns": "^4.1.0", "echarts": "5.5.0", @@ -59,8 +59,8 @@ "@emotion/styled": "^11.14.1", "@mui/material": "^6.1.10", "lodash": "^4.17.21", - "react": "^17.0.2 || ^18.0.0", - "react-dom": "^17.0.2 || ^18.0.0" + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" }, "files": [ "dist" diff --git a/dashboards/package.json b/dashboards/package.json index dd6508c2..de9f5d14 100644 --- a/dashboards/package.json +++ b/dashboards/package.json @@ -34,7 +34,7 @@ "@perses-dev/spec": "0.2.0", "@perses-dev/client": "0.54.0", "@tanstack/hotkeys": "^0.8.0", - "@tanstack/react-hotkeys": "^0.9.1", + "@tanstack/react-hotkeys": "^0.10.0", "immer": "^10.1.1", "mdi-material-ui": "^7.9.2", "react-grid-layout": "^1.3.4", @@ -52,9 +52,9 @@ }, "peerDependencies": { "@mui/material": "^6.1.10", - "@tanstack/react-query": "^4.39.1", - "react": "^17.0.2 || ^18.0.0", - "react-dom": "^17.0.2 || ^18.0.0" + "@tanstack/react-query": "^5.101.4", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" }, "files": [ "dist" diff --git a/explore/package.json b/explore/package.json index 1ad193b1..c753aa36 100644 --- a/explore/package.json +++ b/explore/package.json @@ -43,9 +43,9 @@ }, "peerDependencies": { "@mui/material": "^6.1.10", - "@tanstack/react-query": "^4.39.1", - "react": "^17.0.2 || ^18.0.0", - "react-dom": "^17.0.2 || ^18.0.0" + "@tanstack/react-query": "^5.101.4", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" }, "files": [ "dist" diff --git a/package-lock.json b/package-lock.json index 03e4e9f1..ce2172da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,15 +20,15 @@ "@swc/cli": "^0.8.1", "@swc/core": "^1.3.61", "@swc/jest": "^0.2.26", - "@tanstack/react-query": "^4.39.1", + "@tanstack/react-query": "^5.101.4", "@testing-library/dom": "^10.1.0", "@testing-library/jest-dom": "^5.16.4", - "@testing-library/react": "^16.0.0", + "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^13.5.0", "@types/jest": "^30.0.0", "@types/node": "^22.13.1", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", + "@types/react": "^19.2.17", + "@types/react-dom": "^19.1.7", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.18.0", "concurrently": "^10.0.3", @@ -43,9 +43,9 @@ "jest": "^30.4.2", "jest-environment-jsdom": "^30.4.1", "prettier": "^3.2.5", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-refresh": "^0.16.0", + "react": "^19.2.8", + "react-dom": "^19.2.8", + "react-refresh": "^0.18.0", "rimraf": "^5.0.5", "terser-webpack-plugin": "^5.3.11", "ts-node": "^10.9.2", @@ -76,7 +76,7 @@ "@perses-dev/client": "0.54.0", "@perses-dev/spec": "0.2.0", "@tanstack/match-sorter-utils": "^8.19.4", - "@tanstack/react-table": "^8.20.5", + "@tanstack/react-table": "^8.21.3", "@uiw/react-codemirror": "^4.19.1", "date-fns": "^4.1.0", "echarts": "5.5.0", @@ -98,8 +98,8 @@ "@emotion/styled": "^11.14.1", "@mui/material": "^6.1.10", "lodash": "^4.17.21", - "react": "^17.0.2 || ^18.0.0", - "react-dom": "^17.0.2 || ^18.0.0" + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" } }, "dashboards": { @@ -112,7 +112,7 @@ "@perses-dev/plugin-system": "0.54.0", "@perses-dev/spec": "0.2.0", "@tanstack/hotkeys": "^0.8.0", - "@tanstack/react-hotkeys": "^0.9.1", + "@tanstack/react-hotkeys": "^0.10.0", "immer": "^10.1.1", "mdi-material-ui": "^7.9.2", "react-grid-layout": "^1.3.4", @@ -130,35 +130,9 @@ }, "peerDependencies": { "@mui/material": "^6.1.10", - "@tanstack/react-query": "^4.39.1", - "react": "^17.0.2 || ^18.0.0", - "react-dom": "^17.0.2 || ^18.0.0" - } - }, - "dashboards/node_modules/@tanstack/hotkeys": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@tanstack/hotkeys/-/hotkeys-0.8.0.tgz", - "integrity": "sha512-vqH7X9nb0MTJ/O08++dB5bP9jgj4+BIPOUu/U+6myG86lDsirZSVSobpq5UQpE7nBuk62i8eIYeOhd+OMl/UrA==", - "license": "MIT", - "dependencies": { - "@tanstack/store": "^0.11.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - } - }, - "dashboards/node_modules/@tanstack/store": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.11.0.tgz", - "integrity": "sha512-WlzzCt3xi0G6pCAJu1U+2jiECwabETDpQDi3hfkFZvJii9AuZqEKbOiVarX1/bWhTNjU486yQtJCCasi/0q+Cw==", - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" + "@tanstack/react-query": "^5.101.4", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" } }, "dashboards/node_modules/yaml": { @@ -195,9 +169,9 @@ }, "peerDependencies": { "@mui/material": "^6.1.10", - "@tanstack/react-query": "^4.39.1", - "react": "^17.0.2 || ^18.0.0", - "react-dom": "^17.0.2 || ^18.0.0" + "@tanstack/react-query": "^5.101.4", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" } }, "node_modules/@adobe/css-tools": { @@ -2612,9 +2586,9 @@ } }, "node_modules/@mui/private-theming/node_modules/react-is": { - "version": "19.2.6", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.6.tgz", - "integrity": "sha512-XjBR15BhXuylgWGuslhDKqlSayuqvqBX91BP8pauG8kd1zY8kotkNWbXksTCNRarse4kuGbe2kIY05ARtwNIvw==", + "version": "19.2.8", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.8.tgz", + "integrity": "sha512-s5un28nYxKJw5gvUHyW5PCC28CvBqLu9r3cWgzHT4Vo/5fqqkFcdRYsGcKf50WMPpjjFZS5d76fn3YCo2njKwQ==", "license": "MIT", "peer": true }, @@ -2795,9 +2769,9 @@ } }, "node_modules/@mui/utils/node_modules/react-is": { - "version": "19.2.6", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.6.tgz", - "integrity": "sha512-XjBR15BhXuylgWGuslhDKqlSayuqvqBX91BP8pauG8kd1zY8kotkNWbXksTCNRarse4kuGbe2kIY05ARtwNIvw==", + "version": "19.2.8", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.8.tgz", + "integrity": "sha512-s5un28nYxKJw5gvUHyW5PCC28CvBqLu9r3cWgzHT4Vo/5fqqkFcdRYsGcKf50WMPpjjFZS5d76fn3YCo2njKwQ==", "license": "MIT" }, "node_modules/@mui/x-date-pickers": { @@ -4048,12 +4022,12 @@ } }, "node_modules/@tanstack/hotkeys": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/@tanstack/hotkeys/-/hotkeys-0.7.1.tgz", - "integrity": "sha512-YHVO1z6wnvUCu7bg870Kv5k2D+FIuIOSIcbN0dAmTTsJ3mLMDLwcTVx0qVaq+SZp1B514JJTqGVstvUp85yIpQ==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@tanstack/hotkeys/-/hotkeys-0.8.0.tgz", + "integrity": "sha512-vqH7X9nb0MTJ/O08++dB5bP9jgj4+BIPOUu/U+6myG86lDsirZSVSobpq5UQpE7nBuk62i8eIYeOhd+OMl/UrA==", "license": "MIT", "dependencies": { - "@tanstack/store": "^0.9.3" + "@tanstack/store": "^0.11.0" }, "engines": { "node": ">=18" @@ -4080,9 +4054,9 @@ } }, "node_modules/@tanstack/query-core": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-4.44.0.tgz", - "integrity": "sha512-swSgb7OiPRR3UuIL7NuDrZNSMGmQD+wdtHxPD7j60SvBEnxbXurl5XOirtGEX2gm2hbK6mC8kMV1I+uO3l0UOw==", + "version": "5.101.4", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.101.4.tgz", + "integrity": "sha512-gNwcvOJcRbLWPOLG/2OBm+zM+Yv+MKsXKEOWC57USuZDEsI71hEErQsiEGx5wX9rzWWkfwM0fVSPoiIFSsxfiw==", "license": "MIT", "funding": { "type": "github", @@ -4090,13 +4064,13 @@ } }, "node_modules/@tanstack/react-hotkeys": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/@tanstack/react-hotkeys/-/react-hotkeys-0.9.1.tgz", - "integrity": "sha512-/qdQUUVkYAHAWRGdFXqFgWpW/S+a6OzkvxWNWKLLDHQODJlO6EPBPa073CglaafBfzig58RK07T09ET+NnZhpg==", + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@tanstack/react-hotkeys/-/react-hotkeys-0.10.0.tgz", + "integrity": "sha512-GwOSndI5j3qBVYTmgP1mYyRTnlxb2MS17cwGlsavSxMQPSnmDf+m3LzMIpRMs+3zzQMjg3cYhHsFYizYlFI2tw==", "license": "MIT", "dependencies": { - "@tanstack/hotkeys": "0.7.1", - "@tanstack/react-store": "^0.9.3" + "@tanstack/hotkeys": "0.8.0", + "@tanstack/react-store": "^0.11.0" }, "engines": { "node": ">=18" @@ -4111,39 +4085,28 @@ } }, "node_modules/@tanstack/react-query": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-4.44.0.tgz", - "integrity": "sha512-RuIqHYrS98LrK/8kJJOJMMSQ/BCpojwsXDh7p0fBmp38ZOz6dlk+uyFRRusH+V+t3POoCsDOQ2zhomEYOeReXw==", + "version": "5.101.4", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.101.4.tgz", + "integrity": "sha512-yRg2pfOCxIs4ZJW3XYYHU/WgtD04FHSnfHlpRT7h7pR77hwkdRG4wxbKe4aq6P0RvXUTBSQpQeadS1SUYUe+KA==", "license": "MIT", "dependencies": { - "@tanstack/query-core": "4.44.0", - "use-sync-external-store": "^1.6.0" + "@tanstack/query-core": "5.101.4" }, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", - "react-native": "*" - }, - "peerDependenciesMeta": { - "react-dom": { - "optional": true - }, - "react-native": { - "optional": true - } + "react": "^18 || ^19" } }, "node_modules/@tanstack/react-store": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/@tanstack/react-store/-/react-store-0.9.3.tgz", - "integrity": "sha512-y2iHd/N9OkoQbFJLUX1T9vbc2O9tjH0pQRgTcx1/Nz4IlwLvkgpuglXUx+mXt0g5ZDFrEeDnONPqkbfxXJKwRg==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@tanstack/react-store/-/react-store-0.11.0.tgz", + "integrity": "sha512-tX4YXh3PDkmpvGQWkWqKpzs/MSqbtuwY9dWdWhtV9Q50PmO+jOkUKIWIX4G85dwt7lxdHLXsiaEKPdKmC8F41w==", "license": "MIT", "dependencies": { - "@tanstack/store": "0.9.3", + "@tanstack/store": "0.11.0", "use-sync-external-store": "^1.6.0" }, "funding": { @@ -4176,9 +4139,9 @@ } }, "node_modules/@tanstack/store": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.9.3.tgz", - "integrity": "sha512-8reSzl/qGWGGVKhBoxXPMWzATSbZLZFWhwBAFO9NAyp0TxzfBP0mIrGb8CP8KrQTmvzXlR/vFPPUrHTLBGyFyw==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.11.0.tgz", + "integrity": "sha512-WlzzCt3xi0G6pCAJu1U+2jiECwabETDpQDi3hfkFZvJii9AuZqEKbOiVarX1/bWhTNjU486yQtJCCasi/0q+Cw==", "license": "MIT", "funding": { "type": "github", @@ -4643,23 +4606,22 @@ "license": "MIT" }, "node_modules/@types/react": { - "version": "18.3.29", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.29.tgz", - "integrity": "sha512-ch0qJdr2JY0r04NXSprbK6TXOgnaJ1Tz23fm5W+z0/CBah6BSBc3n96h7K9GOtwh0HrilNWHIBzE1Ko4Dcw/Wg==", + "version": "19.2.17", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.17.tgz", + "integrity": "sha512-MXfmqaVPEVgkBT/aY0aGCkRWWtByiYQXo3xdQ8r5RzuFrPiRn8Gar2tQdXSUQ2GKV3bkXckek89V8wQBY2Q/Aw==", "license": "MIT", "dependencies": { - "@types/prop-types": "*", "csstype": "^3.2.2" } }, "node_modules/@types/react-dom": { - "version": "18.3.7", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz", - "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==", + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz", + "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", "dev": true, "license": "MIT", "peerDependencies": { - "@types/react": "^18.0.0" + "@types/react": "^19.2.0" } }, "node_modules/@types/react-grid-layout": { @@ -12565,13 +12527,10 @@ "license": "MIT" }, "node_modules/react": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", - "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "version": "19.2.8", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.8.tgz", + "integrity": "sha512-PWaYA1L/q9u2u7xYQi+Y3L3Yfnie7XyLeaJICV1MGD6LprsBxcAqGjYyr0eY3p+QdsA+x/Irkt4Qif8D63+Sbw==", "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0" - }, "engines": { "node": ">=0.10.0" } @@ -12587,22 +12546,21 @@ } }, "node_modules/react-dom": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", - "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "version": "19.2.8", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.8.tgz", + "integrity": "sha512-rVprimfGBG3DR+Tq0IQG2DT5PxKth1WIGDmj5yPmlzr4YBe7uyE+Du4oVqTDXZSHGGGXRtTJEGSSePyQCMBglQ==", "license": "MIT", "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.2" + "scheduler": "^0.27.0" }, "peerDependencies": { - "react": "^18.3.1" + "react": "^19.2.8" } }, "node_modules/react-draggable": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/react-draggable/-/react-draggable-4.5.0.tgz", - "integrity": "sha512-VC+HBLEZ0XJxnOxVAZsdRi8rD04Iz3SiiKOoYzamjylUcju/hP9np/aZdLHf/7WOD268WMoNJMvYfB5yAK45cw==", + "version": "4.7.1", + "resolved": "https://registry.npmjs.org/react-draggable/-/react-draggable-4.7.1.tgz", + "integrity": "sha512-wa3tzfFnYt3yaZLuyU58fl1TNunfWfBekDgWhZA1+gb2jnp42wZ0ymuopR6M5kqDYmm4hKmzGlcKWjZf3Zb6RQ==", "license": "MIT", "dependencies": { "clsx": "^2.1.1", @@ -12701,9 +12659,9 @@ "license": "MIT" }, "node_modules/react-refresh": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.16.0.tgz", - "integrity": "sha512-FPvF2XxTSikpJxcr+bHut2H4gJ17+18Uy20D5/F+SKzFap62R3cM5wH6b8WN3LyGSYeQilLEcJcR1fjBSI2S1A==", + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.18.0.tgz", + "integrity": "sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==", "dev": true, "license": "MIT", "engines": { @@ -13093,13 +13051,10 @@ } }, "node_modules/scheduler": { - "version": "0.23.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", - "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0" - } + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "license": "MIT" }, "node_modules/schema-utils": { "version": "4.3.3", @@ -15487,9 +15442,9 @@ "@emotion/styled": "^11.14.1", "@hookform/resolvers": "^3.2.0", "@mui/material": "^6.1.10", - "@tanstack/react-query": "^4.39.1", - "react": "^17.0.2 || ^18.0.0", - "react-dom": "^17.0.2 || ^18.0.0" + "@tanstack/react-query": "^5.101.4", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" } } } diff --git a/package.json b/package.json index 7d5add98..5f24f7f5 100644 --- a/package.json +++ b/package.json @@ -27,15 +27,15 @@ "@swc/cli": "^0.8.1", "@swc/core": "^1.3.61", "@swc/jest": "^0.2.26", - "@tanstack/react-query": "^4.39.1", + "@tanstack/react-query": "^5.101.4", "@testing-library/dom": "^10.1.0", "@testing-library/jest-dom": "^5.16.4", - "@testing-library/react": "^16.0.0", + "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^13.5.0", "@types/jest": "^30.0.0", "@types/node": "^22.13.1", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", + "@types/react": "^19.2.17", + "@types/react-dom": "^19.1.7", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.18.0", "concurrently": "^10.0.3", @@ -50,9 +50,9 @@ "jest": "^30.4.2", "jest-environment-jsdom": "^30.4.1", "prettier": "^3.2.5", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-refresh": "^0.16.0", + "react": "^19.2.8", + "react-dom": "^19.2.8", + "react-refresh": "^0.18.0", "rimraf": "^5.0.5", "terser-webpack-plugin": "^5.3.11", "ts-node": "^10.9.2", diff --git a/plugin-system/package.json b/plugin-system/package.json index 7554c0cb..f8cbae79 100644 --- a/plugin-system/package.json +++ b/plugin-system/package.json @@ -46,9 +46,9 @@ "@emotion/styled": "^11.14.1", "@hookform/resolvers": "^3.2.0", "@mui/material": "^6.1.10", - "@tanstack/react-query": "^4.39.1", - "react": "^17.0.2 || ^18.0.0", - "react-dom": "^17.0.2 || ^18.0.0" + "@tanstack/react-query": "^5.101.4", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" }, "files": [ "dist"