postcss-custom-properties
Advanced tools
Comparing version 13.3.0 to 13.3.1
# Changes to PostCSS Custom Properties | ||
### 13.3.1 | ||
_September 18, 2023_ | ||
- Improve performance | ||
### 13.3.0 | ||
@@ -4,0 +10,0 @@ |
import type { Root } from 'postcss'; | ||
import valuesParser from 'postcss-value-parser'; | ||
export default function getCustomPropertiesFromRoot(root: Root): Map<string, valuesParser.ParsedValue>; | ||
export default function getCustomPropertiesFromRoot(root: Root, parsedValuesCache: Map<string, valuesParser.ParsedValue>): Map<string, valuesParser.ParsedValue>; |
import type { FunctionNode, Node } from 'postcss-value-parser'; | ||
export declare function isVarFunction(node: Node): node is FunctionNode; | ||
export declare const HAS_VAR_FUNCTION: RegExp; |
@@ -1,6 +0,5 @@ | ||
import valueParser from 'postcss-value-parser'; | ||
import valuesParser from 'postcss-value-parser'; | ||
import type { Declaration } from 'postcss'; | ||
declare const _default: (decl: Declaration, customProperties: Map<string, valueParser.ParsedValue>, opts: { | ||
export declare function transformProperties(decl: Declaration, customProperties: Map<string, valuesParser.ParsedValue>, localCustomProperties: Map<string, valuesParser.ParsedValue>, parsedValuesCache: Map<string, valuesParser.ParsedValue>, opts: { | ||
preserve?: boolean; | ||
}) => void; | ||
export default _default; | ||
}): void; |
@@ -1,2 +0,2 @@ | ||
import valueParser from 'postcss-value-parser'; | ||
export default function transformValueAST(root: valueParser.ParsedValue, customProperties: Map<string, valueParser.ParsedValue>): string; | ||
import valuesParser from 'postcss-value-parser'; | ||
export default function transformValueAST(root: valuesParser.ParsedValue, customProperties: Map<string, valuesParser.ParsedValue>, localCustomProperties: Map<string, valuesParser.ParsedValue>): string; |
{ | ||
"name": "postcss-custom-properties", | ||
"description": "Use Custom Properties Queries in CSS", | ||
"version": "13.3.0", | ||
"version": "13.3.1", | ||
"author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -5,2 +5,6 @@ # PostCSS Custom Properties [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS] | ||
```bash | ||
npm install postcss-custom-properties --save-dev | ||
``` | ||
[PostCSS Custom Properties] lets you use Custom Properties in CSS, following | ||
@@ -7,0 +11,0 @@ the [CSS Custom Properties] specification. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
39351
17
93
187
0