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

stifle

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stifle - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

index.cjs.js

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

// Add a cancel method, to kill and pending calls
// Add a cancel method, to kill any pending calls
wrapper.cancel = function () {

@@ -27,0 +27,0 @@ // Clear the called flag, or it would fire twice when called again later

@@ -22,3 +22,3 @@ export default function stifle (fn, wait) {

// Add a cancel method, to kill and pending calls
// Add a cancel method, to kill any pending calls
wrapper.cancel = function () {

@@ -25,0 +25,0 @@ // Clear the called flag, or it would fire twice when called again later

{
"name": "stifle",
"version": "1.1.0",
"version": "1.1.1",
"description": "A very simple way to throttle a function",

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

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