Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-dnd-touch-backend

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dnd-touch-backend - npm Package Compare versions

Comparing version 0.3.14 to 0.3.15

3

dist/Touch.js

@@ -48,3 +48,4 @@ /**

// msElementsFromPoint is much faster but returns a node-list, so convert it to an array
return Array.prototype.slice.call(document.msElementsFromPoint(x, y), 0);
var msElements = document.msElementsFromPoint(x, y);
return msElements && Array.prototype.slice.call(msElements, 0);
}

@@ -51,0 +52,0 @@

{
"name": "react-dnd-touch-backend",
"version": "0.3.14",
"version": "0.3.15",
"description": "Touch backend for react-dnd",

@@ -8,3 +8,3 @@ "main": "dist/Touch.js",

"lint": "eslint --quiet --cache . --ext .js --ext .jsx",
"prepublish": "gulp dist",
"prepublishOnly": "gulp dist",
"test": "gulp clean lint",

@@ -31,8 +31,8 @@ "dev": "gulp dev"

"dependencies": {
"react-dnd": "^2.4.0",
"react-dnd": "^2.5.1",
"invariant": "^2.2.2"
},
"devDependencies": {
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.0",
"babel-preset-es2015": "^6.24.1",

@@ -45,4 +45,4 @@ "babel-preset-react": "^6.24.1",

"del": "^3.0.0",
"eslint": "^4.3.0",
"eslint-plugin-react": "^7.1.0",
"eslint": "^4.6.1",
"eslint-plugin-react": "^7.3.0",
"gulp": "^3.9.1",

@@ -49,0 +49,0 @@ "gulp-babel": "^7.0.0",

@@ -31,3 +31,4 @@ /**

// msElementsFromPoint is much faster but returns a node-list, so convert it to an array
return Array.prototype.slice.call(document.msElementsFromPoint(x, y), 0);
const msElements = document.msElementsFromPoint(x, y);
return msElements && Array.prototype.slice.call(msElements, 0);
}

@@ -34,0 +35,0 @@

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

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