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

@kitten-team/react-native-sortable-grid

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kitten-team/react-native-sortable-grid - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

5

index.js

@@ -252,3 +252,3 @@ import * as React from 'react'

deleteBlockIndices.forEach((deleteBlock) => {
this.deleteBlock([deleteBlock])
this.deleteBlock(deleteBlock)
})

@@ -274,3 +274,2 @@ }

_.sortBy(deleteBlockIndices, index => -index).forEach(index => {
--blockPositionsSetCount
blockPositions.splice(index, 1)

@@ -281,3 +280,5 @@ this._fixItemOrderOnDeletion(this.itemOrder[index])

})
blockPositionsSetCount = blockPositions.length;
this.setState({ blockPositions, blockPositionsSetCount }, () => {
this.resetOrder = true;
this.items.forEach( (item, order) => {

@@ -284,0 +285,0 @@ let blockIndex = _.findIndex(this.itemOrder, item => item.order === order)

2

package.json

@@ -8,3 +8,3 @@ {

],
"version": "2.1.1",
"version": "2.1.2",
"description": "Drag-and-drop sortable grid view for React Native.",

@@ -11,0 +11,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