date-holidays 3.29.0 → 3.30.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.
@@ -0,0 +1,74 @@
1
+ import { defineConfig, globalIgnores } from 'eslint/config'
2
+ import js from '@eslint/js'
3
+ import globals from 'globals'
4
+ import { flatConfigs as importX } from 'eslint-plugin-import-x'
5
+ import n from 'eslint-plugin-n'
6
+ import promise from 'eslint-plugin-promise'
7
+ import { configs as ymlConfigs } from 'eslint-plugin-yml'
8
+
9
+ export default defineConfig([
10
+ globalIgnores([
11
+ 'coverage/**',
12
+ 'dist/**',
13
+ 'lib/**',
14
+ 'src/data.js',
15
+ 'pnpm-lock.yaml'
16
+ ]),
17
+ {
18
+ files: ['**/*.js', '**/*.mjs'],
19
+ languageOptions: {
20
+ globals: {
21
+ ...globals.browser,
22
+ ...globals.node,
23
+ ...globals.mocha
24
+ },
25
+ ecmaVersion: 'latest',
26
+ sourceType: 'module'
27
+ },
28
+ extends: [
29
+ js.configs.recommended,
30
+ n.configs['flat/recommended'],
31
+ promise.configs['flat/recommended'],
32
+ importX.recommended
33
+ ]
34
+ },
35
+ {
36
+ files: ['**/*.cjs'],
37
+ languageOptions: {
38
+ globals: {
39
+ ...globals.node,
40
+ ...globals.mocha
41
+ },
42
+ ecmaVersion: 'latest',
43
+ sourceType: 'commonjs'
44
+ },
45
+ extends: [
46
+ js.configs.recommended,
47
+ n.configs['flat/recommended'],
48
+ promise.configs['flat/recommended'],
49
+ importX.recommended
50
+ ],
51
+ rules: {
52
+ 'n/no-unsupported-features/es-syntax': 'off'
53
+ }
54
+ },
55
+ {
56
+ // Tooling and example files follow different constraints than runtime code.
57
+ // Relax strict n/* checks here to avoid non-actionable lint noise.
58
+ files: ['eslint.config.mjs', 'examples/**', 'scripts/**'],
59
+ rules: {
60
+ 'n/no-unpublished-import': 'off',
61
+ 'n/no-missing-require': 'off',
62
+ 'n/no-unsupported-features/es-syntax': 'off',
63
+ 'n/no-process-exit': 'off',
64
+ 'n/hashbang': 'off'
65
+ }
66
+ },
67
+ {
68
+ files: ['**/*.yaml', '**/*.yml'],
69
+ extends: [ymlConfigs['flat/standard']],
70
+ rules: {
71
+ 'yml/plain-scalar': 'off'
72
+ }
73
+ }
74
+ ])
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": "2026-05-14",
6
+ "version": "2026-05-20",
7
7
  "license": "CC-BY-SA-3",
