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

color-octree

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-octree - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

dist/cjs.js

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

return _objectSpread({}, best, {
d: minDist
d: minDist ** 0.5
});

@@ -209,0 +209,0 @@ };

@@ -202,3 +202,3 @@ function _defineProperty(obj, key, value) {

return _objectSpread({}, best, {
d: minDist
d: minDist ** 0.5
});

@@ -205,0 +205,0 @@ };

@@ -208,3 +208,3 @@ (function (global, factory) {

return _objectSpread({}, best, {
d: minDist
d: minDist ** 0.5
});

@@ -211,0 +211,0 @@ };

@@ -122,3 +122,3 @@ export const parseHex = hex =>

});
return { ...best, d: minDist };
return { ...best, d: minDist ** 0.5 };
};
{
"name": "color-octree",
"version": "2.0.1",
"version": "2.0.2",
"description": "Get closest hex color",

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

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