New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

color-name-list

Package Overview
Dependencies
Maintainers
2
Versions
390
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-name-list - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

2

package.json
{
"name": "color-name-list",
"version": "0.0.1",
"version": "0.1.0",
"description": "long list of color names",

@@ -5,0 +5,0 @@ "main": "dist/colornames.json",

@@ -23,3 +23,3 @@ const http = require('http');

'Content-Type': 'application/json; charset=utf-8',
}
};

@@ -29,2 +29,3 @@ // object containing the name:hex pairs for nearestColor()

// prepare color array
colors.forEach((c) => {

@@ -72,3 +73,5 @@ const rgb = lib.hexToRgb(c.hex);

};
})
});
// closest.clearCache()
};

@@ -144,4 +147,5 @@

}
console.log(`Server running and listening on port ${port}`);
console.log(`http://localhost:${port}/${baseUrl}`);
});
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