Skip to content

Commit f0375a1

Browse files
authored
Development (#6)
Dependency updates.
1 parent c7d0947 commit f0375a1

3 files changed

Lines changed: 40 additions & 38 deletions

File tree

package-lock.json

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tubular/time",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"description": "Date/time, IANA timezones, calendar with settable Julian/Gregorian switchover",
55
"browser": "dist/web/index.js",
66
"browser-es5": "dist/web5/index.js",
@@ -35,7 +35,7 @@
3535
"license": "MIT",
3636
"dependencies": {
3737
"@tubular/math": "^2.2.1",
38-
"@tubular/util": "^3.3.1"
38+
"@tubular/util": "^3.4.1"
3939
},
4040
"devDependencies": {
4141
"@babel/core": "^7.12.10",

src/calendar.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ export const THURSDAY = 4;
1414
export const FRIDAY = 5;
1515
export const SATURDAY = 6;
1616

17-
export enum DayOfWeek { SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY };
17+
// noinspection JSUnusedGlobalSymbols
18+
export enum DayOfWeek { SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY }
19+
// noinspection JSUnusedGlobalSymbols
1820
export enum Month { JANUARY = 1, FEBRUARY, MARCH, APRIL, MAY, JUNE,
19-
JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER };
21+
JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER }
2022

2123
/**
2224
* Constant for indicating the last occurrence of a particular day of the week (e.g. the last Tuesday) of a given month.
@@ -188,7 +190,7 @@ export function getDayNumberJulian(yearOrDate: YearOrDate, month?: number, day?:
188190
/**
189191
* Always returns 1. This function exists only to parallel getFirstDateInMonth, which isn't always 1 when the
190192
* Gregorian change date is not fixed.
191-
* @returns First date of calender month.
193+
* @returns First date of calendar month.
192194
*/
193195
// eslint-disable-next-line @typescript-eslint/no-unused-vars
194196
export function getFirstDateInMonth_SGC(year: number, month: number): number {

0 commit comments

Comments
 (0)