Socket
Socket
Sign inDemoInstall

agnostic-maps

Package Overview
Dependencies
5
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.5 to 1.1.7

4

package.json
{
"name": "agnostic-maps",
"version": "1.1.5",
"version": "1.1.7",
"description": "A set of wrappers for modern maps API e.g. Open Street Maps and Yandex",

@@ -26,4 +26,4 @@ "keywords": [

"leaflet.icon.glyph": "^0.2.1",
"ymaps-loader": "^1.0.5"
"ymaps-loader": "^1.0.6"
}
}

@@ -22,4 +22,4 @@ /* global ymaps */

module.exports.createMarker = function (position) {
return new ymaps.Placemark([position.lat, position.lon], {}, opts || {});
module.exports.createMarker = function (position, options) {
return new ymaps.Placemark([position.lat, position.lon], {}, options || {});
};

@@ -70,3 +70,3 @@

module.exports.load = function (options) {
loadYmaps({ lang: options.lang, region: options.region, apiKey: options.yMapsApiKey });
return loadYmaps({ lang: options.lang, region: options.region, apiKey: options.yMapsApiKey });
};

@@ -73,0 +73,0 @@

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