date-holidays 3.23.4 → 3.23.6
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 +9 -0
- package/data/countries/HU.yaml +5 -0
- package/data/holidays.json +10 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/umd.min.js +1 -1
- package/dist/umd.min.js.map +1 -1
- package/lib/data.cjs +10 -1
- package/package.json +3 -4
- package/scripts/holidays2json.cjs +1 -2
- package/src/data.js +10 -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": "2024-01-
|
|
6
|
+
"version": "2024-01-25",
|
|
7
7
|
"license": "CC-BY-SA-3",
|
|
8
8
|
"holidays": {
|
|
9
9
|
"AD": {
|
|
@@ -11927,6 +11927,15 @@ const data = {
|
|
|
11927
11927
|
},
|
|
11928
11928
|
"type": "observance"
|
|
11929
11929
|
},
|
|
11930
|
+
"easter -2": {
|
|
11931
|
+
"_name": "easter -2",
|
|
11932
|
+
"type": "public",
|
|
11933
|
+
"active": [
|
|
11934
|
+
{
|
|
11935
|
+
"from": "2017-01-01"
|
|
11936
|
+
}
|
|
11937
|
+
]
|
|
11938
|
+
},
|
|
11930
11939
|
"easter": {
|
|
11931
11940
|
"_name": "easter",
|
|
11932
11941
|
"type": "public"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "date-holidays",
|
|
3
|
-
"version": "3.23.
|
|
3
|
+
"version": "3.23.6",
|
|
4
4
|
"description": "worldwide holidays",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"holidays",
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"doc:tree": "node scripts/addtree.cjs",
|
|
166
166
|
"lint": "eslint --fix --ext .js,.cjs,.yaml .",
|
|
167
167
|
"prepublishOnly": "npm run all",
|
|
168
|
-
"test": "npm-run-all test
|
|
168
|
+
"test": "npm-run-all test:ci",
|
|
169
169
|
"test:ci": "mocha",
|
|
170
170
|
"test:ts": "dtslint types",
|
|
171
171
|
"watch": "watch-run -p data/countries/*.yaml npm run yaml",
|
|
@@ -219,8 +219,7 @@
|
|
|
219
219
|
"dependencies": {
|
|
220
220
|
"date-holidays-parser": "^3.4.4",
|
|
221
221
|
"js-yaml": "^4.1.0",
|
|
222
|
-
"lodash
|
|
223
|
-
"lodash.pick": "^4.4.0",
|
|
222
|
+
"lodash": "^4.17.21",
|
|
224
223
|
"prepin": "^1.0.3"
|
|
225
224
|
},
|
|
226
225
|
"devDependencies": {
|
|
@@ -7,8 +7,7 @@ const path = require('path')
|
|
|
7
7
|
const resolve = path.resolve
|
|
8
8
|
const jsyaml = require('js-yaml')
|
|
9
9
|
const PrePin = require('prepin')
|
|
10
|
-
const _pick = require('lodash
|
|
11
|
-
const _omit = require('lodash.omit')
|
|
10
|
+
const { pick: _pick, omit: _omit } = require('lodash')
|
|
12
11
|
|
|
13
12
|
const REGEX = /^([A-Z]+)\.yaml$/
|
|
14
13
|
|
package/src/data.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const data = {
|
|
2
|
-
version: '2024-01-
|
|
2
|
+
version: '2024-01-25',
|
|
3
3
|
license: 'CC-BY-SA-3',
|
|
4
4
|
holidays: {
|
|
5
5
|
AD: {
|
|
@@ -11923,6 +11923,15 @@ export const data = {
|
|
|
11923
11923
|
},
|
|
11924
11924
|
type: 'observance'
|
|
11925
11925
|
},
|
|
11926
|
+
'easter -2': {
|
|
11927
|
+
_name: 'easter -2',
|
|
11928
|
+
type: 'public',
|
|
11929
|
+
active: [
|
|
11930
|
+
{
|
|
11931
|
+
from: '2017-01-01'
|
|
11932
|
+
}
|
|
11933
|
+
]
|
|
11934
|
+
},
|
|
11926
11935
|
easter: {
|
|
11927
11936
|
_name: 'easter',
|
|
11928
11937
|
type: 'public'
|