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

@trava/react-native-drax

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trava/react-native-drax - npm Package Compare versions

Comparing version 0.9.7 to 0.9.8

6

build/DraxList.js

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

const DraxListUnforwarded = (props, forwardedRef) => {
const { data, style, flatListStyle, itemStyles, renderItemContent, renderItemHoverContent, onItemDragStart, onItemDragPositionChange, onItemDragEnd, onItemReorder, viewPropsExtractor, id: idProp, reorderable: reorderableProp, onScroll: onScrollProp, itemsDraggable = true, lockItemDragsToMainAxis = false, longPressDelay = params_1.defaultListItemLongPressDelay, onChangeList, ...flatListProps } = props;
const { data, style, flatListStyle, itemStyles, renderItemContent, renderItemHoverContent, onItemDragStart, onItemDragPositionChange, onItemDragEnd, onItemReorder, viewPropsExtractor, id: idProp, reorderable: reorderableProp, onScroll: onScrollProp, itemsDraggable = true, lockItemDragsToMainAxis = false, longPressDelay = params_1.defaultListItemLongPressDelay, onChangeList, autoScrollIntervalLength = params_1.defaultAutoScrollIntervalLength, autoScrollJumpRatio = params_1.defaultAutoScrollJumpRatio, ...flatListProps } = props;
// Copy the value of the horizontal property for internal use.

@@ -551,3 +551,3 @@ const horizontal = flatListProps.horizontal ?? false;

}
const jumpLength = containerLength * 0.2;
const jumpLength = containerLength * autoScrollJumpRatio;
let offset;

@@ -576,3 +576,3 @@ if (scrollStateRef.current === types_1.AutoScrollDirection.Forward) {

doScroll();
scrollIntervalRef.current = setInterval(doScroll, 250);
scrollIntervalRef.current = setInterval(doScroll, autoScrollIntervalLength);
}, [doScroll]);

@@ -579,0 +579,0 @@ // Stop the auto-scrolling interval.

{
"name": "@trava/react-native-drax",
"version": "0.9.7",
"version": "0.9.8",
"description": "A drag-and-drop system for React Native",

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

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