Socket
Socket
Sign inDemoInstall

wc-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wc-datepicker - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

dist/wc-datepicker/p-9fa5a5c8.entry.js

2

dist/cjs/wc-datepicker.cjs.entry.js

@@ -79,2 +79,3 @@ 'use strict';

const newDate = new Date(date);
newDate.setDate(1);
newDate.setMonth(newDate.getMonth() + 1);

@@ -93,2 +94,3 @@ return newDate;

const newDate = new Date(date);
newDate.setDate(1);
newDate.setMonth(newDate.getMonth() - 1);

@@ -95,0 +97,0 @@ return newDate;

@@ -73,2 +73,3 @@ export function addDays(date, days) {

const newDate = new Date(date);
newDate.setDate(1);
newDate.setMonth(newDate.getMonth() + 1);

@@ -87,2 +88,3 @@ return newDate;

const newDate = new Date(date);
newDate.setDate(1);
newDate.setMonth(newDate.getMonth() - 1);

@@ -89,0 +91,0 @@ return newDate;

@@ -75,2 +75,3 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';

const newDate = new Date(date);
newDate.setDate(1);
newDate.setMonth(newDate.getMonth() + 1);

@@ -89,2 +90,3 @@ return newDate;

const newDate = new Date(date);
newDate.setDate(1);
newDate.setMonth(newDate.getMonth() - 1);

@@ -91,0 +93,0 @@ return newDate;

@@ -75,2 +75,3 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-2c898150.js';

const newDate = new Date(date);
newDate.setDate(1);
newDate.setMonth(newDate.getMonth() + 1);

@@ -89,2 +90,3 @@ return newDate;

const newDate = new Date(date);
newDate.setDate(1);
newDate.setMonth(newDate.getMonth() - 1);

@@ -91,0 +93,0 @@ return newDate;

2

dist/wc-datepicker/wc-datepicker.esm.js

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

import{p as t,b as e}from"./p-b662e034.js";(()=>{const e=import.meta.url,n={};return""!==e&&(n.resourcesUrl=new URL(".",e).href),t(n)})().then((t=>e([["p-fe08b63b",[[2,"wc-datepicker",{clearButtonContent:[1,"clear-button-content"],disabled:[4],disableDate:[16],elementClassName:[1,"element-class-name"],firstDayOfWeek:[2,"first-day-of-week"],range:[4],labels:[16],locale:[1],nextMonthButtonContent:[1,"next-month-button-content"],nextYearButtonContent:[1,"next-year-button-content"],previousMonthButtonContent:[1,"previous-month-button-content"],previousYearButtonContent:[1,"previous-year-button-content"],showClearButton:[4,"show-clear-button"],showMonthStepper:[4,"show-month-stepper"],showTodayButton:[4,"show-today-button"],showYearStepper:[4,"show-year-stepper"],startDate:[1,"start-date"],todayButtonContent:[1,"today-button-content"],value:[1040],currentDate:[32],hoveredDate:[32],weekdays:[32]}]]]],t)));
import{p as t,b as e}from"./p-b662e034.js";(()=>{const e=import.meta.url,n={};return""!==e&&(n.resourcesUrl=new URL(".",e).href),t(n)})().then((t=>e([["p-9fa5a5c8",[[2,"wc-datepicker",{clearButtonContent:[1,"clear-button-content"],disabled:[4],disableDate:[16],elementClassName:[1,"element-class-name"],firstDayOfWeek:[2,"first-day-of-week"],range:[4],labels:[16],locale:[1],nextMonthButtonContent:[1,"next-month-button-content"],nextYearButtonContent:[1,"next-year-button-content"],previousMonthButtonContent:[1,"previous-month-button-content"],previousYearButtonContent:[1,"previous-year-button-content"],showClearButton:[4,"show-clear-button"],showMonthStepper:[4,"show-month-stepper"],showTodayButton:[4,"show-today-button"],showYearStepper:[4,"show-year-stepper"],startDate:[1,"start-date"],todayButtonContent:[1,"today-button-content"],value:[1040],currentDate:[32],hoveredDate:[32],weekdays:[32]}]]]],t)));
{
"name": "wc-datepicker",
"version": "0.5.2",
"version": "0.5.3",
"description": "A small, accessible and customizable datepicker written in TypeScript.",

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

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