New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

perfect-debounce

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perfect-debounce - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

dist/index.d.ts

@@ -21,5 +21,5 @@ interface DebounceOptions {

```
import pDebounce from 'p-debounce';
import { debounce } from 'perfect-debounce';
const expensiveCall = async input => input;
const debouncedFn = pDebounce(expensiveCall, 200);
const debouncedFn = debounce(expensiveCall, 200);
for (const number of [1, 2, 3]) {

@@ -26,0 +26,0 @@ console.log(await debouncedFn(number));

{
"name": "perfect-debounce",
"version": "0.1.0",
"version": "0.1.1",
"description": "",

@@ -5,0 +5,0 @@ "repository": "unjs/perfect-debounce",

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