Skip to content

Commit de67734

Browse files
Update dependency @react-awesome-query-builder/ui to v6.5.2 (grafana#88630)
* Update dependency @react-awesome-query-builder/ui to v6.5.2 * fix type errors --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ashley Harrison <[email protected]>
1 parent 9f95841 commit de67734

File tree

4 files changed

+63
-29
lines changed

4 files changed

+63
-29
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
"@react-aria/focus": "3.17.1",
282282
"@react-aria/overlays": "3.22.1",
283283
"@react-aria/utils": "3.24.1",
284-
"@react-awesome-query-builder/ui": "6.4.2",
284+
"@react-awesome-query-builder/ui": "6.5.2",
285285
"@reduxjs/toolkit": "2.2.5",
286286
"@testing-library/react-hooks": "^8.0.1",
287287
"@visx/event": "3.3.0",

packages/grafana-sql/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@grafana/experimental": "1.7.11",
2121
"@grafana/runtime": "11.0.0",
2222
"@grafana/ui": "11.0.0",
23-
"@react-awesome-query-builder/ui": "6.4.2",
23+
"@react-awesome-query-builder/ui": "6.5.2",
2424
"immutable": "4.3.6",
2525
"lodash": "4.17.21",
2626
"react": "18.2.0",

packages/grafana-sql/src/components/visual-query-builder/AwesomeQueryBuilder.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import {
2-
AnyObject,
32
BasicConfig,
43
Config,
54
JsonTree,
65
Operator,
6+
OperatorOptionsI,
77
Settings,
88
SimpleField,
99
SqlFormatOperator,
@@ -262,7 +262,7 @@ function getCustomOperators(config: BasicConfig) {
262262
valueSrc: ValueSource,
263263
valueType: string,
264264
opDef: Operator,
265-
operatorOptions: AnyObject,
265+
operatorOptions: OperatorOptionsI,
266266
fieldDef: SimpleField
267267
) => {
268268
return sqlFormatInOpOrNoop()(
@@ -292,7 +292,7 @@ function getCustomOperators(config: BasicConfig) {
292292
valueSrc: ValueSource,
293293
valueType: string,
294294
opDef: Operator,
295-
operatorOptions: AnyObject,
295+
operatorOptions: OperatorOptionsI,
296296
fieldDef: SimpleField
297297
) => {
298298
return sqlFormatNotInOpOrNoop()(

yarn.lock

+58-24
Original file line numberDiff line numberDiff line change
@@ -1559,7 +1559,7 @@ __metadata:
15591559
languageName: node
15601560
linkType: hard
15611561

1562-
"@babel/runtime@npm:7.24.6, @babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.1, @babel/runtime@npm:^7.11.1, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.0, @babel/runtime@npm:^7.12.1, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.14.0, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.0, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.0, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.23.9, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2":
1562+
"@babel/runtime@npm:7.24.6, @babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.1, @babel/runtime@npm:^7.11.1, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.0, @babel/runtime@npm:^7.12.1, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.14.0, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.0, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.0, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.23.9, @babel/runtime@npm:^7.24.5, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2":
15631563
version: 7.24.6
15641564
resolution: "@babel/runtime@npm:7.24.6"
15651565
dependencies:
@@ -3558,7 +3558,7 @@ __metadata:
35583558
"@grafana/runtime": "npm:11.0.0"
35593559
"@grafana/tsconfig": "npm:^1.3.0-rc1"
35603560
"@grafana/ui": "npm:11.0.0"
3561-
"@react-awesome-query-builder/ui": "npm:6.4.2"
3561+
"@react-awesome-query-builder/ui": "npm:6.5.2"
35623562
"@testing-library/dom": "npm:10.0.0"
35633563
"@testing-library/jest-dom": "npm:^6.1.2"
35643564
"@testing-library/react": "npm:15.0.2"
@@ -5763,35 +5763,37 @@ __metadata:
57635763
languageName: node
57645764
linkType: hard
57655765

5766-
"@react-awesome-query-builder/core@npm:^6.4.2":
5767-
version: 6.4.2
5768-
resolution: "@react-awesome-query-builder/core@npm:6.4.2"
5766+
"@react-awesome-query-builder/core@npm:^6.5.2":
5767+
version: 6.5.2
5768+
resolution: "@react-awesome-query-builder/core@npm:6.5.2"
57695769
dependencies:
5770+
"@babel/runtime": "npm:^7.24.5"
57705771
clone: "npm:^2.1.2"
5771-
immutable: "npm:^3.8.2"
5772+
i18next: "npm:^23.11.5"
5773+
immutable: "npm:^4.3.6"
57725774
json-logic-js: "npm:^2.0.2"
57735775
lodash: "npm:^4.17.21"
5774-
moment: "npm:^2.29.4"
5776+
moment: "npm:^2.30.1"
57755777
spel2js: "npm:^0.2.8"
57765778
sqlstring: "npm:^2.3.3"
5777-
checksum: 10/0bffa978d7f2608ee288ce2e6f054176cb17944a4b2ac76ef386b143cf90e8234fba4295e15e4bd1eb380ce127b50a8e06372dd6d7a3e58c18acd7c5a64c3557
5779+
checksum: 10/a9cdea1aa7c60c5f4f515223cdb5e7531fe91b2f1a1a936d21cee425b3a5125b0eb1a627d3ba209ee243e43696abd0287c98957d53056ab2614768a5429826ea
57785780
languageName: node
57795781
linkType: hard
57805782

5781-
"@react-awesome-query-builder/ui@npm:6.4.2":
5782-
version: 6.4.2
5783-
resolution: "@react-awesome-query-builder/ui@npm:6.4.2"
5783+
"@react-awesome-query-builder/ui@npm:6.5.2":
5784+
version: 6.5.2
5785+
resolution: "@react-awesome-query-builder/ui@npm:6.5.2"
57845786
dependencies:
5785-
"@react-awesome-query-builder/core": "npm:^6.4.2"
5786-
classnames: "npm:^2.3.1"
5787+
"@react-awesome-query-builder/core": "npm:^6.5.2"
5788+
classnames: "npm:^2.5.1"
57875789
lodash: "npm:^4.17.21"
5788-
prop-types: "npm:^15.7.2"
5789-
react-redux: "npm:^7.2.2"
5790-
redux: "npm:^4.2.0"
5790+
prop-types: "npm:^15.8.1"
5791+
react-redux: "npm:^8.1.3"
5792+
redux: "npm:^4.2.1"
57915793
peerDependencies:
57925794
react: ^16.8.4 || ^17.0.1 || ^18.0.0
57935795
react-dom: ^16.8.4 || ^17.0.1 || ^18.0.0
5794-
checksum: 10/36dfc21caeb3d6db4c044fdb8913d8c5ff38738baa0d81f9123048d7ddcc9f6e5e130d1550257faf0373a118e8deb0dfb2f5b17e46da6f3a28483454b19890f0
5796+
checksum: 10/4b5514db75d7198a520190309604aca9956ef40e167764b2c792b0ad71ef6304068276703713d1d5420cd7fee872cd19f7537c89bccb7f68e30e8357972be276
57955797
languageName: node
57965798
linkType: hard
57975799

@@ -8361,7 +8363,7 @@ __metadata:
83618363
languageName: node
83628364
linkType: hard
83638365

8364-
"@types/hoist-non-react-statics@npm:3.3.5, @types/hoist-non-react-statics@npm:^3.3.0":
8366+
"@types/hoist-non-react-statics@npm:3.3.5, @types/hoist-non-react-statics@npm:^3.3.0, @types/hoist-non-react-statics@npm:^3.3.1":
83658367
version: 3.3.5
83668368
resolution: "@types/hoist-non-react-statics@npm:3.3.5"
83678369
dependencies:
@@ -11739,7 +11741,7 @@ __metadata:
1173911741
languageName: node
1174011742
linkType: hard
1174111743

11742-
"classnames@npm:2.5.1, classnames@npm:2.x, classnames@npm:^2.2.1, classnames@npm:^2.2.5, classnames@npm:^2.2.6, classnames@npm:^2.3.1, classnames@npm:^2.3.2":
11744+
"classnames@npm:2.5.1, classnames@npm:2.x, classnames@npm:^2.2.1, classnames@npm:^2.2.5, classnames@npm:^2.2.6, classnames@npm:^2.3.1, classnames@npm:^2.3.2, classnames@npm:^2.5.1":
1174311745
version: 2.5.1
1174411746
resolution: "classnames@npm:2.5.1"
1174511747
checksum: 10/58eb394e8817021b153bb6e7d782cfb667e4ab390cb2e9dac2fc7c6b979d1cc2b2a733093955fc5c94aa79ef5c8c89f11ab77780894509be6afbb91dddd79d15
@@ -16713,7 +16715,7 @@ __metadata:
1671316715
"@react-aria/focus": "npm:3.17.1"
1671416716
"@react-aria/overlays": "npm:3.22.1"
1671516717
"@react-aria/utils": "npm:3.24.1"
16716-
"@react-awesome-query-builder/ui": "npm:6.4.2"
16718+
"@react-awesome-query-builder/ui": "npm:6.5.2"
1671716719
"@react-types/button": "npm:3.9.4"
1671816720
"@react-types/menu": "npm:3.9.9"
1671916721
"@react-types/overlays": "npm:3.8.7"
@@ -17713,7 +17715,7 @@ __metadata:
1771317715
languageName: node
1771417716
linkType: hard
1771517717

17716-
"i18next@npm:^23.0.0, i18next@npm:^23.5.1":
17718+
"i18next@npm:^23.0.0, i18next@npm:^23.11.5, i18next@npm:^23.5.1":
1771717719
version: 23.11.5
1771817720
resolution: "i18next@npm:23.11.5"
1771917721
dependencies:
@@ -17802,7 +17804,7 @@ __metadata:
1780217804
languageName: node
1780317805
linkType: hard
1780417806

17805-
"immutable@npm:4.3.6, immutable@npm:^4.0.0":
17807+
"immutable@npm:4.3.6, immutable@npm:^4.0.0, immutable@npm:^4.3.6":
1780617808
version: 4.3.6
1780717809
resolution: "immutable@npm:4.3.6"
1780817810
checksum: 10/59fedb67f26e265035616b27e33ef90b53b434cf76fb09212ec2d6ae32ee8d2fe2641e6dc32dbc78498c521fbf5f72c6740d39affba63a0a36a3884272371857
@@ -21679,7 +21681,7 @@ __metadata:
2167921681
languageName: node
2168021682
linkType: hard
2168121683

21682-
"moment@npm:2.30.1, moment@npm:2.x, moment@npm:^2.20.1, moment@npm:^2.29.4":
21684+
"moment@npm:2.30.1, moment@npm:2.x, moment@npm:^2.20.1, moment@npm:^2.29.4, moment@npm:^2.30.1":
2168321685
version: 2.30.1
2168421686
resolution: "moment@npm:2.30.1"
2168521687
checksum: 10/ae42d876d4ec831ef66110bdc302c0657c664991e45cf2afffc4b0f6cd6d251dde11375c982a5c0564ccc0fa593fc564576ddceb8c8845e87c15f58aa6baca69
@@ -25072,7 +25074,7 @@ __metadata:
2507225074
languageName: node
2507325075
linkType: hard
2507425076

25075-
"react-redux@npm:^7.2.0, react-redux@npm:^7.2.2":
25077+
"react-redux@npm:^7.2.0":
2507625078
version: 7.2.8
2507725079
resolution: "react-redux@npm:7.2.8"
2507825080
dependencies:
@@ -25093,6 +25095,38 @@ __metadata:
2509325095
languageName: node
2509425096
linkType: hard
2509525097

25098+
"react-redux@npm:^8.1.3":
25099+
version: 8.1.3
25100+
resolution: "react-redux@npm:8.1.3"
25101+
dependencies:
25102+
"@babel/runtime": "npm:^7.12.1"
25103+
"@types/hoist-non-react-statics": "npm:^3.3.1"
25104+
"@types/use-sync-external-store": "npm:^0.0.3"
25105+
hoist-non-react-statics: "npm:^3.3.2"
25106+
react-is: "npm:^18.0.0"
25107+
use-sync-external-store: "npm:^1.0.0"
25108+
peerDependencies:
25109+
"@types/react": ^16.8 || ^17.0 || ^18.0
25110+
"@types/react-dom": ^16.8 || ^17.0 || ^18.0
25111+
react: ^16.8 || ^17.0 || ^18.0
25112+
react-dom: ^16.8 || ^17.0 || ^18.0
25113+
react-native: ">=0.59"
25114+
redux: ^4 || ^5.0.0-beta.0
25115+
peerDependenciesMeta:
25116+
"@types/react":
25117+
optional: true
25118+
"@types/react-dom":
25119+
optional: true
25120+
react-dom:
25121+
optional: true
25122+
react-native:
25123+
optional: true
25124+
redux:
25125+
optional: true
25126+
checksum: 10/c4c7586cff3abeb784e73598d330f5301116a4e9942fd36895f2bccd8990001709c6c3ea1817edb75ee477470d6c67c9113e05a7f86b2b68a3950c9c29fe20cb
25127+
languageName: node
25128+
linkType: hard
25129+
2509625130
"react-refresh@npm:0.14.0":
2509725131
version: 0.14.0
2509825132
resolution: "react-refresh@npm:0.14.0"

0 commit comments

Comments
 (0)