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.0.1 to 13.1.0

yarn.lock

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 13.1.0
## ✨ Features and improvements
* Add `raster-resampling` raster paint property ([#6411](https://github.com/mapbox/mapbox-gl-js/pull/6411)) (h/t [andrewharvey](https://github.com/andrewharvey))
* Add `symbol-placement: line-center` ([#6821](https://github.com/mapbox/mapbox-gl-js/pull/6821))
## 13.0.1

@@ -2,0 +8,0 @@

3

feature_filter/index.js

@@ -31,3 +31,3 @@ // @flow

case '<=':
return filter.length === 3 && (Array.isArray(filter[1]) || Array.isArray(filter[2]));
return filter.length !== 3 || (Array.isArray(filter[1]) || Array.isArray(filter[2]));

@@ -157,2 +157,1 @@ case 'any':

}

@@ -206,3 +206,3 @@ // Generated code; do not edit. Edit build/generate-flow-typed-style-spec.js instead.

"layout"?: {|
"symbol-placement"?: PropertyValueSpecification<"point" | "line">,
"symbol-placement"?: PropertyValueSpecification<"point" | "line" | "line-center">,
"symbol-spacing"?: PropertyValueSpecification<number>,

@@ -353,2 +353,3 @@ "symbol-avoid-edges"?: PropertyValueSpecification<boolean>,

"raster-contrast"?: PropertyValueSpecification<number>,
"raster-resampling"?: PropertyValueSpecification<"linear" | "nearest">,
"raster-fade-duration"?: PropertyValueSpecification<number>

@@ -355,0 +356,0 @@ |}

{
"name": "@mapbox/mapbox-gl-style-spec",
"description": "a specification for mapbox gl styles",
"version": "13.0.1",
"version": "13.1.0",
"author": "Mapbox",

@@ -6,0 +6,0 @@ "keywords": [

// @flow
type ExpressionType = 'data-driven' | 'cross-faded' | 'cross-faded-data-driven' | 'color-ramp' | 'data-constant' | 'constant';
type ExpressionParameters = Array<'zoom' | 'feature' | 'heatmap-density' | 'line-progress'>;
type ExpressionParameters = Array<'zoom' | 'feature' | 'feature-state' | 'heatmap-density' | 'line-progress'>;

@@ -6,0 +6,0 @@ type ExpressionSpecification = {

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