Socket
Socket
Sign inDemoInstall

@ant-design/fast-color

Package Overview
Dependencies
Maintainers
7
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ant-design/fast-color - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

3

es/FastColor.js

@@ -303,3 +303,4 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

s: this.s,
l: this.l
l: this.l,
a: this.a
};

@@ -306,0 +307,0 @@ }

@@ -5,3 +5,3 @@ export interface RGB {

b: number;
a?: number;
a: number;
}

@@ -12,3 +12,3 @@ export interface HSL {

l: number;
a?: number;
a: number;
}

@@ -19,4 +19,4 @@ export interface HSV {

v: number;
a?: number;
a: number;
}
export type ColorInput = string | RGB | HSL | HSV;

@@ -310,3 +310,4 @@ "use strict";

s: this.s,
l: this.l
l: this.l,
a: this.a
};

@@ -313,0 +314,0 @@ }

@@ -5,3 +5,3 @@ export interface RGB {

b: number;
a?: number;
a: number;
}

@@ -12,3 +12,3 @@ export interface HSL {

l: number;
a?: number;
a: number;
}

@@ -19,4 +19,4 @@ export interface HSV {

v: number;
a?: number;
a: number;
}
export type ColorInput = string | RGB | HSL | HSV;
{
"name": "@ant-design/fast-color",
"version": "1.2.0",
"version": "1.2.1",
"description": "fast and small color class",

@@ -36,2 +36,3 @@ "engines": {

"start": "dumi dev",
"bench": "vitest bench",
"build": "dumi build",

@@ -51,2 +52,3 @@ "compile": "father build",

"@umijs/fabric": "^4.0.1",
"color2k": "^2.0.3",
"cross-env": "^7.0.3",

@@ -53,0 +55,0 @@ "dumi": "^2.3.8",

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