From 9522e9296dcd6617d57c4aae8149d5bc072bb34d Mon Sep 17 00:00:00 2001 From: Jannis R Date: Sat, 15 Feb 2020 19:24:30 +0000 Subject: [PATCH] object-scan@11 --- lib/find-in-tree.js | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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",