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

dayspan

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dayspan - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

2

package.json
{
"name": "dayspan",
"version": "1.0.3",
"version": "1.1.0",
"description": "A date & schedule library to use for advanced calendars in TypeScript and JS",

@@ -5,0 +5,0 @@ "main": "dist/dayspan.js",

@@ -379,5 +379,4 @@ import { Unit } from './DayFunctions';

mutate(mutator: (date: Date) => any): Day;
add(amount: number, unit?: Unit): Day;
add(unit: Unit, amount?: number): Day;
relative(millis: number): Day;
relativeDays(days: number): Day;
prev(days?: number): Day;

@@ -390,5 +389,2 @@ next(days?: number): Day;

withMonth(month: number): Day;
relativeMonths(months: number): Day;
prevMonth(months?: number): Day;
nextMonth(months?: number): Day;
protected withWeek(week: number, relativeWeek: number): Day;

@@ -401,13 +397,4 @@ withWeekOfYear(week: number): Day;

withFullWeekOfMonth(week: number): Day;
relativeWeeks(weeks: number): Day;
prevWeek(weeks?: number): Day;
nextWeek(weeks?: number): Day;
withYear(year: number): Day;
relativeYears(years: number): Day;
prevYear(years?: number): Day;
nextYear(years?: number): Day;
withHour(hour: number): Day;
relativeHours(hours: number): Day;
prevHour(hours?: number): Day;
nextHour(hours?: number): Day;
withTimes(hour?: number, minute?: number, second?: number, millisecond?: number): Day;

@@ -417,23 +404,5 @@ withTime(time: Time): Day;

startOf(unit: Unit): Day;
isStartOf(unit: Unit): boolean;
endOf(unit: Unit, inclusive?: boolean): Day;
start(): Day;
isStart(): boolean;
end(inclusive?: boolean): Day;
isEnd(): boolean;
startOfHour(): Day;
isStartOfHour(): boolean;
endOfHour(inclusive?: boolean): Day;
isEndOfHour(): boolean;
startOfWeek(): Day;
isStartOfWeek(): boolean;
endOfWeek(inclusive?: boolean): Day;
isEndOfWeek(): boolean;
startOfMonth(): Day;
isStartOfMonth(): boolean;
endOfMonth(inclusive?: boolean): Day;
isEndOfMonth(): boolean;
startOfYear(): Day;
isStartOfYear(): boolean;
endOfYear(inclusive?: boolean): Day;
isEndOfYear(): boolean;
isEndOf(unit: Unit, inclusive?: boolean): boolean;
daysInMonth(): number;

@@ -440,0 +409,0 @@ daysInYear(): number;

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

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