🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-idle-timer

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-idle-timer - npm Package Versions

1
1113
15

4.0.8

Diff
supremetechnopriest
published 4.0.8 •

Changelog

Source

4.0.8

🐞 Bug Fixes

  • Fix a bug where passive and capture were not being passed to the event listener.
supremetechnopriest
published 4.0.7 •

Changelog

Source

4.0.7

🐞 Bug Fixes

  • Fix some inconsistencies in the README.

📝 Documentation

  • Add default prop values to documentation.
supremetechnopriest
published 4.0.6 •

Changelog

Source

4.0.6

🐞 Bug Fixes

  • Fix a bug where setting startOnMount to false starts IdleTimer in the wrong state.
supremetechnopriest
published 4.0.5 •

Changelog

Source

4.0.5

🐞 Bug Fixes

  • Fix a bug where setting startOnMount to false starts IdleTimer in the wrong state.
supremetechnopriest
published 4.0.4 •

Changelog

Source

4.0.4

🐞 Bug Fixes

  • Fix a bug where the module could not be imported.
supremetechnopriest
published 4.0.3 •

Changelog

Source

4.0.3

📝 Documentation

  • Minor documentation updates.

💚 CI

  • Continuous integration bugfixes.
supremetechnopriest
published 4.0.2 •

Changelog

Source

4.0.2

📝 Documentation

  • Minor documentation updates

💚 CI

  • Continuous integration bugfixes
supremetechnopriest
published 4.0.1 •

Changelog

Source

4.0.1

📝 Documentation

  • Minor documentation updates

💚 CI

  • Continuous integration bugfixes
supremetechnopriest
published 4.0.0 •

Changelog

Source

4.0.0

Version 4.0 contains a rewrite of the build system and a refactor of the source code for IdleTimer. After accepting many pull requests, the projects code style was destroyed, so some forced styling was added and PRs that don't respect this style will not be accepted. Contribution guide now on the README.

🔥 Code Removal

  • The property startOnLoad has been renamed to startOnMount to make more sense in a react context.
  • The property activeAction has been renamed to onActive.
  • The property idleAction has been renamed to onIdle.

✨ Enhancements

  • Add passive property. Defaults to true, bind events with passive mode enabled.
  • Add capture property. Defaults to true, bind events with capture mode enabled.
  • Pass event through to onActive callback functions.

🐞 Bug Fixes

  • Fixed installation bug on windows machines. This was due to the use of environment variables in the build scripts. The new build system does not rely on environment variables defined at the cli level
supremetechnopriest
published 3.0.0 •

Changelog

Source

3.0.0

Dropped support for date formatting in version 3. IdleTimer returns raw date objects and you can use which ever library you like to format it. If you would like to continue using the built in formatter, stick with version 2.

🔥 Breaking Changes

  • Removed built in date formatter.