Socket
Socket
Sign inDemoInstall

@h21-map/yandex-drawing-manager

Package Overview
Dependencies
0
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.5 to 4.0.6

5

index.js

@@ -270,5 +270,8 @@ function DrawingManager(map, opts) {

me._setDrawing(true);
if (!_patch.length) { return false };
me._area = new ymaps.Polygon([_patch,], {}, options);
me.map.geoObjects.add(me._area);
me.vertexCount++;
me.map.container.events.remove('mousedown');
me.map.container.events.types.mousedown = undefined;
me.polygonArea.set(me.vertexCount, me._area);

@@ -313,3 +316,3 @@ me.map.events.fire('draw:area_create', me._convertCoordinates(patch));

if (this._enableDraw) {
me.map.container.events.once('mousedown', (e) => {
me.map.container.events.add('mousedown', (e) => {
e = window.event || e;

@@ -316,0 +319,0 @@ if (e.button == 2) { return; }

2

package.json

@@ -5,3 +5,3 @@

"scope": "@h21-map",
"version": "4.0.5",
"version": "4.0.6",
"description": "A library of Yandex Map JS API",

@@ -8,0 +8,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc