🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

fff-js

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fff-js - npm Package Compare versions

Comparing version
0.0.6
to
0.0.7
+0
-1
fff.js

@@ -38,3 +38,2 @@ /**

export { default as wrap } from './general/wrap';
export { default as unwrap } from './general/unwrap';
export { default as find } from './general/find';

@@ -41,0 +40,0 @@ export { default as first } from './general/first';

+2
-2

@@ -5,3 +5,3 @@ import curry from "./curry";

import go from "./go";
import unwrap from "./unwrap";
import first from "./first";

@@ -13,4 +13,4 @@ export default curry(function find(f, iter) {

takeFirst,
unwrap
first
);
});
import toIter from "./toIter";
import call from "./call";
import unwrap from "./unwrap";
import first from "./first";
import takeFirst from "./takeFirst";

@@ -9,3 +9,3 @@ import isPromise from "./isPromise";

if (arguments.length == 1) return (..._) => reduce(f, ..._);
if (arguments.length == 2) return reduce(f, unwrap(takeFirst(iter = toIter(acc))), iter);
if (arguments.length == 2) return reduce(f, first(takeFirst(iter = toIter(acc))), iter);

@@ -12,0 +12,0 @@ iter = toIter(iter);

{
"name": "fff-js",
"version": "0.0.6",
"version": "0.0.7",
"description": "Functional javascript lib",
"main": "index.js",
"module": "index.js",
"type": "module",
"sideEffects": false,
"directories": {

@@ -16,3 +14,4 @@ "test": "test"

"functional javascript",
"iterable"
"fffjs",
"fff-js"
],

@@ -62,8 +61,3 @@ "files": [

"mocha": "^5.2.0"
},
"unpkg": "dist/fff.es5.min.js",
"jsdelivr": "dist/fff.es5.min.js",
"np": {
"yarn": false
}
}
export default function unwrap([a]) {
return a;
}