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

bookingsync-calendar-widget

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bookingsync-calendar-widget - npm Package Compare versions

Comparing version

to
0.0.15

CHANGELOG.md

2

package.json
{
"name": "bookingsync-calendar-widget",
"version": "0.0.13",
"version": "0.0.15",
"description": "BookingSync Calendar Widget",

@@ -5,0 +5,0 @@ "main": "dist/bookingsync-calendar-widget.js",

@@ -1,2 +0,2 @@

/* global document, module */
/* global document, module, VERSION */
import Calendar from './calendar';

@@ -24,2 +24,4 @@

Calendar.VERSION = VERSION;
document.addEventListener('DOMContentLoaded', () => {

@@ -26,0 +28,0 @@ if (Calendar.autoInit !== false) {

@@ -48,3 +48,3 @@ /* global VERSION, Node, NODE_ENV, CSS_PREFIX, document, require */

}
return new Date(`${year}-${pad(month + 1)}-${pad(day)}`);
return new Date(year, month, day);
};

@@ -127,2 +127,3 @@

this.addBtnsEvents();
console.log(`[BookingSync Calendar Widget ${VERSION}] inited`);
this.emit('init');

@@ -535,3 +536,3 @@ }

daysTplString(year, month) {
const startOfMonth = dateToIso(year, month, 1).getDay();
const startOfMonth = new Date(year, month, 1).getDay();
const daysInMonth = monthLength(year, month);

@@ -538,0 +539,0 @@ const rowTemplate = tpls.weekRow;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet