whinc / online-tools

Online tools for programmer. 程序员的在线工具箱
https://whinc.github.io/online-tools
8 stars 0 forks source link

fix(deps): update dependency clsx to v1.1.0 #16

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
clsx dependencies minor 1.0.4 -> 1.1.0

Release Notes

lukeed/clsx ### [`v1.1.0`](https://togithub.com/lukeed/clsx/releases/v1.1.0) [Compare Source](https://togithub.com/lukeed/clsx/compare/v1.0.4...v1.1.0) #### Minor / Patch - Use `Array.isArray` for proper `Array` type-checking ([#​17](https://togithub.com/lukeed/clsx/issues/17)): [`0d6023a`](https://togithub.com/lukeed/clsx/commit/0d6023a) This prevents an object with a truthy `push` key from being treated as an Array. While (likely) rare, this produced an incorrect result. > **Important:** Because of this change, Internet Explorer 8 (and older) are no longer supported.
If you happen to require support for these browsers, please continue to use the `1.0.x` version range. #### Chores - Updated benchmark results: [`3cfb6c3`](https://togithub.com/lukeed/clsx/commit/3cfb6c3) Because `Array.isArray` is highly optimized in all modern JS engines, we received a bit of a speed boost! Below is `clsx@1.0.4` versus this release, running in Node.js 10.13.0 ``` ``` ### Strings clsx (prev) x 10,336,101 ops/sec ±1.45% (90 runs sampled) clsx x 11,191,101 ops/sec ±0.51% (97 runs sampled) ### Objects clsx (prev) x 7,195,049 ops/sec ±0.35% (92 runs sampled) clsx x 7,133,215 ops/sec ±0.31% (93 runs sampled) ### Arrays clsx (prev) x 8,265,223 ops/sec ±0.32% (94 runs sampled) clsx x 8,346,704 ops/sec ±0.29% (98 runs sampled) ### Nested Arrays clsx (prev) x 6,244,513 ops/sec ±1.41% (94 runs sampled) clsx x 6,324,445 ops/sec ±0.38% (95 runs sampled) ### Nested Arrays w/ Objects clsx (prev) x 5,157,630 ops/sec ±0.34% (92 runs sampled) clsx x 6,349,877 ops/sec ±0.26% (97 runs sampled) ### Mixed clsx (prev) x 5,751,180 ops/sec ±0.38% (95 runs sampled) clsx x 6,722,160 ops/sec ±0.36% (98 runs sampled) ### Mixed (Bad Data) clsx (prev) x 1,935,973 ops/sec ±0.19% (97 runs sampled) clsx x 2,053,230 ops/sec ±0.27% (95 runs sampled) ```

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

renovate[bot] commented 4 years ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will now ignore this update (1.1.0). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.