Socket
Socket
Sign inDemoInstall

@appliedblockchain/assert-combinators

Package Overview
Dependencies
Maintainers
15
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appliedblockchain/assert-combinators - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

clone.js

6

array.js
// @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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc