Added
defaultOptionsandcontextlessOptionsare 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, andTransformerare now also exported. - Add findAndReplaceDOMText algorithm attribution to both READMEs.
Fixed
insertContextlesslywithAround Outernow correctly pushes start/end brackets to the enclosing element boundary in cross-portion matches.- Custom
ignorepredicate could leak text from ignored subtrees into the regex's match input.
See the full CHANGELOG for details.