Skip to content

Commit

Permalink
Update for new ESM modularized base packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Nov 8, 2024
1 parent 2a01acc commit 3df5463
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hebcal-web",
"version": "3.1.5",
"version": "3.2.0",
"description": "Hebcal server-side Node.js for www.hebcal.com and download.hebcal.com",
"repository": {
"type": "git",
Expand Down Expand Up @@ -41,17 +41,17 @@
"bootstrap5-autocomplete": "^1.1.33",
"csv-parse": "^5.5.6",
"eslint": "^9.14.0",
"eslint-plugin-n": "^17.12.0",
"globals": "^15.11.0",
"rollup": "^4.24.3"
"eslint-plugin-n": "^17.13.1",
"globals": "^15.12.0",
"rollup": "^4.24.4"
},
"dependencies": {
"@hebcal/core": "^5.6.1",
"@hebcal/core": "^5.7.7",
"@hebcal/geo-sqlite": "^5.0.6",
"@hebcal/hdate": "^0.11.5",
"@hebcal/hdate": "^0.12.0",
"@hebcal/icalendar": "^5.1.1",
"@hebcal/learning": "^5.1.2",
"@hebcal/leyning": "^8.2.9",
"@hebcal/leyning": "^9.0.1",
"@hebcal/locales": "^5.0.1",
"@hebcal/rest-api": "^5.2.0",
"@hebcal/triennial": "^5.1.3",
Expand Down Expand Up @@ -79,7 +79,7 @@
"koa-timeout-v2": "^1.0.0",
"maxmind": "^4.3.22",
"murmurhash3": "^0.5.0",
"mysql2": "^3.11.3",
"mysql2": "^3.11.4",
"nodemailer": "^6.9.16",
"nodemailer-html-to-text": "^3.2.0",
"pdfkit": "^0.15.1",
Expand Down
2 changes: 1 addition & 1 deletion src/hdate-en.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {greg2abs} from '@hebcal/hdate/dist/esm/greg';
import {abs2hebrew, getMonthName} from '@hebcal/hdate/dist/esm/hdate-base';
import {abs2hebrew, getMonthName} from '@hebcal/hdate/dist/esm/hdateBase';
function ordinal(n) {
const s = ['th', 'st', 'nd', 'rd'];
const v = n % 100;
Expand Down
2 changes: 1 addition & 1 deletion src/hdate-he-NoNikud.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {greg2abs} from '@hebcal/hdate/dist/esm/greg';
import {gematriya} from '@hebcal/hdate/dist/esm/gematriya';
import {abs2hebrew, months, isLeapYear} from '@hebcal/hdate/dist/esm/hdate-base';
import {abs2hebrew, months, isLeapYear} from '@hebcal/hdate/dist/esm/hdateBase';

const ADAR_I = months.ADAR_I;
const monthNames = [
Expand Down
2 changes: 1 addition & 1 deletion src/hdate-he.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {greg2abs} from '@hebcal/hdate/dist/esm/greg';
import {abs2hebrew} from '@hebcal/hdate/dist/esm/hdate-base';
import {abs2hebrew} from '@hebcal/hdate/dist/esm/hdateBase';
import {gematriyaDate0} from './gematriyaDate';
function hdateStr() {
const dt = new Date();
Expand Down
2 changes: 1 addition & 1 deletion src/hdate.bundle.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export {greg2abs} from '@hebcal/hdate/dist/esm/greg';
export {abs2hebrew, getMonthName} from '@hebcal/hdate/dist/esm/hdate-base';
export {abs2hebrew, getMonthName} from '@hebcal/hdate/dist/esm/hdateBase';
2 changes: 1 addition & 1 deletion src/hebcalResults.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import dayjs from 'dayjs';
import {pad2, pad4} from '@hebcal/hdate/dist/esm/pad';
import {greg2abs} from '@hebcal/hdate/dist/esm/greg';
import {abs2hebrew, getMonthName} from '@hebcal/hdate/dist/esm/hdate-base';
import {abs2hebrew, getMonthName} from '@hebcal/hdate/dist/esm/hdateBase';

/**
* @private
Expand Down
4 changes: 2 additions & 2 deletions src/parsha-csv.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {basename} from 'path';
import {PassThrough} from 'stream';
import {writeFullKriyahCsv, getLeyningOnDate,
formatAliyahWithBook} from '@hebcal/leyning';
import {getLeyningOnDate, formatAliyahWithBook} from '@hebcal/leyning';
import {writeFullKriyahCsv} from '@hebcal/leyning/dist/esm/csv';
import {writeTriennialCsv} from '@hebcal/triennial';
import createError from 'http-errors';
import {HDate, months} from '@hebcal/core';
Expand Down

0 comments on commit 3df5463

Please sign in to comment.