Socket
Socket
Sign inDemoInstall

is-css-color-name

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

2

lib/index.js

@@ -21,5 +21,5 @@ 'use strict';

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

@@ -28,3 +28,3 @@ "main": "lib/index.js",

"coveralls": "^2.11.2",
"del": "^1.2.0",
"del": "^2.0.0",
"eslint-config-dustinspecker": "^0.1.0",

@@ -31,0 +31,0 @@ "eslint-path-formatter": "^0.1.1",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc