css-has-pseudo 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -6
- package/README.md +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changes to CSS Has Pseudo
|
|
2
2
|
|
|
3
|
+
### 6.0.2
|
|
4
|
+
|
|
5
|
+
_February 19, 2024_
|
|
6
|
+
|
|
7
|
+
- Updated [`@csstools/selector-specificity`](https://github.com/csstools/postcss-plugins/tree/main/packages/selector-specificity) to [`3.0.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/selector-specificity/CHANGELOG.md#302) (patch)
|
|
8
|
+
|
|
3
9
|
### 6.0.1
|
|
4
10
|
|
|
5
11
|
_December 15, 2023_
|
|
@@ -14,10 +20,4 @@ _July 3, 2023_
|
|
|
14
20
|
- Change license to `MIT-0` ([read more about this change in the blog post](https://preset-env.cssdb.org/blog/license-change/))
|
|
15
21
|
- 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)
|
|
16
22
|
|
|
17
|
-
### 5.0.2
|
|
18
|
-
|
|
19
|
-
_February 6, 2023_
|
|
20
|
-
|
|
21
|
-
- Reduce the amount of duplicate fallback CSS.
|
|
22
|
-
|
|
23
23
|
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/css-has-pseudo/CHANGELOG.md)
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PostCSS Has Pseudo [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS]
|
|
2
2
|
|
|
3
|
-
[<img alt="npm version" src="https://img.shields.io/npm/v/css-has-pseudo.svg" height="20">][npm-url] [<img alt="
|
|
3
|
+
[<img alt="npm version" src="https://img.shields.io/npm/v/css-has-pseudo.svg" height="20">][npm-url] [<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url] [<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord]<br><br>[<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/has-pseudo-class.svg" height="20">][css-url] [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/has-pseudo-class.svg" height="20">][css-url]
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npm install css-has-pseudo --save-dev
|
|
@@ -166,12 +166,12 @@ or
|
|
|
166
166
|
|
|
167
167
|
```html
|
|
168
168
|
<!-- When using a CDN url you will have to manually update the version number -->
|
|
169
|
-
<script src="https://unpkg.com/css-has-pseudo@6.0.
|
|
169
|
+
<script src="https://unpkg.com/css-has-pseudo@6.0.2/dist/browser-global.js"></script>
|
|
170
170
|
<script>cssHasPseudo(document)</script>
|
|
171
171
|
```
|
|
172
172
|
|
|
173
173
|
> [!TIP]
|
|
174
|
-
> Please use a versioned url, like this : `https://unpkg.com/css-has-pseudo@6.0.
|
|
174
|
+
> Please use a versioned url, like this : `https://unpkg.com/css-has-pseudo@6.0.2/dist/browser-global.js`
|
|
175
175
|
> Without the version, you might unexpectedly get a new major version of the library with breaking changes.
|
|
176
176
|
|
|
177
177
|
[PostCSS Has Pseudo] works in all major browsers, including
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "css-has-pseudo",
|
|
3
3
|
"description": "Style elements relative to other elements in CSS",
|
|
4
|
-
"version": "6.0.
|
|
4
|
+
"version": "6.0.2",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Antonio Laguna",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"dist"
|
|
61
61
|
],
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@csstools/selector-specificity": "^3.0.
|
|
63
|
+
"@csstools/selector-specificity": "^3.0.2",
|
|
64
64
|
"postcss-selector-parser": "^6.0.13",
|
|
65
65
|
"postcss-value-parser": "^4.2.0"
|
|
66
66
|
},
|