@hebcal/leyning 4.17.0 → 4.18.0
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/README.md +32 -0
- package/dist/bundle.js +493 -431
- package/dist/bundle.min.js +2 -2
- package/dist/index.js +217 -177
- package/dist/index.mjs +218 -178
- package/leyning.d.ts +9 -1
- package/package.json +3 -3
package/leyning.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node"/>
|
|
2
2
|
|
|
3
|
-
import {Event} from '@hebcal/core';
|
|
3
|
+
import {Event, HDate} from '@hebcal/core';
|
|
4
4
|
import {WriteStream} from 'fs';
|
|
5
5
|
|
|
6
6
|
declare module '@hebcal/leyning' {
|
|
@@ -52,6 +52,14 @@ declare module '@hebcal/leyning' {
|
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
|
|
55
|
+
/**
|
|
56
|
+
* Looks up leyning for a regular Shabbat or holiday
|
|
57
|
+
* @param hdate Hebrew Date
|
|
58
|
+
* @param il in Israel
|
|
59
|
+
* @returns map of aliyot
|
|
60
|
+
*/
|
|
61
|
+
export function getLeyningOnDate(hdate: HDate, il: boolean): Leyning;
|
|
62
|
+
|
|
55
63
|
/**
|
|
56
64
|
* Represents triennial aliyot for a given date
|
|
57
65
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/leyning",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.18.0",
|
|
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.42.
|
|
34
|
+
"@hebcal/core": "^3.42.2"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "rollup -c",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"eslint-config-google": "^0.14.0",
|
|
66
66
|
"jsdoc": "^3.6.11",
|
|
67
67
|
"jsdoc-to-markdown": "^7.1.1",
|
|
68
|
-
"rollup": "^2.77.
|
|
68
|
+
"rollup": "^2.77.3",
|
|
69
69
|
"rollup-plugin-terser": "^7.0.2"
|
|
70
70
|
}
|
|
71
71
|
}
|