New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-pickadate

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-pickadate - npm Package Compare versions

Comparing version

to
1.2.1

3

addon/components/pick-a-date.js

@@ -109,5 +109,6 @@ import Ember from 'ember';

const newDate = new Date(date);
newDate.setDate(1); // Prevent month wrapping bug (e.g. 31 April = 1 May)
newDate.setYear(dateItem.year);
newDate.setMonth(dateItem.month);
newDate.setDate(dateItem.date);
newDate.setMonth(dateItem.month);
if (this.attrs['on-selected']) {

@@ -114,0 +115,0 @@ if (newDate && !isNaN(newDate.getTime())) { //Number.isNaN PhantomJs does not like this yet

{
"name": "ember-cli-pickadate",
"version": "1.2.0",
"version": "1.2.1",
"description": "Ember components wrapping date and time pickers from Pickadate.js",

@@ -5,0 +5,0 @@ "directories": {