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.8.9 to 0.8.10

2

dist/index.cjs.js

@@ -167,3 +167,3 @@ 'use strict';

if (hi === 7) lo++, hi--;
if (hi === 6) return hexAt(hex, lo++) << 8 | hexAt(hex, lo += 2) << 4 | hexAt(hex, lo += 2);
if (hi === 6) return hexAt(hex, lo) << 8 | hexAt(hex, lo += 2) << 4 | hexAt(hex, lo + 2);
if (hi === 4) lo++, hi--;

@@ -170,0 +170,0 @@ if (hi === 3) return hexAt(hex, lo++) << 8 | hexAt(hex, lo++) << 4 | hexAt(hex, lo++);

@@ -163,3 +163,3 @@ import { round } from '@aryth/math';

if (hi === 7) lo++, hi--;
if (hi === 6) return hexAt(hex, lo++) << 8 | hexAt(hex, lo += 2) << 4 | hexAt(hex, lo += 2);
if (hi === 6) return hexAt(hex, lo) << 8 | hexAt(hex, lo += 2) << 4 | hexAt(hex, lo + 2);
if (hi === 4) lo++, hi--;

@@ -166,0 +166,0 @@ if (hi === 3) return hexAt(hex, lo++) << 8 | hexAt(hex, lo++) << 4 | hexAt(hex, lo++);

{
"name": "@palett/convert",
"version": "0.8.9",
"version": "0.8.10",
"description": "A color converter among RGB, HEX and HSL.",

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

"homepage": "https://github.com/hoyeungw/palett/rgb#readme",
"gitHead": "7175f50132def2e559edbed00883d1e565be5d90"
"gitHead": "23423f1e548d18e7eff091a2e016fd76659c2e5c"
}
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