Socket
Socket
Sign inDemoInstall

2gis-maps

Package Overview
Dependencies
262
Maintainers
5
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.6.5 to 3.6.6

2

app/loader.js

@@ -6,3 +6,3 @@ (function() {

var rejects = [];
var version = 'v3.6.5';
var version = 'v3.6.6';
var baseURL = '__BASE_URL__';

@@ -9,0 +9,0 @@ var query = __QUERY__;

@@ -1,1 +0,1 @@

!function(){"use strict";var n=!1,o=[],i="v3.6.5",r="__BASE_URL__",a=__QUERY__,c="true"===a.lazy,d=function(){var e={skin:a.skin,pkg:a.pkg,version:i};/MSIE\x20(\d+\.\d+);/.test(navigator.userAgent)&&parseInt(RegExp.$1,10)<9&&(e.ie8=!0);var t=[];for(var n in e){var o=e[n];o&&t.push(n+"="+o)}return t.length?(t.join("&"),1):""}();function s(){n=!0;var e=document.createElement("script");e.setAttribute("type","text/javascript"),e.setAttribute("src",r+"/js/"+d),e.onerror=function(e){!function(){for(var e=0,t=o.length;e<t;e++)"function"==typeof o[e]&&o[e]()}()},document.getElementsByTagName("head")[0].appendChild(e)}window.DG=window.DG||{},window.DG.ready=!1,window.__dgApi__={callbacks:[[function(){DG.extend(DG.config,__LOCAL_CONFIG__),DG.customConfig&&DG.extend(DG.config,DG.customConfig)},void 0],[function(){return Promise.all([(t=r+"/css/"+d,(i=document.createElement("style")).type="text/css",new Promise(function(o,e){DG.ajax(t,{type:"get",dataType:"html",success:function(e){var t=document.getElementsByTagName("head")[0],n="https://maps.api.2gis.ru/2.0";r!==n&&(e=e.replace(new RegExp(n,"g"),r)),i.styleSheet?(t.appendChild(i),i.styleSheet.cssText=e):(i.appendChild(document.createTextNode(e)),t.appendChild(i)),o()},error:function(){e()}})})),(e=DG.config.protocol+DG.config.webApiServer+"/"+DG.config.webApiVersion+"/region/list",new Promise(function(n){DG.ajax(e,{type:DG.ajax.corsSupport?"get":"jsonp",data:{format:DG.ajax.corsSupport?"json":"jsonp",key:DG.config.webApiKey,fields:DG.config.regionListFields},timeout:DG.config.loadProjectListTimeout,success:function(e){var t=e.result;t&&t.items&&t.items.length&&(DG.projectsList=t.items),n()},error:function(e){n()}})})),new Promise(function(e,t){var n=!1;function o(){document.addEventListener?(document.removeEventListener("DOMContentLoaded",o,!1),window.removeEventListener("load",o,!1)):(document.detachEvent("onreadystatechange",o),window.detachEvent("onload",o)),n||(n=!0,e())}if("loading"!==document.readyState)return o();if(document.addEventListener)document.addEventListener("DOMContentLoaded",o,!1),window.addEventListener("load",o,!1);else if(document.attachEvent){document.attachEvent("onreadystatechange",o),window.attachEvent("onload",o);var i=!1;try{i=null==window.frameElement}catch(e){}document.documentElement.doScroll&&i&&!function t(){if(!n){try{document.documentElement.doScroll("left")}catch(e){return void setTimeout(t,50)}o()}}()}})]);var e,t,i},void 0],[function(){DG.ready=!0},void 0]],version:i};var u=window.DG.then=function(e,t){return DG.then!==u?DG.then(e,t):(window.__dgApi__.callbacks.push([e,t]),c&&!n&&s(),t&&o.push(t),this)};c||s()}();
!function(){"use strict";var n=!1,o=[],i="v3.6.6",r="__BASE_URL__",a=__QUERY__,c="true"===a.lazy,d=function(){var e={skin:a.skin,pkg:a.pkg,version:i};/MSIE\x20(\d+\.\d+);/.test(navigator.userAgent)&&parseInt(RegExp.$1,10)<9&&(e.ie8=!0);var t=[];for(var n in e){var o=e[n];o&&t.push(n+"="+o)}return t.length?(t.join("&"),1):""}();function s(){n=!0;var e=document.createElement("script");e.setAttribute("type","text/javascript"),e.setAttribute("src",r+"/js/"+d),e.onerror=function(e){!function(){for(var e=0,t=o.length;e<t;e++)"function"==typeof o[e]&&o[e]()}()},document.getElementsByTagName("head")[0].appendChild(e)}window.DG=window.DG||{},window.DG.ready=!1,window.__dgApi__={callbacks:[[function(){DG.extend(DG.config,__LOCAL_CONFIG__),DG.customConfig&&DG.extend(DG.config,DG.customConfig)},void 0],[function(){return Promise.all([(t=r+"/css/"+d,(i=document.createElement("style")).type="text/css",new Promise(function(o,e){DG.ajax(t,{type:"get",dataType:"html",success:function(e){var t=document.getElementsByTagName("head")[0],n="https://maps.api.2gis.ru/2.0";r!==n&&(e=e.replace(new RegExp(n,"g"),r)),i.styleSheet?(t.appendChild(i),i.styleSheet.cssText=e):(i.appendChild(document.createTextNode(e)),t.appendChild(i)),o()},error:function(){e()}})})),(e=DG.config.protocol+DG.config.webApiServer+"/"+DG.config.webApiVersion+"/region/list",new Promise(function(n){DG.ajax(e,{type:DG.ajax.corsSupport?"get":"jsonp",data:{format:DG.ajax.corsSupport?"json":"jsonp",key:DG.config.webApiKey,fields:DG.config.regionListFields},timeout:DG.config.loadProjectListTimeout,success:function(e){var t=e.result;t&&t.items&&t.items.length&&(DG.projectsList=t.items),n()},error:function(e){n()}})})),new Promise(function(e,t){var n=!1;function o(){document.addEventListener?(document.removeEventListener("DOMContentLoaded",o,!1),window.removeEventListener("load",o,!1)):(document.detachEvent("onreadystatechange",o),window.detachEvent("onload",o)),n||(n=!0,e())}if("loading"!==document.readyState)return o();if(document.addEventListener)document.addEventListener("DOMContentLoaded",o,!1),window.addEventListener("load",o,!1);else if(document.attachEvent){document.attachEvent("onreadystatechange",o),window.attachEvent("onload",o);var i=!1;try{i=null==window.frameElement}catch(e){}document.documentElement.doScroll&&i&&!function t(){if(!n){try{document.documentElement.doScroll("left")}catch(e){return void setTimeout(t,50)}o()}}()}})]);var e,t,i},void 0],[function(){DG.ready=!0},void 0]],version:i};var u=window.DG.then=function(e,t){return DG.then!==u?DG.then(e,t):(window.__dgApi__.callbacks.push([e,t]),c&&!n&&s(),t&&o.push(t),this)};c||s()}();
{
"name": "2gis-maps",
"version": "3.6.5",
"version": "3.6.6",
"description": "Interactive 2GIS maps API, based on Leaflet",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN FILE",

@@ -1,5 +0,8 @@

## [All capabilities of 2GIS API&SDK](https://dev.2gis.com/)
## [Full updated documentation](https://docs.2gis.com/en)
## All capabilities of 2GIS API&SDK
[dev.2gis.com](https://dev.2gis.com/)
## Full updated documentation
[docs.2gis.com/en](https://docs.2gis.com/en)
## General information

@@ -6,0 +9,0 @@

@@ -1,5 +0,9 @@

## [Все возможности API&SDK 2ГИС](https://dev.2gis.ru/)
## [Полная обновлённая документация](https://docs.2gis.com/ru)
## Все возможности API&SDK 2ГИС
[dev.2gis.ru](https://dev.2gis.ru)
## Полная обновлённая документация
[docs.2gis.com/ru](https://docs.2gis.com/ru)
## Общие сведения

@@ -6,0 +10,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

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

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

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

Sorry, the diff of this file is not supported yet

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