@mapbox/mapbox-gl-style-spec
Advanced tools
Comparing version 13.7.1 to 13.7.2-alpha.1
@@ -31,3 +31,2 @@ // @flow | ||
function eq(ctx, a, b) { return a === b; } | ||
@@ -34,0 +33,0 @@ function neq(ctx, a, b) { return a !== b; } |
@@ -15,3 +15,2 @@ // @flow | ||
import type {Expression, ExpressionRegistry} from './expression'; | ||
@@ -18,0 +17,0 @@ import type {Type} from './types'; |
{ | ||
"name": "@mapbox/mapbox-gl-style-spec", | ||
"description": "a specification for mapbox gl styles", | ||
"version": "13.7.1", | ||
"version": "13.7.2-alpha.1", | ||
"author": "Mapbox", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -71,2 +71,3 @@ // @flow | ||
import featureFilter from './feature_filter'; | ||
import convertFilter from './feature_filter/convert'; | ||
import Color from './util/color'; | ||
@@ -109,2 +110,3 @@ import { createFunction, isFunction } from './function'; | ||
featureFilter, | ||
convertFilter, | ||
Color, | ||
@@ -111,0 +113,0 @@ styleFunction as function, |
@@ -159,2 +159,3 @@ // @flow | ||
"layout"?: {| | ||
"fill-sort-key"?: DataDrivenPropertyValueSpecification<number>, | ||
"visibility"?: "visible" | "none" | ||
@@ -187,2 +188,3 @@ |}, | ||
"line-round-limit"?: PropertyValueSpecification<number>, | ||
"line-sort-key"?: DataDrivenPropertyValueSpecification<number>, | ||
"visibility"?: "visible" | "none" | ||
@@ -285,2 +287,3 @@ |}, | ||
"layout"?: {| | ||
"circle-sort-key"?: DataDrivenPropertyValueSpecification<number>, | ||
"visibility"?: "visible" | "none" | ||
@@ -287,0 +290,0 @@ |}, |
@@ -32,9 +32,2 @@ | ||
}); | ||
if ('url' in value) { | ||
for (const prop in value) { | ||
if (['type', 'url', 'tileSize'].indexOf(prop) < 0) { | ||
errors.push(new ValidationError(`${key}.${prop}`, value[prop], `a source with a "url" property may not include a "${prop}" property`)); | ||
} | ||
} | ||
} | ||
return errors; | ||
@@ -41,0 +34,0 @@ |
@@ -43,3 +43,2 @@ | ||
// Main recursive validation function. Tracks: | ||
@@ -46,0 +45,0 @@ // |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1526331
26288
2