@workday/canvas-kit-react-icon
Advanced tools
Comparing version
@@ -43,3 +43,5 @@ "use strict"; | ||
var _b = _a.color, color = _b === void 0 ? canvas_kit_react_core_1.BrandingColor.Blueberry : _b; | ||
if (!Object.values(canvas_kit_react_core_1.BrandingColor).includes(color)) { | ||
if (!Object.keys(canvas_kit_react_core_1.BrandingColor) | ||
.map(function (color) { return canvas_kit_react_core_1.BrandingColor[color]; }) | ||
.includes(color)) { | ||
throw Error("Color \"" + color + "\" not found"); | ||
@@ -46,0 +48,0 @@ } |
@@ -31,3 +31,5 @@ var __extends = (this && this.__extends) || (function () { | ||
var _b = _a.color, color = _b === void 0 ? BrandingColor.Blueberry : _b; | ||
if (!Object.values(BrandingColor).includes(color)) { | ||
if (!Object.keys(BrandingColor) | ||
.map(function (color) { return BrandingColor[color]; }) | ||
.includes(color)) { | ||
throw Error("Color \"" + color + "\" not found"); | ||
@@ -34,0 +36,0 @@ } |
{ | ||
"name": "@workday/canvas-kit-react-icon", | ||
"version": "3.4.1-next.6+1d4e3d4", | ||
"version": "3.4.1-next.7+6b8f2bb", | ||
"description": "Canvas icons", | ||
@@ -45,4 +45,4 @@ "author": "Workday, Inc. (https://www.workday.com)", | ||
"@emotion/styled": "^10.0.17", | ||
"@workday/canvas-kit-react-common": "^3.4.1-next.6+1d4e3d4", | ||
"@workday/canvas-kit-react-core": "^3.4.1-next.6+1d4e3d4", | ||
"@workday/canvas-kit-react-common": "^3.4.1-next.7+6b8f2bb", | ||
"@workday/canvas-kit-react-core": "^3.4.1-next.7+6b8f2bb", | ||
"@workday/design-assets-types": "^0.2.4" | ||
@@ -55,3 +55,3 @@ }, | ||
}, | ||
"gitHead": "1d4e3d4ffc27d7743c4bfb33b67e3d7fba473758" | ||
"gitHead": "6b8f2bb70b6b2a7de98a90ea7675174f25cc73c0" | ||
} |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
86078
0.29%1841
0.44%