Skip to content

v3.0.1

Compare
Choose a tag to compare
@fb55 fb55 released this 23 Sep 23:46
· 1144 commits to master since this release
  • Port all shipped code to TypeScript, identifying several inconsistencies along the way
    • BREAKING: The module exports an object now, which includes a default property. If you used the exported function before, you will have to update your code.
  • Use adapter.equals across the codebase
    • BREAKING: The signature for pseudos has changed. The second argument is now the options object, not the adapter anymore. To update your code, extract the adapter from the options object, eg. pseudos.custom = (elem, adapter) => {} is now pseudos.custom = (elem, {adapter}) => {}.
  • Implement :any-link
  • Support traversal-first :has (fixes #111)