Socket
Socket
Sign inDemoInstall

postcss-custom-properties

Package Overview
Dependencies
5
Maintainers
4
Versions
85
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 12.0.0 to 12.0.1

CHANGELOG.md

2

index.d.ts

@@ -23,3 +23,3 @@ import type * as PostCSS from 'postcss'

postcssPlugin: 'postcss-custom-properties',
prepare({ root: any }): (
prepare({ root }: { root: any }): (
| {

@@ -26,0 +26,0 @@ Declaration: (decl: any) => void;

{
"name": "postcss-custom-properties",
"version": "12.0.0",
"version": "12.0.1",
"description": "Use Custom Properties Queries in CSS",

@@ -10,61 +10,39 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>",

"license": "MIT",
"repository": "postcss/postcss-custom-properties",
"homepage": "https://github.com/postcss/postcss-custom-properties#readme",
"bugs": "https://github.com/postcss/postcss-custom-properties/issues",
"main": "index.cjs",
"module": "index.mjs",
"types": "./index.d.ts",
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-properties#readme",
"bugs": "https://github.com/csstools/postcss-plugins/issues",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "index.d.ts",
"files": [
"index.d.ts",
"index.cjs",
"index.mjs"
"CHANGELOG.md",
"INSTALL.md",
"LICENSE.md",
"README.md",
"dist",
"index.d.ts"
],
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.cjs",
"types": "./index.d.ts"
}
"bin": {
"postcss-custom-properties": "dist/cli.mjs"
},
"scripts": {
"prepublishOnly": "npm test",
"pretest:tape": "rollup -c .rollup.js --silent",
"test": "npm run test:js && npm run test:tape",
"test:js": "eslint src/{*,**/*}.js --cache --ignore-path .gitignore --quiet",
"test:tape": "postcss-tape"
"build": "rollup -c ../../rollup/default.js",
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
"lint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
"prepublishOnly": "npm run clean && npm run build && npm run test",
"stryker": "stryker run --logLevel error",
"test": "postcss-tape --ci"
},
"engines": {
"node": ">=12"
"node": "^12 || ^14 || >=16"
},
"dependencies": {
"postcss-values-parser": "^6"
"postcss-value-parser": "^4.2.0"
},
"devDependencies": {
"postcss": "^8.3.6",
"postcss-tape": "^6.0.1"
},
"peerDependencies": {
"postcss": "^8.3"
},
"devDependencies": {
"@babel/core": "7.15.5",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.15.6",
"@rollup/plugin-babel": "5.3.0",
"@web/rollup-plugin-copy": "^0.3.0",
"eslint": "7.32.0",
"postcss": "8.3.6",
"postcss-tape": "6.0.1",
"pre-commit": "1.2.2",
"rollup": "2.56.3"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"root": true
},
"keywords": [

@@ -82,3 +60,11 @@ "postcss",

"specification"
]
],
"repository": {
"type": "git",
"url": "https://github.com/csstools/postcss-plugins.git",
"directory": "plugins/postcss-custom-properties"
},
"volta": {
"extends": "../../package.json"
}
}

@@ -44,13 +44,5 @@ # PostCSS Custom Properties [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS" width="90" height="90" align="right">][postcss]

Use [PostCSS Custom Properties] to process your CSS:
Use [PostCSS Custom Properties] as a [PostCSS] plugin:
```js
const postcssCustomProperties = require('postcss-custom-properties');
postcssCustomProperties.process(YOUR_CSS /*, processOptions, pluginOptions */);
```
Or use it as a [PostCSS] plugin:
```js
const postcss = require('postcss');

@@ -188,6 +180,6 @@ const postcssCustomProperties = require('postcss-custom-properties');

[cli-img]: https://img.shields.io/travis/postcss/postcss-custom-properties/master.svg
[cli-url]: https://travis-ci.org/postcss/postcss-custom-properties
[css-img]: https://github.com/postcss/postcss-custom-properties/workflows/test/badge.svg
[css-url]: https://github.com/postcss/postcss-custom-properties/actions/workflows/test.yml?query=workflow/test
[cli-img]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml/badge.svg
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
[css-img]: https://cssdb.org/badge/custom-properties.svg
[css-url]: https://cssdb.org/#custom-properties
[git-img]: https://img.shields.io/badge/support-chat-blue.svg

@@ -200,2 +192,2 @@ [git-url]: https://gitter.im/postcss/postcss

[PostCSS]: https://github.com/postcss/postcss
[PostCSS Custom Properties]: https://github.com/postcss/postcss-custom-properties
[PostCSS Custom Properties]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-properties
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc