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

rc-drawer

Package Overview
Dependencies
Maintainers
4
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-drawer - npm Package Compare versions

Comparing version 4.4.2 to 4.4.3

5

es/DrawerChild.js

@@ -49,2 +49,4 @@ import _extends from "@babel/runtime/helpers/esm/extends";

if (e.touches.length > 1) {
// need clear the startPos when another touch event happens
_this.startPos = null;
return;

@@ -60,3 +62,4 @@ }

_this.removeMoveHandler = function (e) {
if (e.changedTouches.length > 1) {
// the startPos may be null or undefined
if (e.changedTouches.length > 1 || !_this.startPos) {
return;

@@ -63,0 +66,0 @@ }

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

if (e.touches.length > 1) {
// need clear the startPos when another touch event happens
_this.startPos = null;
return;

@@ -85,3 +87,4 @@ }

_this.removeMoveHandler = function (e) {
if (e.changedTouches.length > 1) {
// the startPos may be null or undefined
if (e.changedTouches.length > 1 || !_this.startPos) {
return;

@@ -88,0 +91,0 @@ }

4

package.json
{
"name": "rc-drawer",
"version": "4.4.2",
"version": "4.4.3",
"description": "drawer component for react",

@@ -55,3 +55,3 @@ "keywords": [

"@types/enzyme": "^3.1.15",
"@types/jest": "^26.0.0",
"@types/jest": "^27.0.2",
"@types/raf": "^3.4.0",

@@ -58,0 +58,0 @@ "@types/react": "^17.0.9",

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