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
14
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 13.7.1 to 13.7.2-alpha.1

1

expression/definitions/comparison.js

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

2

package.json
{
"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

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