Socket
Socket
Sign inDemoInstall

@ctrl/tinycolor

Package Overview
Dependencies
0
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.0.1

4

dist/index.js

@@ -6,3 +6,3 @@ "use strict";

const css_color_names_js_1 = require("./css-color-names.js");
const format_input_1 = require("./format-input");
const format_input_js_1 = require("./format-input.js");
const util_js_1 = require("./util.js");

@@ -20,3 +20,3 @@ class TinyColor {

this.originalInput = color;
const rgb = (0, format_input_1.inputToRGB)(color);
const rgb = (0, format_input_js_1.inputToRGB)(color);
this.originalInput = color;

@@ -23,0 +23,0 @@ this.r = rgb.r;

import { numberInputToObject, rgbaToHex, rgbToHex, rgbToHsl, rgbToHsv } from './conversion.js';
import { names } from './css-color-names.js';
import { inputToRGB } from './format-input';
import { inputToRGB } from './format-input.js';
import { bound01, boundAlpha, clamp01 } from './util.js';

@@ -5,0 +5,0 @@ export class TinyColor {

{
"name": "@ctrl/tinycolor",
"version": "4.0.0",
"version": "4.0.1",
"description": "Fast, small color manipulation and conversion for JavaScript",

@@ -5,0 +5,0 @@ "author": "Scott Cooper <scttcper@gmail.com>",

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