diff --git a/lib/find-in-tree.js b/lib/find-in-tree.js index e6b45450..8ce4486a 100644 --- a/lib/find-in-tree.js +++ b/lib/find-in-tree.js @@ -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); } diff --git a/package.json b/package.json index f5804af3..a90892e2 100644 --- a/package.json +++ b/package.json @@ -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",