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

react-daypicker

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-daypicker - npm Package Compare versions

Comparing version 2.0.0-beta to 2.0.0

usage.png

7

lib/DayPicker.js

@@ -200,7 +200,2 @@ "use strict";

exports.default = DayPicker;
_defineProperty(DayPicker, "propTypes", {
active: _reactMomentProptypes.default.momentObj,
onDayClick: _propTypes.default.func.isRequired
});
exports.default = DayPicker;
{
"name": "react-daypicker",
"version": "2.0.0-beta",
"version": "2.0.0",
"description": "A simple datepicker inspired by Pikaday.",

@@ -18,4 +18,3 @@ "main": "lib/DayPicker.js",

"moment": "2.10 - 2.14 || ^2.15.1",
"react": ">=0.15",
"prop-types": ">=15.6"
"react": ">=0.15"
},

@@ -28,2 +27,4 @@ "devDependencies": {

"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "7.0.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.21",
"node-sass": "^4.11.0"

@@ -39,2 +40,7 @@ },

},
"browserslist": [
"last 1 version",
"> 1%",
"not dead"
],
"scripts": {

@@ -41,0 +47,0 @@ "build": "babel src -d lib && ./node_modules/node-sass/bin/node-sass src/DayPicker.scss > lib/DayPicker.css",

@@ -12,3 +12,3 @@ # react-daypicker

![DayPicker](https://raw.githubusercontent.com/cymen/react-daypicker/master/react-daypicker.gif)
![DayPicker](react-daypicker.gif)

@@ -27,2 +27,10 @@ ## Installation

## Usage agnostic
Note that this component does not draw any border around itself or handle popping
up. That is up to you and your framework. I am using it with react-bootstrap v3
and it my usage looks like this:
![Usage](usage.png)
## Usage

@@ -73,5 +81,4 @@

* React
* Moment.js
* moment
* classnames
* prop-types

@@ -78,0 +85,0 @@ ## Developing

Sorry, the diff of this file is not supported yet

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