Skip to content

v0.0.7

Choose a tag to compare

@daniesy daniesy released this 19 May 18:39
· 23 commits to main since this release

New Features:

Advanced Attribute Selectors:
querySelectorAll and querySelector now support:
[attr="value"] — exact attribute match
[attr~="value"] — space-separated word match (e.g., class lists)
[attr*="value"] — substring match anywhere in the attribute value

Improvements:

innerText now fully matches JavaScript DOM behavior for both reading and writing, including for nested tags and all node types.
Comprehensive tests for all new selector types and innerText edge cases.

Documentation:

README updated with new selector usage and examples.