@hyunbinseo/holidays-kr 3.2025.2 → 3.2025.4
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/dist/index.cjs +6 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/package.json +52 -55
package/dist/index.cjs
CHANGED
|
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
getHolidayNames: () => getHolidayNames,
|
|
24
24
|
getHolidayNamesE: () => getHolidayNamesE,
|
|
25
25
|
isHoliday: () => isHoliday,
|
|
@@ -29,7 +29,7 @@ __export(src_exports, {
|
|
|
29
29
|
y2024: () => y2024,
|
|
30
30
|
y2025: () => y2025
|
|
31
31
|
});
|
|
32
|
-
module.exports = __toCommonJS(
|
|
32
|
+
module.exports = __toCommonJS(index_exports);
|
|
33
33
|
|
|
34
34
|
// src/holidays/all.ts
|
|
35
35
|
var all_exports = {};
|
|
@@ -111,6 +111,7 @@ var __default3 = {
|
|
|
111
111
|
// src/holidays/2025.json
|
|
112
112
|
var __default4 = {
|
|
113
113
|
"2025-01-01": ["1\uC6D4 1\uC77C"],
|
|
114
|
+
"2025-01-27": ["\uC784\uC2DC\uACF5\uD734\uC77C"],
|
|
114
115
|
"2025-01-28": ["\uC124\uB0A0 \uC804\uB0A0"],
|
|
115
116
|
"2025-01-29": ["\uC124\uB0A0"],
|
|
116
117
|
"2025-01-30": ["\uC124\uB0A0 \uB2E4\uC74C \uB0A0"],
|
|
@@ -118,6 +119,7 @@ var __default4 = {
|
|
|
118
119
|
"2025-03-03": ["\uB300\uCCB4\uACF5\uD734\uC77C(3\u318D1\uC808)"],
|
|
119
120
|
"2025-05-05": ["\uC5B4\uB9B0\uC774\uB0A0", "\uBD80\uCC98\uB2D8 \uC624\uC2E0 \uB0A0"],
|
|
120
121
|
"2025-05-06": ["\uB300\uCCB4\uACF5\uD734\uC77C(\uBD80\uCC98\uB2D8 \uC624\uC2E0 \uB0A0)"],
|
|
122
|
+
"2025-06-03": ["\uC784\uC2DC\uACF5\uD734\uC77C(\uB300\uD1B5\uB839\uC120\uAC70)"],
|
|
121
123
|
"2025-06-06": ["\uD604\uCDA9\uC77C"],
|
|
122
124
|
"2025-08-15": ["\uAD11\uBCF5\uC808"],
|
|
123
125
|
"2025-10-03": ["\uAC1C\uCC9C\uC808"],
|
|
@@ -136,7 +138,7 @@ var y2023 = toReadonly(__default2);
|
|
|
136
138
|
var y2024 = toReadonly(__default3);
|
|
137
139
|
var y2025 = toReadonly(__default4);
|
|
138
140
|
|
|
139
|
-
// src/holidays/latest.
|
|
141
|
+
// src/holidays/latest.ts
|
|
140
142
|
var latest_exports = {};
|
|
141
143
|
__export(latest_exports, {
|
|
142
144
|
y2024: () => y2024,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const y2022: Readonly<Record<"2022-01-01" | "2022-01-31" | "2022-02-01" | "2022-02-02" | "2022-03-01" | "2022-03-09" | "2022-05-05" | "2022-05-08" | "2022-06-01" | "2022-06-06" | "2022-08-15" | "2022-09-09" | "2022-09-10" | "2022-09-11" | "2022-09-12" | "2022-10-03" | "2022-10-09" | "2022-10-10" | "2022-12-25", readonly string[]>>;
|
|
2
2
|
declare const y2023: Readonly<Record<"2023-01-01" | "2023-01-21" | "2023-01-22" | "2023-01-23" | "2023-01-24" | "2023-03-01" | "2023-05-05" | "2023-05-27" | "2023-05-29" | "2023-06-06" | "2023-08-15" | "2023-09-28" | "2023-09-29" | "2023-09-30" | "2023-10-02" | "2023-10-03" | "2023-10-09" | "2023-12-25", readonly string[]>>;
|
|
3
3
|
declare const y2024: Readonly<Record<"2024-01-01" | "2024-02-09" | "2024-02-10" | "2024-02-11" | "2024-02-12" | "2024-03-01" | "2024-04-10" | "2024-05-05" | "2024-05-06" | "2024-05-15" | "2024-06-06" | "2024-08-15" | "2024-09-16" | "2024-09-17" | "2024-09-18" | "2024-10-01" | "2024-10-03" | "2024-10-09" | "2024-12-25", readonly string[]>>;
|
|
4
|
-
declare const y2025: Readonly<Record<"2025-01-01" | "2025-01-28" | "2025-01-29" | "2025-01-30" | "2025-03-01" | "2025-03-03" | "2025-05-05" | "2025-05-06" | "2025-06-06" | "2025-08-15" | "2025-10-03" | "2025-10-05" | "2025-10-06" | "2025-10-07" | "2025-10-08" | "2025-10-09" | "2025-12-25", readonly string[]>>;
|
|
4
|
+
declare const y2025: Readonly<Record<"2025-01-01" | "2025-01-27" | "2025-01-28" | "2025-01-29" | "2025-01-30" | "2025-03-01" | "2025-03-03" | "2025-05-05" | "2025-05-06" | "2025-06-03" | "2025-06-06" | "2025-08-15" | "2025-10-03" | "2025-10-05" | "2025-10-06" | "2025-10-07" | "2025-10-08" | "2025-10-09" | "2025-12-25", readonly string[]>>;
|
|
5
5
|
|
|
6
6
|
declare const getHolidayNames: (date: Date) => readonly string[] | null;
|
|
7
7
|
declare const getHolidayNamesE: (date: Date) => readonly string[] | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const y2022: Readonly<Record<"2022-01-01" | "2022-01-31" | "2022-02-01" | "2022-02-02" | "2022-03-01" | "2022-03-09" | "2022-05-05" | "2022-05-08" | "2022-06-01" | "2022-06-06" | "2022-08-15" | "2022-09-09" | "2022-09-10" | "2022-09-11" | "2022-09-12" | "2022-10-03" | "2022-10-09" | "2022-10-10" | "2022-12-25", readonly string[]>>;
|
|
2
2
|
declare const y2023: Readonly<Record<"2023-01-01" | "2023-01-21" | "2023-01-22" | "2023-01-23" | "2023-01-24" | "2023-03-01" | "2023-05-05" | "2023-05-27" | "2023-05-29" | "2023-06-06" | "2023-08-15" | "2023-09-28" | "2023-09-29" | "2023-09-30" | "2023-10-02" | "2023-10-03" | "2023-10-09" | "2023-12-25", readonly string[]>>;
|
|
3
3
|
declare const y2024: Readonly<Record<"2024-01-01" | "2024-02-09" | "2024-02-10" | "2024-02-11" | "2024-02-12" | "2024-03-01" | "2024-04-10" | "2024-05-05" | "2024-05-06" | "2024-05-15" | "2024-06-06" | "2024-08-15" | "2024-09-16" | "2024-09-17" | "2024-09-18" | "2024-10-01" | "2024-10-03" | "2024-10-09" | "2024-12-25", readonly string[]>>;
|
|
4
|
-
declare const y2025: Readonly<Record<"2025-01-01" | "2025-01-28" | "2025-01-29" | "2025-01-30" | "2025-03-01" | "2025-03-03" | "2025-05-05" | "2025-05-06" | "2025-06-06" | "2025-08-15" | "2025-10-03" | "2025-10-05" | "2025-10-06" | "2025-10-07" | "2025-10-08" | "2025-10-09" | "2025-12-25", readonly string[]>>;
|
|
4
|
+
declare const y2025: Readonly<Record<"2025-01-01" | "2025-01-27" | "2025-01-28" | "2025-01-29" | "2025-01-30" | "2025-03-01" | "2025-03-03" | "2025-05-05" | "2025-05-06" | "2025-06-03" | "2025-06-06" | "2025-08-15" | "2025-10-03" | "2025-10-05" | "2025-10-06" | "2025-10-07" | "2025-10-08" | "2025-10-09" | "2025-12-25", readonly string[]>>;
|
|
5
5
|
|
|
6
6
|
declare const getHolidayNames: (date: Date) => readonly string[] | null;
|
|
7
7
|
declare const getHolidayNamesE: (date: Date) => readonly string[] | null;
|
package/dist/index.js
CHANGED
|
@@ -84,6 +84,7 @@ var __default3 = {
|
|
|
84
84
|
// src/holidays/2025.json
|
|
85
85
|
var __default4 = {
|
|
86
86
|
"2025-01-01": ["1\uC6D4 1\uC77C"],
|
|
87
|
+
"2025-01-27": ["\uC784\uC2DC\uACF5\uD734\uC77C"],
|
|
87
88
|
"2025-01-28": ["\uC124\uB0A0 \uC804\uB0A0"],
|
|
88
89
|
"2025-01-29": ["\uC124\uB0A0"],
|
|
89
90
|
"2025-01-30": ["\uC124\uB0A0 \uB2E4\uC74C \uB0A0"],
|
|
@@ -91,6 +92,7 @@ var __default4 = {
|
|
|
91
92
|
"2025-03-03": ["\uB300\uCCB4\uACF5\uD734\uC77C(3\u318D1\uC808)"],
|
|
92
93
|
"2025-05-05": ["\uC5B4\uB9B0\uC774\uB0A0", "\uBD80\uCC98\uB2D8 \uC624\uC2E0 \uB0A0"],
|
|
93
94
|
"2025-05-06": ["\uB300\uCCB4\uACF5\uD734\uC77C(\uBD80\uCC98\uB2D8 \uC624\uC2E0 \uB0A0)"],
|
|
95
|
+
"2025-06-03": ["\uC784\uC2DC\uACF5\uD734\uC77C(\uB300\uD1B5\uB839\uC120\uAC70)"],
|
|
94
96
|
"2025-06-06": ["\uD604\uCDA9\uC77C"],
|
|
95
97
|
"2025-08-15": ["\uAD11\uBCF5\uC808"],
|
|
96
98
|
"2025-10-03": ["\uAC1C\uCC9C\uC808"],
|
|
@@ -109,7 +111,7 @@ var y2023 = toReadonly(__default2);
|
|
|
109
111
|
var y2024 = toReadonly(__default3);
|
|
110
112
|
var y2025 = toReadonly(__default4);
|
|
111
113
|
|
|
112
|
-
// src/holidays/latest.
|
|
114
|
+
// src/holidays/latest.ts
|
|
113
115
|
var latest_exports = {};
|
|
114
116
|
__export(latest_exports, {
|
|
115
117
|
y2024: () => y2024,
|
package/package.json
CHANGED
|
@@ -1,56 +1,53 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"homepage": "https://github.com/hyunbinseo/holidays-kr#readme",
|
|
55
|
-
"packageManager": "pnpm@9.14.2+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387"
|
|
56
|
-
}
|
|
2
|
+
"name": "@hyunbinseo/holidays-kr",
|
|
3
|
+
"description": "South Korea's national holidays, based on the official gazette",
|
|
4
|
+
"version": "3.2025.4",
|
|
5
|
+
"devDependencies": {
|
|
6
|
+
"@types/node": "^22.14.0",
|
|
7
|
+
"prettier": "^3.5.3",
|
|
8
|
+
"publint": "^0.3.10",
|
|
9
|
+
"tsup": "^8.4.0",
|
|
10
|
+
"typescript": "^5.8.3",
|
|
11
|
+
"valibot": "^1.0.0"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"require": "./dist/index.cjs",
|
|
17
|
+
"import": "./dist/index.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"main": "./dist/index.cjs",
|
|
21
|
+
"module": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=18"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"대한민국",
|
|
31
|
+
"한국",
|
|
32
|
+
"공휴일",
|
|
33
|
+
"Korean",
|
|
34
|
+
"holidays"
|
|
35
|
+
],
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/hyunbinseo/holidays-kr.git"
|
|
39
|
+
},
|
|
40
|
+
"author": "Hyunbin Seo",
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"bugs": {
|
|
43
|
+
"url": "https://github.com/hyunbinseo/holidays-kr/issues"
|
|
44
|
+
},
|
|
45
|
+
"homepage": "https://github.com/hyunbinseo/holidays-kr#readme",
|
|
46
|
+
"scripts": {
|
|
47
|
+
"check": "tsc --noEmit",
|
|
48
|
+
"version": "node --run write && git add -A public",
|
|
49
|
+
"postversion": "git push && git push --tags",
|
|
50
|
+
"format": "prettier --write .",
|
|
51
|
+
"write": "node src/write.ts"
|
|
52
|
+
}
|
|
53
|
+
}
|