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

react-native-vk-draggablelist

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-vk-draggablelist - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

AnimatedCell.js

@@ -16,2 +16,4 @@ /**

propTypes: {
disableDrag: PropTypes.bool.isRequired, //scrollView or view
shouldUpdateId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), //需要更新的cell id

@@ -145,3 +147,3 @@ shouldUpdate:PropTypes.bool,

...this.emptyPanResponder.panHandlers,
onStartShouldSetResponder: () => true,
onStartShouldSetResponder: () => !this.props.disableDrag,
onResponderGrant: (evt, gestureState) => {

@@ -148,0 +150,0 @@ console.log("onResponderGrant:", this.props.keyName);

@@ -15,2 +15,4 @@ 'use strict';

propTypes: {
disableDrag: PropTypes.bool, //scrollView or view
isScrollView: PropTypes.bool.isRequired, //scrollView or view

@@ -34,2 +36,3 @@ dataSource: PropTypes.array.isRequired, //data

return {
disableDrag:false
};

@@ -178,2 +181,3 @@ },

keyName={key + 'd'}
disableDrag={this.props.disableDrag}

@@ -205,2 +209,3 @@ dummy={true}

keyName={key}
disableDrag={this.props.disableDrag}

@@ -236,2 +241,3 @@ onLayout={onLayout}

keyName={this.state.activeKey}
disableDrag={this.props.disableDrag}

@@ -238,0 +244,0 @@ restLayout={this.state.activeInitialLayout}

{
"name": "react-native-vk-draggablelist",
"version": "2.0.1",
"version": "2.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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