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

react-native-calendars-fei

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-calendars-fei - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "react-native-calendars-fei",
"version": "0.1.1",
"version": "0.1.2",
"main": "src/index.js",

@@ -5,0 +5,0 @@ "description": "React Native Calendar Components",

@@ -181,4 +181,6 @@ import React, {Component} from 'react';

const newDate = currentDate.addMonths(-2).clone()
newMonth.unshift(newDate)
if(this.state.currentMonth.length >= 3)newMonth.pop()
if(this.state.currentMonth.length >= 3) {
newMonth.unshift(newDate)
newMonth.pop()
}
this.setState({

@@ -188,3 +190,5 @@ currentMonth: newMonth,

}
this.scrollView.scrollTo({ x: this.props.calendarWidth, y: 0, animated: isAndroid })
if (this.state.currentMonth.length >= 3){
this.scrollView.scrollTo({ x: this.props.calendarWidth, y: 0, animated: isAndroid })
}
}

@@ -191,0 +195,0 @@

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