Socket
Socket
Sign inDemoInstall

react-native-infinite-flatlist-patch

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.9 to 1.1.0

patches/0.66.0/VirtualizedList.js

2

package.json
{
"name": "react-native-infinite-flatlist-patch",
"version": "1.0.9",
"version": "1.1.0",
"description": "Patch for infinite scrolling with FlatList",

@@ -5,0 +5,0 @@ "keywords": [

@@ -18,2 +18,5 @@ #!/usr/bin/env node

switch (minorVersion) {
case 66:
patchDir = '0.66.0';
break;
case 65:

@@ -20,0 +23,0 @@ patchDir = '0.65.0';

@@ -20,3 +20,3 @@ [![NPM Version][npm-image]][npm-url]

`postinstall`, `postuninstall` should be added to prevent this patch from being restored whenever packages are changed.
`prepare` should be added to prevent this patch from being restored whenever packages are changed.
```javascript

@@ -27,4 +27,3 @@ {

...,
"postinstall": "yarn run infinite-flatlist-patch",
"postuninstall": "yarn run infinite-flatlist-patch"
"prepare": "yarn run infinite-flatlist-patch"
}

@@ -34,5 +33,5 @@ }

If you were already using `postinstall`, you can add the patch script later.
If you were already using `prepare`, you can add the patch script later.
```javascript
"postinstall": "yarn run jetify; yarn run infinite-flatlist-patch"
"prepare": "yarn run jetify; yarn run infinite-flatlist-patch"
```

@@ -47,3 +46,3 @@

### Uninstall
Just delete the command you added to `postinstall`, `postuninstall` and remove my package.
Just delete the command you added to `prepare` and remove my package.

@@ -50,0 +49,0 @@ # Check out the improvements

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc