Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

colors-convert

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

colors-convert - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

6

dist/lib/rgb.js

@@ -0,5 +1,7 @@

import { round } from 'lodash';
import { isRgb, isRgba, isColor, isHex, isCmyk } from '../types/isType';
import { applyFnToEachObjValue } from './utils';
import { round } from 'lodash';
import { hex2rgba, cmyk2rgb, hsl2rgb } from '..';
import { hex2rgba } from './hex';
import { cmyk2rgb } from './cmyk';
import { hsl2rgb } from './hsl';
// Convert an rgb object to hex

@@ -6,0 +8,0 @@ export function rgb2hex(rgb) {

{
"name": "colors-convert",
"version": "1.1.3",
"version": "1.1.4",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

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