Packages

clsx

2.1.1 · 23 Apr 2024MIT179.1M / weekRepositoryHomepagenpmAtom feed

Upgrading clsx From 1.1.1 to 1.2.1

2 releases in betweenevery note read

Other targets from 1.1.1Latest2.1.1
  1. 1.1.1yours
  2. 1.2.0
  3. 1.2.1target
0
changes to make
0
advisories fixed
1
new
1
fix

Release by release

  1. 1.2.1

    6 Jul 20221 fix
    • Fixed

      Ensure CommonJS and UMD entrypoints have the named clsx export too

  2. 1.2.0

    2 Jul 20221 new
    • New

      Add named clsx export alias (#43, #44): 56ab81f Thank you @danikaze~! This is purely an alias for the default export so that TypeScript users can avoid the esModuleInterop setting. In other words, the follow import statements are effectively identical, but the latter is preferred by TypeScript:

5 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.