laymur 0.10.1 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1894,7 +1894,7 @@ class UIColor extends i {
1894
1894
  this._private_bInternal = b;
1895
1895
  this._private_aInternal = a;
1896
1896
  }
1897
- else {
1897
+ else if (args.length >= 1) {
1898
1898
  const [firstArgument, a = 1] = args;
1899
1899
  if (typeof firstArgument === "string") {
1900
1900
  this.setColorName(firstArgument, a);