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

debouncing

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debouncing - npm Package Compare versions

Comparing version 21.6.3 to 21.6.4

7

index.d.ts
// typescript
declare type Listener = (...args: any[]) => void;
declare type Callback = () => void;
/**

@@ -16,3 +19,3 @@ * In the debouncing technique, no matter how many times the user fires the

*/
declare function debounce(func:Function, timeout?:number):Function;
declare function debounce(func: Callback, timeout?: number): Listener;

@@ -34,5 +37,5 @@ // Exposed public method.

*/
declare function throttle(func:Function, timeout?:number):Function;
declare function throttle(func: Callback, timeout?: number): Listener;
// Exposed public method.
export default throttle;
{
"name": "debouncing",
"type": "module",
"version": "21.6.3",
"version": "21.6.4",
"description": "Debouncing and throttling events module from Glize library.",

@@ -6,0 +6,0 @@ "homepage": "https://glize.js.org",

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