Repository navigation
chore(deps): update clsx to 1.2.1 - #1685
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
- Updates clsx from 1.0.4 to 1.2.1 - Release notes:
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.0.4→^1.2.1^1.1.1→^1.2.1^1.1.0→^1.2.1Release Notes
lukeed/clsx (clsx)
v1.2.1Compare Source
Patches
clsxexport tooChores
3712966,2114f5bv1.2.0Compare Source
Features
Add named
clsxexport alias (#43, #44):56ab81fThank you @danikaze~!
This is purely an alias for the default export so that TypeScript users can avoid the
esModuleInteropsetting. In other words, the followimportstatements are effectively identical, but the latter is preferred by TypeScript:Chores
tapetouvufor tests:1c36d10bc4f82774cefa6Thank you @gingerrific~!
400b848v1.1.1Compare Source
Patches
ff11464f43dd23toValcalls with truthy assertions:4fa8811,019ec02typeofchecks for common case:08a5a7fChores
64af363,883363b,866620d,768ffab,5e92fdf0fb6d98esmhook with tests:0287e407e8c75e75053c03c6aa3ffd1533fBenchmarks
The snippet below is comparing
clsx@1.1.1(this version) to the previous version, and toclassnamesfor ballpark comparison. All candidates are functionally identical!v1.1.0Compare Source
Minor / Patch
Use
Array.isArrayfor properArraytype-checking (#17):0d6023aThis prevents an object with a truthy
pushkey from being treated as an Array. While (likely) rare, this produced an incorrect result.Chores
Updated benchmark results:
3cfb6c3Because
Array.isArrayis highly optimized in all modern JS engines, we received a bit of a speed boost!Below is
clsx@1.0.4versus this release, running in Node.js 10.13.0Configuration
📅 Schedule: (UTC)
* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.