@mapbox/mapbox-gl-style-spec 14.29.0 → 14.29.1

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.cjs CHANGED
@@ -20719,7 +20719,7 @@ Use an identity property function instead: ${example}.`
20719
20719
  const useThemeMatch = propertyKey.match(USE_THEME_KEY_RE);
20720
20720
  if (useThemeMatch && lightPropertySpec[useThemeMatch[1]]) {
20721
20721
  errors = errors.concat(validate({
20722
- key: key2,
20722
+ key: propertyKey,
20723
20723
  value: properties[propertyKey],
20724
20724
  valueSpec: { type: "string" },
20725
20725
  style,
@@ -20727,8 +20727,8 @@ Use an identity property function instead: ${example}.`
20727
20727
  }));
20728
20728
  } else if (transitionMatch && lightPropertySpec[transitionMatch[1]] && lightPropertySpec[transitionMatch[1]].transition) {
20729
20729
  errors = errors.concat(validate({
20730
- key: key2,
20731
- value: light[key2],
20730
+ key: propertyKey,
20731
+ value: properties[propertyKey],
20732
20732
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
20733
20733
  valueSpec: styleSpec.transition,
20734
20734
  style,