New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.3 to 0.1.4

2

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

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

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

const currentDate = (this.state.currentMonth.length < 3) ? this.state.currentMonth[0].clone() : this.state.currentMonth[1].clone()
if(scrollX >= this.props.calendarWidth) {
const isGonextMonth = isAndroid ? scrollX >= this.props.calendarWidth : scrollX > this.props.calendarWidth
if(isGonextMonth) {
const newDate = currentDate.addMonths(2).clone()

@@ -193,3 +193,3 @@ newMonth.push(newDate)

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

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