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

use-count-up

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-count-up - npm Package Versions

2

3.0.1

Diff

Changelog

Source

3.0.1 (September 5th, 2021)

Fix:

  • upgraded use-elapsed-time to 3.0.2, which fixes an issue where reset method was taking any kind of value as newStartAt value. Not it checks if the value provided is a number
vydimitrov
published 3.0.0 •

Changelog

Source

3.0.0 ( September 5th , 2021)

Breaking Changes:

  • IE is not longer supported
  • autoResetKey props has been deprecated.
  • shouldUseToLocaleString and the whole setup to use the built-in toLocaleString out of the box has been deprecated. The same result can be achieved using the formatter function.
  • React PropTypes has been removed as well as the prop-types peer-dependency. The component and hook will rely on the TypeScript types.
  • prefix and suffix props has been deprecated. The same result can be achieved just by adding them to in front and behind the value.

New features:

  • updateInterval prop now determines how often the animated value will change. When set to 0 the value will update on each key frame (default behavior).
  • onUpdate callback will be fired with the current animated value when it changes.

Implemented enhancements:

  • bundle size is now even further reduced
  • esbuild is now used to bundle the code
  • example folder is added, which can be used for testing the hook and component
vydimitrov
published 2.3.1 •

Changelog

Source

2.3.1 (March 25th, 2021)

Implemented enhancements:

  • chore: upgrade dependencies
vydimitrov
published 2.3.0 •

Changelog

Source

2.3.0 (Jan 15th, 2021)

Implemented enhancements:

  • feat: add list of supported browsers to package.json
vydimitrov
published 2.2.6 •

Changelog

Source

2.2.6 (Jan 12th, 2021)

Implemented enhancements:

  • chore: Add renovate to the repo
  • chore: Update all packages
vydimitrov
published 2.2.5 •

Changelog

Source

2.2.5 (Sept 10th, 2020)

Implemented enhancements:

  • chore: upgrade rollup and rollup-terser packages
vydimitrov
published 2.2.4 •

Changelog

Source

2.2.4 (June 11th, 2020)

Implemented enhancements:

  • feat: use Rollup instead of Webpack to bundle the package, which enables ES module bundles.
vydimitrov
published 2.1.4 •

Changelog

Source

2.1.4 (June 8th, 2020)

Implemented enhancements:

  • chore: update list of keywords in package.json
vydimitrov
published 2.1.3 •

Changelog

Source

2.1.3 (June 3rd, 2020)

Big fix:

  • fix: upgrade use-elapsed-time to 2.1.4 which fixes an issue where pausing the animation once it is completed, resetting the timer and playing again it did not work.
vydimitrov
published 2.1.2 •

Changelog

Source

2.1.2 (June 1st, 2020)

Implemented enhancements:

  • fix: upgrade use-elapsed-time package to v2.1.3 which replaces useLayoutEffect with useEffect when the environment is node for SSR and removes side effects from useState so React.StrictMode works as expected in development
2
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