Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

underarm

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

underarm - npm Package Compare versions

Comparing version
0.2.2
to
0.3.0
+3
-3
lib/async.js

@@ -158,11 +158,11 @@ "use strict";

// Returns a new collection of the empty value of the from collection
_r.sequence.register(function(xf, from){
_r.toArray.register(function(xf, from){
if(isAsync(xf)){
return Prom
.all([from])
.then(_sequence(xf));
.then(_toArray(xf));
}
});
function _sequence(xf){
function _toArray(xf){
return function(from){

@@ -169,0 +169,0 @@ from = from[0];

{
"name": "underarm",
"version": "0.2.2",
"version": "0.3.0",
"description": "Underscore Transducer meets Reactive Programming",

@@ -24,3 +24,3 @@ "main": "underarm.js",

"dependencies": {
"underscore-transducer": "~0.3.2",
"underscore-transducer": "~0.4.0",
"transduce-async": "~0.1.1",

@@ -33,3 +33,3 @@ "any-promise": "~0.1.0",

"uglify-js": "~2.4.16",
"browserify": "~8.0.2",
"browserify": "~8.0.3",
"bundle-collapser": "~1.1.1",

@@ -36,0 +36,0 @@ "transduce-then": "~0.1.1",

@@ -51,4 +51,4 @@ # Underarm

##### sequence(xf?, from?)
Like a normal `sequence` when chained transformation not `async`. If `async`, `coll` can be a Promise and `xf` can be an async transducer.
##### toArray(xf?, from?)
Like a normal `toArray` when chained transformation not `async`. If `async`, `coll` can be a Promise and `xf` can be an async transducer.

@@ -55,0 +55,0 @@ ##### defer()