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

storm-calendar

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storm-calendar - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

dist/index.js
/**
* @name storm-calendar:
* @version 0.1.1: Fri, 05 Jan 2018 16:48:55 GMT
* @version 0.2.0: Wed, 10 Jan 2018 08:41:56 GMT
* @author stormid

@@ -5,0 +5,0 @@ * @license MIT

@@ -12,2 +12,6 @@ import { diffDays, addDays, monthNames, monthViewFactory, monthViewExists, activateDates } from './utils';

//normalise hour for timestamp comparison
this.startDate.setHours(0,0,0,0);
this.endDate.setHours(0,0,0,0);
for (let i = 0; i <= totalDays; i++) eventDateObjects.push(addDays(this.startDate, i));

@@ -22,2 +26,3 @@ //Array.apply(null, new Array(totalDays + 1)).map((item, i) => addDays(this.startDate, i));s

console.log(this.data);
eventDateObjects = [];

@@ -24,0 +29,0 @@ this.renderView(0);

/**
* @name storm-calendar:
* @version 0.1.1: Fri, 05 Jan 2018 16:48:55 GMT
* @version 0.2.0: Wed, 10 Jan 2018 08:41:56 GMT
* @author stormid

@@ -133,2 +133,6 @@ * @license MIT

//normalise hour for timestamp comparison
this.startDate.setHours(0, 0, 0, 0);
this.endDate.setHours(0, 0, 0, 0);
for (var i = 0; i <= totalDays; i++) {

@@ -144,2 +148,3 @@ eventDateObjects.push(addDays(this.startDate, i));

console.log(this.data);
eventDateObjects = [];

@@ -146,0 +151,0 @@ this.renderView(0);

{
"name": "storm-calendar",
"version": "0.2.0",
"version": "0.2.1",
"description": "",

@@ -5,0 +5,0 @@ "author": "stormid",

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