css-select

a CSS selector compiler & engine

BSD-2-CLAUSE License

Downloads
135.9M
Stars
548
Committers
27
css-select - v2.0.0

Published by fb55 over 6 years ago

Finally a new release!

  • Improves scope support (thanks to @Delgan, from 2015 😨) — #37, #38, #43
  • Allows users to pass a DOM adapter (thanks to @nrkn, from 2016 😬) — #66
    • Change since 1.3.0-rc0 (#101): Adapters are now passed in options, which results in two breaking changes: First, pseudo selectors now take the adapter as the second argument, and arguments as the third. Second, filters aren’t checked anymore if they have the required number of arguments.
  • Exponential time querying fix (thanks to @dbuezas); requires a modern JS environment — #94, #100
  • And a pretty complicated domutils upgrade (thanks to @chriseppstein) — #96
  • Throws regular errors instead of syntax errors when the selector is faulty (inherited from css-what)