Skip to content

Releases: bramus/specificity

1.0.7 (2022.02.28)

28 Feb 09:58
Compare
Choose a tag to compare
  • REFACTOR: Import only selector-parser from css-tree (reducing bundle size)

2.0.0-beta.0 (2022.02.26)

26 Feb 14:48
Compare
Choose a tag to compare
Pre-release

Changes:

  • FEAT: Support SelectorLists (fixes #2)
  • REFACTOR: Introduce and use a Specificity class (fixes #3)
  • FEAT: Expose new utility functions for comparing, sorting, and filtering

Example:

@bramus_specificity

Testing this new version:

You can try out this release by installing @bramus/[email protected] or @bramus/specificity@next

1.0.6 (2022.02.24)

26 Feb 14:44
Compare
Choose a tag to compare
  • FIX: Play nice with namespaces in Universal / Type Selectors

1.0.5 (2022.02.24)

26 Feb 14:44
Compare
Choose a tag to compare
  • REFACTOR: Reduce Bundle Size
  • ADD: Support unprefixed :any() (just in case)

1.0.4 (2022.02.23)

26 Feb 14:42
Compare
Choose a tag to compare
  • ADD: Support legacy :is() aliases (:matches(), :any())

1.0.3 (2022.02.23)

26 Feb 14:41
Compare
Choose a tag to compare
  • CHORE: Rename package to @bramus/specificity

1.0.2 (2022.02.23)

26 Feb 14:38
Compare
Choose a tag to compare
  • FIX: Correctly count regular PseudoClasses

1.0.1 (2022.02.23)

26 Feb 14:38
Compare
Choose a tag to compare
  • FIX: Take Pseudo-Element Selectors (+ legacy use with single colon) into account