New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chromaticity-color-utilities

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromaticity-color-utilities - npm Package Compare versions

Comparing version 0.8.4-alpha to 0.8.5-alpha

2

dist/ColorType.d.ts

@@ -81,3 +81,3 @@ import * as Colors from './Colors';

*/
toString(whitespace?: string | number, quotes?: boolean): string;
toString(whitespace?: string | number, quotes?: boolean, showType?: boolean): string;
to<T extends colorType>(type: string, args?: newColorArgs): T;

@@ -84,0 +84,0 @@ getType(): string;

@@ -66,5 +66,7 @@ "use strict";

*/
colorType.prototype.toString = function (whitespace, quotes) {
colorType.prototype.toString = function (whitespace, quotes, showType) {
if (quotes === void 0) { quotes = true; }
var colon = whitespace ? ': ' : ':'; // only have a space if the string is whitespaced
if (showType === void 0) { showType = true; }
// only have a space if the string is whitespaced
var type = showType ? this.getType() + (whitespace ? ': ' : ':') : '';
var json = JSON.stringify(this.toStringValues(), null, whitespace);

@@ -74,3 +76,3 @@ if (!quotes) {

}
return this.getType() + colon + json;
return type + json;
};

@@ -77,0 +79,0 @@ colorType.prototype.to = function (type, args) {

{
"name": "chromaticity-color-utilities",
"version": "0.8.4-alpha",
"version": "0.8.5-alpha",
"description": "Color utilities for Node.js",

@@ -5,0 +5,0 @@ "main": "dist/main.js",

@@ -179,1 +179,2 @@ # <img src="https://reiniiriarios.github.io/chromaticity-color-utilities/img/chromaticity-icon-01.png" width="26" height="26"> chromaticity-color-utilities

- Support for 8-digit hex values (RRGGBBAA)
- Diagrams in docs
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