@csstools/selector-specificity
Advanced tools
Comparing version 2.0.2 to 2.1.0
# Changes to Selector Specificity | ||
### 2.0.2 (June 8, 2022) | ||
### 2.1.0 (January 19, 2023) | ||
- Add support for `::slotted` | ||
- Add support for `:host` | ||
- Add support for `:host-context` | ||
### 2.0.2 (July 8, 2022) | ||
- Fix case insensitive matching. | ||
@@ -6,0 +12,0 @@ |
import type { Node } from 'postcss-selector-parser'; | ||
export declare type Specificity = { | ||
export type Specificity = { | ||
a: number; | ||
@@ -4,0 +4,0 @@ b: number; |
{ | ||
"name": "@csstools/selector-specificity", | ||
"description": "Determine selector specificity with postcss-selector-parser", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"contributors": [ | ||
@@ -22,3 +22,3 @@ { | ||
"engines": { | ||
"node": "^12 || ^14 || >=16" | ||
"node": "^14 || ^16 || >=18" | ||
}, | ||
@@ -42,3 +42,3 @@ "main": "dist/index.cjs", | ||
"peerDependencies": { | ||
"postcss": "^8.2", | ||
"postcss": "^8.4", | ||
"postcss-selector-parser": "^6.0.10" | ||
@@ -50,4 +50,5 @@ }, | ||
"scripts": { | ||
"build": "rollup -c ../../rollup/default.js", | ||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"", | ||
"prebuild": "npm run clean", | ||
"build": "rollup -c ../../rollup/default.mjs", | ||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"", | ||
"lint": "npm run lint:eslint && npm run lint:package-json", | ||
@@ -54,0 +55,0 @@ "lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
15914
0
24