ol 9.2.5-dev.1718182619798 → 9.2.5-dev.1718183112915

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/color.js CHANGED
@@ -102,11 +102,11 @@ export function fromString(s) {
102
102
 
103
103
  const color = parseRgba(s);
104
104
  if (color.length !== 4) {
105
- throw new Error('Failed to parse "' + s + '" as color');
105
+ throw new Error('failed to parse "' + s + '" as color');
106
106
  }
107
107
  for (const c of color) {
108
108
  if (isNaN(c)) {
109
- throw new Error('Failed to parse "' + s + '" as color');
109
+ throw new Error('failed to parse "' + s + '" as color');
110
110
  }
111
111
  }
112
112
  normalize(color);