mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-21 14:05:10 +03:00
update jsonpath-plus
This commit is contained in:
parent
dddb83e0d7
commit
fc7b9c52dc
|
@ -56,7 +56,7 @@
|
||||||
"javascript-stringify": "^2.1.0",
|
"javascript-stringify": "^2.1.0",
|
||||||
"jsan": "^3.1.14",
|
"jsan": "^3.1.14",
|
||||||
"jsondiffpatch": "^0.4.1",
|
"jsondiffpatch": "^0.4.1",
|
||||||
"jsonpath-plus": "github:80avin/JSONPath#3f59301410bad3a15e4e0f5160353d082db97faa",
|
"jsonpath-plus": "github:80avin/JSONPath#de0566aee8abf14b7f0f57e2711dbea06cf997fa",
|
||||||
"localforage": "^1.10.0",
|
"localforage": "^1.10.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
|
|
|
@ -48,7 +48,7 @@ export const filterByJsonPath = (obj: any, jsonpath: string) => {
|
||||||
json: obj,
|
json: obj,
|
||||||
path: jsonpath,
|
path: jsonpath,
|
||||||
resultType: 'path',
|
resultType: 'path',
|
||||||
evalType: 'safe',
|
eval: 'safe',
|
||||||
}).map((jp: string) => JSONPath.toPathArray(jp).slice(1)) as Path[];
|
}).map((jp: string) => JSONPath.toPathArray(jp).slice(1)) as Path[];
|
||||||
|
|
||||||
if (paths.some((path: Path) => !path.length)) return obj;
|
if (paths.some((path: Path) => !path.length)) return obj;
|
||||||
|
|
|
@ -1084,8 +1084,8 @@ importers:
|
||||||
specifier: ^0.4.1
|
specifier: ^0.4.1
|
||||||
version: 0.4.1
|
version: 0.4.1
|
||||||
jsonpath-plus:
|
jsonpath-plus:
|
||||||
specifier: github:80avin/JSONPath#3f59301410bad3a15e4e0f5160353d082db97faa
|
specifier: github:80avin/JSONPath#de0566aee8abf14b7f0f57e2711dbea06cf997fa
|
||||||
version: github.com/80avin/JSONPath/3f59301410bad3a15e4e0f5160353d082db97faa
|
version: github.com/80avin/JSONPath/de0566aee8abf14b7f0f57e2711dbea06cf997fa
|
||||||
localforage:
|
localforage:
|
||||||
specifier: ^1.10.0
|
specifier: ^1.10.0
|
||||||
version: 1.10.0
|
version: 1.10.0
|
||||||
|
@ -22310,8 +22310,8 @@ packages:
|
||||||
engines: {node: '>=12.20'}
|
engines: {node: '>=12.20'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
github.com/80avin/JSONPath/3f59301410bad3a15e4e0f5160353d082db97faa:
|
github.com/80avin/JSONPath/de0566aee8abf14b7f0f57e2711dbea06cf997fa:
|
||||||
resolution: {tarball: https://codeload.github.com/80avin/JSONPath/tar.gz/3f59301410bad3a15e4e0f5160353d082db97faa}
|
resolution: {tarball: https://codeload.github.com/80avin/JSONPath/tar.gz/de0566aee8abf14b7f0f57e2711dbea06cf997fa}
|
||||||
name: jsonpath-plus
|
name: jsonpath-plus
|
||||||
version: 7.2.0
|
version: 7.2.0
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user