@asamuzakjp/dom-selector
10.0.7 · 21 Nov 2026MIT72.8M / weekRepositoryHomepagenpmAtom feed
8.3.2 is the newest release of 8.x.
In short
8 new6 changed
Release note
What's Changed
Add clearAll option to clear method
Add result caching functionality
Add cache for :nth-child()
Add caching for indeterminate state
Add caching for :default state
Add caching for valid and invalid states
Add traversal caching feature
Refactor :has() pseudo-class to use seed
Add fast pass for universal selectors ('*')
Let nwsapi handle testing library selectors
Refactor _matchSelector function
Rename and update shadow host handler
Refactor pseudo-class selector handlers
Update nwsapi filter
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.