New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-map-gl

Package Overview
Dependencies
Maintainers
16
Versions
293
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-map-gl - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

2

CHANGELOG.md
# CHANGELOG
# Version 5.1
## 5.1.2 (Nov 8, 2019)
- Fix geolocate control crash (#934)

@@ -5,0 +7,0 @@ ## 5.1.1 (Oct 31, 2019)

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

(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_onClickGeolocate", function () {
_this._mapboxGeolocateControl._map = _this._context.map;
return _this._mapboxGeolocateControl.trigger();

@@ -113,0 +114,0 @@ });

@@ -71,2 +71,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

_defineProperty(this, "_onClickGeolocate", () => {
this._mapboxGeolocateControl._map = this._context.map;
return this._mapboxGeolocateControl.trigger();

@@ -73,0 +74,0 @@ });

@@ -90,2 +90,3 @@ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";

_defineProperty(_assertThisInitialized(_this), "_onClickGeolocate", function () {
_this._mapboxGeolocateControl._map = _this._context.map;
return _this._mapboxGeolocateControl.trigger();

@@ -92,0 +93,0 @@ });

2

package.json
{
"name": "react-map-gl",
"description": "A React wrapper for MapboxGL-js and overlay API.",
"version": "5.1.1",
"version": "5.1.2",
"keywords": [

@@ -6,0 +6,0 @@ "mapbox",

@@ -159,2 +159,3 @@ // @flow

_onClickGeolocate = () => {
this._mapboxGeolocateControl._map = this._context.map;
return this._mapboxGeolocateControl.trigger();

@@ -161,0 +162,0 @@ };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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