mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
object-scan@11
This commit is contained in:
parent
d2bca32c77
commit
9522e9296d
2 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,6 @@ const scanner = require('object-scan')
|
|||
// selector: **[*].bar
|
||||
const findInTree = (tree, selector, onResult) => {
|
||||
scanner([selector], {
|
||||
joined: false,
|
||||
filterFn: (key, value, { parents }) => {
|
||||
onResult(value, parents[0], key);
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
"gps-distance": "0.0.4",
|
||||
"lodash": "^4.17.5",
|
||||
"luxon": "^1.3.0",
|
||||
"object-scan": "^10.0.9",
|
||||
"object-scan": "^11.0.1",
|
||||
"p-retry": "^4.1.0",
|
||||
"p-throttle": "^3.1.0",
|
||||
"pinkie-promise": "^2.0.1",
|
||||
|
|
Loading…
Add table
Reference in a new issue