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

calendar-month

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calendar-month - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

2

bower.json

@@ -25,3 +25,3 @@ {

],
"version": "0.0.7"
"version": "0.0.8"
}

@@ -60,6 +60,7 @@

}
var d = new Date(year, month, 1);
this.year = year;
this.month = month;
monthInformation(this.year, month + 1, this);
this.year = d.getFullYear();
this.month = d.getMonth();
monthInformation(this.year, this.month + 1, this);
}

@@ -79,9 +80,9 @@

Month.prototype.previous = function () {
return new Month(this.year, this.month - 1);
return new Month(this.year, this.month - 1, 1);
};
Month.prototype.next = function () {
return new Month(this.year, this.month + 1);
return new Month(this.year, this.month + 1, 1);
};
module.exports = Month;
{
"name": "calendar-month",
"version": "0.0.7",
"version": "0.0.8",
"description": "vanillajs month data handler",

@@ -5,0 +5,0 @@ "main": "lib/month.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