Socket
Socket
Sign inDemoInstall

@protonapp/react-mobile-date-picker

Package Overview
Dependencies
263
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.8 to 0.0.9

5

lib/index.js

@@ -93,3 +93,3 @@ 'use strict';

if (mode === 'date') {
return dateObj.format('YYY-MM-DD');
return dateObj.format('YYYY-MM-DD');
} else {

@@ -175,2 +175,3 @@ return dateObj.format('YYYY-MM-DDTHH:mm');

var inputType = this.getInputType();
var inputValue = this.getInputValue();

@@ -186,3 +187,3 @@ return _react2.default.createElement(

type: inputType,
value: this.getInputValue(),
value: inputValue,
onChange: this.handleChangeInput,

@@ -189,0 +190,0 @@ style: inputStyles

2

package.json
{
"name": "@protonapp/react-mobile-date-picker",
"version": "0.0.8",
"version": "0.0.9",
"description": "React (web) implementation of mobile-style date picker",

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

@@ -65,3 +65,3 @@ import React, { Component } from 'react'

if (mode === 'date') {
return dateObj.format('YYY-MM-DD')
return dateObj.format('YYYY-MM-DD')
} else {

@@ -139,2 +139,3 @@ return dateObj.format('YYYY-MM-DDTHH:mm')

let inputType = this.getInputType()
let inputValue = this.getInputValue()

@@ -149,3 +150,3 @@ return (

type={inputType}
value={this.getInputValue()}
value={inputValue}
onChange={this.handleChangeInput}

@@ -152,0 +153,0 @@ style={inputStyles}

Sorry, the diff of this file is not supported yet

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