Socket
Socket
Sign inDemoInstall

is-css-color-name

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-css-color-name - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

9

lib/index.js
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = isCSSColorName;
var _cssColorNames = require('css-color-names');

@@ -19,4 +14,4 @@

*/
function isCSSColorName(name) {
module.exports = function (name) {
return typeof name === 'string' ? !!_cssColorNames2.default[name.toLowerCase()] : false;
}
};
{
"name": "is-css-color-name",
"version": "0.1.2",
"version": "0.1.3",
"description": "Determine if a name is a valid CSS color name",

@@ -5,0 +5,0 @@ "main": "lib/index.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