@csstools/postcss-is-pseudo-class
Advanced tools
Comparing version 4.0.0 to 4.0.1
# Changes to PostCSS Is Pseudo Class | ||
### 4.0.1 | ||
_September 2, 2023_ | ||
- Fix substitution when selectors have mixed types for compound selectors where one of two parts is a `:is()` pseudo class. | ||
```diff | ||
header:is(.a .b) {} | ||
/* becomes : */ | ||
- header.a .b {} | ||
+ .a header.b {} | ||
``` | ||
### 4.0.0 | ||
@@ -8,3 +23,3 @@ | ||
- Change license to `MIT-0` ([read more about this change in the blog post](https://preset-env.cssdb.org/blog/license-change/)) | ||
- Updated [`@csstools/selector-specificity`](/packages/selector-specificity) to [`3.0.0`](/packages/selector-specificity/CHANGELOG.md#300) (major) | ||
- Updated [`@csstools/selector-specificity`](https://github.com/csstools/postcss-plugins/tree/main/packages/selector-specificity) to [`3.0.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/selector-specificity/CHANGELOG.md#300) (major) | ||
@@ -11,0 +26,0 @@ ### 3.2.1 |
export default function splitSelectors(selectors: Array<string>, pluginOptions: { | ||
specificityMatchingName: string; | ||
}, recursionDepth?: number): any[]; | ||
}, recursionDepth?: number): Array<string>; |
{ | ||
"name": "@csstools/postcss-is-pseudo-class", | ||
"description": "A pseudo-class for matching elements in a selector list", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
@@ -46,3 +46,3 @@ "license": "MIT-0", | ||
"@csstools/postcss-tape": "*", | ||
"puppeteer": "^20.7.4" | ||
"puppeteer": "^21.1.1" | ||
}, | ||
@@ -49,0 +49,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30716
1