Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@csstools/postcss-scope-pseudo-class

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@csstools/postcss-scope-pseudo-class - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

25

CHANGELOG.md
# 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc