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

react-native-gesture-handler

Package Overview
Dependencies
Maintainers
3
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-gesture-handler - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

106

lib/commonjs/index.js

@@ -90,86 +90,2 @@ "use strict";

});
Object.defineProperty(exports, "TapGesture", {
enumerable: true,
get: function () {
return _tapGesture.TapGestureType;
}
});
Object.defineProperty(exports, "PanGesture", {
enumerable: true,
get: function () {
return _panGesture.PanGestureType;
}
});
Object.defineProperty(exports, "FlingGesture", {
enumerable: true,
get: function () {
return _flingGesture.FlingGestureType;
}
});
Object.defineProperty(exports, "LongPressGesture", {
enumerable: true,
get: function () {
return _longPressGesture.LongPressGestureType;
}
});
Object.defineProperty(exports, "PinchGesture", {
enumerable: true,
get: function () {
return _pinchGesture.PinchGestureType;
}
});
Object.defineProperty(exports, "RotationGesture", {
enumerable: true,
get: function () {
return _rotationGesture.RotationGestureType;
}
});
Object.defineProperty(exports, "ForceTouchGesture", {
enumerable: true,
get: function () {
return _forceTouchGesture.ForceTouchGestureType;
}
});
Object.defineProperty(exports, "NativeGesture", {
enumerable: true,
get: function () {
return _nativeGesture.NativeGestureType;
}
});
Object.defineProperty(exports, "ManualGesture", {
enumerable: true,
get: function () {
return _manualGesture.ManualGestureType;
}
});
Object.defineProperty(exports, "ComposedGesture", {
enumerable: true,
get: function () {
return _gestureComposition.ComposedGestureType;
}
});
Object.defineProperty(exports, "RaceGesture", {
enumerable: true,
get: function () {
return _gestureComposition.RaceGestureType;
}
});
Object.defineProperty(exports, "SimultaneousGesture", {
enumerable: true,
get: function () {
return _gestureComposition.SimultaneousGestureType;
}
});
Object.defineProperty(exports, "ExclusiveGesture", {
enumerable: true,
get: function () {
return _gestureComposition.ExclusiveGestureType;
}
});
Object.defineProperty(exports, "GestureStateManager", {
enumerable: true,
get: function () {
return _gestureStateManager.GestureStateManagerType;
}
});
Object.defineProperty(exports, "NativeViewGestureHandler", {

@@ -302,24 +218,2 @@ enumerable: true,

var _tapGesture = require("./handlers/gestures/tapGesture");
var _panGesture = require("./handlers/gestures/panGesture");
var _flingGesture = require("./handlers/gestures/flingGesture");
var _longPressGesture = require("./handlers/gestures/longPressGesture");
var _pinchGesture = require("./handlers/gestures/pinchGesture");
var _rotationGesture = require("./handlers/gestures/rotationGesture");
var _forceTouchGesture = require("./handlers/gestures/forceTouchGesture");
var _nativeGesture = require("./handlers/gestures/nativeGesture");
var _manualGesture = require("./handlers/gestures/manualGesture");
var _gestureComposition = require("./handlers/gestures/gestureComposition");
var _gestureStateManager = require("./handlers/gestures/gestureStateManager");
var _NativeViewGestureHandler = require("./handlers/NativeViewGestureHandler");

@@ -326,0 +220,0 @@

@@ -16,13 +16,2 @@ import { initialize } from './init';

export { GestureObjects as Gesture } from './handlers/gestures/gestureObjects';
export { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
export { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
export { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
export { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
export { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
export { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
export { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
export { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
export { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
export { ComposedGestureType as ComposedGesture, RaceGestureType as RaceGesture, SimultaneousGestureType as SimultaneousGesture, ExclusiveGestureType as ExclusiveGesture } from './handlers/gestures/gestureComposition';
export { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';

@@ -29,0 +18,0 @@ export { RawButton, BaseButton, RectButton, BorderlessButton } from './components/GestureButtons';

2

lib/typescript/handlers/ForceTouchGestureHandler.d.ts

@@ -42,3 +42,3 @@ import React from 'react';

};
export declare const ForceTouchGestureHandler: typeof ForceTouchFallback | React.ComponentClass<ForceTouchGestureHandlerProps & React.RefAttributes<any>, any> | React.FunctionComponent<ForceTouchGestureHandlerProps & React.RefAttributes<any>>;
export declare const ForceTouchGestureHandler: typeof ForceTouchFallback | React.ComponentType<ForceTouchGestureHandlerProps & React.RefAttributes<any>>;
export {};

@@ -6,2 +6,2 @@ import { GestureType } from './gestures/gesture';

export declare function unregisterHandler(handlerTag: number): void;
export declare function findHandler(handlerTag: number): import("./gestures/gesture").BaseGesture<Record<string, unknown>> | import("./gestures/gesture").BaseGesture<Record<string, never>> | import("./gestures/gesture").BaseGesture<import("./TapGestureHandler").TapGestureHandlerEventPayload> | import("./gestures/gesture").BaseGesture<import("./PanGestureHandler").PanGestureHandlerEventPayload> | import("./gestures/gesture").BaseGesture<import("./LongPressGestureHandler").LongPressGestureHandlerEventPayload> | import("./gestures/gesture").BaseGesture<import("./RotationGestureHandler").RotationGestureHandlerEventPayload> | import("./gestures/gesture").BaseGesture<import("./PinchGestureHandler").PinchGestureHandlerEventPayload> | import("./gestures/gesture").BaseGesture<import("./FlingGestureHandler").FlingGestureHandlerEventPayload> | import("./gestures/gesture").BaseGesture<import("./ForceTouchGestureHandler").ForceTouchGestureHandlerEventPayload> | import("./gestures/gesture").BaseGesture<import("./NativeViewGestureHandler").NativeViewGestureHandlerPayload> | undefined;
export declare function findHandler(handlerTag: number): GestureType | undefined;

@@ -25,13 +25,13 @@ export { Directions } from './Directions';

export { GestureObjects as Gesture } from './handlers/gestures/gestureObjects';
export { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
export { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
export { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
export { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
export { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
export { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
export { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
export { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
export { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
export { ComposedGestureType as ComposedGesture, RaceGestureType as RaceGesture, SimultaneousGestureType as SimultaneousGesture, ExclusiveGestureType as ExclusiveGesture, } from './handlers/gestures/gestureComposition';
export { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
export type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
export type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
export type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
export type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
export type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
export type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
export type { ComposedGestureType as ComposedGesture, RaceGestureType as RaceGesture, SimultaneousGestureType as SimultaneousGesture, ExclusiveGestureType as ExclusiveGesture, } from './handlers/gestures/gestureComposition';
export type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';

@@ -38,0 +38,0 @@ export type { RawButtonProps, BaseButtonProps, RectButtonProps, BorderlessButtonProps, } from './components/GestureButtons';

@@ -1,2 +0,1 @@

import Hammer from '@egjs/hammerjs';
export declare const CONTENT_TOUCHES_DELAY = 240;

@@ -3,0 +2,0 @@ export declare const CONTENT_TOUCHES_QUICK_TAP_END_DELAY = 50;

{
"name": "react-native-gesture-handler",
"version": "2.1.2",
"version": "2.1.3",
"description": "Experimental implementation of a new declarative API for gesture handling in react-native",

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

@@ -64,12 +64,12 @@ import { initialize } from './init';

export { GestureObjects as Gesture } from './handlers/gestures/gestureObjects';
export { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
export { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
export { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
export { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
export { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
export { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
export { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
export { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
export { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
export {
export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
export type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
export type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
export type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
export type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
export type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
export type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
export type {
ComposedGestureType as ComposedGesture,

@@ -80,3 +80,3 @@ RaceGestureType as RaceGesture,

} from './handlers/gestures/gestureComposition';
export { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
export type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';

@@ -83,0 +83,0 @@ export type {

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