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.2.7 to 1.2.8

3

CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
[1.2.8] - 2018-12-18
* improved option `orientation` (checking available space on top when value is `auto`)
[1.2.7] - 2018-12-10

@@ -5,0 +8,0 @@ * fix bug when used both options `repick` and `minDays` (on repick date `minDays` was ignored)

2

lightpick.js

@@ -979,3 +979,3 @@ /**

if (orientation[0] == 'auto' || !(/top|bottom/.test(orientation[0]))) {
if (rect.bottom + calRect.height > window.innerHeight) {
if (rect.bottom + calRect.height > window.innerHeight && window.pageYOffset > calRect.height) {
top = (rect.top + window.pageYOffset) - calRect.height;

@@ -982,0 +982,0 @@ }

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

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

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