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

@antv/l7-map

Package Overview
Dependencies
Maintainers
41
Versions
436
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/l7-map - npm Package Compare versions

Comparing version 2.5.6-l7mini6 to 2.5.6-l7mini7

10

lib/handler/handler_manager.js

@@ -18,3 +18,3 @@ "use strict";

var _l = require("@antv/l7");
var _l7Utils = require("@antv/l7-utils");

@@ -210,3 +210,3 @@ var _merge = _interopRequireDefault(require("lodash/merge"));

if (!_l.isMiniAli) {
if (!_l7Utils.isMiniAli) {
this.listeners.push([window.document, 'mousemove', {

@@ -234,2 +234,6 @@ capture: true

}
_l7Utils.l7window.document.addEventListener('touchstart', function (e) {
console.log('l7 window document touchstart', e);
}, {});
}

@@ -240,3 +244,3 @@

value: function getHandleFunction(target, type) {
if (!_l.isMiniAli) {
if (!_l7Utils.isMiniAli) {
return target === window.document ? this.handleWindowEvent : this.handleEvent;

@@ -243,0 +247,0 @@ } else {

@@ -191,2 +191,4 @@ "use strict";

console.log('e.deltaMode', e.deltaMode);
console.log('window.WheelEvent', window.WheelEvent.DOM_DELTA_LINE);
var value = e.deltaMode === window.WheelEvent.DOM_DELTA_LINE ? e.deltaY * 40 : e.deltaY;

@@ -193,0 +195,0 @@ var nowTime = (0, _util.now)();

@@ -54,11 +54,15 @@ "use strict";

function prefersReducedMotion() {
if (!window.matchMedia) {
if (!isMiniAli) {
if (!window.matchMedia) {
return false;
}
if (reducedMotionQuery == null) {
reducedMotionQuery = window.matchMedia('(prefers-reduced-motion: reduce)');
}
return reducedMotionQuery.matches;
} else {
return false;
}
if (reducedMotionQuery == null) {
reducedMotionQuery = window.matchMedia('(prefers-reduced-motion: reduce)');
}
return reducedMotionQuery.matches;
}

@@ -89,5 +93,3 @@

var now = isMiniAli ? function () {
return 1;
} : window.performance && window.performance.now ? window.performance.now.bind(window.performance) : Date.now.bind(Date);
var now = isMiniAli ? Date.now.bind(Date) : window.performance && window.performance.now ? window.performance.now.bind(window.performance) : Date.now.bind(Date);
exports.now = now;

@@ -94,0 +96,0 @@ var raf = isMiniAli ? setInterval : window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;

{
"name": "@antv/l7-map",
"version": "2.5.6-l7mini6",
"version": "2.5.6-l7mini7",
"description": "l7 map",

@@ -5,0 +5,0 @@ "keywords": [],

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