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

@teleology/fp

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teleology/fp - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

11

lib/curry.js

@@ -8,4 +8,13 @@ "use strict";

const curry = fn => (...args) => fn.bind(null, ...args);
const curry = fn => (...args) => fn.bind(null, ...args); // export const curry = (arity = 0, fn) => (...args) => {
// // we have surpassed the expected arity, so invoke the final function
// if (arity <= args.length) {
// return fn(...args);
// }
// // we still have args we can bind, recurse
// const bound = fn.bind(fn, ...args);
// return curry(arity - args.length, bound);
// };
exports.curry = curry;

2

lib/pick.js

@@ -12,3 +12,3 @@ "use strict";

const get = (path, def) => obj => {
const get = (path, def = undefined) => obj => {
try {

@@ -15,0 +15,0 @@ return (0, _dot.dot)(path).reduce((a, b) => a[b], obj);

{
"name": "@teleology/fp",
"version": "2.0.0",
"version": "2.0.1",
"description": "A small collection of functional programming utils",

@@ -41,6 +41,3 @@ "author": "Chris Sullivan <chrissullivan.dev@gmail.com>",

"prettier": "^2.0.5"
},
"dependencies": {
"lodash": "^4.17.21"
}
}
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