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

travix-ui-kit

Package Overview
Dependencies
Maintainers
7
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

travix-ui-kit - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

5

components/calendar/calendar.js

@@ -140,4 +140,5 @@ import PropTypes from 'prop-types';

this.setState(({ renderDate }) => {
renderDate.setMonth(renderDate.getMonth() + (direction === CALENDAR_MOVE_TO_PREVIOUS ? -1 : 1));
return { renderDate };
const newDate = new Date(renderDate);
newDate.setMonth(renderDate.getMonth() + (direction === CALENDAR_MOVE_TO_PREVIOUS ? -1 : 1));
return { renderDate: newDate };
}, () => {

@@ -144,0 +145,0 @@ if ((direction === CALENDAR_MOVE_TO_PREVIOUS) && onNavPreviousMonth) {

@@ -193,4 +193,5 @@ 'use strict';

renderDate.setMonth(renderDate.getMonth() + (direction === CALENDAR_MOVE_TO_PREVIOUS ? -1 : 1));
return { renderDate: renderDate };
var newDate = new Date(renderDate);
newDate.setMonth(renderDate.getMonth() + (direction === CALENDAR_MOVE_TO_PREVIOUS ? -1 : 1));
return { renderDate: newDate };
}, function () {

@@ -197,0 +198,0 @@ if (direction === CALENDAR_MOVE_TO_PREVIOUS && onNavPreviousMonth) {

2

package.json
{
"name": "travix-ui-kit",
"version": "0.13.0",
"version": "0.13.1",
"description": "Travix UI kit",

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

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

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

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