Skip to content

Commit 7769a9c

Browse files
committed
css-has-pseudo v7.0.0
1 parent 794ef81 commit 7769a9c

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

plugins/css-has-pseudo/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changes to CSS Has Pseudo
22

3-
### Unreleased (major)
3+
### 7.0.0
4+
5+
_August 3, 2024_
46

57
- Updated: Support for Node v18+ (major).
68
- Updated [`@csstools/selector-specificity`](https://github.com/csstools/postcss-plugins/tree/main/packages/selector-specificity) to [`4.0.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/selector-specificity/CHANGELOG.md#400) (major)

plugins/css-has-pseudo/README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# PostCSS Has Pseudo [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS]
22

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-
53
```bash
64
npm install css-has-pseudo --save-dev
75
```
@@ -46,16 +44,7 @@ postcss([
4644
]).process(YOUR_CSS /*, processOptions */);
4745
```
4846

49-
[PostCSS Has Pseudo] runs in all Node environments, with special
50-
instructions for:
5147

52-
- [Node](INSTALL.md#node)
53-
- [PostCSS CLI](INSTALL.md#postcss-cli)
54-
- [PostCSS Load Config](INSTALL.md#postcss-load-config)
55-
- [Webpack](INSTALL.md#webpack)
56-
- [Next.js](INSTALL.md#nextjs)
57-
- [Gulp](INSTALL.md#gulp)
58-
- [Grunt](INSTALL.md#grunt)
5948

6049
## Options
6150

@@ -166,12 +155,12 @@ or
166155

167156
```html
168157
<!-- 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.5/dist/browser-global.js"></script>
158+
<script src="https://unpkg.com/css-has-pseudo@7.0.0/dist/browser-global.js"></script>
170159
<script>cssHasPseudo(document)</script>
171160
```
172161

173162
> [!TIP]
174-
> Please use a versioned url, like this : `https://unpkg.com/css-has-pseudo@6.0.5/dist/browser-global.js`
163+
> Please use a versioned url, like this : `https://unpkg.com/css-has-pseudo@7.0.0/dist/browser-global.js`
175164
> Without the version, you might unexpectedly get a new major version of the library with breaking changes.
176165
177166
[PostCSS Has Pseudo] works in all major browsers, including

plugins/css-has-pseudo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "css-has-pseudo",
33
"description": "Style elements relative to other elements in CSS",
4-
"version": "6.0.5",
4+
"version": "7.0.0",
55
"contributors": [
66
{
77
"name": "Antonio Laguna",

0 commit comments

Comments
 (0)