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.4 to 12.1.0

dist/index.d.ts

8

CHANGELOG.md
# Changes to PostCSS Custom Properties
### 12.1.0 (January 12, 2022)
- Add `overrideImportFromWithRoot` option
- Allow `.mjs` in `importFrom`
- Converted to typescript
- Correct typings for plugin options
- Fix unicode support in custom property names
### 12.0.4 (January 7, 2022)

@@ -4,0 +12,0 @@

11

package.json
{
"name": "postcss-custom-properties",
"version": "12.0.4",
"version": "12.1.0",
"description": "Use Custom Properties Queries in CSS",

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

"module": "dist/index.mjs",
"types": "index.d.ts",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
}
},
"files": [

@@ -17,0 +24,0 @@ "CHANGELOG.md",

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

### overrideImportFromWithRoot
The `overrideImportFromWithRoot` option determines if properties added via `importFrom` are overridden by properties that exist in `:root`.
Defaults to `false`.
```js
postcssCustomProperties({
overrideImportFromWithRoot: true
});
```
### exportTo

@@ -142,0 +153,0 @@

index.d.ts

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc