@mapbox/mapbox-gl-style-spec
Advanced tools
Comparing version 14.0.0-beta.1 to 14.0.0-beta.2
@@ -9,5 +9,5 @@ #!/usr/bin/env node | ||
/* eslint import/no-unresolved: [error, { ignore: ['^@mapbox/mapbox-gl-style-spec-private$'] }] */ | ||
/* eslint import/no-unresolved: [error, { ignore: ['^@mapbox/mapbox-gl-style-spec$'] }] */ | ||
/* $FlowFixMe[cannot-resolve-module] */ | ||
import {format, composite} from '@mapbox/mapbox-gl-style-spec-private'; | ||
import {format, composite} from '@mapbox/mapbox-gl-style-spec'; | ||
@@ -14,0 +14,0 @@ const argv = minimist(process.argv.slice(2)); |
@@ -9,5 +9,5 @@ #!/usr/bin/env node | ||
/* eslint import/no-unresolved: [error, { ignore: ['^@mapbox/mapbox-gl-style-spec-private$'] }] */ | ||
/* eslint import/no-unresolved: [error, { ignore: ['^@mapbox/mapbox-gl-style-spec$'] }] */ | ||
/* $FlowFixMe[cannot-resolve-module] */ | ||
import {format} from '@mapbox/mapbox-gl-style-spec-private'; | ||
import {format} from '@mapbox/mapbox-gl-style-spec'; | ||
@@ -14,0 +14,0 @@ const argv = minimist(process.argv.slice(2)); |
@@ -9,5 +9,5 @@ #!/usr/bin/env node | ||
/* eslint import/no-unresolved: [error, { ignore: ['^@mapbox/mapbox-gl-style-spec-private$'] }] */ | ||
/* eslint import/no-unresolved: [error, { ignore: ['^@mapbox/mapbox-gl-style-spec$'] }] */ | ||
/* $FlowFixMe[cannot-resolve-module] */ | ||
import {format, migrate} from '@mapbox/mapbox-gl-style-spec-private'; | ||
import {format, migrate} from '@mapbox/mapbox-gl-style-spec'; | ||
@@ -14,0 +14,0 @@ const argv = minimist(process.argv.slice(2)); |
@@ -9,5 +9,5 @@ #!/usr/bin/env node | ||
/* eslint import/no-unresolved: [error, { ignore: ['^@mapbox/mapbox-gl-style-spec-private$'] }] */ | ||
/* eslint import/no-unresolved: [error, { ignore: ['^@mapbox/mapbox-gl-style-spec$'] }] */ | ||
/* $FlowFixMe[cannot-resolve-module] */ | ||
import {validate, validateMapboxApiSupported} from '@mapbox/mapbox-gl-style-spec-private'; | ||
import {validate, validateMapboxApiSupported} from '@mapbox/mapbox-gl-style-spec'; | ||
@@ -14,0 +14,0 @@ const argv = minimist(process.argv.slice(2), { |
{ | ||
"name": "@mapbox/mapbox-gl-style-spec", | ||
"description": "a specification for mapbox gl styles", | ||
"version": "14.0.0-beta.1", | ||
"version": "14.0.0-beta.2", | ||
"author": "Mapbox", | ||
@@ -11,3 +11,3 @@ "keywords": [ | ||
], | ||
"license": "ISC", | ||
"license": "SEE LICENSE IN LICENSE.txt", | ||
"main": "./dist/index.cjs", | ||
@@ -14,0 +14,0 @@ "module": "./dist/index.es.js", |
@@ -60,1 +60,8 @@ # Mapbox GL style specification & utilities | ||
To validate that a style can be uploaded to the Mapbox Styles API, use the `--mapbox-api-supported` flag. | ||
## License | ||
This project uses the standard Mapbox license, which is designed to provide flexibility for our customers and a sustained foundation for the development of our technology. Please consult LICENSE.txt for its specific details. | ||
We understand that the Mapbox Style Specification embodied in this module may be useful in a wide variety of projects. If you are interested in using this module in a manner not expressly permitted by its license, please do not hesitate to contact legal@mapbox.com with details of what you have in mind. | ||
``` |
@@ -59,3 +59,3 @@ // @flow | ||
if (options.layerType === 'symbol') { | ||
if (propertyKey === 'text-field' && style && !style.glyphs) { | ||
if (propertyKey === 'text-field' && style && !style.glyphs && !style.imports) { | ||
errors.push(new ValidationError(key, value, 'use of "text-field" requires a style "glyphs" property')); | ||
@@ -62,0 +62,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
3956006
137
61240
67
1
1
80