@csstools/postcss-scope-pseudo-class
Advanced tools
Comparing version 3.0.0 to 3.0.1
# Changes to PostCSS Scope Pseudo Class | ||
### 3.0.1 | ||
_December 15, 2023_ | ||
- Fix type definitions | ||
### 3.0.0 | ||
@@ -15,19 +21,2 @@ | ||
### 2.0.1 | ||
_January 28, 2023_ | ||
- Improve `types` declaration in `package.json` | ||
### 2.0.0 | ||
_January 24, 2023_ | ||
- Updated: Support for Node v14+ (major). | ||
- Fix: Do not throw when a selector is invalid, show a warning instead. | ||
### 1.0.0 | ||
_November 4, 2022_ | ||
- Initial version | ||
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-scope-pseudo-class/CHANGELOG.md) |
import type { PluginCreator } from 'postcss'; | ||
declare const creator: PluginCreator<pluginOptions>; | ||
export default creator; | ||
/** postcss-scope-pseudo-class plugin options */ | ||
export type pluginOptions = { | ||
export declare type pluginOptions = { | ||
/** Preserve the original notation. default: false */ | ||
preserve?: boolean; | ||
}; | ||
declare const creator: PluginCreator<pluginOptions>; | ||
export default creator; | ||
export { } |
{ | ||
"name": "@csstools/postcss-scope-pseudo-class", | ||
"description": "The Reference Element Pseudo-class: :scope", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"contributors": [ | ||
@@ -30,11 +30,14 @@ { | ||
}, | ||
"type": "module", | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs", | ||
"default": "./dist/index.mjs" | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.mjs" | ||
}, | ||
"require": { | ||
"default": "./dist/index.cjs" | ||
} | ||
} | ||
@@ -54,13 +57,2 @@ }, | ||
}, | ||
"devDependencies": { | ||
"@csstools/postcss-tape": "*" | ||
}, | ||
"scripts": { | ||
"build": "rollup -c ../../rollup/default.mjs", | ||
"docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs", | ||
"lint": "node ../../.github/bin/format-package-json.mjs", | ||
"prepublishOnly": "npm run build && npm run test", | ||
"test": "node .tape.mjs && node ./test/_import.mjs && node ./test/_require.cjs", | ||
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs" | ||
}, | ||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-scope-pseudo-class#readme", | ||
@@ -78,12 +70,3 @@ "repository": { | ||
"selector" | ||
], | ||
"csstools": { | ||
"cssdbId": "scope-pseudo-class", | ||
"exportName": "postcssScopePseudoClass", | ||
"humanReadableName": "PostCSS Scope Pseudo Class", | ||
"specUrl": "https://www.w3.org/TR/selectors-4/#the-scope-pseudo" | ||
}, | ||
"volta": { | ||
"extends": "../../package.json" | ||
} | ||
] | ||
} |
@@ -5,2 +5,6 @@ # PostCSS Scope Pseudo Class [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS] | ||
```bash | ||
npm install @csstools/postcss-scope-pseudo-class --save-dev | ||
``` | ||
[PostCSS Scope Pseudo Class] lets you use the `:scope` Pseudo-class following the [Selectors 4 specification]. | ||
@@ -7,0 +11,0 @@ |
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
0
17
87
Yes
7172
1