lk-holidays 1.0.1 → 1.0.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/Readme.md +2 -2
- package/dist/cjs/index.js +1 -1
- package/package.json +3 -2
package/Readme.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# lk-holidays 🇱🇰
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/lk-holidays)
|
|
4
|
-
[](https://github.com/Sasitha-Ruvin/lk-holidays/actions/workflows/ci.yml)
|
|
5
5
|
[](LICENSE)
|
|
6
6
|
|
|
7
7
|
Sri Lankan **public, bank and mercantile holidays**, taken from the
|
|
@@ -771,7 +771,7 @@ About 15 kB compressed for all years, with no dependencies.
|
|
|
771
771
|
## Contributing
|
|
772
772
|
|
|
773
773
|
```bash
|
|
774
|
-
git clone https://github.com/
|
|
774
|
+
git clone https://github.com/Sasitha-Ruvin/lk-holidays.git
|
|
775
775
|
cd lk-holidays
|
|
776
776
|
npm install
|
|
777
777
|
npm test
|
package/dist/cjs/index.js
CHANGED
|
@@ -9,4 +9,4 @@ Object.defineProperty(exports, "todayInSriLanka", { enumerable: true, get: funct
|
|
|
9
9
|
var core_js_2 = require("./core.js");
|
|
10
10
|
Object.defineProperty(exports, "createHolidayApi", { enumerable: true, get: function () { return core_js_2.createHolidayApi; } });
|
|
11
11
|
const api = (0, core_js_1.createHolidayApi)(data_generated_js_1.DATA, data_generated_js_1.LAST_UPDATED);
|
|
12
|
-
|
|
12
|
+
({ getAvailableYears: exports.getAvailableYears, hasYear: exports.hasYear, getDataInfo: exports.getDataInfo, getYearData: exports.getYearData, getHolidays: exports.getHolidays, getHolidaysOn: exports.getHolidaysOn, isHoliday: exports.isHoliday, isPublicHoliday: exports.isPublicHoliday, isBankHoliday: exports.isBankHoliday, isMercantileHoliday: exports.isMercantileHoliday, isPoyaDay: exports.isPoyaDay, getPoyaDays: exports.getPoyaDays, getHolidaysBetween: exports.getHolidaysBetween, getNextHoliday: exports.getNextHoliday, getHolidaysInMonth: exports.getHolidaysInMonth, getHolidayName: exports.getHolidayName, isWorkingDay: exports.isWorkingDay, getWorkingDays: exports.getWorkingDays, countWorkingDays: exports.countWorkingDays, addWorkingDays: exports.addWorkingDays, nextWorkingDay: exports.nextWorkingDay } = api);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lk-holidays",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Sri Lankan public, bank and mercantile holidays from the Central Bank of Sri Lanka (CBSL), with English, Sinhala and Tamil names. Auto-updated every year. Zero dependencies, works offline.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sri-lanka",
|
|
@@ -67,7 +67,8 @@
|
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/node": "^22.10.0",
|
|
70
|
+
"pdfjs-dist": "^6.4.299",
|
|
70
71
|
"tsx": "^4.20.0",
|
|
71
|
-
"typescript": "^
|
|
72
|
+
"typescript": "^7.0.2"
|
|
72
73
|
}
|
|
73
74
|
}
|