@hebcal/leyning 4.9.2 → 4.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/leyning.d.ts CHANGED
@@ -32,8 +32,12 @@ declare module '@hebcal/leyning' {
32
32
  summary: string;
33
33
  /** Haftarah, such as `Isaiah 42:5 – 43:11` */
34
34
  haftara: string;
35
- /** Haftarah for Sephardic, such as `Isaiah 42:5 - 42:21` */
35
+ /** Number of verses in the Haftarah */
36
+ haftaraNumV?: number;
37
+ /** Haftarah for Sephardim, such as `Isaiah 42:5 - 42:21` */
36
38
  sephardic?: string;
39
+ /** Number of verses in the Haftarah for Sephardim */
40
+ sephardicNumV?: number;
37
41
  /** Map of aliyot `1` through `7` plus `M` for maftir */
38
42
  fullkriyah: AliyotMap;
39
43
  /** Optional map of weekday Torah Readings aliyot `1` through `3` for Monday and Thursday */
@@ -62,6 +66,11 @@ declare module '@hebcal/leyning' {
62
66
  date2?: Date;
63
67
  };
64
68
 
69
+ /**
70
+ * Makes a summary of the leyning, like "Genesis 6:9-11:32"
71
+ */
72
+ export function makeLeyningSummary(aliyot: AliyotMap): string;
73
+
65
74
  /**
66
75
  * Based on the event date, type and title, finds the relevant leyning key
67
76
  * @param e - event
@@ -149,6 +158,7 @@ declare module '@hebcal/leyning' {
149
158
 
150
159
  export const parshiyot: any;
151
160
  export const holidayReadings: any;
161
+ export const BOOK: string[];
152
162
 
153
163
  export function writeTriennialCsv(stream: WriteStream, hyear: number): void;
154
164
  export function writeFullKriyahCsv(stream: WriteStream, hyear: number, il: boolean): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/leyning",
3
- "version": "4.9.2",
3
+ "version": "4.10.3",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "keywords": [
6
6
  "hebcal",
@@ -31,7 +31,7 @@
31
31
  "leyning-csv": "bin/leyning-csv"
32
32
  },
33
33
  "dependencies": {
34
- "@hebcal/core": "^3.26.4"
34
+ "@hebcal/core": "^3.29.1"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "rollup -c",
@@ -60,20 +60,20 @@
60
60
  },
61
61
  "devDependencies": {
62
62
  "@ava/babel": "^2.0.0",
63
- "@babel/core": "^7.15.5",
64
- "@babel/preset-env": "^7.15.6",
65
- "@babel/register": "^7.14.5",
63
+ "@babel/core": "^7.16.0",
64
+ "@babel/preset-env": "^7.16.0",
65
+ "@babel/register": "^7.16.0",
66
66
  "@rollup/plugin-babel": "^5.3.0",
67
- "@rollup/plugin-commonjs": "^20.0.0",
67
+ "@rollup/plugin-commonjs": "^21.0.1",
68
68
  "@rollup/plugin-json": "^4.1.0",
69
- "@rollup/plugin-node-resolve": "^13.0.5",
69
+ "@rollup/plugin-node-resolve": "^13.0.6",
70
70
  "ava": "^3.15.0",
71
- "core-js": "^3.18.1",
72
- "eslint": "^7.32.0",
71
+ "core-js": "^3.19.0",
72
+ "eslint": "^8.2.0",
73
73
  "eslint-config-google": "^0.14.0",
74
74
  "jsdoc": "^3.6.7",
75
- "jsdoc-to-markdown": "^7.0.1",
76
- "rollup": "^2.57.0",
75
+ "jsdoc-to-markdown": "^7.1.0",
76
+ "rollup": "^2.59.0",
77
77
  "rollup-plugin-terser": "^7.0.2"
78
78
  }
79
79
  }