object-scan@11

This commit is contained in:
Jannis R 2020-02-15 19:24:30 +00:00
parent d2bca32c77
commit 9522e9296d
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 1 additions and 2 deletions

View file

@ -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);
}

View file

@ -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",