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

@palett/convert

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@palett/convert - npm Package Compare versions

Comparing version 0.7.8 to 0.7.9

3

dist/index.cjs.js

@@ -153,2 +153,4 @@ 'use strict';

const intToRgb = n => [n >> 16 & 0xFF, n >> 8 & 0xFF, n & 0xFF];
exports.hexToHsl = hexToHsl;

@@ -159,4 +161,5 @@ exports.hexToInt = hexToInt;

exports.hslToRgb = hslToRgb;
exports.intToRgb = intToRgb;
exports.rgbToHex = rgbToHex;
exports.rgbToHsl = rgbToHsl;
exports.rgbToInt = rgbToInt;

4

dist/index.esm.js

@@ -149,2 +149,4 @@ import { round } from '@aryth/math';

export { hexToHsl, hexToInt, hexToRgb, hslToHex, hslToRgb, rgbToHex, rgbToHsl, rgbToInt };
const intToRgb = n => [n >> 16 & 0xFF, n >> 8 & 0xFF, n & 0xFF];
export { hexToHsl, hexToInt, hexToRgb, hslToHex, hslToRgb, intToRgb, rgbToHex, rgbToHsl, rgbToInt };
{
"name": "@palett/convert",
"version": "0.7.8",
"version": "0.7.9",
"description": "A color converter among RGB, HEX and HSL.",

@@ -18,3 +18,3 @@ "main": "dist/index.cjs.js",

"dependencies": {
"@aryth/math": "^0.3.16"
"@aryth/math": "^0.3.19"
},

@@ -44,3 +44,3 @@ "repository": {

"homepage": "https://github.com/hoyeungw/palett/rgb#readme",
"gitHead": "ffbf1bc4f866bee517884ee6ded22e256c0ba8ff"
"gitHead": "122d02cbfff85a82d703afb1ee1a30b38789cd02"
}
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