date-holidays 3.14.0 → 3.14.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/lib/data.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const data = {
6
- "version": "2022-01-04",
6
+ "version": "2022-02-25",
7
7
  "license": "CC-BY-SA-3",
8
8
  "holidays": {
9
9
  "AD": {
@@ -4209,6 +4209,12 @@ const data = {
4209
4209
  "1st monday in September": {
4210
4210
  "_name": "05-01"
4211
4211
  },
4212
+ "09-30 since 2021": {
4213
+ "name": {
4214
+ "en": "National Day for Truth and Reconciliation",
4215
+ "fr": "Journée nationale de la vérité et de la réconciliation"
4216
+ }
4217
+ },
4212
4218
  "2nd monday after 10-01": {
4213
4219
  "name": {
4214
4220
  "en": "Thanksgiving",
@@ -4835,6 +4841,10 @@ const data = {
4835
4841
  "01-01": {
4836
4842
  "_name": "01-01"
4837
4843
  },
4844
+ "easter -3": {
4845
+ "_name": "easter -3",
4846
+ "type": "observance"
4847
+ },
4838
4848
  "easter -2": {
4839
4849
  "_name": "easter -2"
4840
4850
  },
@@ -5158,17 +5168,11 @@ const data = {
5158
5168
  },
5159
5169
  "type": "optional"
5160
5170
  },
5161
- "thursday after 04-02": {
5171
+ "Thursday after 04-02 if is observance holiday then next Thursday": {
5162
5172
  "name": {
5163
5173
  "de": "Näfelser Fahrt",
5164
5174
  "fr": "Bataille de Näfels"
5165
- },
5166
- "disable": [
5167
- "2023-04-06"
5168
- ],
5169
- "enable": [
5170
- "2023-04-13"
5171
- ]
5175
+ }
5172
5176
  },
5173
5177
  "3rd sunday after 09-01": false,
5174
5178
  "11-01": {
@@ -10590,18 +10594,12 @@ const data = {
10590
10594
  "zh": "香港特別行政區成立紀念日"
10591
10595
  }
10592
10596
  },
10593
- "chinese 08-0-16 and if Sunday then next Monday": {
10597
+ "chinese 08-0-16 and if Sunday then next Monday if is public holiday then next day omit Saturday, Sunday": {
10594
10598
  "substitute": true,
10595
10599
  "name": {
10596
10600
  "en": "The day following the Chinese Mid-Autumn Festival",
10597
10601
  "zh": "中秋節翌日"
10598
- },
10599
- "disable": [
10600
- "2020-10-01"
10601
- ],
10602
- "enable": [
10603
- "2020-10-02"
10604
- ]
10602
+ }
10605
10603
  },
10606
10604
  "10-01 and if Sunday then next Monday": {
10607
10605
  "substitute": true,
@@ -11757,7 +11755,7 @@ const data = {
11757
11755
  },
11758
11756
  "15 Nisan": {
11759
11757
  "name": {
11760
- "en": "Passover",
11758
+ "en": "Passover (Pesach)",
11761
11759
  "he": "פסח"
11762
11760
  }
11763
11761
  },
@@ -11771,18 +11769,10 @@ const data = {
11771
11769
  },
11772
11770
  "21 Nisan": {
11773
11771
  "name": {
11774
- "en": "Seventh day of Passover",
11775
- "he": "שביעי של פסח"
11772
+ "en": "Mimouna, Seventh day of Passover",
11773
+ "he": "מימונה, שביעי של פסח"
11776
11774
  }
11777
11775
  },
11778
- "22 Nisan": {
11779
- "name": {
11780
- "en": "Mimouna",
11781
- "he": "מימונה"
11782
- },
11783
- "type": "observance",
11784
- "note": "Unpaid leave upon request"
11785
- },
11786
11776
  "27 Nisan if Friday then previous Thursday if Sunday then next Monday": {
11787
11777
  "name": {
11788
11778
  "en": "Holocaust Remembrance Day (Yom HaShoah)",
@@ -11829,7 +11819,7 @@ const data = {
11829
11819
  },
11830
11820
  "28 Iyyar": {
11831
11821
  "name": {
11832
- "en": "Jerusalem Day",
11822
+ "en": "Jerusalem Day (Yom Yerushalayim)",
11833
11823
  "he": "יום ירושלים"
11834
11824
  },
11835
11825
  "type": "observance",
@@ -11837,7 +11827,7 @@ const data = {
11837
11827
  },
11838
11828
  "6 Sivan": {
11839
11829
  "name": {
11840
- "en": "Shavuot",
11830
+ "en": "Shavuot (Feast of Weeks)",
11841
11831
  "he": "שבועות"
11842
11832
  }
11843
11833
  },
@@ -16630,11 +16620,10 @@ const data = {
16630
16620
  "mi": "Ōtākou"
16631
16621
  },
16632
16622
  "days": {
16633
- "03-23 if tuesday,wednesday,thursday then previous monday if friday,saturday,sunday then next monday": {
16623
+ "03-23 if Tuesday,Wednesday,Thursday then previous Monday if Friday,Saturday,Sunday then next Monday if is public holiday then next Monday": {
16634
16624
  "name": {
16635
16625
  "en": "Provincial anniversary day"
16636
- },
16637
- "note": "varies if coincides with easter monday"
16626
+ }
16638
16627
  }
16639
16628
  }
16640
16629
  },
@@ -17933,10 +17922,11 @@ const data = {
17933
17922
  "01-01": {
17934
17923
  "_name": "01-01"
17935
17924
  },
17936
- "01-05": {
17925
+ "01-05 12:00": {
17937
17926
  "name": {
17938
17927
  "sv": "Trettondagsafton"
17939
- }
17928
+ },
17929
+ "type": "optional"
17940
17930
  },
17941
17931
  "01-06": {
17942
17932
  "_name": "01-06"
@@ -17960,12 +17950,12 @@ const data = {
17960
17950
  },
17961
17951
  "type": "observance"
17962
17952
  },
17963
- "04-30": {
17953
+ "04-30 12:00": {
17964
17954
  "name": {
17965
17955
  "sv": "Valborgsmässoafton",
17966
17956
  "en": "Walpurgis Night"
17967
17957
  },
17968
- "type": "observance"
17958
+ "type": "optional"
17969
17959
  },
17970
17960
  "easter -3": {
17971
17961
  "_name": "easter -3",
@@ -17979,7 +17969,8 @@ const data = {
17979
17969
  "type": "observance"
17980
17970
  },
17981
17971
  "easter -1": {
17982
- "_name": "easter -1"
17972
+ "_name": "easter -1",
17973
+ "type": "observance"
17983
17974
  },
17984
17975
  "easter 1": {
17985
17976
  "_name": "easter 1"
@@ -17994,7 +17985,8 @@ const data = {
17994
17985
  "name": {
17995
17986
  "sv": "Pingstafton",
17996
17987
  "en": "Whitsun Eve"
17997
- }
17988
+ },
17989
+ "type": "observance"
17998
17990
  },
17999
17991
  "easter 49": {
18000
17992
  "_name": "easter 49",
@@ -18029,12 +18021,12 @@ const data = {
18029
18021
  "fi": "Juhannuspäivä"
18030
18022
  }
18031
18023
  },
18032
- "friday after 10-30": {
18024
+ "friday after 10-30 12:00": {
18033
18025
  "name": {
18034
18026
  "sv": "Allhelgonaafton",
18035
18027
  "en": "Halloween"
18036
18028
  },
18037
- "type": "observance"
18029
+ "type": "optional"
18038
18030
  },
18039
18031
  "saturday after 10-31": {
18040
18032
  "_name": "11-01"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "date-holidays",
3
- "version": "3.14.0",
3
+ "version": "3.14.3",
4
4
  "description": "worldwide holidays",
5
5
  "keywords": [
6
6
  "holidays",
@@ -64,17 +64,21 @@
64
64
  "Mauro Braggio <m.braggio@e-time.it>",
65
65
  "Matthias Lösch <mlo@codiac.de>",
66
66
  "Nils Mehlhorn <nilsmehlhorn@users.noreply.github.com>",
67
+ "oprogramador <uomodislesia@gmail.com>",
67
68
  "Oscar Lagercrantz <oscar.lagercrantz@gmail.com>",
68
69
  "osoken <osoken.devel@outlook.jp>",
69
70
  "Pandu Supriyono <mail@supriyono.nl>",
70
71
  "Petar Kovačević <pero.5ar@gmail.com>",
71
72
  "Philip Renich <hello@philiprenich.com>",
73
+ "oprogramador <uomodislesia@gmail.com>",
72
74
  "r.ryngenen@gmail.com <r.ryngenen@gmail.com>",
73
75
  "rbrasco <roger.brasco@scytl.com>",
74
76
  "Roman Hirsch <r.hirsch@brendow.de>",
77
+ "RomanTheBrov <romouald.dombrovski@gmail.com>",
75
78
  "Ryan Gerry <gerryster@gmail.com>",
76
79
  "Sean Riley <spriley@msts.com>",
77
80
  "seb <sebastien@lewebfrancais.fr>",
81
+ "Seb735 <duclutsebastien@yahoo.com>",
78
82
  "Simon Victory <email@simonvictory.com>",
79
83
  "Quennie <simply.me.queeny@gmail.com>",
80
84
  "Tiago <tiago.peliciari@gmail.com>",
@@ -179,17 +183,17 @@
179
183
  "reporter": "dot"
180
184
  },
181
185
  "dependencies": {
182
- "date-holidays-parser": "^3.2.4",
186
+ "date-holidays-parser": "^3.3.0",
183
187
  "js-yaml": "^4.1.0",
184
188
  "lodash.omit": "^4.5.0",
185
189
  "lodash.pick": "^4.4.0",
186
190
  "prepin": "^1.0.3"
187
191
  },
188
192
  "devDependencies": {
189
- "@babel/cli": "^7.16.0",
190
- "@babel/core": "^7.16.5",
193
+ "@babel/cli": "^7.17.6",
194
+ "@babel/core": "^7.17.5",
191
195
  "@babel/polyfill": "^7.12.1",
192
- "@babel/preset-env": "^7.16.5",
196
+ "@babel/preset-env": "^7.16.11",
193
197
  "@commitlint/cli": "^13.2.1",
194
198
  "@commitlint/config-conventional": "^13.2.0",
195
199
  "@mocha/contributors": "git+https://github.com/commenthol/contributors.git#semver:1.1.0-0",
@@ -197,22 +201,22 @@
197
201
  "dtslint": "^4.2.1",
198
202
  "eslint": "^7.32.0",
199
203
  "eslint-config-standard": "^16.0.3",
200
- "eslint-plugin-import": "^2.25.3",
204
+ "eslint-plugin-import": "^2.25.4",
201
205
  "eslint-plugin-node": "^11.1.0",
202
206
  "eslint-plugin-promise": "^5.2.0",
203
207
  "eslint-plugin-yml": "^0.12.0",
204
208
  "hashtree": "^0.7.0",
205
209
  "husky": "^7.0.4",
206
210
  "markedpp": "^1.0.4",
207
- "mocha": "^9.1.3",
211
+ "mocha": "^9.2.1",
208
212
  "npm-run-all": "^4.1.5",
209
213
  "rimraf": "^3.0.2",
210
- "rollup": "^2.62.0",
211
- "typescript": "^4.5.4",
214
+ "rollup": "^2.68.0",
215
+ "typescript": "^4.5.5",
212
216
  "watch-run": "^1.2.5",
213
- "webpack": "^5.65.0",
217
+ "webpack": "^5.69.1",
214
218
  "webpack-bundle-analyzer": "^4.5.0",
215
- "webpack-cli": "^4.9.1"
219
+ "webpack-cli": "^4.9.2"
216
220
  },
217
221
  "engines": {
218
222
  "node": ">=12.0.0"
package/src/data.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export const data = {
2
- version: '2022-01-04',
2
+ version: '2022-02-25',
3
3
  license: 'CC-BY-SA-3',
4
4
  holidays: {
5
5
  AD: {
@@ -4205,6 +4205,12 @@ export const data = {
4205
4205
  '1st monday in September': {
4206
4206
  _name: '05-01'
4207
4207
  },
4208
+ '09-30 since 2021': {
4209
+ name: {
4210
+ en: 'National Day for Truth and Reconciliation',
4211
+ fr: 'Journée nationale de la vérité et de la réconciliation'
4212
+ }
4213
+ },
4208
4214
  '2nd monday after 10-01': {
4209
4215
  name: {
4210
4216
  en: 'Thanksgiving',
@@ -4831,6 +4837,10 @@ export const data = {
4831
4837
  '01-01': {
4832
4838
  _name: '01-01'
4833
4839
  },
4840
+ 'easter -3': {
4841
+ _name: 'easter -3',
4842
+ type: 'observance'
4843
+ },
4834
4844
  'easter -2': {
4835
4845
  _name: 'easter -2'
4836
4846
  },
@@ -5154,17 +5164,11 @@ export const data = {
5154
5164
  },
5155
5165
  type: 'optional'
5156
5166
  },
5157
- 'thursday after 04-02': {
5167
+ 'Thursday after 04-02 if is observance holiday then next Thursday': {
5158
5168
  name: {
5159
5169
  de: 'Näfelser Fahrt',
5160
5170
  fr: 'Bataille de Näfels'
5161
- },
5162
- disable: [
5163
- '2023-04-06'
5164
- ],
5165
- enable: [
5166
- '2023-04-13'
5167
- ]
5171
+ }
5168
5172
  },
5169
5173
  '3rd sunday after 09-01': false,
5170
5174
  '11-01': {
@@ -10586,18 +10590,12 @@ export const data = {
10586
10590
  zh: '香港特別行政區成立紀念日'
10587
10591
  }
10588
10592
  },
10589
- 'chinese 08-0-16 and if Sunday then next Monday': {
10593
+ 'chinese 08-0-16 and if Sunday then next Monday if is public holiday then next day omit Saturday, Sunday': {
10590
10594
  substitute: true,
10591
10595
  name: {
10592
10596
  en: 'The day following the Chinese Mid-Autumn Festival',
10593
10597
  zh: '中秋節翌日'
10594
- },
10595
- disable: [
10596
- '2020-10-01'
10597
- ],
10598
- enable: [
10599
- '2020-10-02'
10600
- ]
10598
+ }
10601
10599
  },
10602
10600
  '10-01 and if Sunday then next Monday': {
10603
10601
  substitute: true,
@@ -11753,7 +11751,7 @@ export const data = {
11753
11751
  },
11754
11752
  '15 Nisan': {
11755
11753
  name: {
11756
- en: 'Passover',
11754
+ en: 'Passover (Pesach)',
11757
11755
  he: 'פסח'
11758
11756
  }
11759
11757
  },
@@ -11767,18 +11765,10 @@ export const data = {
11767
11765
  },
11768
11766
  '21 Nisan': {
11769
11767
  name: {
11770
- en: 'Seventh day of Passover',
11771
- he: 'שביעי של פסח'
11768
+ en: 'Mimouna, Seventh day of Passover',
11769
+ he: 'מימונה, שביעי של פסח'
11772
11770
  }
11773
11771
  },
11774
- '22 Nisan': {
11775
- name: {
11776
- en: 'Mimouna',
11777
- he: 'מימונה'
11778
- },
11779
- type: 'observance',
11780
- note: 'Unpaid leave upon request'
11781
- },
11782
11772
  '27 Nisan if Friday then previous Thursday if Sunday then next Monday': {
11783
11773
  name: {
11784
11774
  en: 'Holocaust Remembrance Day (Yom HaShoah)',
@@ -11825,7 +11815,7 @@ export const data = {
11825
11815
  },
11826
11816
  '28 Iyyar': {
11827
11817
  name: {
11828
- en: 'Jerusalem Day',
11818
+ en: 'Jerusalem Day (Yom Yerushalayim)',
11829
11819
  he: 'יום ירושלים'
11830
11820
  },
11831
11821
  type: 'observance',
@@ -11833,7 +11823,7 @@ export const data = {
11833
11823
  },
11834
11824
  '6 Sivan': {
11835
11825
  name: {
11836
- en: 'Shavuot',
11826
+ en: 'Shavuot (Feast of Weeks)',
11837
11827
  he: 'שבועות'
11838
11828
  }
11839
11829
  },
@@ -16626,11 +16616,10 @@ export const data = {
16626
16616
  mi: 'Ōtākou'
16627
16617
  },
16628
16618
  days: {
16629
- '03-23 if tuesday,wednesday,thursday then previous monday if friday,saturday,sunday then next monday': {
16619
+ '03-23 if Tuesday,Wednesday,Thursday then previous Monday if Friday,Saturday,Sunday then next Monday if is public holiday then next Monday': {
16630
16620
  name: {
16631
16621
  en: 'Provincial anniversary day'
16632
- },
16633
- note: 'varies if coincides with easter monday'
16622
+ }
16634
16623
  }
16635
16624
  }
16636
16625
  },
@@ -17929,10 +17918,11 @@ export const data = {
17929
17918
  '01-01': {
17930
17919
  _name: '01-01'
17931
17920
  },
17932
- '01-05': {
17921
+ '01-05 12:00': {
17933
17922
  name: {
17934
17923
  sv: 'Trettondagsafton'
17935
- }
17924
+ },
17925
+ type: 'optional'
17936
17926
  },
17937
17927
  '01-06': {
17938
17928
  _name: '01-06'
@@ -17956,12 +17946,12 @@ export const data = {
17956
17946
  },
17957
17947
  type: 'observance'
17958
17948
  },
17959
- '04-30': {
17949
+ '04-30 12:00': {
17960
17950
  name: {
17961
17951
  sv: 'Valborgsmässoafton',
17962
17952
  en: 'Walpurgis Night'
17963
17953
  },
17964
- type: 'observance'
17954
+ type: 'optional'
17965
17955
  },
17966
17956
  'easter -3': {
17967
17957
  _name: 'easter -3',
@@ -17975,7 +17965,8 @@ export const data = {
17975
17965
  type: 'observance'
17976
17966
  },
17977
17967
  'easter -1': {
17978
- _name: 'easter -1'
17968
+ _name: 'easter -1',
17969
+ type: 'observance'
17979
17970
  },
17980
17971
  'easter 1': {
17981
17972
  _name: 'easter 1'
@@ -17990,7 +17981,8 @@ export const data = {
17990
17981
  name: {
17991
17982
  sv: 'Pingstafton',
17992
17983
  en: 'Whitsun Eve'
17993
- }
17984
+ },
17985
+ type: 'observance'
17994
17986
  },
17995
17987
  'easter 49': {
17996
17988
  _name: 'easter 49',
@@ -18025,12 +18017,12 @@ export const data = {
18025
18017
  fi: 'Juhannuspäivä'
18026
18018
  }
18027
18019
  },
18028
- 'friday after 10-30': {
18020
+ 'friday after 10-30 12:00': {
18029
18021
  name: {
18030
18022
  sv: 'Allhelgonaafton',
18031
18023
  en: 'Halloween'
18032
18024
  },
18033
- type: 'observance'
18025
+ type: 'optional'
18034
18026
  },
18035
18027
  'saturday after 10-31': {
18036
18028
  _name: '11-01'