Skip to content

Releases: dperini/nwmatcher

A fast CSS selector engine and matcher

04 Aug 15:09
Compare
Choose a tag to compare

This release has correction/fixes for the following behaviours:

  • fixed DOM walking to avoid using unsupported DOM methods on non 'Elements' nodes
  • improved DOM walking performances in JS only versions using the native traversal API

A fast CSS selector engine and matcher

23 Jul 13:55
Compare
Choose a tag to compare

This release has correction/fixes for the following behaviours:

  • always use case sensitive match for class attributes selectors to mimic browsers behaviour
  • removed attribute mapping (XHTML_TABLE) used for case sensitive match in XML documents
  • always use case sensitive match for class attributes selectors in XML documents

specifications amended due to bug submitted by @Zirro whatwg/html@97ca4ed

A fast CSS selector engine and matcher

04 Jun 18:06
Compare
Choose a tag to compare

This release has correction/fixes for the following behaviours:

  • several performance improvements and code clean up
  • accepts and correctly resolves single character attribute names
  • allow syntax parsing of :after, :before and other pseudo-elements
  • added a shunt flag to also mute logging of errors/warnings to the console
  • added support for escaped numbers & characters in CSS identifiers (v1.3.9)
  • fix :not() negation pseudo-class containing nested pseudo-classes (v1.3.8)
  • fix long invalid selectors can cause match() to hang forever (v1.3.7)
  • fix incorrect regular expression pattern for combinators issue (v1.3.7)

A fast CSS selector engine and matcher

14 Jul 07:50
Compare
Choose a tag to compare

This release has correction/fixes for the following behaviours:

  • discriminate empty attributes from missing attributes

A fast CSS selector engine and matcher

01 Jan 23:56
Compare
Choose a tag to compare

This release has correction/improvements for the following behaviours:

  • do not cache :target resolution, determine dynamically
  • correct testing for attribute presence in combined selectors
  • incorrect results in :nth-last-child(-n+X) and :nth-last-of-type(-n+X)
  • the configure() method can now return the current engine configuration

A fast CSS selector engine and matcher

28 Oct 10:51
Compare
Choose a tag to compare

Improved support for headless environments like nodejs/jsdom.

A fast CSS selector engine and matcher

28 Oct 13:41
Compare
Choose a tag to compare

Bug fixing release to cover headless environments like nodejs/jsdom.
Improved UNIQUE_ID mode and added more configurations and options.

A fast CSS selector engine and matcher

28 Oct 13:38
Compare
Choose a tag to compare

Improved W3C Query Selector API compatibility.
Functionality and expected results are mostly equivalent to those found in modern browsers.
Added a minimal "nwmatcher-noqsa.js" version, recommended for headless environments and IE < 9.