8
8
  "holidays": {
9
9
  "AD": {
@@ -750,8 +750,8 @@ const data = {
750
750
  },
751
751
  "05-25": {
752
752
  "name": {
753
- "en": "Day of the First National Government",
754
- "es": "Primer Gobierno Patrio"
753
+ "en": "Day of the May Revolution",
754
+ "es": "Día de la Revolución de Mayo"
755
755
  }
756
756
  },
757
757
  "06-10": {
@@ -778,10 +778,10 @@ const data = {
778
778
  }
779
779
  ]
780
780
  },
781
- "06-17 if tuesday,wednesday then previous monday if thursday then next monday": {
781
+ "06-17 if tuesday,wednesday then previous monday if thursday,friday then next monday": {
782
782
  "name": {
783
783
  "en": "Anniversary of the Passing to Immortality of General Martín Miguel de Güemes",
784
- "es": "Día Paso a la Inmortalidad del General Martín Miguel de Güemes"
784
+ "es": "Paso a la Inmortalidad del General Don Martín Miguel de Güemes"
785
785
  },
786
786
  "active": [
787
787
  {
@@ -789,7 +789,7 @@ const data = {
789
789
  }
790
790
  ]
791
791
  },
792
- "06-20": {
792
+ "06-20 #1": {
793
793
  "name": {
794
794
  "en": "National Flag Day",
795
795
  "es": "Día de la Bandera"
@@ -802,7 +802,15 @@ const data = {
802
802
  {
803
803
  "from": "1991-12-18",
804
804
  "to": "1995-01-10"
805
- },
805
+ }
806
+ ]
807
+ },
808
+ "06-20 #2": {
809
+ "name": {
810
+ "en": "Anniversary of the Passing to Immortality of General Manuel Belgrano",
811
+ "es": "Paso a la Inmortalidad del General D. Manuel Belgrano"
812
+ },
813
+ "active": [
806
814
  {
807
815
  "from": "2010-11-03"
808
816
  }
@@ -822,8 +830,8 @@ const data = {
822
830
  },
823
831
  "3rd monday in June": {
824
832
  "name": {
825
- "en": "National Flag Day",
826
- "es": "Día de la Bandera"
833
+ "en": "Anniversary of the Passing to Immortality of General Manuel Belgrano",
834
+ "es": "Paso a la Inmortalidad del General D. Manuel Belgrano"
827
835
  },
828
836
  "active": [
829
837
  {
@@ -984,7 +992,10 @@ const data = {
984
992
  ]
985
993
  },
986
994
  "12-08": {
987
- "_name": "12-08",
995
+ "name": {
996
+ "en": "Immaculate Conception of Mary",
997
+ "es": "Inmaculada Concepción de María"
998
+ },
988
999
  "active": [
989
1000
  {
990
1001
  "from": "1995-01-11"
@@ -1038,6 +1049,27 @@ const data = {
1038
1049
  "es": "Feriado Nacional de los Campeones Mundiales de Fútbol en la Copa Mundial de la FIFA CATAR 2022"
1039
1050
  }
1040
1051
  },
1052
+ "2026-03-23": {
1053
+ "name": {
1054
+ "en": "Tourism Purposes Non-Working Day",
1055
+ "es": "Día no laborable con fines turísticos"
1056
+ },
1057
+ "type": "optional"
1058
+ },
1059
+ "2026-07-10": {
1060
+ "name": {
1061
+ "en": "Tourism Purposes Non-Working Day",
1062
+ "es": "Día no laborable con fines turísticos"
1063
+ },
1064
+ "type": "optional"
1065
+ },
1066
+ "2026-12-07": {
1067
+ "name": {
1068
+ "en": "Tourism Purposes Non-Working Day",
1069
+ "es": "Día no laborable con fines turísticos"
1070
+ },
1071
+ "type": "optional"
1072
+ },
1041
1073
  "1980-10-22": {
1042
1074
  "name": {
1043
1075
  "en": "National Census 1980",
@@ -2705,7 +2737,11 @@ const data = {
2705
2737
  "type": "observance"
2706
2738
  },
2707
2739
  "easter 1": {
2708
- "_name": "easter 1"
2740
+ "name": {
2741
+ "fr": "Lundi de Pâques",
2742
+ "nl": "Paasmaandag",
2743
+ "de": "Ostermontag"
2744
+ }
2709
2745
  },
2710
2746
  "05-01": {
2711
2747
  "_name": "05-01"
@@ -2715,20 +2751,32 @@ const data = {
2715
2751
  "type": "observance"
2716
2752
  },
2717
2753
  "easter 39": {
2718
- "_name": "easter 39"
2754
+ "name": {
2755
+ "nl": "Hemelvaartsdag",
2756
+ "fr": "Ascension",
2757
+ "de": "Christi Himmelfahrt"
2758
+ }
2719
2759
  },
2720
2760
  "easter 49": {
2721
2761
  "_name": "easter 49",
2722
2762
  "type": "observance"
2723
2763
  },
2724
2764
  "easter 50": {
2725
- "_name": "easter 50"
2765
+ "name": {
2766
+ "fr": "Lundi de Pentecôte",
2767
+ "nl": "Pinkstermaandag",
2768
+ "de": "Pfingstmontag"
2769
+ }
2726
2770
  },
2727
2771
  "07-21": {
2728
2772
  "_name": "National Holiday"
2729
2773
  },
2730
2774
  "08-15": {
2731
- "_name": "08-15"
2775
+ "name": {
2776
+ "fr": "Assomption",
2777
+ "nl": "Tenhemelopneming",
2778
+ "de": "Mariä Himmelfahrt"
2779
+ }
2732
2780
  },
2733
2781
  "11-01": {
2734
2782
  "_name": "11-01"
@@ -8476,7 +8524,7 @@ const data = {
8476
8524
  }
8477
8525
  },
8478
8526
  "MV": {
8479
- "name": "Mecklenburg Vorpommern",
8527
+ "name": "Mecklenburg-Vorpommern",
8480
8528
  "days": {
8481
8529
  "03-08 since 2023": {
8482
8530
  "_name": "03-08"
@@ -14914,7 +14962,7 @@ const data = {
14914
14962
  "name": "Piedmont",
14915
14963
  "regions": {
14916
14964
  "TO": {
14917
- "name": {
14965
+ "names": {
14918
14966
  "it": "Torino",
14919
14967
  "en": "Turin"
14920
14968
  },
@@ -19794,6 +19842,70 @@ const data = {
19794
19842
  }
19795
19843
  }
19796
19844
  },
19845
+ "NF": {
19846
+ "names": {
19847
+ "en": "Norfolk Island"
19848
+ },
19849
+ "dayoff": "sunday",
19850
+ "langs": [
19851
+ "en"
19852
+ ],
19853
+ "zones": [
19854
+ "Pacific/Norfolk"
19855
+ ],
19856
+ "_days": "AU",
19857
+ "days": {
19858
+ "2nd monday in March": false,
19859
+ "03-06 and if saturday,sunday then next monday": {
19860
+ "name": {
19861
+ "en": "Foundation Day"
19862
+ },
19863
+ "type": "public"
19864
+ },
19865
+ "easter": false,
19866
+ "04-25 if sunday then next monday": false,
19867
+ "2020-04-27": false,
19868
+ "04-25": {
19869
+ "name": {
19870
+ "en": "Anzac Day"
19871
+ }
19872
+ },
19873
+ "easter -1": false,
19874
+ "monday after 05-27": false,
19875
+ "06-08 if saturday,sunday then next monday": {
19876
+ "substitute": true,
19877
+ "name": {
19878
+ "en": "Anniversary (Bounty) Day"
19879
+ },
19880
+ "type": "public"
19881
+ },
19882
+ "2nd monday in June": false,
19883
+ "Monday after 2nd saturday in June prior to 2022-09-09": {
19884
+ "substitute": true,
19885
+ "name": {
19886
+ "en": "Queen's Birthday"
19887
+ }
19888
+ },
19889
+ "Monday after 2nd saturday in June since 2022-09-09 if is public holiday then next monday": {
19890
+ "name": {
19891
+ "en": "King's Birthday"
19892
+ }
19893
+ },
19894
+ "1st monday in October": false,
19895
+ "2nd monday in October": {
19896
+ "name": {
19897
+ "en": "Norfolk Island Agricultural Show"
19898
+ },
19899
+ "type": "public"
19900
+ },
19901
+ "Wednesday before 12-01": {
19902
+ "name": {
19903
+ "en": "Thanksgiving Day"
19904
+ },
19905
+ "type": "public"
19906
+ }
19907
+ }
19908
+ },
19797
19909
  "NG": {
19798
19910
  "names": {
19799
19911
  "en": "Nigeria"
@@ -21342,6 +21454,98 @@ const data = {
21342
21454
  }
21343
21455
  }
21344
21456
  },
21457
+ "PK": {
21458
+ "names": {
21459
+ "en": "Pakistan",
21460
+ "ur": "پاکستان"
21461
+ },
21462
+ "langs": [
21463
+ "ur"
21464
+ ],
21465
+ "zones": [
21466
+ "Asia/Karachi"
21467
+ ],
21468
+ "dayoff": "sunday",
21469
+ "days": {
21470
+ "02-05": {
21471
+ "name": {
21472
+ "en": "Kashmir Day",
21473
+ "ur": "یومِ یکجہتیِ کشمیر"
21474
+ }
21475
+ },
21476
+ "03-23": {
21477
+ "name": {
21478
+ "en": "Pakistan Day",
21479
+ "ur": "یومِ پاکستان"
21480
+ }
21481
+ },
21482
+ "05-01": {
21483
+ "_name": "05-01"
21484
+ },
21485
+ "05-28": {
21486
+ "name": {
21487
+ "en": "Youm-e-Takbeer",
21488
+ "ur": "یومِ تکبیر"
21489
+ }
21490
+ },
21491
+ "08-14": {
21492
+ "name": {
21493
+ "en": "Independence Day",
21494
+ "ur": "یومِ آزادی"
21495
+ }
21496
+ },
21497
+ "11-09": {
21498
+ "name": {
21499
+ "en": "Iqbal Day",
21500
+ "ur": "یومِ اقبال"
21501
+ }
21502
+ },
21503
+ "12-25": {
21504
+ "name": {
21505
+ "en": "Quaid-e-Azam Day",
21506
+ "ur": "یومِ قائدِاعظم"
21507
+ }
21508
+ },
21509
+ "9 Muharram P2D": {
21510
+ "name": {
21511
+ "en": "Ashura",
21512
+ "ur": "عاشورہ"
21513
+ }
21514
+ },
21515
+ "12 Rabi al-awwal": {
21516
+ "_name": "12 Rabi al-awwal"
21517
+ },
21518
+ "1 Shawwal P3D": {
21519
+ "_name": "1 Shawwal"
21520
+ },
21521
+ "10 Dhu al-Hijjah P3D": {
21522
+ "_name": "10 Dhu al-Hijjah"
21523
+ }
21524
+ },
21525
+ "states": {
21526
+ "BA": {
21527
+ "name": "Balochistan"
21528
+ },
21529
+ "GB": {
21530
+ "name": "Gilgit-Baltistan"
21531
+ },
21532
+ "IS": {
21533
+ "name": "Islamabad"
21534
+ },
21535
+ "JK": {
21536
+ "name": "Azad Kashmir"
21537
+ },
21538
+ "KP": {
21539
+ "name": "Khyber Pakhtunkhwa"
21540
+ },
21541
+ "PB": {
21542
+ "name": "Punjab"
21543
+ },
21544
+ "SD": {
21545
+ "name": "Sindh"
21546
+ }
21547
+ }
21548
+ },
21345
21549
  "PL": {
21346
21550
  "names": {
21347
21551
  "pl": "Polska",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "date-holidays",
3
- "version": "3.29.0",
3
+ "version": "3.30.1",
4
4
  "description": "worldwide holidays",
5
5
  "keywords": [
6
6
  "holidays",
@@ -250,14 +250,15 @@
250
250
  "@babel/preset-env": "^7.29.5",
251
251
  "@commitlint/cli": "^18.6.1",
252
252
  "@commitlint/config-conventional": "^18.6.3",
253
+ "@eslint/js": "^10.0.1",
253
254
  "@mocha/contributors": "git+https://github.com/commenthol/contributors.git#semver:1.1.0-0",
254
255
  "babel-loader": "^9.2.1",
255
- "eslint": "^8.57.1",
256
- "eslint-config-standard": "^17.1.0",
257
- "eslint-plugin-import": "^2.32.0",
258
- "eslint-plugin-n": "^16.6.2",
259
- "eslint-plugin-promise": "^6.6.0",
260
- "eslint-plugin-yml": "^0.15.0",
256
+ "eslint": "^10.4.0",
257
+ "eslint-plugin-import-x": "^4.16.2",
258
+ "eslint-plugin-n": "^18.0.1",
259
+ "eslint-plugin-promise": "^7.3.0",
260
+ "eslint-plugin-yml": "^3.3.2",
261
+ "globals": "^17.6.0",
261
262
  "husky": "^9.1.7",
262
263
  "mocha": "^11.7.5",
263
264
  "npm-run-all": "^4.1.5",
@@ -265,7 +266,7 @@
265
266
  "rollup": "^2.80.0",
266
267
  "tstyche": "^4.3.0",
267
268
  "watch-run": "^1.2.5",
268
- "webpack": "^5.106.2",
269
+ "webpack": "^5.107.0",
269
270
  "webpack-bundle-analyzer": "^4.10.2",
270
271
  "webpack-cli": "^5.1.4"
271
272
  },
@@ -273,7 +274,6 @@
273
274
  "node": ">=12.0.0"
274
275
  },
275
276
  "c4uIgnore": {
276
- "eslint-plugin-yml": "^0.15.0 // newer versions do too much checking",
277
277
  "rollup": "^2.79.1 // v3 changed exports; needs refactoring first."
278
278
  },
279
279
  "scripts": {
@@ -287,7 +287,8 @@
287
287
  "clean:modules": "rimraf node_modules",
288
288
  "doc:attrib": "node scripts/attributions.cjs",
289
289
  "doc:tree": "node scripts/addtree.cjs",
290
- "lint": "eslint --fix --ext .js,.cjs,.yaml .",
290
+ "lint": "eslint",
291
+ "lint:fix": "eslint --fix",
291
292
  "fixtures": "mocha test/all.mocha.js --writetests --countries",
292
293
  "test": "npm-run-all test:*",
293
294
  "test:ci": "mocha",