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

react-date-picker

Package Overview
Dependencies
Maintainers
1
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-date-picker - npm Package Compare versions

Comparing version 8.1.0 to 8.1.1

2

dist/DateInput/Input.js

@@ -110,3 +110,3 @@ "use strict";

value = _ref.value;
var hasLeadingZero = showLeadingZeros && value && value < 10 && !value.toString().startsWith('0');
var hasLeadingZero = showLeadingZeros && value && value < 10 && (value === '0' || !value.toString().startsWith('0'));
var maxLength = max ? max.toString().length : null;

@@ -113,0 +113,0 @@ return [hasLeadingZero && /*#__PURE__*/_react["default"].createElement("span", {

{
"name": "react-date-picker",
"version": "8.1.0",
"version": "8.1.1",
"description": "A date picker for your React app.",

@@ -91,3 +91,3 @@ "main": "dist/entry.js",

"@babel/preset-react": "^7.9.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.3.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.0",
"babel-eslint": "^10.0.0",

@@ -98,3 +98,3 @@ "enzyme": "^3.10.0",

"jest": "^26.6.0",
"less": "^3.8.1",
"less": "^4.0.0",
"react": "^17.0.0",

@@ -108,2 +108,6 @@ "react-dom": "^17.0.0",

},
"resolutions": {
"rimraf@2.6.3": "^2.6.3",
"semver@7.0.0": "^7.0.0"
},
"files": [

@@ -110,0 +114,0 @@ "LICENSE",

@@ -136,3 +136,3 @@ [![npm](https://img.shields.io/npm/v/react-date-picker.svg)](https://www.npmjs.com/package/react-date-picker) ![downloads](https://img.shields.io/npm/dt/react-date-picker.svg) [![CI](https://github.com/wojtekmaj/react-date-picker/workflows/CI/badge.svg)](https://github.com/wojtekmaj/react-date-picker/actions) ![dependencies](https://img.shields.io/david/wojtekmaj/react-date-picker.svg) ![dev dependencies](https://img.shields.io/david/dev/wojtekmaj/react-date-picker.svg) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest)

<a href="mailto:kontakt@wojtekmaj.pl">kontakt@wojtekmaj.pl</a><br />
<a href="http://wojtekmaj.pl">http://wojtekmaj.pl</a>
<a href="https://wojtekmaj.pl">https://wojtekmaj.pl</a>
</td>

@@ -139,0 +139,0 @@ </tr>

@@ -99,3 +99,3 @@ import React from 'react';

&& value < 10
&& !value.toString().startsWith('0')
&& (value === '0' || !value.toString().startsWith('0'))
);

@@ -102,0 +102,0 @@ const maxLength = max ? max.toString().length : null;

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