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

react-mapbox-gl

Package Overview
Dependencies
Maintainers
4
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-mapbox-gl - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

2

lib-esm/geojson-layer.js

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

}
if (prevProps.data !== data) {
if (this.props.data !== data) {
source.setData(this.props.data);

@@ -152,0 +152,0 @@ this.source = __assign({ type: 'geojson' }, this.props.sourceOptions, { data: this.props.data });

@@ -161,3 +161,3 @@ "use strict";

}
if (prevProps.data !== data) {
if (this.props.data !== data) {
source.setData(this.props.data);

@@ -164,0 +164,0 @@ this.source = __assign({ type: 'geojson' }, this.props.sourceOptions, { data: this.props.data });

{
"name": "react-mapbox-gl",
"version": "5.1.0",
"version": "5.1.1",
"description": "A React binding of mapbox-gl-js",

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

@@ -272,3 +272,3 @@ import * as React from 'react';

if (prevProps.data !== data) {
if (this.props.data !== data) {
source.setData(this.props.data);

@@ -275,0 +275,0 @@

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