@supercharge/collections
Advanced tools
Comparing version 1.12.0 to 1.12.1
# Changelog | ||
## [1.12.1](https://github.com/supercharge/collections/compare/v1.12.0...v1.12.1) - 2020-03-12 | ||
### Updated | ||
- `has`: uses `findSeries` instead of `find` to determine whether the condition matches | ||
## [1.12.0](https://github.com/supercharge/collections/compare/v1.11.0...v1.12.0) - 2020-02-11 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@supercharge/collections", | ||
"description": "Supercharge collections", | ||
"version": "1.12.0", | ||
"version": "1.12.1", | ||
"author": "Marcus PΓΆhls <marcus@futurestud.io>", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -273,4 +273,4 @@ 'use strict' | ||
const item = typeof callback === 'function' | ||
? await this.find(callback) | ||
: await this.find(item => item === callback) | ||
? await this.findSeries(callback) | ||
: await this.findSeries(item => item === callback) | ||
@@ -277,0 +277,0 @@ return !!item |
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
44701