Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Jun 28, 2024
1 parent 41049c4 commit 0e5a783
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/dailyLearning.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' :
Expand Down

0 comments on commit 0e5a783

Please sign in to comment.