Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

csso

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csso - npm Package Versions

23
9

5.0.5

Diff

Changelog

Source

5.0.5 (August 10, 2022)

  • Bumped css-tree to ~2.2.0 (#458)
lahmatiy
published 5.0.4 •

Changelog

Source

5.0.4 (July 14, 2022)

  • Fixed usage filtering for from/to selectors in keyframes at-rule (#448)
  • Fixed removing medium in font declarations since it breaks the value since <font-size> is required (#449)
lahmatiy
published 5.0.3 •

Changelog

Source

5.0.3 (March 9, 2022)

  • Fixed CommonJS version bundling when browser field is used
  • Added module field
lahmatiy
published 5.0.2 •

Changelog

Source

5.0.2 (December 17, 2021)

  • Extended Node.js support to include ^10
  • Fixed main field in package.json to refer to CommonJS module
  • Bumped css-tree to ~2.0.4 (fixed CSS serialization issue in IE11)
lahmatiy
published 5.0.1 •

Changelog

Source

5.0.1 (December 14, 2021)

  • Bumped css-tree to ~2.0.3 (various fixes on generate CSS)
  • Added exports:
    • csso/syntax
lahmatiy
published 5.0.0 •

Changelog

Source

5.0.0 (December 4, 2021)

  • Added support for CSS Selectors Level 4 and legacy pseudos in specificity calculation, i.e. :has(), :not(<selector-list>), :is(), :matches(), :-moz-any(), :-webkit-any(), :where(), :nth-child(... of <selector-list>) and :nth-last-child(... of <selector-list>)
  • Package
    • Changed supported versions of Node.js to ^12.20.0, ^14.13.0 and >=15.0.0 (extended in 5.0.2 to include ^10)
    • Converted to ES modules. However, CommonJS is supported as well (dual module)
    • Changed bundle set to provide dist/csso.js (an IIFE version with csso as a global name) and dist/csso.esm.js (as ES module). Both are minified
    • Bumped css-tree to 2.0
lahmatiy
published 4.2.0 •

Changelog

Source

4.2.0 (November 26, 2020)

  • Trim Custom Property values when possible (#393)
  • Fixed removing unit for zero-length dimentions in min(), max() and clamp() functions (#426)
  • Fixed crash on bad value in TRBL declaration value (#412)
lahmatiy
published 4.1.1 •

Changelog

Source

4.1.1 (November 15, 2020)

  • Fixed build setup to exclude full mdn/data that reduced the lib size:
    • dist/csso.js: 794.5Kb -> 255.2Kb
    • dist/csso.min.js: 394.4Kb -> 194.2Kb
    • package size: 237.8 kB -> 156.1 kB
    • package unpacked size: 1.3 MB -> 586.8 kB
lahmatiy
published 4.1.0 •

Changelog

Source

4.1.0 (October 27, 2020)

  • Bumped CSSTree to ^1.0.0
  • Fixed wrongly merging of TRBL values when one of them contains var() (#420)
  • Fixed wrongly merging of pseudo class and element with the same name, e.g. :-ms-input-placeholder and ::-ms-input-placeholder (#383, #416)
  • Fixed wrongly merging of overflow fallback (#415)
lahmatiy
published 4.0.3 •

Changelog

Source

4.0.3 (March 24, 2020)

  • Prevented percent sign removal in flex/-ms-flex (#410)
  • Fixed restructuring optimisation in some cases (@charlessuh & @chsuh, #358, #411)
  • Bumped dependencies (@AviVahl, #409)
23
9
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc