@appliedblockchain/assert-combinators
Advanced tools
Comparing version 1.1.1 to 1.2.0
// @flow strict | ||
const mixed = require('./mixed') | ||
const mixed_ = require('./mixed') | ||
const rethrow = require('./helpers/rethrow') | ||
const array /*: <T>(a?: mixed => T) => (mixed => T[]) */ = /*:: <T> */ | ||
(a = mixed) => | ||
(a = mixed_) => | ||
value => { | ||
@@ -12,3 +12,3 @@ if (!Array.isArray(value)) { | ||
} | ||
if (a && a !== mixed) { | ||
if (a && a !== mixed_) { | ||
value.forEach((_, i) => { | ||
@@ -15,0 +15,0 @@ try { |
# Changelog | ||
## [v1.2.0](../../compare/v1.1.1...v1.2.0) (2020-04-13) | ||
* Making one-of strict. | ||
* Export one-of. | ||
* Don't collide with mixed. | ||
* Adding one-of. | ||
* Adding map. | ||
* Adding in. | ||
* Adding clone. | ||
* Adding sequence. | ||
* Bumping flow. | ||
* Updating changelog. | ||
## [v1.1.1](../../compare/v1.1.0...v1.1.1) (2020-04-02) | ||
@@ -4,0 +17,0 @@ |
@@ -17,2 +17,3 @@ // @flow strict | ||
const object = require('./object') | ||
const oneOf = require('./one-of') | ||
const or = require('./or') | ||
@@ -42,2 +43,3 @@ const predicate = require('./predicate') | ||
object, | ||
oneOf, | ||
or, | ||
@@ -44,0 +46,0 @@ predicate, |
{ | ||
"name": "@appliedblockchain/assert-combinators", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Assertion combinators.", | ||
@@ -18,3 +18,3 @@ "main": "index.js", | ||
"eslint-plugin-jest": "23.8.2", | ||
"flow-bin": "0.121.0", | ||
"flow-bin": "0.122.0", | ||
"jest": "25.2.4" | ||
@@ -21,0 +21,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
51859
39
680