From b451eaeff160c4d39eb022186d8378c8108d6d52 Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Mon, 15 Jul 2024 00:12:28 +0800 Subject: [PATCH 1/4] Bump ag-grid to v32 --- package.json | 6 +++--- yarn.lock | 25 ++++++++++++++++--------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 23bbf5c098..d39051960f 100644 --- a/package.json +++ b/package.json @@ -42,8 +42,8 @@ "@tremor/react": "^1.8.2", "ace-builds": "^1.4.14", "acorn": "^8.9.0", - "ag-grid-community": "^31.0.0", - "ag-grid-react": "^31.0.0", + "ag-grid-community": "^32.0.2", + "ag-grid-react": "^32.0.2", "array-move": "^4.0.0", "browserfs": "^1.4.3", "classnames": "^2.3.2", @@ -100,6 +100,7 @@ "yareco": "^0.1.5" }, "devDependencies": { + "//": "See: https://github.com/facebook/react/issues/28313#issuecomment-2076798972, https://github.com/t3-oss/create-t3-turbo/issues/984#issuecomment-2076413457", "@babel/core": "^7.24.5", "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@babel/preset-typescript": "^7.24.1", @@ -142,7 +143,6 @@ "cross-env": "^7.0.3", "eslint": "^9.1.1", "eslint-plugin-react": "^7.34.1", - "//": "See: https://github.com/facebook/react/issues/28313#issuecomment-2076798972, https://github.com/t3-oss/create-t3-turbo/issues/984#issuecomment-2076413457", "eslint-plugin-react-hooks": "5.1.0-canary-cb151849e1-20240424", "eslint-plugin-react-refresh": "^0.4.6", "eslint-plugin-simple-import-sort": "^12.0.0", diff --git a/yarn.lock b/yarn.lock index 08bb6f6459..67889748d4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3764,17 +3764,24 @@ adjust-sourcemap-loader@^4.0.0: loader-utils "^2.0.0" regex-parser "^2.2.11" -ag-grid-community@31.1.1, ag-grid-community@^31.0.0: - version "31.1.1" - resolved "https://registry.yarnpkg.com/ag-grid-community/-/ag-grid-community-31.1.1.tgz#212fc3e358d4be1865bc4618f6d0d865faaed385" - integrity sha512-tiQZ7VQ07yJScTMIQpaYoUMPgiyXMwYDcwTxe4riRrcYGTg0e258XEihoPUZFejR60P1fYWMxdJaR2JUnyhGrg== +ag-charts-types@10.0.2: + version "10.0.2" + resolved "https://registry.yarnpkg.com/ag-charts-types/-/ag-charts-types-10.0.2.tgz#fe4d7aa3cdc4ba6f354d7b4bbf65818e242f2fd6" + integrity sha512-Nxo5slHOXlaeg0gRIsVnovAosQzzlYfWJtdDy0Aq/VvpJru/PJ+5i2c9aCyEhgRxhBjImsoegwkgRj7gNOWV6Q== -ag-grid-react@^31.0.0: - version "31.1.1" - resolved "https://registry.yarnpkg.com/ag-grid-react/-/ag-grid-react-31.1.1.tgz#196c078a89bf977e81d64e3948fa31e23dca46b2" - integrity sha512-aaDMSP8MGhoXL5M9c4UmhBClRlc3mEMMC0E0/1mhXU6bdiz0QxXT/xQtDe3DFC62VrtXVda9x20Lpj6p6Bfy8g== +ag-grid-community@32.0.2, ag-grid-community@^32.0.2: + version "32.0.2" + resolved "https://registry.yarnpkg.com/ag-grid-community/-/ag-grid-community-32.0.2.tgz#a69d99ee944fa07ab5faa103f6f930fbd2d4b432" + integrity sha512-vLJJUjnsG9hNK41GNuW2EHu1W264kxA/poOpcX4kmyrjU5Uzvelsbj3HdKAO9POV28iqyRdKGYfAWdn8QzA7KA== dependencies: - ag-grid-community "31.1.1" + ag-charts-types "10.0.2" + +ag-grid-react@^32.0.2: + version "32.0.2" + resolved "https://registry.yarnpkg.com/ag-grid-react/-/ag-grid-react-32.0.2.tgz#675b477f23f1f1338af0c15f174f9da3c68baec9" + integrity sha512-IWYsoyJ/Z763rWbE5/9SaT1n5xwIKrm/QzOG14l7i8z5J6JdJwfV0aQFATmEE8Xws2H48vlLcLdW1cv4hwV3eg== + dependencies: + ag-grid-community "32.0.2" prop-types "^15.8.1" agent-base@6, agent-base@^6.0.2: From c6e39db383387aa51828e79c42400de3949df3a9 Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Mon, 15 Jul 2024 00:14:15 +0800 Subject: [PATCH 2/4] Bump TS and mantine hooks --- package.json | 4 ++-- yarn.lock | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index d39051960f..528430b23b 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@blueprintjs/datetime2": "^2.3.3", "@blueprintjs/icons": "^5.9.0", "@blueprintjs/select": "^5.1.3", - "@mantine/hooks": "^7.7.0", + "@mantine/hooks": "^7.11.2", "@octokit/rest": "^20.0.0", "@reduxjs/toolkit": "^1.9.7", "@sentry/browser": "^7.57.0", @@ -162,7 +162,7 @@ "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "timers-browserify": "^2.0.12", - "typescript": "^5.5.2", + "typescript": "^5.5.3", "typescript-eslint": "^7.14.1", "url": "^0.11.1", "webpack-bundle-analyzer": "^4.9.0" diff --git a/yarn.lock b/yarn.lock index 67889748d4..6305cc15ec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1983,10 +1983,10 @@ resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== -"@mantine/hooks@^7.7.0": - version "7.7.1" - resolved "https://registry.yarnpkg.com/@mantine/hooks/-/hooks-7.7.1.tgz#04fd8999fe109615d064bf42a8ff04435c93b927" - integrity sha512-3YH2FzKMlg840tb04PBDcDXyBCi9puFOxEBVgc6Y/pN6KFqfOoAnQE/YvgOtwSNXZlbTWyDlQoYj+3je7pA7og== +"@mantine/hooks@^7.11.2": + version "7.11.2" + resolved "https://registry.yarnpkg.com/@mantine/hooks/-/hooks-7.11.2.tgz#5629dff7ae7253f94e819c26b3b1adf97e68fd48" + integrity sha512-jhyVe/sbDEG2U8rr2lMecUPgQxcfr5hh9HazqGfkS7ZRIMDO7uJ947yAcTMGGkp5Lxtt5TBFt1Cb6tiB2/1agg== "@mapbox/node-pre-gyp@^1.0.0": version "1.0.10" @@ -13465,10 +13465,10 @@ typescript-tuple@^2.2.1: dependencies: typescript-compare "^0.0.2" -typescript@^5.5.2: - version "5.5.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.2.tgz#c26f023cb0054e657ce04f72583ea2d85f8d0507" - integrity sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew== +typescript@^5.5.3: + version "5.5.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.3.tgz#e1b0a3c394190838a0b168e771b0ad56a0af0faa" + integrity sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ== unbox-primitive@^1.0.2: version "1.0.2" From 9e6bd65c1542b6876f7ebfa5848674a7dfb88de5 Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Mon, 15 Jul 2024 00:14:47 +0800 Subject: [PATCH 3/4] Restore comment ordering --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 528430b23b..7ad19f04f5 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,6 @@ "yareco": "^0.1.5" }, "devDependencies": { - "//": "See: https://github.com/facebook/react/issues/28313#issuecomment-2076798972, https://github.com/t3-oss/create-t3-turbo/issues/984#issuecomment-2076413457", "@babel/core": "^7.24.5", "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@babel/preset-typescript": "^7.24.1", @@ -143,6 +142,7 @@ "cross-env": "^7.0.3", "eslint": "^9.1.1", "eslint-plugin-react": "^7.34.1", + "//": "See: https://github.com/facebook/react/issues/28313#issuecomment-2076798972, https://github.com/t3-oss/create-t3-turbo/issues/984#issuecomment-2076413457", "eslint-plugin-react-hooks": "5.1.0-canary-cb151849e1-20240424", "eslint-plugin-react-refresh": "^0.4.6", "eslint-plugin-simple-import-sort": "^12.0.0", From 24800655b55db36c6121db931ad1bf124be89c21 Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Mon, 15 Jul 2024 00:22:42 +0800 Subject: [PATCH 4/4] Fix breaking changes --- src/commons/sourceRecorder/SourceRecorderTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commons/sourceRecorder/SourceRecorderTable.tsx b/src/commons/sourceRecorder/SourceRecorderTable.tsx index cd4d33171b..404a231d97 100644 --- a/src/commons/sourceRecorder/SourceRecorderTable.tsx +++ b/src/commons/sourceRecorder/SourceRecorderTable.tsx @@ -191,7 +191,7 @@ class SourcecastTable extends React.Component { this.setState({ filterValue: changeVal }); if (this.gridApi) { - this.gridApi.setQuickFilter(changeVal); + this.gridApi.setGridOption('quickFilterText', changeVal); } };