Socket
Socket
Sign inDemoInstall

@csstools/css-color-parser

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@csstools/css-color-parser - npm Package Compare versions

Comparing version 1.3.3 to 1.4.0

6

CHANGELOG.md
# Changes to CSS Color Parser
### 1.4.0
_October 9, 2023_
- Add utility to determine if a color is in the Display P3 gamut.
### 1.3.3

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

1

dist/color-data.d.ts

@@ -34,1 +34,2 @@ import type { Color } from '@csstools/color-helpers';

export declare function colorDataFitsRGB_Gamut(x: ColorData): boolean;
export declare function colorDataFitsDisplayP3_Gamut(x: ColorData): boolean;

2

dist/index.d.ts

@@ -6,3 +6,3 @@ import type { ColorData } from './color-data';

export { SyntaxFlag } from './color-data';
export { colorDataTo, colorDataFitsRGB_Gamut } from './color-data';
export { colorDataTo, colorDataFitsRGB_Gamut, colorDataFitsDisplayP3_Gamut } from './color-data';
export { serializeP3 } from './serialize/p3';

@@ -9,0 +9,0 @@ export { serializeRGB } from './serialize/rgb';

{
"name": "@csstools/css-color-parser",
"description": "Parse CSS color values",
"version": "1.3.3",
"version": "1.4.0",
"contributors": [

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