date-holidays 3.14.2 → 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-12",
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,
@@ -16622,11 +16620,10 @@ const data = {
16622
16620
  "mi": "Ōtākou"
16623
16621
  },
16624
16622
  "days": {
16625
- "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": {
16626
16624
  "name": {
16627
16625
  "en": "Provincial anniversary day"
16628
- },
16629
- "note": "varies if coincides with easter monday"
16626
+ }
16630
16627
  }
16631
16628
  }
16632
16629
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "date-holidays",
3
- "version": "3.14.2",
3
+ "version": "3.14.3",
4
4
  "description": "worldwide holidays",
5
5
  "keywords": [
6
6
  "holidays",
@@ -70,12 +70,15 @@
70
70
  "Pandu Supriyono <mail@supriyono.nl>",
71
71
  "Petar Kovačević <pero.5ar@gmail.com>",
72
72
  "Philip Renich <hello@philiprenich.com>",
73
+ "oprogramador <uomodislesia@gmail.com>",
73
74
  "r.ryngenen@gmail.com <r.ryngenen@gmail.com>",
74
75
  "rbrasco <roger.brasco@scytl.com>",
75
76
  "Roman Hirsch <r.hirsch@brendow.de>",
77
+ "RomanTheBrov <romouald.dombrovski@gmail.com>",
76
78
  "Ryan Gerry <gerryster@gmail.com>",
77
79
  "Sean Riley <spriley@msts.com>",
78
80
  "seb <sebastien@lewebfrancais.fr>",
81
+ "Seb735 <duclutsebastien@yahoo.com>",
79
82
  "Simon Victory <email@simonvictory.com>",
80
83
  "Quennie <simply.me.queeny@gmail.com>",
81
84
  "Tiago <tiago.peliciari@gmail.com>",
@@ -180,17 +183,17 @@
180
183
  "reporter": "dot"
181
184
  },
182
185
  "dependencies": {
183
- "date-holidays-parser": "^3.2.4",
186
+ "date-holidays-parser": "^3.3.0",
184
187
  "js-yaml": "^4.1.0",
185
188
  "lodash.omit": "^4.5.0",
186
189
  "lodash.pick": "^4.4.0",
187
190
  "prepin": "^1.0.3"
188
191
  },
189
192
  "devDependencies": {
190
- "@babel/cli": "^7.16.8",
191
- "@babel/core": "^7.16.7",
193
+ "@babel/cli": "^7.17.6",
194
+ "@babel/core": "^7.17.5",
192
195
  "@babel/polyfill": "^7.12.1",
193
- "@babel/preset-env": "^7.16.8",
196
+ "@babel/preset-env": "^7.16.11",
194
197
  "@commitlint/cli": "^13.2.1",
195
198
  "@commitlint/config-conventional": "^13.2.0",
196
199
  "@mocha/contributors": "git+https://github.com/commenthol/contributors.git#semver:1.1.0-0",
@@ -205,15 +208,15 @@
205
208
  "hashtree": "^0.7.0",
206
209
  "husky": "^7.0.4",
207
210
  "markedpp": "^1.0.4",
208
- "mocha": "^9.1.3",
211
+ "mocha": "^9.2.1",
209
212
  "npm-run-all": "^4.1.5",
210
213
  "rimraf": "^3.0.2",
211
- "rollup": "^2.63.0",
212
- "typescript": "^4.5.4",
214
+ "rollup": "^2.68.0",
215
+ "typescript": "^4.5.5",
213
216
  "watch-run": "^1.2.5",
214
- "webpack": "^5.66.0",
217
+ "webpack": "^5.69.1",
215
218
  "webpack-bundle-analyzer": "^4.5.0",
216
- "webpack-cli": "^4.9.1"
219
+ "webpack-cli": "^4.9.2"
217
220
  },
218
221
  "engines": {
219
222
  "node": ">=12.0.0"
package/src/data.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export const data = {
2
- version: '2022-01-12',
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,
@@ -16618,11 +16616,10 @@ export const data = {
16618
16616
  mi: 'Ōtākou'
16619
16617
  },
16620
16618
  days: {
16621
- '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': {
16622
16620
  name: {
16623
16621
  en: 'Provincial anniversary day'
16624
- },
16625
- note: 'varies if coincides with easter monday'
16622
+ }
16626
16623
  }
16627
16624
  }
16628
16625
  },