Socket
Socket
Sign inDemoInstall

postcss-custom-properties

Package Overview
Dependencies
8
Maintainers
5
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 13.3.0 to 13.3.1

dist/parse-or-cached.d.ts

6

CHANGELOG.md
# Changes to PostCSS Custom Properties
### 13.3.1
_September 18, 2023_
- Improve performance
### 13.3.0

@@ -4,0 +10,0 @@

2

dist/get-custom-properties-from-root.d.ts
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

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