From 0e5a783844de89649b098dc02c4f83a161eca14c Mon Sep 17 00:00:00 2001 From: "Michael J. Radwin" Date: Fri, 28 Jun 2024 08:04:30 -0700 Subject: [PATCH] chore: update deps --- package.json | 6 +++--- src/dailyLearning.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 229ef692..094ce11f 100644 --- a/package.json +++ b/package.json @@ -46,16 +46,16 @@ "rollup": "^4.18.0" }, "dependencies": { - "@hebcal/core": "^5.4.5", + "@hebcal/core": "^5.4.6", "@hebcal/geo-sqlite": "^5.0.5", "@hebcal/hdate": "^0.10.1", "@hebcal/icalendar": "^5.1.0", "@hebcal/learning": "^5.0.8", - "@hebcal/leyning": "^8.1.9", + "@hebcal/leyning": "^8.2.2", "@hebcal/locales": "^5.0.1", "@hebcal/rest-api": "^5.0.5", "@hebcal/triennial": "^5.0.6", - "better-sqlite3": "^11.0.0", + "better-sqlite3": "^11.1.1", "dayjs": "^1.11.11", "ejs": "^3.1.10", "emoji-flag": "^1.1.0", diff --git a/src/dailyLearning.js b/src/dailyLearning.js index a31583fd..f5356690 100644 --- a/src/dailyLearning.js +++ b/src/dailyLearning.js @@ -97,7 +97,7 @@ export function dailyLearningApp(ctx) { const readings = getLeyningOnDate(hd, il, true); for (const reading of readings) { const isWeekday = Boolean(reading.weekday); - const isShabbatParsha = reading.fullkriyah && typeof reading.parshaNum === 'number'; + const isShabbatParsha = reading.fullkriyah && typeof reading.parshaNum !== 'undefined'; const prefix = isWeekday ? 'Weekday Torah reading' : isShabbatParsha ? 'Shabbat Torah reading' : reading.fullkriyah ? 'Holiday Torah reading' :