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

mapbox-gl-style-spec

Package Overview
Dependencies
Maintainers
42
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 8.6.0 to 8.6.1

docs/index.html

6

lib/validate/validate_function.js

@@ -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": {

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