@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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/validate/validate_lights.ts +3 -3
package/dist/index.es.js
CHANGED
|
@@ -20713,7 +20713,7 @@ function validateLights(options) {
|
|
|
20713
20713
|
const useThemeMatch = propertyKey.match(USE_THEME_KEY_RE);
|
|
20714
20714
|
if (useThemeMatch && lightPropertySpec[useThemeMatch[1]]) {
|
|
20715
20715
|
errors = errors.concat(validate({
|
|
20716
|
-
key:
|
|
20716
|
+
key: propertyKey,
|
|
20717
20717
|
value: properties[propertyKey],
|
|
20718
20718
|
valueSpec: { type: "string" },
|
|
20719
20719
|
style,
|
|
@@ -20721,8 +20721,8 @@ function validateLights(options) {
|
|
|
20721
20721
|
}));
|
|
20722
20722
|
} else if (transitionMatch && lightPropertySpec[transitionMatch[1]] && lightPropertySpec[transitionMatch[1]].transition) {
|
|
20723
20723
|
errors = errors.concat(validate({
|
|
20724
|
-
key:
|
|
20725
|
-
value:
|
|
20724
|
+
key: propertyKey,
|
|
20725
|
+
value: properties[propertyKey],
|
|
20726
20726
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
20727
20727
|
valueSpec: styleSpec.transition,
|
|
20728
20728
|
style,
|