Socket
Socket
Sign inDemoInstall

@esbuild/linux-riscv64

Package Overview
Dependencies
0
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
57
9Next

0.17.12

Diff

evanw
published 0.17.11 •

evanw
published 0.17.10 •

evanw
published 0.17.9 •

evanw
published 0.17.8 •

evanw
published 0.17.7 •

evanw
published 0.17.6 •

evanw
published 0.17.5 •

evanw
published 0.17.4 •

evanw
published 0.17.3 •

Changelog

Source

0.17.3

  • Fix incorrect CSS minification for certain rules (#2838)

    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}}
    
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc