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

auto-curry

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-curry - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

1

index.js
module.exports = function cu(fn) {
var args = [].slice.call(arguments);
if ('function' !== typeof fn) throw new Error('auto-curry: Invalid parameter. First parameter should be a function.');
if ('function' === typeof fn && !fn.length) return fn;

@@ -4,0 +5,0 @@ if (args.length - 1 >= fn.length) return fn.apply(this, args.slice(1));

2

package.json
{
"name": "auto-curry",
"version": "0.1.0",
"version": "0.1.1",
"description": "Supercharge your functions by giving them the ability to auto-curry",

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

Sorry, the diff of this file is not supported yet

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