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

use-debounce

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-debounce - npm Package Versions

13
8

9.0.1

Diff

xnimorz
published 9.0.0 •

Changelog

Source

9.0.0

  • Moved use-debounce to support modules see issue Thanks to @matewilk
  • breaking change The path to dist/index.js is changed. Now it's dist/index.cjs.
xnimorz
published 8.0.4 •

Changelog

Source

8.0.4

  • Changes types for useDebouncedCallback args: https://github.com/xnimorz/use-debounce/pull/140 Thanks to @sarunast
xnimorz
published 8.0.3 •

Changelog

Source

8.0.3

  • Added types to package json to mitigate https://github.com/microsoft/TypeScript/issues/49160. https://github.com/xnimorz/use-debounce/pull/138 Thanks to @wuzzeb
xnimorz
published 8.0.2 •

Changelog

Source

8.0.2

  • Added type exports. https://github.com/xnimorz/use-debounce/pull/136 Thanks to @tryggvigy
  • Improved code comments. https://github.com/xnimorz/use-debounce/pull/135 Thanks to @tryggvigy
xnimorz
published 8.0.1 •

Changelog

Source

8.0.1

  • update library exports section to make exports work correctly with jest@28
xnimorz
published 8.0.1-beta •

xnimorz
published 8.0.0 •

Changelog

Source

8.0.0

  • breaking change useDebounce changed its build system to microbundle. For now we have several entries:

index.js is for commonJS approach index.modern.js for esnext module system index.umd.js for UMD. All the files are in dist folder.

If you have any paths which have esm or lib, please, replace them to dist:

Before:

import useDebounceCallback from 'use-debounce/lib/useDebounceCallback';

After:

import { useDebounceCallback } from 'use-debounce';
  • Fixed issue with incorrect VSCode autocomplete https://github.com/xnimorz/use-debounce/issues/131 Thanks to @c-ehrlich for reporting
  • Fixed useDebounce behaviour with react-devtools tab when devtools have a component with useDebounce or useDebounceCallback opened. https://github.com/xnimorz/use-debounce/issues/129 Thanks to @alexniarchos for reporting
  • Fixed issue with leading: true https://github.com/xnimorz/use-debounce/issues/124 Thanks to @mntnoe for reporting
xnimorz
published 8.0.0-beta •

xnimorz
published 7.0.1 •

Changelog

Source

7.0.1

  • debounced object now is preserved for use-debounce between the renders. Thanks to @msharifi99 for reporting.
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