Socket
Socket
Sign inDemoInstall

react-day-picker

Package Overview
Dependencies
Maintainers
1
Versions
247
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-day-picker - npm Package Compare versions

Comparing version 0.8.3 to 0.8.4

2

dist/CalendarUtils.js

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

var currentDay = firstOfMonth.clone().utc();
var currentDay = firstOfMonth.clone();
var currentWeek = [];

@@ -19,0 +19,0 @@ var weeksInMonth = [];

import React, { Component } from 'react';
import Utils from "./Utils";
import Utils from './Utils';
import DayPicker from '../../src/DayPicker.js';

@@ -40,3 +39,3 @@

modifiers={ this.getModifiers() }
onDayTouchTap={this.handleDayTouchTap.bind(this)}
onDayTouchTap={this.handleDayTouchTap.bind(this)}
className="my-date-picker"/>

@@ -47,3 +46,3 @@ </div>

handleInputFocus(e) {
handleInputFocus() {
this.showMonthForCurrentValue();

@@ -59,3 +58,3 @@ }

handleDayTouchTap(day, modifiers, e) {
handleDayTouchTap(day, modifiers) {

@@ -62,0 +61,0 @@ if (modifiers.indexOf('disabled') === -1 &&

@@ -0,1 +1,3 @@

var webpack = require("webpack");
module.exports = {

@@ -19,3 +21,10 @@ entry: './src/client',

},
devtool: 'source-map'
plugins: [
// ignore moment locales
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)
]
};
{
"name": "react-day-picker",
"version": "0.8.3",
"version": "0.8.4",
"description": "Minimalistic date picker component for React and momentjs.",
"main": "./dist/DayPicker.js",
"scripts": {
"start": "cd example && webpack-dev-server --colors --progress --display-error-details",
"build": "cd example && webpack --hot=false --devtool=false --optimize-minimize",
"start": "cd example && webpack-dev-server --devtool=cheap-module-eval-source-map --colors --progress --display-error-details",
"build": "cd example && webpack --hot=false --devtool=source-map --colors --progress --optimize-minimize --output-path=../example-built/js && cp index.html ../example-built",
"prepublish": "babel ./src -d ./dist"

@@ -38,15 +38,17 @@ },

"devDependencies": {
"autoprefixer-loader": "^1.2.0",
"babel": "^5.3.3",
"babel-core": "^5.3.3",
"babel-jest": "^5.0.1",
"babel-loader": "^5.0.0",
"css-loader": "^0.10.1",
"jest-cli": "^0.4.0",
"react-tap-event-plugin": "^0.1.6",
"sass-loader": "0.4.2",
"style-loader": "^0.10.2",
"url-loader": "^0.5.5",
"webpack": "^1.8.5",
"webpack-dev-server": "^1.8.0"
"autoprefixer-loader": "^2.0.0",
"babel": "^5.4.7",
"babel-core": "^5.4.7",
"babel-jest": "^5.2.0",
"babel-loader": "^5.1.3",
"css-loader": "^0.14.4",
"jest-cli": "^0.4.5",
"moment": "^2.10.3",
"react": "^0.13.3",
"react-tap-event-plugin": "^0.1.7",
"sass-loader": "1.0.2",
"style-loader": "^0.12.3",
"url-loader": "^0.5.6",
"webpack": "^1.9.10",
"webpack-dev-server": "^1.9.0"
},

@@ -53,0 +55,0 @@ "jest": {

@@ -11,3 +11,3 @@

var currentDay = firstOfMonth.clone().utc();
var currentDay = firstOfMonth.clone();
var currentWeek = [];

@@ -14,0 +14,0 @@ var weeksInMonth = [];

Sorry, the diff of this file is not supported yet

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