Skip to content

Releases: antonmedv/finder

4.0.2

13 Dec 13:48
aeab164
Compare
Choose a tag to compare
  • Forbid using class names like .css-175oi2r in CSS selesctors.

4.0.1

13 Dec 10:24
80083a6
Compare
Choose a tag to compare
  • Added functions className, tagName, idName, and attr to simplify overriding allowed selectors.
import { finder, attr } from '@medv/finder';

finder(event.target, {
  attr: (name, value) => attr(name, value) || name.startsWith('data-my-attr-'),
});

4.0.0

12 Dec 23:27
761a84f
Compare
Choose a tag to compare

* > *

I'm thrilled to announce a major update to Finder. I've completely rewritten the selector generator to support modern technologies like Tailwind CSS and CSS-in-JS. This improvement ensures selectors are more efficient and adaptable for today's web development needs. Give the new version a try and experience the upgrade!

  • Added support for nth-of-type CSS selectors.
  • Improved seed round generation for more robust CSS selectors.
  • Improved CSS selector generation speed.
.blog > article:nth-of-type(3) .add-comment

3.2.0

28 Feb 22:17
cbe0cd8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.1.0...3.2.0

3.1.0

05 May 08:57
9ea8a53
Compare
Choose a tag to compare

Replaces cssesc with CSS.escape.

3.0.0

07 Mar 22:27
Compare
Choose a tag to compare

finder

The CSS Selector Generator

An example of a generated selector:

.blog > article:nth-child(3) .add-comment

In this release:

  • Lots of fixes.
  • Performance improvements.
  • Works with duplicates of IDs on pages.
  • And much more!