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

fn.js

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fn.js - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

4

build/fn.js

@@ -67,5 +67,7 @@ (function(root, factory) {

var args = fn.toArray(arguments);
var handler = args[0];
var partialArgs = args.slice(1);
return function () {
return fn.apply(args[0], fn.concat(args.slice(1), fn.toArray(arguments)) );
return fn.apply(handler, fn.concat(partialArgs, fn.toArray(arguments)) );
};

@@ -72,0 +74,0 @@ };

{
"name": "fn.js",
"version": "0.6.0",
"version": "0.6.1",
"description": "Functional programming strategy library for JavaScript",

@@ -5,0 +5,0 @@ "main": "build/fn.js",

@@ -56,5 +56,7 @@ 'use strict';

var args = fn.toArray(arguments);
var handler = args[0];
var partialArgs = args.slice(1);
return function () {
return fn.apply(args[0], fn.concat(args.slice(1), fn.toArray(arguments)) );
return fn.apply(handler, fn.concat(partialArgs, fn.toArray(arguments)) );
};

@@ -61,0 +63,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