Socket
Socket
Sign inDemoInstall

postcss-custom-properties

Package Overview
Dependencies
Maintainers
4
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-custom-properties - npm Package Compare versions

Comparing version 13.1.1 to 13.1.2

dist/is-var-function.d.ts

4

CHANGELOG.md
# Changes to PostCSS Custom Properties
### 13.1.2 (February 7, 2023)
- Do not apply fallback values when these contain unresolvable custom properties.
### 13.1.1 (January 28, 2023)

@@ -4,0 +8,0 @@

2

dist/get-custom-properties-from-root.d.ts

@@ -1,3 +0,3 @@

import { Root } from 'postcss';
import type { Root } from 'postcss';
import valuesParser from 'postcss-value-parser';
export default function getCustomPropertiesFromRoot(root: Root): Map<string, valuesParser.ParsedValue>;
{
"name": "postcss-custom-properties",
"description": "Use Custom Properties Queries in CSS",
"version": "13.1.1",
"version": "13.1.2",
"author": "Jonathan Neal <jonathantneal@hotmail.com>",

@@ -6,0 +6,0 @@ "contributors": [

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

**Note:** This plugin only processes variables that are defined in the `:root` or `html` selector.
**Note:**
- Only processes variables that were defined in the `:root` or `html` selector.
- Locally defined variables will be used as fallbacks only within the same rule, but not elsewhere.
- Fallback values in `var()` will be used if the variable was not defined in the `:root` or `html` selector.
Locally defined custom properties will be used as fallbacks only within the same rule, but not elsewhere.
## Usage

@@ -62,0 +63,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