Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mixinable

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mixinable - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="1.5.0"></a>
# [1.5.0](https://github.com/untool/mixinable/compare/v1.4.0...v1.5.0) (2018-03-07)
### Features
* add sync.sequence export ([b1d7390](https://github.com/untool/mixinable/commit/b1d7390))
<a name="1.4.0"></a>

@@ -7,0 +17,0 @@ # [1.4.0](https://github.com/untool/mixinable/compare/v1.3.0...v1.4.0) (2018-03-06)

'use strict';
// main export
module.exports = exports = function define (strategies) {

@@ -76,2 +78,5 @@ return function mixin () {

},
sequence: function sequenceSync () {
return ensureSync(exports.parallel.apply(null, arguments));
},
parallel: function parallelSync () {

@@ -78,0 +83,0 @@ return ensureSync(exports.parallel.apply(null, arguments));

2

package.json
{
"name": "mixinable",
"version": "1.4.0",
"version": "1.5.0",
"description": "Functional JavaScript Mixin Utility",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -24,2 +24,3 @@ 'use strict';

t.equal(typeof sync.pipe, 'function', 'sync.pipe is a function');
t.equal(typeof sync.sequence, 'function', 'sync.sequence is a function');
t.equal(typeof sync.compose, 'function', 'sync.compose is a function');

@@ -480,3 +481,4 @@ t.end();

baz: sync.pipe,
qux: sync.compose
qux: sync.sequence,
quz: sync.compose
})({

@@ -486,3 +488,4 @@ foo: function () { return Promise.resolve(); },

baz: function () { return Promise.resolve(); },
qux: function () { return Promise.resolve(); }
qux: function () { return Promise.resolve(); },
quz: function () { return Promise.resolve(); }
})();

@@ -492,3 +495,4 @@ t.throws(instance.foo, 'override throws if result is a promise');

t.throws(instance.baz, 'pipe throws if result is a promise');
t.throws(instance.qux, 'compose throws if result is a promise');
t.throws(instance.qux, 'sequence throws if result is a promise');
t.throws(instance.quz, 'compose throws if result is a promise');
t.end();

@@ -495,0 +499,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