Packages

@esbuild/linux-arm64

0.28.2 · 8 Aug 2026MIT44.7M / weekRepositoryHomepagenpmAtom feed

Your version

0.17.3

18 Jan 2023Where it was published

0.28.2 is the newest release of 0.17.x.

In short

1 fixed

Release note

  • Fix incorrect CSS minification for certain rules

    Certain rules such as @media could previously be minified incorrectly. Due to a typo in the duplicate rule checker, two known @-rules that share the same hash code were incorrectly considered to be equal. This problem was made worse by the rule hashing code considering two unknown declarations (such as CSS variables) to have the same hash code, which also isn't optimal from a performance perspective. Both of these issues have been fixed:

    /* Original input */
    @media (prefers-color-scheme: dark) { body { --VAR-1: #000; } }
    @media (prefers-color-scheme: dark) { body { --VAR-2: #000; } }
    
    /* Old output (with --minify) */
    @media (prefers-color-scheme: dark){body{--VAR-2: #000}}
    
    /* New output (with --minify) */
    @media (prefers-color-scheme: dark){body{--VAR-1: #000}}@media (prefers-color-scheme: dark){body{--VAR-2: #000}}

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.