@hyunbinseo/holidays-kr 3.2025.2 → 3.2025.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/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 src_exports = {};
22
- __export(src_exports, {
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(src_exports);
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"],
@@ -136,7 +137,7 @@ var y2023 = toReadonly(__default2);
136
137
  var y2024 = toReadonly(__default3);
137
138
  var y2025 = toReadonly(__default4);
138
139
 
139
- // src/holidays/latest.js
140
+ // src/holidays/latest.ts
140
141
  var latest_exports = {};
141
142
  __export(latest_exports, {
142
143
  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-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-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"],
@@ -109,7 +110,7 @@ var y2023 = toReadonly(__default2);
109
110
  var y2024 = toReadonly(__default3);
110
111
  var y2025 = toReadonly(__default4);
111
112
 
112
- // src/holidays/latest.js
113
+ // src/holidays/latest.ts
113
114
  var latest_exports = {};
114
115
  __export(latest_exports, {
115
116
  y2024: () => y2024,
package/package.json CHANGED
@@ -1,56 +1,51 @@
1
1
  {
2
- "name": "@hyunbinseo/holidays-kr",
3
- "description": "South Korea's national holidays, based on the official gazette",
4
- "version": "3.2025.2",
5
- "type": "module",
6
- "scripts": {
7
- "build": "tsup && publint",
8
- "prepublishOnly": "tsup && publint",
9
- "postversion": "git push && git push --tags",
10
- "format": "prettier --write .",
11
- "bump": "node --run test && node --run write",
12
- "test": "node --no-warnings=ExperimentalWarning --experimental-strip-types --test",
13
- "write": "node --no-warnings=ExperimentalWarning --experimental-strip-types src/write"
14
- },
15
- "devDependencies": {
16
- "@types/node": "^22.9.1",
17
- "prettier": "^3.3.3",
18
- "publint": "^0.2.12",
19
- "tsup": "^8.3.5",
20
- "typescript": "^5.6.3",
21
- "valibot": "^0.41.0"
22
- },
23
- "exports": {
24
- ".": {
25
- "require": "./dist/index.cjs",
26
- "import": "./dist/index.js"
27
- }
28
- },
29
- "main": "./dist/index.cjs",
30
- "module": "./dist/index.js",
31
- "types": "./dist/index.d.ts",
32
- "files": [
33
- "dist"
34
- ],
35
- "engines": {
36
- "node": ">=18"
37
- },
38
- "keywords": [
39
- "대한민국",
40
- "한국",
41
- "공휴일",
42
- "Korean",
43
- "holidays"
44
- ],
45
- "repository": {
46
- "type": "git",
47
- "url": "git+https://github.com/hyunbinseo/holidays-kr.git"
48
- },
49
- "author": "Hyunbin Seo",
50
- "license": "MIT",
51
- "bugs": {
52
- "url": "https://github.com/hyunbinseo/holidays-kr/issues"
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.3",
5
+ "type": "module",
6
+ "devDependencies": {
7
+ "@types/node": "^22.10.6",
8
+ "prettier": "^3.4.2",
9
+ "publint": "^0.3.2",
10
+ "tsup": "^8.3.5",
11
+ "typescript": "^5.7.3",
12
+ "valibot": "1.0.0-beta.11"
13
+ },
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
+ "postversion": "git push && git push --tags",
48
+ "format": "prettier --write .",
49
+ "write": "node src/write.ts"
50
+ }
51
+ }