@hebcal/core 4.0.1 → 4.0.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/dist/bundle.js +29 -20
- package/dist/bundle.min.js +2 -2
- package/dist/greg0.mjs +1 -1
- package/dist/hdate-bundle.js +3 -2
- package/dist/hdate-bundle.min.js +2 -2
- package/dist/hdate.js +3 -2
- package/dist/hdate.mjs +3 -2
- package/dist/hdate0-bundle.js +1 -1
- package/dist/hdate0-bundle.min.js +1 -1
- package/dist/hdate0.mjs +1 -1
- package/dist/index.js +28 -2
- package/dist/index.mjs +28 -2
- package/hebcal.d.ts +5 -1
- package/package.json +7 -7
- package/po/a.txt +576 -0
- package/po/b.txt +264 -0
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/core v4.0.
|
|
1
|
+
/*! @hebcal/core v4.0.3 */
|
|
2
2
|
var hebcal = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -146,7 +146,7 @@ var check = function (it) {
|
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
149
|
-
var global$
|
|
149
|
+
var global$c =
|
|
150
150
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
151
151
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
152
152
|
check(typeof window == 'object' && window) ||
|
|
@@ -154,7 +154,7 @@ var global$b =
|
|
|
154
154
|
check(typeof self == 'object' && self) ||
|
|
155
155
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
156
156
|
// eslint-disable-next-line no-new-func -- fallback
|
|
157
|
-
(function () { return this; })() || Function('return this')();
|
|
157
|
+
(function () { return this; })() || commonjsGlobal || Function('return this')();
|
|
158
158
|
|
|
159
159
|
var objectGetOwnPropertyDescriptor = {};
|
|
160
160
|
|
|
@@ -312,7 +312,7 @@ var isObject$7 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
|
312
312
|
return typeof it == 'object' ? it !== null : isCallable$b(it);
|
|
313
313
|
};
|
|
314
314
|
|
|
315
|
-
var global$
|
|
315
|
+
var global$b = global$c;
|
|
316
316
|
var isCallable$a = isCallable$c;
|
|
317
317
|
|
|
318
318
|
var aFunction = function (argument) {
|
|
@@ -320,7 +320,7 @@ var aFunction = function (argument) {
|
|
|
320
320
|
};
|
|
321
321
|
|
|
322
322
|
var getBuiltIn$4 = function (namespace, method) {
|
|
323
|
-
return arguments.length < 2 ? aFunction(global$
|
|
323
|
+
return arguments.length < 2 ? aFunction(global$b[namespace]) : global$b[namespace] && global$b[namespace][method];
|
|
324
324
|
};
|
|
325
325
|
|
|
326
326
|
var uncurryThis$g = functionUncurryThis;
|
|
@@ -329,11 +329,11 @@ var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);
|
|
|
329
329
|
|
|
330
330
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
331
331
|
|
|
332
|
-
var global$
|
|
332
|
+
var global$a = global$c;
|
|
333
333
|
var userAgent$2 = engineUserAgent;
|
|
334
334
|
|
|
335
|
-
var process = global$
|
|
336
|
-
var Deno = global$
|
|
335
|
+
var process = global$a.process;
|
|
336
|
+
var Deno = global$a.Deno;
|
|
337
337
|
var versions = process && process.versions || Deno && Deno.version;
|
|
338
338
|
var v8 = versions && versions.v8;
|
|
339
339
|
var match, version$1;
|
|
@@ -361,13 +361,18 @@ var engineV8Version = version$1;
|
|
|
361
361
|
|
|
362
362
|
var V8_VERSION$1 = engineV8Version;
|
|
363
363
|
var fails$b = fails$f;
|
|
364
|
+
var global$9 = global$c;
|
|
365
|
+
|
|
366
|
+
var $String$4 = global$9.String;
|
|
364
367
|
|
|
365
368
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
366
369
|
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
|
|
367
370
|
var symbol = Symbol();
|
|
368
371
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
369
372
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
370
|
-
|
|
373
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
374
|
+
// of course, fail.
|
|
375
|
+
return !$String$4(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
371
376
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
372
377
|
!Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
|
|
373
378
|
});
|
|
@@ -443,7 +448,7 @@ var ordinaryToPrimitive$1 = function (input, pref) {
|
|
|
443
448
|
|
|
444
449
|
var shared$3 = {exports: {}};
|
|
445
450
|
|
|
446
|
-
var global$8 = global$
|
|
451
|
+
var global$8 = global$c;
|
|
447
452
|
|
|
448
453
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
449
454
|
var defineProperty$3 = Object.defineProperty;
|
|
@@ -456,7 +461,7 @@ var defineGlobalProperty$3 = function (key, value) {
|
|
|
456
461
|
} return value;
|
|
457
462
|
};
|
|
458
463
|
|
|
459
|
-
var global$7 = global$
|
|
464
|
+
var global$7 = global$c;
|
|
460
465
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
461
466
|
|
|
462
467
|
var SHARED = '__core-js_shared__';
|
|
@@ -469,10 +474,10 @@ var store$2 = sharedStore;
|
|
|
469
474
|
(shared$3.exports = function (key, value) {
|
|
470
475
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
471
476
|
})('versions', []).push({
|
|
472
|
-
version: '3.30.
|
|
477
|
+
version: '3.30.2',
|
|
473
478
|
mode: 'global',
|
|
474
479
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
475
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.30.
|
|
480
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',
|
|
476
481
|
source: 'https://github.com/zloirock/core-js'
|
|
477
482
|
});
|
|
478
483
|
|
|
@@ -510,7 +515,7 @@ var uid$2 = function (key) {
|
|
|
510
515
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id$1 + postfix, 36);
|
|
511
516
|
};
|
|
512
517
|
|
|
513
|
-
var global$6 = global$
|
|
518
|
+
var global$6 = global$c;
|
|
514
519
|
var shared$2 = sharedExports;
|
|
515
520
|
var hasOwn$6 = hasOwnProperty_1;
|
|
516
521
|
var uid$1 = uid$2;
|
|
@@ -565,7 +570,7 @@ var toPropertyKey$3 = function (argument) {
|
|
|
565
570
|
return isSymbol(key) ? key : key + '';
|
|
566
571
|
};
|
|
567
572
|
|
|
568
|
-
var global$5 = global$
|
|
573
|
+
var global$5 = global$c;
|
|
569
574
|
var isObject$4 = isObject$7;
|
|
570
575
|
|
|
571
576
|
var document$1 = global$5.document;
|
|
@@ -727,7 +732,7 @@ if (!isCallable$6(store$1.inspectSource)) {
|
|
|
727
732
|
|
|
728
733
|
var inspectSource$2 = store$1.inspectSource;
|
|
729
734
|
|
|
730
|
-
var global$4 = global$
|
|
735
|
+
var global$4 = global$c;
|
|
731
736
|
var isCallable$5 = isCallable$c;
|
|
732
737
|
|
|
733
738
|
var WeakMap$1 = global$4.WeakMap;
|
|
@@ -746,7 +751,7 @@ var sharedKey$2 = function (key) {
|
|
|
746
751
|
var hiddenKeys$4 = {};
|
|
747
752
|
|
|
748
753
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
749
|
-
var global$3 = global$
|
|
754
|
+
var global$3 = global$c;
|
|
750
755
|
var isObject$2 = isObject$7;
|
|
751
756
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
|
|
752
757
|
var hasOwn$3 = hasOwnProperty_1;
|
|
@@ -1092,7 +1097,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1092
1097
|
|
|
1093
1098
|
var isForced_1 = isForced$1;
|
|
1094
1099
|
|
|
1095
|
-
var global$2 = global$
|
|
1100
|
+
var global$2 = global$c;
|
|
1096
1101
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
1097
1102
|
var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
|
1098
1103
|
var defineBuiltIn = defineBuiltIn$1;
|
|
@@ -1500,6 +1505,7 @@ function abs2greg(abs) {
|
|
|
1500
1505
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
1501
1506
|
*/
|
|
1502
1507
|
|
|
1508
|
+
|
|
1503
1509
|
/**
|
|
1504
1510
|
* Gregorian date helper functions.
|
|
1505
1511
|
*/
|
|
@@ -6220,7 +6226,7 @@ var regexpFlags = function () {
|
|
|
6220
6226
|
return result;
|
|
6221
6227
|
};
|
|
6222
6228
|
|
|
6223
|
-
var global$1 = global$
|
|
6229
|
+
var global$1 = global$c;
|
|
6224
6230
|
var DESCRIPTORS$2 = descriptors;
|
|
6225
6231
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
6226
6232
|
var regExpFlags = regexpFlags;
|
|
@@ -6802,6 +6808,9 @@ var HolidayEvent = /*#__PURE__*/function (_Event) {
|
|
|
6802
6808
|
}, {
|
|
6803
6809
|
key: "getCategories",
|
|
6804
6810
|
value: function getCategories() {
|
|
6811
|
+
if (this.cholHaMoedDay) {
|
|
6812
|
+
return ['holiday', 'major', 'cholhamoed'];
|
|
6813
|
+
}
|
|
6805
6814
|
var cats = _get(_getPrototypeOf(HolidayEvent.prototype), "getCategories", this).call(this);
|
|
6806
6815
|
if (cats[0] !== 'unknown') {
|
|
6807
6816
|
return cats;
|
|
@@ -7546,7 +7555,7 @@ function getBirthdayOrAnniversary_(hyear, gdate) {
|
|
|
7546
7555
|
return new HDate(day, month, hyear);
|
|
7547
7556
|
}
|
|
7548
7557
|
|
|
7549
|
-
var version="4.0.
|
|
7558
|
+
var version="4.0.3";
|
|
7550
7559
|
|
|
7551
7560
|
var headers$1={"plural-forms":"nplurals=2; plural=(n > 1);"};var contexts$1={"":{Berachot:["Berachos"],Shabbat:["Shabbos"],Taanit:["Taanis"],Yevamot:["Yevamos"],Ketubot:["Kesubos"],"Baba Batra":["Baba Basra"],Makkot:["Makkos"],Shevuot:["Shevuos"],Horayot:["Horayos"],Menachot:["Menachos"],Bechorot:["Bechoros"],Keritot:["Kerisos"],Midot:["Midos"],"Achrei Mot":["Achrei Mos"],Bechukotai:["Bechukosai"],"Beha'alotcha":["Beha'aloscha"],Bereshit:["Bereshis"],Chukat:["Chukas"],"Erev Shavuot":["Erev Shavuos"],"Erev Sukkot":["Erev Sukkos"],"Ki Tavo":["Ki Savo"],"Ki Teitzei":["Ki Seitzei"],"Ki Tisa":["Ki Sisa"],Matot:["Matos"],"Purim Katan":["Purim Koton"],Tazria:["Sazria"],"Shabbat Chazon":["Shabbos Chazon"],"Shabbat HaChodesh":["Shabbos HaChodesh"],"Shabbat HaGadol":["Shabbos HaGadol"],"Shabbat Nachamu":["Shabbos Nachamu"],"Shabbat Parah":["Shabbos Parah"],"Shabbat Shekalim":["Shabbos Shekalim"],"Shabbat Shuva":["Shabbos Shuvah"],"Shabbat Zachor":["Shabbos Zachor"],Shavuot:["Shavuos"],"Shavuot I":["Shavuos I"],"Shavuot II":["Shavuos II"],Shemot:["Shemos"],"Shmini Atzeret":["Shmini Atzeres"],"Simchat Torah":["Simchas Torah"],Sukkot:["Sukkos"],"Sukkot I":["Sukkos I"],"Sukkot II":["Sukkos II"],"Sukkot II (CH''M)":["Sukkos II (CH''M)"],"Sukkot III (CH''M)":["Sukkos III (CH''M)"],"Sukkot IV (CH''M)":["Sukkos IV (CH''M)"],"Sukkot V (CH''M)":["Sukkos V (CH''M)"],"Sukkot VI (CH''M)":["Sukkos VI (CH''M)"],"Sukkot VII (Hoshana Raba)":["Sukkos VII (Hoshana Raba)"],"Ta'anit Bechorot":["Ta'anis Bechoros"],"Ta'anit Esther":["Ta'anis Esther"],Toldot:["Toldos"],Vaetchanan:["Vaeschanan"],Yitro:["Yisro"],"Vezot Haberakhah":["Vezos Haberakhah"],Parashat:["Parshas"],"Leil Selichot":["Leil Selichos"],"Shabbat Mevarchim Chodesh":["Shabbos Mevorchim Chodesh"],"Shabbat Shirah":["Shabbos Shirah"],Tevet:["Teves"],"Asara B'Tevet":["Asara B'Teves"],Berakhot:["Berakhos"],Sheviit:["Sheviis"],Terumot:["Terumos"],Maasrot:["Maasros"],Eduyot:["Eduyos"],Avot:["Avos"],Bekhorot:["Bekhoros"],Middot:["Middos"],Oholot:["Oholos"],Tahorot:["Tahoros"],Mikvaot:["Mikvaos"],"Alot HaShachar":["Alos HaShachar"],"Kriat Shema, sof zeman":["Krias Shema, sof zman"],"Tefilah, sof zeman":["Tefilah, sof zman"],"Kriat Shema, sof zeman (MGA)":["Krias Shema, sof zman (MGA)"],"Tefilah, sof zeman (MGA)":["Tefilah, sof zman (MGA)"],"Chatzot HaLailah":["Chatzos HaLailah"],"Chatzot hayom":["Chatzos"],"Tzeit HaKochavim":["Tzeis HaKochavim"],"Birkat Hachamah":["Birkas Hachamah"],"Shushan Purim Katan":["Shushan Purim Koton"]}};var poAshkenazi = {headers:headers$1,contexts:contexts$1};
|
|
7552
7561
|
|