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

lightpick

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightpick - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

3

CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
[1.0.3] - 2018-07-09
* fixed bug: preventing pick a one-day-range when `minDays` option
[1.0.2] - 2018-06-20

@@ -5,0 +8,0 @@ * Added method `toString`

1

lightpick.js

@@ -131,3 +131,2 @@ /**

date.isBetween(moment(opts.startDate).subtract(opts.minDays - 1, 'day'), moment(opts.startDate).add(opts.minDays - 1, 'day'), 'day')
&& !date.isSame(opts.startDate, 'day')
) {

@@ -134,0 +133,0 @@ day.className.push('disabled');

{
"name": "lightpick",
"version": "1.0.2",
"version": "1.0.3",
"description": "Javascript date range picker - lightweight, no jQuery",

@@ -5,0 +5,0 @@ "main": "lightpick.js",

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