@acemir/cssom
0.10.1 · 30 Oct 2026MIT17.7M / weekRepositoryHomepagenpmAtom feed
0.10.1 is the newest release of 0.9.x.
In short
1 new2 fixed
Release note
Patch Changes
Fix TypeError when parsing @media after nested selectors inside @layer
When parsing CSS with nested selectors (&) followed by @media rules inside an @layer block, the parser would crash with "Cannot read properties of null (reading 'constructor')" because nestedSelectorRule.parentRule can be null when the parent context is a CSSLayerBlockRule rather than a CSSStyleRule.
auto-closing statement rules
Rules interfaces and parse improvements
Expose CSSOM.setup method for globalObject configuration
Add StyleSheet missing interface properties
Add CSSStyleSheet constructor options and missing interface properties
Set cssRules readonly on CSSStylesheet and CSSGroupingRules
Fix CSSRule.cssText interface implementation
Improve pseudo-class with selectors list validations
Imrpove auto-close for all unclosed nested structures
Handle CSSLayerStatementRule inside CSSLayerBlockRule and other grouping rules
Handle CSSFontFaceRule, CSSKeyframeRule and CSSPageRule nesting edge cases
Imrpove code consistency on rules type and prototype assign
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.