date-holidays 3.18.0 → 3.19.2

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": "2023-03-04",
6
+ "version": "2023-05-12",
7
7
  "license": "CC-BY-SA-3",
8
8
  "holidays": {
9
9
  "AD": {
@@ -17144,11 +17144,16 @@ const data = {
17144
17144
  "en": "ANZAC Day"
17145
17145
  }
17146
17146
  },
17147
- "1st monday in June": {
17147
+ "1st monday in June prior to 2023": {
17148
17148
  "name": {
17149
17149
  "en": "Queen's Birthday"
17150
17150
  }
17151
17151
  },
17152
+ "1st monday in June since 2023": {
17153
+ "name": {
17154
+ "en": "King's Birthday"
17155
+ }
17156
+ },
17152
17157
  "4th monday in October": {
17153
17158
  "_name": "05-01"
17154
17159
  },
@@ -20731,6 +20736,307 @@ const data = {
20731
20736
  }
20732
20737
  }
20733
20738
  },
20739
+ "TH": {
20740
+ "names": {
20741
+ "en": "Thailand"
20742
+ },
20743
+ "langs": [
20744
+ "en",
20745
+ "th"
20746
+ ],
20747
+ "zones": [
20748
+ "Asia/Bangkok"
20749
+ ],
20750
+ "dayoff": "Saturday",
20751
+ "days": {
20752
+ "01-01": {
20753
+ "_name": "01-01"
20754
+ },
20755
+ "04-06": {
20756
+ "name": {
20757
+ "en": "Chakri Memorial Day",
20758
+ "th": "วันจักรี"
20759
+ }
20760
+ },
20761
+ "04-13": {
20762
+ "name": {
20763
+ "en": "Songkran Festival",
20764
+ "th": "วันจักรี"
20765
+ }
20766
+ },
20767
+ "04-14": {
20768
+ "name": {
20769
+ "en": "Songkran Festival",
20770
+ "th": "วันจักรี"
20771
+ }
20772
+ },
20773
+ "04-15": {
20774
+ "name": {
20775
+ "en": "Songkran Festival",
20776
+ "th": "วันจักรี"
20777
+ }
20778
+ },
20779
+ "05-04": {
20780
+ "name": {
20781
+ "en": "Coronation Day",
20782
+ "th": "วันฉัตรมงคล"
20783
+ }
20784
+ },
20785
+ "06-03": {
20786
+ "name": {
20787
+ "en": "Queen Suthida's Birthday",
20788
+ "th": "วันเฉลิมพระชนมพรรษาสมเด็จพระนางเจ้าสุทิดา พัชรสุธาพิมลลักษณ พระบรมราชินี"
20789
+ }
20790
+ },
20791
+ "07-28": {
20792
+ "name": {
20793
+ "en": "King's Birthday",
20794
+ "th": "วันเฉลิมพระชนมพรรษาพระบาทสมเด็จพระวชิรเกล้าเจ้าอยู่หัว"
20795
+ }
20796
+ },
20797
+ "08-12": {
20798
+ "name": {
20799
+ "en": "The Queen Mother's Birthday",
20800
+ "th": "วันเฉลิมพระชนมพรรษาสมเด็จพระนางเจ้าสิริกิติ์ พระบรมราชินีนาถ พระบรมราชชนนีพันปีหลวง"
20801
+ }
20802
+ },
20803
+ "10-13": {
20804
+ "name": {
20805
+ "en": "King Bhumibol Adulyadej Memorial Day",
20806
+ "th": "วันคล้ายวันสวรรคตพระบาทสมเด็จพระบรมชนกาธิเบศร มหาภูมิพลอดุลยเดชมหาราช บรมนาถบพิตร"
20807
+ }
20808
+ },
20809
+ "10-23": {
20810
+ "name": {
20811
+ "en": "King Chulalongkorn Day",
20812
+ "th": "วันปิยมหาราช"
20813
+ }
20814
+ },
20815
+ "12-05": {
20816
+ "name": {
20817
+ "en": "King Bhumibol Adulyadej's Birthday",
20818
+ "th": "วันคล้ายวันพระบรมราชสมภพ พระบาทสมเด็จพระบรมชนกาธิเบศร มหาภูมิพลอดุลยเดชมหาราช บรมนาถบพิตร"
20819
+ }
20820
+ },
20821
+ "12-10": {
20822
+ "name": {
20823
+ "en": "Constitution Day",
20824
+ "th": "วันรัฐธรรมนูญ"
20825
+ }
20826
+ },
20827
+ "12-31": {
20828
+ "_name": "12-31"
20829
+ },
20830
+ "2010-03-01": {
20831
+ "_name": "Makha Bucha"
20832
+ },
20833
+ "2011-02-18": {
20834
+ "_name": "Makha Bucha"
20835
+ },
20836
+ "2012-03-07": {
20837
+ "_name": "Makha Bucha"
20838
+ },
20839
+ "2013-02-25": {
20840
+ "_name": "Makha Bucha"
20841
+ },
20842
+ "2014-02-14": {
20843
+ "_name": "Makha Bucha"
20844
+ },
20845
+ "2015-03-04": {
20846
+ "_name": "Makha Bucha"
20847
+ },
20848
+ "2016-02-22": {
20849
+ "_name": "Makha Bucha"
20850
+ },
20851
+ "2017-02-11": {
20852
+ "_name": "Makha Bucha"
20853
+ },
20854
+ "2018-03-01": {
20855
+ "_name": "Makha Bucha"
20856
+ },
20857
+ "2019-02-19": {
20858
+ "_name": "Makha Bucha"
20859
+ },
20860
+ "2020-02-08": {
20861
+ "_name": "Makha Bucha"
20862
+ },
20863
+ "2021-02-26": {
20864
+ "_name": "Makha Bucha"
20865
+ },
20866
+ "2022-02-16": {
20867
+ "_name": "Makha Bucha"
20868
+ },
20869
+ "2023-03-06": {
20870
+ "_name": "Makha Bucha"
20871
+ },
20872
+ "2024-02-24": {
20873
+ "_name": "Makha Bucha"
20874
+ },
20875
+ "2025-02-13": {
20876
+ "_name": "Makha Bucha"
20877
+ },
20878
+ "2026-03-03": {
20879
+ "_name": "Makha Bucha"
20880
+ },
20881
+ "2010-05-28": {
20882
+ "_name": "Vesak"
20883
+ },
20884
+ "2011-05-17": {
20885
+ "_name": "Vesak"
20886
+ },
20887
+ "2012-05-06": {
20888
+ "_name": "Vesak"
20889
+ },
20890
+ "2013-05-25": {
20891
+ "_name": "Vesak"
20892
+ },
20893
+ "2014-05-15": {
20894
+ "_name": "Vesak"
20895
+ },
20896
+ "2015-06-02": {
20897
+ "_name": "Vesak"
20898
+ },
20899
+ "2016-05-22": {
20900
+ "_name": "Vesak"
20901
+ },
20902
+ "2017-05-10": {
20903
+ "_name": "Vesak"
20904
+ },
20905
+ "2018-05-29": {
20906
+ "_name": "Vesak"
20907
+ },
20908
+ "2019-05-19": {
20909
+ "_name": "Vesak"
20910
+ },
20911
+ "2020-05-07": {
20912
+ "_name": "Vesak"
20913
+ },
20914
+ "2021-05-26": {
20915
+ "_name": "Vesak"
20916
+ },
20917
+ "2022-05-15": {
20918
+ "_name": "Vesak"
20919
+ },
20920
+ "2022-05-16": {
20921
+ "substitute": true,
20922
+ "_name": "Vesak"
20923
+ },
20924
+ "2023-05-04": {
20925
+ "_name": "Vesak"
20926
+ },
20927
+ "2024-05-22": {
20928
+ "_name": "Vesak"
20929
+ },
20930
+ "2025-05-12": {
20931
+ "_name": "Vesak"
20932
+ },
20933
+ "2026-05-31": {
20934
+ "_name": "Vesak"
20935
+ },
20936
+ "2010-07-25": {
20937
+ "_name": "Asalha Puja"
20938
+ },
20939
+ "2011-07-15": {
20940
+ "_name": "Asalha Puja"
20941
+ },
20942
+ "2012-08-02": {
20943
+ "_name": "Asalha Puja"
20944
+ },
20945
+ "2013-07-22": {
20946
+ "_name": "Asalha Puja"
20947
+ },
20948
+ "2014-07-11": {
20949
+ "_name": "Asalha Puja"
20950
+ },
20951
+ "2015-07-30": {
20952
+ "_name": "Asalha Puja"
20953
+ },
20954
+ "2016-07-19": {
20955
+ "_name": "Asalha Puja"
20956
+ },
20957
+ "2017-07-08": {
20958
+ "_name": "Asalha Puja"
20959
+ },
20960
+ "2018-07-27": {
20961
+ "_name": "Asalha Puja"
20962
+ },
20963
+ "2019-07-16": {
20964
+ "_name": "Asalha Puja"
20965
+ },
20966
+ "2020-07-04": {
20967
+ "_name": "Asalha Puja"
20968
+ },
20969
+ "2021-07-24": {
20970
+ "_name": "Asalha Puja"
20971
+ },
20972
+ "2022-07-13": {
20973
+ "_name": "Asalha Puja"
20974
+ },
20975
+ "2023-07-31": {
20976
+ "_name": "Asalha Puja"
20977
+ },
20978
+ "2024-07-19": {
20979
+ "_name": "Asalha Puja"
20980
+ },
20981
+ "2025-07-10": {
20982
+ "_name": "Asalha Puja"
20983
+ },
20984
+ "2026-07-29": {
20985
+ "_name": "Asalha Puja"
20986
+ },
20987
+ "2010-07-26": {
20988
+ "_name": "Buddhist Lent"
20989
+ },
20990
+ "2011-07-16": {
20991
+ "_name": "Buddhist Lent"
20992
+ },
20993
+ "2012-08-03": {
20994
+ "_name": "Buddhist Lent"
20995
+ },
20996
+ "2013-07-23": {
20997
+ "_name": "Buddhist Lent"
20998
+ },
20999
+ "2014-07-12": {
21000
+ "_name": "Buddhist Lent"
21001
+ },
21002
+ "2015-07-31": {
21003
+ "_name": "Buddhist Lent"
21004
+ },
21005
+ "2016-07-20": {
21006
+ "_name": "Buddhist Lent"
21007
+ },
21008
+ "2017-07-09": {
21009
+ "_name": "Buddhist Lent"
21010
+ },
21011
+ "2018-07-28": {
21012
+ "_name": "Buddhist Lent"
21013
+ },
21014
+ "2019-07-17": {
21015
+ "_name": "Buddhist Lent"
21016
+ },
21017
+ "2020-07-05": {
21018
+ "_name": "Buddhist Lent"
21019
+ },
21020
+ "2021-07-25": {
21021
+ "_name": "Buddhist Lent"
21022
+ },
21023
+ "2022-07-14": {
21024
+ "_name": "Buddhist Lent"
21025
+ },
21026
+ "2023-08-01": {
21027
+ "_name": "Buddhist Lent"
21028
+ },
21029
+ "2024-07-20": {
21030
+ "_name": "Buddhist Lent"
21031
+ },
21032
+ "2025-07-11": {
21033
+ "_name": "Buddhist Lent"
21034
+ },
21035
+ "2026-07-30": {
21036
+ "_name": "Buddhist Lent"
21037
+ }
21038
+ }
21039
+ },
20734
21040
  "TN": {
20735
21041
  "names": {
20736
21042
  "ar": "الجمهورية التونسية",
@@ -24437,6 +24743,7 @@ const data = {
24437
24743
  "sr": "Нова година",
24438
24744
  "sv": "Nyårsdagen",
24439
24745
  "sw": "Mwaka mpya",
24746
+ "th": "วันขึ้นปีใหม่",
24440
24747
  "ti": "ሓዲሽ ዓመት",
24441
24748
  "tr": "Yılbaşı",
24442
24749
  "uk": "Новий Рік",
@@ -24872,6 +25179,7 @@ const data = {
24872
25179
  "no": "Nyttårsaften",
24873
25180
  "pt": "Véspera de Ano Novo",
24874
25181
  "sv": "Nyårsafton",
25182
+ "th": "วันสิ้นปี",
24875
25183
  "vi": "Đêm giao thừa"
24876
25184
  }
24877
25185
  },
@@ -25422,7 +25730,8 @@ const data = {
25422
25730
  "Vesak": {
25423
25731
  "name": {
25424
25732
  "en": "Vesak Day",
25425
- "id": "Hari Raya Waisak"
25733
+ "id": "Hari Raya Waisak",
25734
+ "th": "วันวิสาขบูชา"
25426
25735
  }
25427
25736
  },
25428
25737
  "Holi": {
@@ -25437,6 +25746,24 @@ const data = {
25437
25746
  "ms": "Hari Thaipusam"
25438
25747
  }
25439
25748
  },
25749
+ "Makha Bucha": {
25750
+ "name": {
25751
+ "en": "Makha Bucha",
25752
+ "th": "วันมาฆบูชา"
25753
+ }
25754
+ },
25755
+ "Asalha Puja": {
25756
+ "name": {
25757
+ "en": "Asalha Puja",
25758
+ "th": "วันอาสาฬหบูชา"
25759
+ }
25760
+ },
25761
+ "Buddhist Lent": {
25762
+ "name": {
25763
+ "en": "Buddhist Lent",
25764
+ "th": "วันเข้าพรรษา"
25765
+ }
25766
+ },
25440
25767
  "Abolition of Slavery": {
25441
25768
  "name": {
25442
25769
  "en": "Abolition of Slavery",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "date-holidays",
3
- "version": "3.18.0",
3
+ "version": "3.19.2",
4
4
  "description": "worldwide holidays",
5
5
  "keywords": [
6
6
  "holidays",
@@ -42,6 +42,7 @@
42
42
  "Daichan <daichi.yasuda@asbloom.me>",
43
43
  "damon02 <damon@teqplay.nl>",
44
44
  "David Álvarez Navarro <david16an@gmail.com>",
45
+ "Edwyn McMillan <codemcmillan@gmail.com>",
45
46
  "Erlend Ellingsen <erlend.ame@gmail.com>",
46
47
  "Filip Staffa <fstaffa@cimpress.com>",
47
48
  "Florian SALEUR <dev.daedalus@gmail.com>",
@@ -50,6 +51,7 @@
50
51
  "Agus Condro <guzzchangx2@gmail.com>",
51
52
  "Germain <germain.clauss@receeve.com>",
52
53
  "germain-receeve <53000086+germain-receeve@users.noreply.github.com>",
54
+ "gisninaelle <nina.wiryanto@gmail.com>",
53
55
  "Goran Martinjak <goran@netgen.hr>",
54
56
  "Guillaume Bisch <guillaume@sqrd.com>",
55
57
  "Gustavo de Paula <dev@dpgu.me>",
@@ -205,42 +207,46 @@
205
207
  "reporter": "dot"
206
208
  },
207
209
  "dependencies": {
208
- "date-holidays-parser": "^3.4.3",
210
+ "date-holidays-parser": "^3.4.4",
209
211
  "js-yaml": "^4.1.0",
210
212
  "lodash.omit": "^4.5.0",
211
213
  "lodash.pick": "^4.4.0",
212
214
  "prepin": "^1.0.3"
213
215
  },
214
216
  "devDependencies": {
215
- "@babel/cli": "^7.21.0",
216
- "@babel/core": "^7.21.0",
217
+ "@babel/cli": "^7.21.5",
218
+ "@babel/core": "^7.21.8",
217
219
  "@babel/polyfill": "^7.12.1",
218
- "@babel/preset-env": "^7.20.2",
219
- "@commitlint/cli": "^17.4.4",
220
- "@commitlint/config-conventional": "^17.4.4",
220
+ "@babel/preset-env": "^7.21.5",
221
+ "@commitlint/cli": "^17.6.3",
222
+ "@commitlint/config-conventional": "^17.6.3",
221
223
  "@mocha/contributors": "git+https://github.com/commenthol/contributors.git#semver:1.1.0-0",
222
224
  "babel-loader": "^9.1.2",
223
225
  "dtslint": "^4.2.1",
224
- "eslint": "^8.35.0",
226
+ "eslint": "^8.40.0",
225
227
  "eslint-config-standard": "^17.0.0",
226
228
  "eslint-plugin-import": "^2.27.5",
227
- "eslint-plugin-n": "^15.6.1",
229
+ "eslint-plugin-n": "^15.7.0",
228
230
  "eslint-plugin-promise": "^6.1.1",
229
231
  "eslint-plugin-yml": "^0.15.0",
230
232
  "hashtree": "^0.7.0",
231
233
  "husky": "^8.0.3",
232
- "markedpp": "^1.1.0",
234
+ "markedpp": "^1.2.0",
233
235
  "mocha": "^10.2.0",
234
236
  "npm-run-all": "^4.1.5",
235
- "rimraf": "^4.3.0",
237
+ "rimraf": "^5.0.0",
236
238
  "rollup": "^2.79.1",
237
- "typescript": "^4.9.5",
239
+ "typescript": "^5.0.4",
238
240
  "watch-run": "^1.2.5",
239
- "webpack": "^5.75.0",
241
+ "webpack": "^5.82.1",
240
242
  "webpack-bundle-analyzer": "^4.8.0",
241
- "webpack-cli": "^4.10.0"
243
+ "webpack-cli": "^5.1.1"
242
244
  },
243
245
  "engines": {
244
246
  "node": ">=12.0.0"
247
+ },
248
+ "c4uIgnore": {
249
+ "eslint-plugin-yml": "^0.15.0 // newer versions do too much checking",
250
+ "rollup": "^2.79.1 // v3 changed exports; needs refactoring first."
245
251
  }
246
252
  }