Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 May 17:46
· 1 commit to main since this release

Added

  • defaultOptions and contextlessOptions are now exported from the JavaScript / TypeScript surface (both 'hyperly' and 'hyperly/fp').

Changed

  • Public types are now standard module exports instead of ambient globals. Breaking for type consumers who relied on the ambient form — the fix is mechanical (import type { Options, Match } from 'hyperly').
  • Previously file-local aliases HTMLType, Wrapper, and Transformer are now also exported.
  • Add findAndReplaceDOMText algorithm attribution to both READMEs.

Fixed

  • insertContextlessly with Around Outer now correctly pushes start/end brackets to the enclosing element boundary in cross-portion matches.
  • Custom ignore predicate could leak text from ignored subtrees into the regex's match input.

See the full CHANGELOG for details.