Skip to content

Commit f6672f8

Browse files
authored
Update jsonpath-plus to version 10.0.6 (#437)
1 parent f517042 commit f6672f8

File tree

3 files changed

+25
-6
lines changed

3 files changed

+25
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@grafana/ui": "10.4.2",
3737
"dayjs": "^1.10.4",
3838
"jsonata": "^1.8.7",
39-
"jsonpath-plus": "^6.0.1",
39+
"jsonpath-plus": "^10.0.6",
4040
"memory-cache": "^0.2.0",
4141
"moment": "2.29.4",
4242
"react": "17.0.2",

src/jsonpath.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import { JSONPath, JSONPathOptions } from 'jsonpath-plus';
33
export function jp(options: JSONPathOptions): any {
44
return JSONPath({
55
...options,
6-
preventEval: true,
6+
eval: false,
77
});
88
}

yarn.lock

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,16 @@
14201420
"@jridgewell/resolve-uri" "^3.1.0"
14211421
"@jridgewell/sourcemap-codec" "^1.4.14"
14221422

1423+
"@jsep-plugin/assignment@^1.2.1":
1424+
version "1.2.1"
1425+
resolved "https://registry.yarnpkg.com/@jsep-plugin/assignment/-/assignment-1.2.1.tgz#07277bdd7862451a865d391e2142efba33f46c9b"
1426+
integrity sha512-gaHqbubTi29aZpVbBlECRpmdia+L5/lh2BwtIJTmtxdbecEyyX/ejAOg7eQDGNvGOUmPY7Z2Yxdy9ioyH/VJeA==
1427+
1428+
"@jsep-plugin/regex@^1.0.3":
1429+
version "1.0.3"
1430+
resolved "https://registry.yarnpkg.com/@jsep-plugin/regex/-/regex-1.0.3.tgz#3aeaa2e5fa45d89de116aeafbfa41c95935b7f6d"
1431+
integrity sha512-XfZgry4DwEZvSFtS/6Y+R48D7qJYJK6R9/yJFyUFHCIUMEEHuJ4X95TDgJp5QkmzfLYvapMPzskV5HpIDrREug==
1432+
14231433
"@leeoniya/ufuzzy@1.0.14":
14241434
version "1.0.14"
14251435
resolved "https://registry.yarnpkg.com/@leeoniya/ufuzzy/-/ufuzzy-1.0.14.tgz#01572c0de9cfa1420cf6ecac76dd59db5ebd1337"
@@ -5886,6 +5896,11 @@ jsdom@^20.0.0:
58865896
ws "^8.11.0"
58875897
xml-name-validator "^4.0.0"
58885898

5899+
jsep@^1.3.9:
5900+
version "1.3.9"
5901+
resolved "https://registry.yarnpkg.com/jsep/-/jsep-1.3.9.tgz#8ce42df80ee9c1b39e52d0dd062a465342f35440"
5902+
integrity sha512-i1rBX5N7VPl0eYb6+mHNp52sEuaS2Wi8CDYx1X5sn9naevL78+265XJqy1qENEk7mRKwS06NHpUqiBwR7qeodw==
5903+
58895904
jsesc@^2.5.1:
58905905
version "2.5.2"
58915906
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
@@ -5945,10 +5960,14 @@ jsonfile@^6.0.1:
59455960
optionalDependencies:
59465961
graceful-fs "^4.1.6"
59475962

5948-
jsonpath-plus@^6.0.1:
5949-
version "6.0.1"
5950-
resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-6.0.1.tgz#9a3e16cedadfab07a3d8dc4e8cd5df4ed8f49c4d"
5951-
integrity sha512-EvGovdvau6FyLexFH2OeXfIITlgIbgZoAZe3usiySeaIDm5QS+A10DKNpaPBBqqRSZr2HN6HVNXxtwUAr2apEw==
5963+
jsonpath-plus@^10.0.6:
5964+
version "10.0.6"
5965+
resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-10.0.6.tgz#09c4db1670a533c3022ec3f59df61a33de975a00"
5966+
integrity sha512-Q0KCash90S0WQnPnE/W0uVXQSww4NkO34COfs+gbq0fk+Kv03FYpZ+uU2I7soLLaS4d/ywsm9PxplZsTMmfBmg==
5967+
dependencies:
5968+
"@jsep-plugin/assignment" "^1.2.1"
5969+
"@jsep-plugin/regex" "^1.0.3"
5970+
jsep "^1.3.9"
59525971

59535972
"jsx-ast-utils@^2.4.1 || ^3.0.0":
59545973
version "3.3.5"

0 commit comments

Comments
 (0)