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

vanilla-calendar-picker

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilla-calendar-picker - npm Package Compare versions

Comparing version 2.11.1 to 2.11.2

4

build/scripts/changeSetting.d.ts

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

import { ISettings } from '../types';
import { IPartialSettings } from '../types';
import { VanillaCalendar } from '../vanilla-calendar';

@@ -10,3 +10,3 @@

export declare function mergeDeep(target: any, ...sources: any[]): any;
export declare function changeSetting<T extends keyof ISettings, K extends Partial<ISettings[T]>>(self: VanillaCalendar, option: T, value: K): void;
export declare function changeSetting<T extends keyof IPartialSettings, K extends Partial<IPartialSettings[T]>>(self: VanillaCalendar, option: T, value: K): void;
//# sourceMappingURL=changeSetting.d.ts.map

@@ -36,3 +36,3 @@ import { default as classes } from './classes';

*/
edgesOnly: boolean;
edgesOnly?: boolean;
/** This parameter disables all days and can be useful when using `settings.range.enabled` */

@@ -114,2 +114,15 @@ disableAllDays: boolean;

}
export interface IPartialSettings {
/** This parameter sets the language localization of the calendar. */
lang: string;
/**
* This parameter sets the start of the week in accordance with the international standard ISO 8601.
* If set to `'false'`, the week will start on Sunday; otherwise, it starts on Monday.
*/
iso8601: boolean;
range: Partial<IRange>;
selection: Partial<ISelection>;
selected: Partial<ISelected>;
visibility: Partial<IVisibility>;
}
export interface ILocale {

@@ -164,10 +177,3 @@ months: string[] | [];

sanitizer?: (dirtyHtml: string) => unknown;
settings?: Partial<{
lang: string;
iso8601: boolean;
range: Partial<IRange>;
selection: Partial<ISelection>;
selected: Partial<ISelected>;
visibility: Partial<IVisibility>;
}>;
settings?: Partial<IPartialSettings>;
locale?: Partial<ILocale>;

@@ -174,0 +180,0 @@ actions?: Partial<IActions>;

import { default as DefaultOptionsCalendar } from './scripts/default';
import { IOptions, IReset, ISettings, IVanillaCalendar } from './types';
import { IOptions, IReset, IPartialSettings, IVanillaCalendar } from './types';

@@ -11,4 +11,4 @@ export declare class VanillaCalendar extends DefaultOptionsCalendar implements IVanillaCalendar {

hide: () => void;
changeSetting: <T extends keyof ISettings, K extends Partial<ISettings[T]>>(option: T, value: K) => void;
changeSetting: <T extends keyof IPartialSettings, K extends Partial<IPartialSettings[T]>>(option: T, value: K) => void;
}
//# sourceMappingURL=vanilla-calendar.d.ts.map
{
"name": "vanilla-calendar-picker",
"version": "2.11.1",
"version": "2.11.2",
"description": "Vanilla Calendar is a versatile JavaScript date and time picker with TypeScript support, making it compatible with any JavaScript framework or library. It is designed to be lightweight, simple to use, and feature-rich without relying on external dependencies.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/ghiscoding/vanilla-calendar-picker",

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

import { ISettings } from '../types';
import { IPartialSettings } from '../types';
import { VanillaCalendar } from '../vanilla-calendar';

@@ -10,3 +10,3 @@

export declare function mergeDeep(target: any, ...sources: any[]): any;
export declare function changeSetting<T extends keyof ISettings, K extends Partial<ISettings[T]>>(self: VanillaCalendar, option: T, value: K): void;
export declare function changeSetting<T extends keyof IPartialSettings, K extends Partial<IPartialSettings[T]>>(self: VanillaCalendar, option: T, value: K): void;
//# sourceMappingURL=changeSetting.d.ts.map

@@ -36,3 +36,3 @@ import { default as classes } from './classes';

*/
edgesOnly: boolean;
edgesOnly?: boolean;
/** This parameter disables all days and can be useful when using `settings.range.enabled` */

@@ -114,2 +114,15 @@ disableAllDays: boolean;

}
export interface IPartialSettings {
/** This parameter sets the language localization of the calendar. */
lang: string;
/**
* This parameter sets the start of the week in accordance with the international standard ISO 8601.
* If set to `'false'`, the week will start on Sunday; otherwise, it starts on Monday.
*/
iso8601: boolean;
range: Partial<IRange>;
selection: Partial<ISelection>;
selected: Partial<ISelected>;
visibility: Partial<IVisibility>;
}
export interface ILocale {

@@ -164,10 +177,3 @@ months: string[] | [];

sanitizer?: (dirtyHtml: string) => unknown;
settings?: Partial<{
lang: string;
iso8601: boolean;
range: Partial<IRange>;
selection: Partial<ISelection>;
selected: Partial<ISelected>;
visibility: Partial<IVisibility>;
}>;
settings?: Partial<IPartialSettings>;
locale?: Partial<ILocale>;

@@ -174,0 +180,0 @@ actions?: Partial<IActions>;

import { default as DefaultOptionsCalendar } from './scripts/default';
import { IOptions, IReset, ISettings, IVanillaCalendar } from './types';
import { IOptions, IReset, IPartialSettings, IVanillaCalendar } from './types';

@@ -11,4 +11,4 @@ export declare class VanillaCalendar extends DefaultOptionsCalendar implements IVanillaCalendar {

hide: () => void;
changeSetting: <T extends keyof ISettings, K extends Partial<ISettings[T]>>(option: T, value: K) => void;
changeSetting: <T extends keyof IPartialSettings, K extends Partial<IPartialSettings[T]>>(option: T, value: K) => void;
}
//# sourceMappingURL=vanilla-calendar.d.ts.map

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

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

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