postcss-selector-not
Advanced tools
Comparing version 6.0.1 to 7.0.0
# Changes to PostCSS Selector Not | ||
### 7.0.0 (January 24, 2023) | ||
- Updated: Support for Node v14+ (major). | ||
- Fix: Do not throw when a selector is invalid, show a warning instead. | ||
### 6.0.1 (July 8, 2022) | ||
@@ -4,0 +9,0 @@ |
import type { PluginCreator } from 'postcss'; | ||
declare const creator: PluginCreator<never>; | ||
/** postcss-selector-not plugin options */ | ||
export type pluginOptions = Record<string, never>; | ||
declare const creator: PluginCreator<pluginOptions>; | ||
export default creator; |
{ | ||
"name": "postcss-selector-not", | ||
"description": "PostCSS plugin to transform :not() W3C CSS level 4 pseudo class to :not() CSS level 3 selectors", | ||
"version": "6.0.1", | ||
"version": "7.0.0", | ||
"contributors": [ | ||
@@ -25,3 +25,3 @@ { | ||
"engines": { | ||
"node": "^12 || ^14 || >=16" | ||
"node": "^14 || ^16 || >=18" | ||
}, | ||
@@ -48,7 +48,8 @@ "main": "dist/index.cjs", | ||
"peerDependencies": { | ||
"postcss": "^8.2" | ||
"postcss": "^8.4" | ||
}, | ||
"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');\"", | ||
"docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs", | ||
@@ -74,4 +75,3 @@ "lint": "npm run lint:eslint && npm run lint:package-json", | ||
"postcss-plugin", | ||
"selector", | ||
"selectors" | ||
"selector" | ||
], | ||
@@ -78,0 +78,0 @@ "csstools": { |
@@ -1,2 +0,2 @@ | ||
# PostCSS Selector Not [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][postcss] | ||
# PostCSS Selector Not [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS] | ||
@@ -44,4 +44,9 @@ [<img alt="npm version" src="https://img.shields.io/npm/v/postcss-selector-not.svg" height="20">][npm-url] [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/not-pseudo-class.svg" height="20">][css-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] | ||
| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) | | ||
| --- | --- | --- | --- | --- | --- | | ||
- [Node](INSTALL.md#node) | ||
- [PostCSS CLI](INSTALL.md#postcss-cli) | ||
- [PostCSS Load Config](INSTALL.md#postcss-load-config) | ||
- [Webpack](INSTALL.md#webpack) | ||
- [Next.js](INSTALL.md#nextjs) | ||
- [Gulp](INSTALL.md#gulp) | ||
- [Grunt](INSTALL.md#grunt) | ||
@@ -53,7 +58,4 @@ [cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test | ||
[Gulp PostCSS]: https://github.com/postcss/gulp-postcss | ||
[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss | ||
[PostCSS]: https://github.com/postcss/postcss | ||
[PostCSS Loader]: https://github.com/postcss/postcss-loader | ||
[PostCSS Selector Not]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-selector-not | ||
[Selectors 4 Specification]: https://www.w3.org/TR/selectors-4/#negation-pseudo |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
9599
13
60