@acemir/cssom
0.10.1 · 30 Oct 2026MIT17.7M / weekRepositoryHomepagenpmAtom feed
37 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.10.x · latest line
0.10.1
30 Oct 2026Parse scaling performance
0.10.0
30 Oct 2026Summary· from the note as AI read it
Nothing to change: 5 new, 1 fixed.
Minor Changes
Add an explicit CSSStyleDeclaration integration API.
New APIs:
setup({ CSSStyleDeclaration })setCSSStyleDeclaration(CSSStyleDeclaration)getCSSStyleDeclaration()resetCSSStyleDeclaration()
Rule style declarations created during parsing/cloning now use the configured constructor consistently, avoiding module load-order issues when integrating with custom CSSStyleDeclaration implementations.
Patch Changes
Update package.json exports
- 0.9.x
0.9.33
13 Nov 2026Parse scaling performance
0.9.32
10 Oct 2026- Security
Guard against reserved names when setting CSS declaration names (CVE-2026-93752)
Selectors starting with hyphen
Improve conditional query validations
0.9.31
12 Jan 2026Improve RegExp and attr selectors handling
Improve escaped characters handling
Optimize parse validateAtRule and object lookup
Patch Changes
Improve RegExp and attr selectors handling
Improve escaped characters handling
Optimize parse validateAtRule and object lookup
Deeply nested at-rule
0.9.30
23 Dec 2025Sync styleSheet.title with ownerNode.title
Preserve context for sibling nested selectors
Implement
CSSPropertyRule
Patch Changes
Sync styleSheet.title with ownerNode.title
set selectorText, style and media configurable
improve docs and test utils
Preserve context for sibling nested selectors
Implement
CSSPropertyRuleImprove
CSSImportRuleimplementationset
CSSImportRule.styleSheetto unconstructedavoid insert
@importrules into a constructed stylesheet
0.9.29
10 Dec 2025Parsing of deeply nested at-rule combinations
0.9.28
7 Dec 2025importRule stylesheet assign from globalObject
0.9.27
7 Dec 2025Enhance CSSOM setup method to create instance with globalObject support
0.9.26
5 Dec 2025Improve CSSStyleSheet MediaList and parser
0.9.25
4 Dec 2025Fix 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
0.9.24
22 Nov 2025Ending nested rules processing and unclosed sheet edge cases
Serialization with empty nested declarations
Parser improvements
Patch Changes
Ending nested rules processing and unclosed sheet edge cases
Serialization with empty nested declarations
Parser improvements
Fix CSSScopeRule allows CSSNestedDeclarations
Fix mediaText setter with empty value
Improve performance and security on selectors validation
Handle escape sequences before processing special characters
Implement
CSSStyleSheet:replaceSync,replace
0.9.23
7 Nov 2025Prevent adding semicolon to token if it already ends with one
0.9.22
7 Nov 2025Added parseError isNested argument
0.9.21
7 Nov 2025Support CSSPageRule and implementation improvements
0.9.20
5 Nov 2025Support legacy CSSStyleSheet methods and improve nested selectors validation
Support CSSScopeRule
Forward rule validation
Patch Changes
Support legacy CSSStyleSheet methods and improve nested selectors validation
Support CSSScopeRule
Forward rule validation
Support CSSRuleList and improve selectors validation
0.9.19
20 Oct 2025Revert cssrule type constant as properties
0.9.18
19 Oct 2025Improve parse options
0.9.17
18 Oct 2025Sync common rules interfaces
0.9.16
16 Oct 2025Workaround for jsdom exceptions
0.9.15
16 Oct 2025Adjust DOMException errors names
0.9.14
16 Oct 2025Attribute selector support
0.9.13
16 Oct 2025Standardizes the cssText getters
0.9.12
16 Oct 2025Support namespace with filled unquoted url
0.9.11
16 Oct 2025Improve valid
@layername logicAdded support for CSSNamespaceRule
Patch Changes
Improve valid
@layername logicAdded support for CSSNamespaceRule
0.9.10
25 Jul 2025Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
0.9.9
25 Jul 2025Handle newlines in the middle of selectors
0.9.8
25 Jul 2025Improve CSSCounterStyleRule draft processing
0.9.7
25 Jul 2025Draft support for CSSCounterStyleRule
0.9.6
24 Jul 2025Improves complex selectors validation
0.9.5
24 Jul 2025Injectable errorHandler
0.9.4
24 Jul 2025Improve handling of complex selectors
0.9.3
24 Jul 2025Support attribute selector case-insensitive flag
0.9.2
24 Jul 2025Parser improvements on selectors, declaration values and error handling
0.9.1
15 Jul 2025Add layer() and supports() to CSSImportRule
Support CSSLayerStatementRule, adjust CSSLayerBlockRule and improves at-rule validation
Check the priority value of the existing property
Patch Changes
Add layer() and supports() to CSSImportRule
Support CSSLayerStatementRule, adjust CSSLayerBlockRule and improves at-rule validation
Check the priority value of the existing property
indexparameter ofCSSStyleSheet.insertRuleis now optional
0.9.0
12 Jul 2025Support for nested selectors, nested declarations and at-rule validations
- 0.8.x
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.