@hebcal/core 5.6.0 → 5.6.1

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/dist/module.d.ts CHANGED
@@ -4,7 +4,7 @@ import { GeoLocation } from '@hebcal/noaa';
4
4
  export { GeoLocation, NOAACalculator } from '@hebcal/noaa';
5
5
 
6
6
  /** DO NOT EDIT THIS AUTO-GENERATED FILE! */
7
- declare const version = "5.6.0";
7
+ declare const version = "5.6.1";
8
8
 
9
9
  /** Class representing Location */
10
10
  declare class Location extends GeoLocation {
@@ -1004,6 +1004,11 @@ declare class Sedra {
1004
1004
  /**
1005
1005
  * Returns the date that a parsha occurs
1006
1006
  * or `null` if the parsha doesn't occur this year
1007
+ * @param parsha if a `string`, specified with Sephardic transliterations
1008
+ * like `'Noach'` or `'Matot-Masei'`. If an array, must be a 1- or 2-element
1009
+ * array such as `['Noach']` or `['Matot', 'Masei']`. If a `number`, should
1010
+ * be a 0-based parsha index (`0` for Bereshit, `1` for Noach) or a negative
1011
+ * number for a doubled parsha (e.g. `-21` for Vayakhel-Pekudei)
1007
1012
  */
1008
1013
  find(parsha: number | string | string[]): HDate | null;
1009
1014
  /**
@@ -1,2 +1,2 @@
1
1
  /** DO NOT EDIT THIS AUTO-GENERATED FILE! */
2
- export declare const version = "5.6.0";
2
+ export declare const version = "5.6.1";
package/dist/sedra.d.ts CHANGED
@@ -60,6 +60,11 @@ export declare class Sedra {
60
60
  /**
61
61
  * Returns the date that a parsha occurs
62
62
  * or `null` if the parsha doesn't occur this year
63
+ * @param parsha if a `string`, specified with Sephardic transliterations
64
+ * like `'Noach'` or `'Matot-Masei'`. If an array, must be a 1- or 2-element
65
+ * array such as `['Noach']` or `['Matot', 'Masei']`. If a `number`, should
66
+ * be a 0-based parsha index (`0` for Bereshit, `1` for Noach) or a negative
67
+ * number for a doubled parsha (e.g. `-21` for Vayakhel-Pekudei)
63
68
  */
64
69
  find(parsha: number | string | string[]): HDate | null;
65
70
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/core",
3
- "version": "5.6.0",
3
+ "version": "5.6.1",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "contributors": [
6
6
  "Eyal Schachter (https://github.com/Scimonster)",
@@ -78,7 +78,7 @@
78
78
  "@rollup/plugin-terser": "^0.4.4",
79
79
  "@rollup/plugin-typescript": "^12.1.1",
80
80
  "@types/jest": "^29.5.14",
81
- "@types/node": "^22.8.4",
81
+ "@types/node": "^22.8.7",
82
82
  "core-js": "^3.39.0",
83
83
  "gts": "^6.0.2",
84
84
  "jest": "^29.7.0",
@@ -86,12 +86,12 @@
86
86
  "rollup": "^4.24.3",
87
87
  "rollup-plugin-dts": "^6.1.1",
88
88
  "ttag-cli": "^1.10.12",
89
- "typedoc": "^0.26.10",
89
+ "typedoc": "^0.26.11",
90
90
  "typescript": "^5.6.3"
91
91
  },
92
92
  "dependencies": {
93
93
  "@hebcal/hdate": "^0.11.5",
94
94
  "@hebcal/noaa": "^0.8.14",
95
- "tslib": "^2.8.0"
95
+ "tslib": "^2.8.1"
96
96
  }
97
97
  }