update jsonpath-plus

This commit is contained in:
Avinash Thakur 2023-08-07 20:52:12 +05:30
parent dddb83e0d7
commit fc7b9c52dc
No known key found for this signature in database
GPG Key ID: 4877E61DE468FD05
3 changed files with 6 additions and 6 deletions

View File

@ -56,7 +56,7 @@
"javascript-stringify": "^2.1.0",
"jsan": "^3.1.14",
"jsondiffpatch": "^0.4.1",
"jsonpath-plus": "github:80avin/JSONPath#3f59301410bad3a15e4e0f5160353d082db97faa",
"jsonpath-plus": "github:80avin/JSONPath#de0566aee8abf14b7f0f57e2711dbea06cf997fa",
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"prop-types": "^15.8.1",

View File

@ -48,7 +48,7 @@ export const filterByJsonPath = (obj: any, jsonpath: string) => {
json: obj,
path: jsonpath,
resultType: 'path',
evalType: 'safe',
eval: 'safe',
}).map((jp: string) => JSONPath.toPathArray(jp).slice(1)) as Path[];
if (paths.some((path: Path) => !path.length)) return obj;

View File

@ -1084,8 +1084,8 @@ importers:
specifier: ^0.4.1
version: 0.4.1
jsonpath-plus:
specifier: github:80avin/JSONPath#3f59301410bad3a15e4e0f5160353d082db97faa
version: github.com/80avin/JSONPath/3f59301410bad3a15e4e0f5160353d082db97faa
specifier: github:80avin/JSONPath#de0566aee8abf14b7f0f57e2711dbea06cf997fa
version: github.com/80avin/JSONPath/de0566aee8abf14b7f0f57e2711dbea06cf997fa
localforage:
specifier: ^1.10.0
version: 1.10.0
@ -22310,8 +22310,8 @@ packages:
engines: {node: '>=12.20'}
dev: true
github.com/80avin/JSONPath/3f59301410bad3a15e4e0f5160353d082db97faa:
resolution: {tarball: https://codeload.github.com/80avin/JSONPath/tar.gz/3f59301410bad3a15e4e0f5160353d082db97faa}
github.com/80avin/JSONPath/de0566aee8abf14b7f0f57e2711dbea06cf997fa:
resolution: {tarball: https://codeload.github.com/80avin/JSONPath/tar.gz/de0566aee8abf14b7f0f57e2711dbea06cf997fa}
name: jsonpath-plus
version: 7.2.0
engines: {node: '>=12.0.0'}