date-holidays 3.19.0 → 3.20.0
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/CHANGELOG.md +24 -0
- package/data/countries/NO.yaml +1 -0
- package/data/countries/NZ.yaml +5 -1
- package/data/countries/US.yaml +4 -2
- package/data/holidays.json +14 -5
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.LICENSE.txt +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/umd.min.js +1 -1
- package/dist/umd.min.js.LICENSE.txt +1 -1
- package/dist/umd.min.js.map +1 -1
- package/lib/data.cjs +14 -5
- package/package.json +18 -16
- package/src/data.js +14 -5
- package/types/tslint.json +2 -1
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
|
|
6
|
+
"version": "2023-06-03",
|
|
7
7
|
"license": "CC-BY-SA-3",
|
|
8
8
|
"holidays": {
|
|
9
9
|
"AD": {
|
|
@@ -16944,7 +16944,8 @@ const data = {
|
|
|
16944
16944
|
"name": {
|
|
16945
16945
|
"no": "H.M. kong Harald V",
|
|
16946
16946
|
"en": "Birthday of King Harald V"
|
|
16947
|
-
}
|
|
16947
|
+
},
|
|
16948
|
+
"type": "observance"
|
|
16948
16949
|
},
|
|
16949
16950
|
"easter -49": {
|
|
16950
16951
|
"name": {
|
|
@@ -17144,11 +17145,16 @@ const data = {
|
|
|
17144
17145
|
"en": "ANZAC Day"
|
|
17145
17146
|
}
|
|
17146
17147
|
},
|
|
17147
|
-
"1st monday in June": {
|
|
17148
|
+
"1st monday in June prior to 2023": {
|
|
17148
17149
|
"name": {
|
|
17149
17150
|
"en": "Queen's Birthday"
|
|
17150
17151
|
}
|
|
17151
17152
|
},
|
|
17153
|
+
"1st monday in June since 2023": {
|
|
17154
|
+
"name": {
|
|
17155
|
+
"en": "King's Birthday"
|
|
17156
|
+
}
|
|
17157
|
+
},
|
|
17152
17158
|
"4th monday in October": {
|
|
17153
17159
|
"_name": "05-01"
|
|
17154
17160
|
},
|
|
@@ -22623,7 +22629,7 @@ const data = {
|
|
|
22623
22629
|
"en": "President's Day"
|
|
22624
22630
|
}
|
|
22625
22631
|
},
|
|
22626
|
-
"friday before 1st monday before 06-01": {
|
|
22632
|
+
"friday before 1st monday before 06-01 since 2009 and prior to 2016": {
|
|
22627
22633
|
"name": {
|
|
22628
22634
|
"en": "Service Reduction Day"
|
|
22629
22635
|
}
|
|
@@ -23245,10 +23251,13 @@ const data = {
|
|
|
23245
23251
|
"en": "George Washington Day"
|
|
23246
23252
|
}
|
|
23247
23253
|
},
|
|
23248
|
-
"friday before 3rd monday in January": {
|
|
23254
|
+
"friday before 3rd monday in January prior to 2021": {
|
|
23249
23255
|
"name": {
|
|
23250
23256
|
"en": "Lee–Jackson Day"
|
|
23251
23257
|
}
|
|
23258
|
+
},
|
|
23259
|
+
"tuesday after 1st monday in November in even years since 2020": {
|
|
23260
|
+
"name": "Election Day"
|
|
23252
23261
|
}
|
|
23253
23262
|
}
|
|
23254
23263
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "date-holidays",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.20.0",
|
|
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>",
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
"Goran Martinjak <goran@netgen.hr>",
|
|
55
56
|
"Guillaume Bisch <guillaume@sqrd.com>",
|
|
56
57
|
"Gustavo de Paula <dev@dpgu.me>",
|
|
58
|
+
"Håkon Holhjem <haakon@holhjem.net>",
|
|
57
59
|
"Harry Ankers <harrison.ankers@tractable.ai>",
|
|
58
60
|
"havardnyboe <40893697+havardnyboe@users.noreply.github.com>",
|
|
59
61
|
"Humam Aziz Romdhoni <anaktampan@live.com>",
|
|
@@ -206,40 +208,40 @@
|
|
|
206
208
|
"reporter": "dot"
|
|
207
209
|
},
|
|
208
210
|
"dependencies": {
|
|
209
|
-
"date-holidays-parser": "^3.4.
|
|
211
|
+
"date-holidays-parser": "^3.4.4",
|
|
210
212
|
"js-yaml": "^4.1.0",
|
|
211
213
|
"lodash.omit": "^4.5.0",
|
|
212
214
|
"lodash.pick": "^4.4.0",
|
|
213
215
|
"prepin": "^1.0.3"
|
|
214
216
|
},
|
|
215
217
|
"devDependencies": {
|
|
216
|
-
"@babel/cli": "^7.21.
|
|
217
|
-
"@babel/core": "^7.
|
|
218
|
+
"@babel/cli": "^7.21.5",
|
|
219
|
+
"@babel/core": "^7.22.1",
|
|
218
220
|
"@babel/polyfill": "^7.12.1",
|
|
219
|
-
"@babel/preset-env": "^7.
|
|
220
|
-
"@commitlint/cli": "^17.
|
|
221
|
-
"@commitlint/config-conventional": "^17.
|
|
221
|
+
"@babel/preset-env": "^7.22.4",
|
|
222
|
+
"@commitlint/cli": "^17.6.5",
|
|
223
|
+
"@commitlint/config-conventional": "^17.6.5",
|
|
222
224
|
"@mocha/contributors": "git+https://github.com/commenthol/contributors.git#semver:1.1.0-0",
|
|
223
225
|
"babel-loader": "^9.1.2",
|
|
224
226
|
"dtslint": "^4.2.1",
|
|
225
|
-
"eslint": "^8.
|
|
226
|
-
"eslint-config-standard": "^17.
|
|
227
|
+
"eslint": "^8.42.0",
|
|
228
|
+
"eslint-config-standard": "^17.1.0",
|
|
227
229
|
"eslint-plugin-import": "^2.27.5",
|
|
228
|
-
"eslint-plugin-n": "^15.
|
|
230
|
+
"eslint-plugin-n": "^15.7.0",
|
|
229
231
|
"eslint-plugin-promise": "^6.1.1",
|
|
230
232
|
"eslint-plugin-yml": "^0.15.0",
|
|
231
233
|
"hashtree": "^0.7.0",
|
|
232
234
|
"husky": "^8.0.3",
|
|
233
|
-
"markedpp": "^1.
|
|
235
|
+
"markedpp": "^1.2.0",
|
|
234
236
|
"mocha": "^10.2.0",
|
|
235
237
|
"npm-run-all": "^4.1.5",
|
|
236
|
-
"rimraf": "^
|
|
238
|
+
"rimraf": "^5.0.1",
|
|
237
239
|
"rollup": "^2.79.1",
|
|
238
|
-
"typescript": "^
|
|
240
|
+
"typescript": "^5.1.3",
|
|
239
241
|
"watch-run": "^1.2.5",
|
|
240
|
-
"webpack": "^5.
|
|
241
|
-
"webpack-bundle-analyzer": "^4.
|
|
242
|
-
"webpack-cli": "^5.
|
|
242
|
+
"webpack": "^5.85.0",
|
|
243
|
+
"webpack-bundle-analyzer": "^4.9.0",
|
|
244
|
+
"webpack-cli": "^5.1.1"
|
|
243
245
|
},
|
|
244
246
|
"engines": {
|
|
245
247
|
"node": ">=12.0.0"
|
package/src/data.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const data = {
|
|
2
|
-
version: '2023-03
|
|
2
|
+
version: '2023-06-03',
|
|
3
3
|
license: 'CC-BY-SA-3',
|
|
4
4
|
holidays: {
|
|
5
5
|
AD: {
|
|
@@ -16940,7 +16940,8 @@ export const data = {
|
|
|
16940
16940
|
name: {
|
|
16941
16941
|
no: 'H.M. kong Harald V',
|
|
16942
16942
|
en: 'Birthday of King Harald V'
|
|
16943
|
-
}
|
|
16943
|
+
},
|
|
16944
|
+
type: 'observance'
|
|
16944
16945
|
},
|
|
16945
16946
|
'easter -49': {
|
|
16946
16947
|
name: {
|
|
@@ -17140,11 +17141,16 @@ export const data = {
|
|
|
17140
17141
|
en: 'ANZAC Day'
|
|
17141
17142
|
}
|
|
17142
17143
|
},
|
|
17143
|
-
'1st monday in June': {
|
|
17144
|
+
'1st monday in June prior to 2023': {
|
|
17144
17145
|
name: {
|
|
17145
17146
|
en: "Queen's Birthday"
|
|
17146
17147
|
}
|
|
17147
17148
|
},
|
|
17149
|
+
'1st monday in June since 2023': {
|
|
17150
|
+
name: {
|
|
17151
|
+
en: "King's Birthday"
|
|
17152
|
+
}
|
|
17153
|
+
},
|
|
17148
17154
|
'4th monday in October': {
|
|
17149
17155
|
_name: '05-01'
|
|
17150
17156
|
},
|
|
@@ -22619,7 +22625,7 @@ export const data = {
|
|
|
22619
22625
|
en: "President's Day"
|
|
22620
22626
|
}
|
|
22621
22627
|
},
|
|
22622
|
-
'friday before 1st monday before 06-01': {
|
|
22628
|
+
'friday before 1st monday before 06-01 since 2009 and prior to 2016': {
|
|
22623
22629
|
name: {
|
|
22624
22630
|
en: 'Service Reduction Day'
|
|
22625
22631
|
}
|
|
@@ -23241,10 +23247,13 @@ export const data = {
|
|
|
23241
23247
|
en: 'George Washington Day'
|
|
23242
23248
|
}
|
|
23243
23249
|
},
|
|
23244
|
-
'friday before 3rd monday in January': {
|
|
23250
|
+
'friday before 3rd monday in January prior to 2021': {
|
|
23245
23251
|
name: {
|
|
23246
23252
|
en: 'Lee–Jackson Day'
|
|
23247
23253
|
}
|
|
23254
|
+
},
|
|
23255
|
+
'tuesday after 1st monday in November in even years since 2020': {
|
|
23256
|
+
name: 'Election Day'
|
|
23248
23257
|
}
|
|
23249
23258
|
}
|
|
23250
23259
|
},
|