ba-js-datepicker
Advanced tools
Comparing version 1.0.0-beta.4 to 1.0.0-beta.5
@@ -64,2 +64,10 @@ "use strict"; | ||
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } | ||
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } | ||
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } | ||
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } | ||
var getRGB = (0, _moize.default)(function (str, lighten) { | ||
@@ -78,6 +86,7 @@ var color; | ||
var _color$rgb = color.rgb(), | ||
r = _color$rgb.r, | ||
g = _color$rgb.g, | ||
b = _color$rgb.b; | ||
var _color$rgb$array = color.rgb().array(), | ||
_color$rgb$array2 = _slicedToArray(_color$rgb$array, 3), | ||
r = _color$rgb$array2[0], | ||
g = _color$rgb$array2[1], | ||
b = _color$rgb$array2[2]; | ||
@@ -84,0 +93,0 @@ return "rgb(".concat(r, ",").concat(g, ",").concat(b, ")"); |
@@ -19,3 +19,3 @@ { | ||
"name": "ba-js-datepicker", | ||
"version": "1.0.0-beta.4", | ||
"version": "1.0.0-beta.5", | ||
"main": "lib/index.js", | ||
@@ -22,0 +22,0 @@ "author": "Patrick Whittle <patrick.whittle@bookassist.com>", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
922857
6511