@asamuzakjp/dom-selector
10.0.7 · 21 Nov 2026MIT72.8M / weekRepositoryHomepagenpmAtom feed
249 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 5.x
5.3.3
29 Aug 2024Review invalidation logic
5.3.2
28 Aug 20245.3.1
28 Aug 2024Clear results if invalidated
5.3.0
28 Aug 2024Reduce shared regexps
Throw TypeError in window global
5.2.2
26 Aug 2024Add isVisible utility function
5.2.1
13 Aug 20245.2.0
12 Aug 2024Add event listeners
5.1.0
3 Aug 2024- Removed
Remove descendant option
Update error handling
Integrate utility functions
What's Changed
- Removed
Remove descendant option
Update error handling
Integrate utility functions
Do not expose private methods
Update matcher
5.0.9
28 Jul 2024Fix
:nth-of-type()
5.0.8
27 Jul 2024Update
:state()handlingCase-insensitive only in ASCII range
5.0.7
25 Jul 20245.0.5
25 Jul 2024Fix initNwsapi function
Update invalidation
5.0.4
25 Jul 2024Set invalidation if selector contains
:has()
5.0.3
25 Jul 2024Fix infinite loop
5.0.2
24 Jul 2024Update document handling
5.0.1
24 Jul 2024Fix nwsapi handling
5.0.0
24 Jul 2024Update cache handling
Move initNwsapi function to dom-util
v5
- 4.x
4.6.5
20 Jul 2024Bring back
hasHyphenSepAttrFix
:enabledhandling
4.6.4
20 Jul 2024Fix invalidation failures
4.6.3
17 Jul 2024Add option for querySelectorAll
Fix wpt failure :
CSS Selectors Invalidation: :nth-child(... of :not()) combined with whole subtree invalidationUpdate cache handling
4.6.1
7 Jul 2024Update selector filter for nwsapi
4.6.0
6 Jul 2024Support custom-elements :state() pseudo-class
Add note about :state()
4.5.0
3 Jul 2024Update DOM utility functions
Update cache handling
4.4.13
12 Jun 20244.4.12
12 Jun 2024Exclude nested
:not()
4.4.11
12 Jun 2024Do not save cache if selector has pseudo classes
4.4.10
11 Jun 2024Fix some style invalidation errors
4.4.9
11 Jun 2024Fix
:placeholder-shownpseudo-class handling
4.4.6
9 Jun 2024Throw on :contains() only if warn option is true
Add pseudo-classes handled by nwsapi
4.4.5
5 Jun 2024Add wpt html/semantics/selectors/
Add pseudo-classes constant
4.4.4
3 Jun 2024Init nwsapi on construct
4.4.3
2 Jun 2024Update nwsapi handling
4.4.2
31 May 2024Gather regexp
Add missing right token
4.4.1
31 May 20244.4.0
31 May 2024Support
:popover-openpseudo-classTemporary switch to patched nwsapi
4.3.0
12 May 2024Remove regexp grouping
Add event option and support
:hover,:active,:focus-visible
4.2.2
7 May 2024Fix id and class selectors handling
Fix focus handling
4.2.1
4 May 2024Fix non-value-associated element with dir 'auto'
Add test for shadow host
4.2.0
26 Mar 2024Add support for
:definedpseudo classSupport
:definedpseudo class for namespaced element
4.1.7
9 Mar 2024Update attr filter
Update nth-child filter
4.1.6
19 Feb 20244.1.5
18 Feb 2024Fix :focus handling
4.1.4
17 Feb 2024Add Matcher class
Fix nwsapi to v2.2.2
4.1.3
17 Feb 2024Add special constant to handle edge cases
4.1.2
16 Feb 2024Add support for nested logical combinations
4.1.1
16 Feb 2024Update filter
4.1.0
14 Feb 2024Use walker or cached sub walkers if possible
Review matchNodes() process
Review querySelector handler
What's Changed
Use walker or cached sub walkers if possible
Review matchNodes() process
Review querySelector handler
Review filterSelector function
4.0.1
9 Feb 2024Review matching process
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.