object-scan
Advanced tools
Comparing version 16.0.0 to 16.0.1
{ | ||
"name": "object-scan", | ||
"version": "16.0.0", | ||
"version": "16.0.1", | ||
"description": "Traverse object hierarchies using matching and callbacks.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -973,3 +973,15 @@ # Object-Scan | ||
</details> | ||
<details><summary> <code>['**(^a$)']</code> <em>(star recursion matches roots)</em> </summary> | ||
<!-- eslint-disable no-undef --> | ||
```js | ||
const haystack = [0, [{ a: 1 }, 2]]; | ||
objectScan(['**(^a$)'], { | ||
joined: true, | ||
useArraySelector: false | ||
})(haystack); | ||
// => [ '[1][1]', '[1][0].a', '[1][0]', '[0]' ] | ||
``` | ||
</details> | ||
## Internals | ||
@@ -976,0 +988,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60727
1000