@hebcal/core 3.40.0 → 3.41.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/hebcal.d.ts CHANGED
@@ -586,6 +586,21 @@ declare module '@hebcal/core' {
586
586
  addHebrewDatesForEvents?: boolean;
587
587
  /** use bitmask from `flags` to filter events */
588
588
  mask?: number;
589
+ /**
590
+ * include Yom Kippur Katan (default `false`).
591
+ * יוֹם כִּפּוּר קָטָן is a minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh.
592
+ * Yom Kippur Katan is omitted in Elul (on the day before Rosh Hashanah),
593
+ * Tishrei (Yom Kippur has just passed), Kislev (due to Chanukah)
594
+ * and Nisan (fasting not permitted during Nisan).
595
+ * When Rosh Chodesh occurs on Shabbat or Sunday, Yom Kippur Katan is observed on the preceding Thursday.
596
+ * @see {@link https://en.wikipedia.org/wiki/Yom_Kippur_Katan#Practices Wikipedia Yom Kippur Katan practices}
597
+ */
598
+ yomKippurKatan?: boolean;
599
+ /**
600
+ * Whether to use 12-hour time (as opposed to 24-hour time).
601
+ * Possible values are `true` and `false`; the default is locale dependent.
602
+ */
603
+ hour12?: boolean;
589
604
  };
590
605
 
591
606
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/core",
3
- "version": "3.40.0",
3
+ "version": "3.41.0",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "contributors": [
6
6
  "Eyal Schachter (https://github.com/Scimonster)",
@@ -68,7 +68,7 @@
68
68
  "@babel/register": "^7.17.7",
69
69
  "@hebcal/solar-calc": "^1.1.2",
70
70
  "@rollup/plugin-babel": "^5.3.1",
71
- "@rollup/plugin-commonjs": "^22.0.0",
71
+ "@rollup/plugin-commonjs": "^22.0.1",
72
72
  "@rollup/plugin-json": "^4.1.0",
73
73
  "@rollup/plugin-node-resolve": "^13.3.0",
74
74
  "ava": "^4.3.0",