Socket
Socket
Sign inDemoInstall

@operational/theme

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@operational/theme - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

lib/utils.js

@@ -11,3 +11,3 @@ "use strict";

}
var hexRegEx = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i;
var hexRegEx = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|currentColor/i;
var isHex = hexRegEx.test(color);

@@ -14,0 +14,0 @@ if (isHex) {

{
"name": "@operational/theme",
"version": "0.1.2",
"version": "0.1.3",
"description": "Customization theme for the Operational UI packages.",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -11,3 +11,3 @@ import { Theme } from "./index"

}
const hexRegEx = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i
const hexRegEx = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|currentColor/i
const isHex = hexRegEx.test(color)

@@ -14,0 +14,0 @@ if (isHex) {

Sorry, the diff of this file is not supported yet

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