mapbox-gl-style-spec
Advanced tools
Comparing version 8.6.0 to 8.6.1
@@ -12,2 +12,3 @@ 'use strict'; | ||
var originalValueSpec = options.valueSpec; | ||
var originalValue = options.value; | ||
@@ -80,6 +81,7 @@ var stopKeyType; | ||
} else { | ||
errors = errors.concat(validate({ | ||
var isZoomFunction = !originalValue.property; | ||
errors = errors.concat((isZoomFunction ? validateNumber : validateValue)({ | ||
key: key + '[0]', | ||
value: value[0], | ||
valueSpec: {type: 'number'}, | ||
valueSpec: {}, | ||
style: options.style, | ||
@@ -86,0 +88,0 @@ styleSpec: options.styleSpec |
{ | ||
"name": "mapbox-gl-style-spec", | ||
"description": "a specification for mapbox gl styles", | ||
"version": "8.6.0", | ||
"version": "8.6.1", | ||
"author": "Mapbox", | ||
@@ -6,0 +6,0 @@ "bin": { |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
394489
58
5339
0