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

mjolnir.js

Package Overview
Dependencies
Maintainers
8
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjolnir.js - npm Package Compare versions

Comparing version 2.5.1 to 2.5.2

4

CHANGELOG.md
# Change Log
#### [2.5.2] - Jun 24, 2021
- Fix duplicate right click events when using multiple managers (#86)
#### [2.5.1] - May 10, 2021

@@ -4,0 +8,0 @@

2

dist/es5/utils/hammer-overrides.js

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

if (ev.button > 0) {
if (ev.button > 0 && ev.type === 'pointerdown') {
if (!some(store, function (e) {

@@ -36,0 +36,0 @@ return e.pointerId === ev.pointerId;

@@ -26,3 +26,3 @@ const INPUT_START = 1;

if (ev.button > 0) {
if (ev.button > 0 && ev.type === 'pointerdown') {
if (!some(store, e => e.pointerId === ev.pointerId)) {

@@ -29,0 +29,0 @@ store.push(ev);

@@ -26,3 +26,3 @@ var INPUT_START = 1;

if (ev.button > 0) {
if (ev.button > 0 && ev.type === 'pointerdown') {
if (!some(store, function (e) {

@@ -29,0 +29,0 @@ return e.pointerId === ev.pointerId;

{
"name": "mjolnir.js",
"description": "An Event Manager",
"version": "2.5.1",
"version": "2.5.2",
"keywords": [

@@ -6,0 +6,0 @@ "hammerjs",

@@ -40,3 +40,3 @@ /**

// Allow non-left mouse buttons through
if (ev.button > 0) {
if (ev.button > 0 && ev.type === 'pointerdown') {
if (!some(store, e => e.pointerId === ev.pointerId)) {

@@ -43,0 +43,0 @@ store.push(ev);

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