Socket
Socket
Sign inDemoInstall

react-idle-timer

Package Overview
Dependencies
5
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
15Next

5.7.2

Diff

Changelog

Source

5.7.2

🐞 Bug Fixes
  • Fix a bug with GitHub workflow badge in README. This requires a version bump to resolve on npmjs.com.
supremetechnopriest
published 5.7.1 •

Changelog

Source

5.7.1

🐞 Bug Fixes
  • Fix a bug where disabled property would not immediately disable the timer.
supremetechnopriest
published 5.7.0 •

Changelog

Source

5.7.0

⚡️ Features
  • Added disabled property to enable easier toggling of the timer. #349
✨ Enhancements
  • Add a legacy bundle to support older browsers. #345.
  • Control methods now return a boolean representing the success of the call.
  • Update issue templates to use new issue forms.
  • Added issue chooser links.
  • Replace estrella with esbuild and update build chain.
  • Updated all dependencies.
🐞 Bug Fixes
  • Fix types export for latest typescript. #343

The project has switched IDEs from VS Code to WebStorm. The .vscode directory has been replaced with .idea.

supremetechnopriest
published 5.6.2 •

Changelog

Source

5.6.2

✨ Enhancements
  • Allow null or undefined as the value for the element property to enable easier integration with refs.
supremetechnopriest
published 5.6.1 •

Changelog

Source

5.6.1

🐞 Bug Fixes
  • Throw an error when promptBeforeIdle is greater than or equal to timeout. #342
supremetechnopriest
published 5.6.0 •

Changelog

Source

5.6.0

⚡️ Features
  • Expose IIdleTimer interface as the second parameter to callback methods. #339
🐞 Bug Fixes
  • Prevent race condition error from being thrown when the hook unmounts while using leader election. #337
supremetechnopriest
published 5.5.3 •

Changelog

Source

5.5.3

🐞 Bug Fixes
  • Fix a bug where onPrompt would be emitted instead of onIdle after timeout is exceeded when devices wake from sleep. #172
  • Fix a bug where onMessage was being called with an old function reference. #328
supremetechnopriest
published 5.5.2 •

Changelog

Source

5.5.2

✨ Enhancements
  • Add defaults to IdleTimerComponent generic typescript types.
supremetechnopriest
published 5.5.1 •

Changelog

Source

5.5.1

✨ Enhancements
  • Cross-tab related methods will no longer throw an error if the manager is not ready yet. It will instead return null.
supremetechnopriest
published 5.5.0 •

Changelog

Source

5.5.0

⚡️ Features
  • Add isLastActiveTab method. #294
  • Add getActiveTime and getIdleTime methods. #301
  • Add onPresenceChange event handler. #319
✨ Enhancements
  • Idle state now defaults to false. #304
  • Add checks on max timeout values. #316
  • Deprecate promptTimeout in favor of promptBeforeIdle. #318
  • Better typescript docs for activate method. #319
  • Improve Higher Order Component and class component support.
🐞 Bug Fixes
  • Use date timestamps everywhere to prevent issues when devices sleep. #281
  • Fix a bug where class components would not preserve this context in IdleTimer methods. #309
  • Fix a bug where onActive was called on every action when syncTimers was set. #320
  • Fix a bug where the mounting of the IdleTimer hook was delayed.
2345
15Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc