DeFiCh / defichain.com

DeFiChain website
https://defichain.com
MIT License
54 stars 16 forks source link

bump(deps): update dependency countup.js to v2.8.0 #705

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
countup.js 2.5.0 -> 2.8.0 age adoption passing confidence

Release Notes

inorganik/countUp.js (countup.js) ### [`v2.8.0`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.8.0): 2.8.0 [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/b21339fa4bdd2340a49ba38f989776ae6ccb7a2c...v2.8.0) Added `onStartCallback` option, useful for when scroll spy is enabled, thanks to [@​cherrol](https://redirect.github.com/cherrol) ! ### [`v2.7.1`](https://redirect.github.com/inorganik/countUp.js/compare/v2.7.0...b21339fa4bdd2340a49ba38f989776ae6ccb7a2c) [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.7.0...b21339fa4bdd2340a49ba38f989776ae6ccb7a2c) ### [`v2.7.0`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.7.0): 2.7.0 [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.6.2...v2.7.0) Reverted change which made "main" in package.json point to the module file, instead of the umd file. It now points again at the umd file. ### [`v2.6.2`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.6.2): 2.6.2 [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.6.1...v2.6.2) When revamping the build, I tried to resolve a rollup warning that had been occurring on the build for a long time: "(!) `this` has been rewritten to `undefined` It occurs because of typescript's Object.assign polyfill, which uses `this` on the global scope. If you set `context: 'window'` in the rollup config, it will silence the warning, but it will cause issues if CountUp is not run in the browser. Allowing rollup to rewrite this to undefined on just the global scope is harmless and doesn't break anything, so I reverted the change. ### [`v2.6.1`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.6.1): 2.6.1 [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.6.0...v2.6.1) This release doesn't change the CountUp code at all, just the distribution files - The requestAnimationFrame polyfill is no longer bundled with CountUp but served separately. The other files in dist remain the same. More details in the PR: [#​311](https://redirect.github.com/inorganik/countUp.js/issues/311) ### [`v2.6.0`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.6.0): 2.6.0 [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/2.5.0...v2.6.0) Support animation plugins: A plugin is a class instance or object passed in options for the `plugin` param that implements a render method: ```ts export declare interface CountUpPlugin { render(elem: HTMLElement, formatted: string): void; } ``` The plugin's render method will be called on each frame to display the formatted value instead of CountUp's.

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

netlify[bot] commented 1 year ago

Deploy Preview for defichain-website failed.

Name Link
Latest commit 8609ce2a2a077b2b1ed4705f209f1103d8daf9d7
Latest deploy log https://app.netlify.com/sites/defichain-website/deploys/66f23226fcdf1f0008befcc8