Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@mapbox/mapbox-gl-style-spec

Package Overview
Dependencies
Maintainers
28
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapbox/mapbox-gl-style-spec - npm Package Compare versions

Comparing version 14.0.0-beta.1 to 14.0.0-beta.2

LICENSE.txt

4

bin/gl-style-composite.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc