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

tack-on

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tack-on - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

lib/tack.js

@@ -31,3 +31,3 @@ 'use strict';

case 'nothing':
return func.apply(undefined, args);
return func.bind(this).apply(undefined, args);

@@ -34,0 +34,0 @@ default:

{
"name": "tack-on",
"version": "0.1.0",
"version": "0.1.1",
"description": "Tack on functions to things that should have had them all along.",

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

@@ -57,2 +57,6 @@ # tack-on

the `action` function can return `"tack"`, `"compose"`, or `"nothing"`.
When doing the `"nothing"` action, the binding is passed through to the tacked function.
## `compose`

@@ -59,0 +63,0 @@ Make functions composable with the bind operator. `compose` assumes functions that take only one argument.

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