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

mapbox-gl-controls

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapbox-gl-controls - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

1

lib/inspect.js

@@ -231,2 +231,3 @@ function _classCallCheck(instance, Constructor) {

value: function updatePosition() {
if (!this.lngLat) return;
var canvasRect = this.canvas.getBoundingClientRect();

@@ -233,0 +234,0 @@ var pos = this.map.project(this.lngLat);

2

package.json
{
"name": "mapbox-gl-controls",
"version": "1.4.1",
"version": "1.4.2",
"description": "Controls for mapbox-gl",

@@ -5,0 +5,0 @@ "scripts": {

@@ -174,2 +174,3 @@ import iconInspect from './icon-inspect.svg';

updatePosition() {
if (!this.lngLat) return;
const canvasRect = this.canvas.getBoundingClientRect();

@@ -176,0 +177,0 @@ const pos = this.map.project(this.lngLat);

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