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

@ceresimaging/react-mapbox-gl

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ceresimaging/react-mapbox-gl - npm Package Compare versions

Comparing version 6.0.3 to 6.0.4

1

lib-esm/layer.js

@@ -128,2 +128,3 @@ var __extends = (this && this.__extends) || (function () {

}
console.log('Hi! Map is: ', map);
Object.entries(eventToHandler).forEach(function (_a) {

@@ -130,0 +131,0 @@ var event = _a[0], propName = _a[1];

@@ -140,2 +140,3 @@ "use strict";

}
console.log('Hi! Map is: ', map);
Object.entries(eventToHandler).forEach(function (_a) {

@@ -142,0 +143,0 @@ var event = _a[0], propName = _a[1];

2

package.json
{
"name": "@ceresimaging/react-mapbox-gl",
"version": "6.0.3",
"version": "6.0.4",
"description": "A React binding of mapbox-gl-js",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -227,11 +227,13 @@ import * as React from 'react';

if (!map.getLayer(id)) {
console.log(`map.addLayer(${layer.id}, ${before})`)
console.log(`map.addLayer(${layer.id}, ${before})`);
map.addLayer(layer, before);
} else if (before) {
console.log(`map.moveLayer(${id}, ${before})`)
console.log(`map.moveLayer(${id}, ${before})`);
map.moveLayer(id, before);
} else {
console.log(`map.noneOfTheAbove(${id})`)
console.log(`map.noneOfTheAbove(${id})`);
}
console.log('Hi! Map is: ', map);
(Object.entries(eventToHandler) as Array<

@@ -238,0 +240,0 @@ [keyof EventToHandlersType, keyof LayerEvents]

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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