Socket
Socket
Sign inDemoInstall

react-sortable-hoc

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-sortable-hoc - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

3

CHANGELOG.md
Changelog
------------
### 0.8.2
- Fix: TouchEvent is undefined in certain browsers, such as Safari [#382](https://github.com/clauderic/react-sortable-hoc/issues/382)
### 0.8.1

@@ -4,0 +7,0 @@ - Fix scrolling issues on mobile with anchor tag elements [#380](https://github.com/clauderic/react-sortable-hoc/pull/380)

2

dist/commonjs/utils.js

@@ -131,3 +131,3 @@ 'use strict';

function isTouchEvent(event) {
return event instanceof TouchEvent || event.touches && event.touches.length || event.changedTouches && event.changedTouches.length;
return event instanceof window.TouchEvent || event.touches && event.touches.length || event.changedTouches && event.changedTouches.length;
}

@@ -134,0 +134,0 @@

@@ -111,3 +111,3 @@ import _Object$keys from 'babel-runtime/core-js/object/keys';

export function isTouchEvent(event) {
return event instanceof TouchEvent || event.touches && event.touches.length || event.changedTouches && event.changedTouches.length;
return event instanceof window.TouchEvent || event.touches && event.touches.length || event.changedTouches && event.changedTouches.length;
}

@@ -114,0 +114,0 @@

{
"name": "react-sortable-hoc",
"version": "0.8.1",
"version": "0.8.2",
"description": "Set of higher-order components to turn any list into a sortable, touch-friendly, animated list",

@@ -5,0 +5,0 @@ "author": {

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

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

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