cronstrue 3.45.0 → 3.46.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/dist/cronstrue-i18n.js +322 -888
- package/dist/cronstrue-i18n.min.js +1 -1
- package/dist/cronstrue.js +243 -346
- package/dist/cronstrue.min.js +1 -1
- package/dist/expressionDescriptor.d.ts +16 -9
- package/dist/i18n/allLocales.d.ts +6 -6
- package/dist/i18n/locale.d.ts +4 -4
- package/dist/i18n/locales/af.d.ts +1 -4
- package/dist/i18n/locales/ar.d.ts +0 -4
- package/dist/i18n/locales/az.d.ts +2 -4
- package/dist/i18n/locales/be.d.ts +0 -4
- package/dist/i18n/locales/bg.d.ts +1 -5
- package/dist/i18n/locales/ca.d.ts +0 -4
- package/dist/i18n/locales/cs.d.ts +0 -4
- package/dist/i18n/locales/da.d.ts +0 -4
- package/dist/i18n/locales/de.d.ts +0 -4
- package/dist/i18n/locales/en.d.ts +4 -6
- package/dist/i18n/locales/es.d.ts +0 -4
- package/dist/i18n/locales/fa.d.ts +0 -4
- package/dist/i18n/locales/fi.d.ts +1 -4
- package/dist/i18n/locales/fr.d.ts +0 -4
- package/dist/i18n/locales/he.d.ts +0 -4
- package/dist/i18n/locales/hr.d.ts +0 -4
- package/dist/i18n/locales/hu.d.ts +0 -4
- package/dist/i18n/locales/id.d.ts +0 -4
- package/dist/i18n/locales/it.d.ts +0 -4
- package/dist/i18n/locales/ja.d.ts +0 -4
- package/dist/i18n/locales/ko.d.ts +0 -4
- package/dist/i18n/locales/my.d.ts +0 -4
- package/dist/i18n/locales/nb.d.ts +0 -4
- package/dist/i18n/locales/nl.d.ts +0 -4
- package/dist/i18n/locales/nn.d.ts +0 -4
- package/dist/i18n/locales/pl.d.ts +0 -4
- package/dist/i18n/locales/pt_BR.d.ts +2 -6
- package/dist/i18n/locales/pt_PT.d.ts +0 -4
- package/dist/i18n/locales/ru.d.ts +0 -4
- package/dist/i18n/locales/sk.d.ts +0 -4
- package/dist/i18n/locales/sl.d.ts +0 -4
- package/dist/i18n/locales/sr.d.ts +0 -4
- package/dist/i18n/locales/sv.d.ts +0 -4
- package/dist/i18n/locales/sw.d.ts +0 -4
- package/dist/i18n/locales/tg.d.ts +0 -4
- package/dist/i18n/locales/th.d.ts +0 -4
- package/dist/i18n/locales/tr.d.ts +0 -4
- package/dist/i18n/locales/uk.d.ts +0 -4
- package/dist/i18n/locales/vi.d.ts +0 -4
- package/dist/i18n/locales/zh_CN.d.ts +1 -4
- package/dist/i18n/locales/zh_TW.d.ts +1 -4
- package/locales/af.js +0 -9
- package/locales/af.min.js +1 -1
- package/locales/ar.js +0 -12
- package/locales/ar.min.js +1 -1
- package/locales/az.js +0 -6
- package/locales/az.min.js +1 -1
- package/locales/be.js +0 -12
- package/locales/be.min.js +1 -1
- package/locales/bg.js +67 -64
- package/locales/bg.min.js +1 -1
- package/locales/ca.js +0 -12
- package/locales/ca.min.js +1 -1
- package/locales/cs.js +0 -12
- package/locales/cs.min.js +1 -1
- package/locales/da.js +0 -12
- package/locales/da.min.js +1 -1
- package/locales/de.js +0 -12
- package/locales/de.min.js +1 -1
- package/locales/en.js +6 -12
- package/locales/en.min.js +1 -1
- package/locales/es.js +0 -12
- package/locales/es.min.js +1 -1
- package/locales/fa.js +0 -12
- package/locales/fa.min.js +1 -1
- package/locales/fi.js +0 -9
- package/locales/fi.min.js +1 -1
- package/locales/fr.js +0 -12
- package/locales/fr.min.js +1 -1
- package/locales/he.js +0 -12
- package/locales/he.min.js +1 -1
- package/locales/hr.js +1 -21
- package/locales/hr.min.js +1 -1
- package/locales/hu.js +0 -12
- package/locales/hu.min.js +1 -1
- package/locales/id.js +0 -12
- package/locales/id.min.js +1 -1
- package/locales/it.js +0 -12
- package/locales/it.min.js +1 -1
- package/locales/ja.js +0 -12
- package/locales/ja.min.js +1 -1
- package/locales/ko.js +0 -12
- package/locales/ko.min.js +1 -1
- package/locales/my.js +0 -12
- package/locales/my.min.js +1 -1
- package/locales/nb.js +0 -12
- package/locales/nb.min.js +1 -1
- package/locales/nl.js +0 -12
- package/locales/nl.min.js +1 -1
- package/locales/nn.js +0 -12
- package/locales/nn.min.js +1 -1
- package/locales/pl.js +0 -12
- package/locales/pl.min.js +1 -1
- package/locales/pt_BR.js +6 -18
- package/locales/pt_BR.min.js +1 -1
- package/locales/pt_PT.js +6 -18
- package/locales/pt_PT.min.js +1 -1
- package/locales/ru.js +0 -12
- package/locales/ru.min.js +1 -1
- package/locales/sk.js +0 -12
- package/locales/sk.min.js +1 -1
- package/locales/sl.js +0 -12
- package/locales/sl.min.js +1 -1
- package/locales/sr.js +1 -21
- package/locales/sr.min.js +1 -1
- package/locales/sv.js +0 -12
- package/locales/sv.min.js +1 -1
- package/locales/sw.js +0 -12
- package/locales/sw.min.js +1 -1
- package/locales/tg.js +0 -12
- package/locales/tg.min.js +1 -1
- package/locales/th.js +0 -12
- package/locales/th.min.js +1 -1
- package/locales/tr.js +0 -12
- package/locales/tr.min.js +1 -1
- package/locales/uk.js +0 -12
- package/locales/uk.min.js +1 -1
- package/locales/vi.js +0 -12
- package/locales/vi.min.js +1 -1
- package/locales/zh_CN.js +0 -9
- package/locales/zh_CN.min.js +1 -1
- package/locales/zh_TW.js +0 -9
- package/locales/zh_TW.min.js +1 -1
- package/package.json +10 -11
package/locales/vi.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/vi.min",["cronstrue"],n):"object"==typeof exports?exports["locales/vi.min"]=n(require("cronstrue")):t["locales/vi.min"]=n(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var n={93(n){n.exports=t}},o={};function e(t){var r=o[t];if(void 0!==r)return r.exports;var u=o[t]={exports:{}};return n[t](u,u.exports,e),u.exports}e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};e.r(r);var u=e(93),i=e.n(u),p=r;Object.defineProperty(p,"__esModule",{value:!0}),p.vi=void 0;var c=function(){function t(){}return t.prototype.
|
|
1
|
+
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/vi.min",["cronstrue"],n):"object"==typeof exports?exports["locales/vi.min"]=n(require("cronstrue")):t["locales/vi.min"]=n(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var n={93(n){n.exports=t}},o={};function e(t){var r=o[t];if(void 0!==r)return r.exports;var u=o[t]={exports:{}};return n[t](u,u.exports,e),u.exports}e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};e.r(r);var u=e(93),i=e.n(u),p=r;Object.defineProperty(p,"__esModule",{value:!0}),p.vi=void 0;var c=function(){function t(){}return t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Đã xảy ra lỗi khi tạo mô tả biểu thức. Vui lòng kiểm tra cú pháp biểu thức cron."},t.prototype.everyMinute=function(){return"mỗi phút"},t.prototype.everyHour=function(){return"mỗi giờ"},t.prototype.atSpace=function(){return"Vào "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Mỗi phút giữa %s and %s"},t.prototype.at=function(){return"Vào"},t.prototype.spaceAnd=function(){return" và"},t.prototype.everySecond=function(){return"mỗi giây"},t.prototype.everyX0Seconds=function(){return"mỗi %s giây"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"giây thứ %s qua phút thứ %s"},t.prototype.atX0SecondsPastTheMinute=function(){return"tại giây thứ %s của mỗi phút"},t.prototype.everyX0Minutes=function(){return"mỗi %s phút"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"phút thứ %s qua %s tiếng"},t.prototype.atX0MinutesPastTheHour=function(){return"vào %s phút của mỗi tiếng"},t.prototype.everyX0Hours=function(){return"mỗi %s tiếng"},t.prototype.betweenX0AndX1=function(){return"giữa %s và %s"},t.prototype.atX0=function(){return"vào %s"},t.prototype.commaEveryDay=function(){return", mỗi ngày"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", mỗi %s ngày trong tuần"},t.prototype.commaX0ThroughX1=function(){return", %s đến %s"},t.prototype.commaAndX0ThroughX1=function(){return", %s đến %s"},t.prototype.first=function(){return"đầu tiên"},t.prototype.second=function(){return"thứ 2"},t.prototype.third=function(){return"thứ 3"},t.prototype.fourth=function(){return"thứ 4"},t.prototype.fifth=function(){return"thứ 5"},t.prototype.commaOnThe=function(){return", trên "},t.prototype.spaceX0OfTheMonth=function(){return" %s của tháng"},t.prototype.lastDay=function(){return"ngày cuối cùng"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", vào ngày %s cuối cùng của tháng"},t.prototype.commaOnlyOnX0=function(){return", chỉ trên %s"},t.prototype.commaAndOnX0=function(){return", và hơn %s"},t.prototype.commaEveryX0Months=function(){return", mỗi %s tháng"},t.prototype.commaOnlyInX0=function(){return", chỉ trong %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", vào ngày cuối cùng của tháng"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", vào ngày làm việc cuối cùng của tháng"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s ngày trước ngày cuối cùng của tháng"},t.prototype.firstWeekday=function(){return"ngày làm việc đầu tiên"},t.prototype.weekdayNearestDayX0=function(){return"ngày làm việc gần ngày %s nhất"},t.prototype.commaOnTheX0OfTheMonth=function(){return", vào %s của tháng"},t.prototype.commaEveryX0Days=function(){return", mỗi %s ngày"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", giữa ngày %s và %s trong tháng"},t.prototype.commaOnDayX0OfTheMonth=function(){return", vào %s ngày trong tháng"},t.prototype.commaEveryHour=function(){return", mỗi tiếng"},t.prototype.commaEveryX0Years=function(){return", mỗi %s năm"},t.prototype.commaStartingX0=function(){return", bắt đầu %s"},t.prototype.daysOfTheWeek=function(){return["Chủ nhật","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"]},t.prototype.monthsOfTheYear=function(){return["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"]},t.prototype.atReboot=function(){return"Chạy một lần, khi khởi động"},t.prototype.onTheHour=function(){return"đúng giờ"},t}();return p.vi=c,i().locales.vi=new c,r})()));
|
package/locales/zh_CN.js
CHANGED
|
@@ -107,15 +107,6 @@ var zh_CN = (function () {
|
|
|
107
107
|
zh_CN.prototype.am = function () {
|
|
108
108
|
return "上午";
|
|
109
109
|
};
|
|
110
|
-
zh_CN.prototype.atX0SecondsPastTheMinuteGt20 = function () {
|
|
111
|
-
return null;
|
|
112
|
-
};
|
|
113
|
-
zh_CN.prototype.atX0MinutesPastTheHourGt20 = function () {
|
|
114
|
-
return null;
|
|
115
|
-
};
|
|
116
|
-
zh_CN.prototype.commaMonthX0ThroughMonthX1 = function () {
|
|
117
|
-
return null;
|
|
118
|
-
};
|
|
119
110
|
zh_CN.prototype.commaYearX0ThroughYearX1 = function () {
|
|
120
111
|
return ", 从%s年至%s年";
|
|
121
112
|
};
|
package/locales/zh_CN.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/zh_CN.min",["cronstrue"],e):"object"==typeof exports?exports["locales/zh_CN.min"]=e(require("cronstrue")):t["locales/zh_CN.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var u=o[t]={exports:{}};return e[t](u,u.exports,r),u.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};r.r(n);var u=r(93),p=r.n(u),c=n;Object.defineProperty(c,"__esModule",{value:!0}),c.zh_CN=void 0;var y=function(){function t(){}return t.prototype.setPeriodBeforeTime=function(){return!0},t.prototype.pm=function(){return"下午"},t.prototype.am=function(){return"上午"},t.prototype.
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/zh_CN.min",["cronstrue"],e):"object"==typeof exports?exports["locales/zh_CN.min"]=e(require("cronstrue")):t["locales/zh_CN.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var u=o[t]={exports:{}};return e[t](u,u.exports,r),u.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};r.r(n);var u=r(93),p=r.n(u),c=n;Object.defineProperty(c,"__esModule",{value:!0}),c.zh_CN=void 0;var y=function(){function t(){}return t.prototype.setPeriodBeforeTime=function(){return!0},t.prototype.pm=function(){return"下午"},t.prototype.am=function(){return"上午"},t.prototype.commaYearX0ThroughYearX1=function(){return", 从%s年至%s年"},t.prototype.use24HourTimeFormatByDefault=function(){return!1},t.prototype.everyMinute=function(){return"每分钟"},t.prototype.everyHour=function(){return"每小时"},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"生成表达式描述时发生了错误,请检查cron表达式语法。"},t.prototype.atSpace=function(){return"在"},t.prototype.everyMinuteBetweenX0AndX1=function(){return"在 %s 至 %s 之间的每分钟"},t.prototype.at=function(){return"在"},t.prototype.spaceAnd=function(){return" 和"},t.prototype.everySecond=function(){return"每秒"},t.prototype.everyX0Seconds=function(){return"每隔 %s 秒"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"在一分钟后的第 %s 到 %s 秒"},t.prototype.atX0SecondsPastTheMinute=function(){return"在一分钟后的第 %s 秒"},t.prototype.everyX0Minutes=function(){return"每隔 %s 分钟"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"在整点后的第 %s 到 %s 分钟"},t.prototype.atX0MinutesPastTheHour=function(){return"在整点后的第 %s 分钟"},t.prototype.everyX0Hours=function(){return"每隔 %s 小时"},t.prototype.betweenX0AndX1=function(){return"在 %s 和 %s 之间"},t.prototype.atX0=function(){return"在%s"},t.prototype.commaEveryDay=function(){return", 每天"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", 每周的每 %s 天"},t.prototype.commaX0ThroughX1=function(){return", %s至%s"},t.prototype.commaAndX0ThroughX1=function(){return", 和%s至%s"},t.prototype.first=function(){return"第一个"},t.prototype.second=function(){return"第二个"},t.prototype.third=function(){return"第三个"},t.prototype.fourth=function(){return"第四个"},t.prototype.fifth=function(){return"第五个"},t.prototype.commaOnThe=function(){return", 限每月的"},t.prototype.spaceX0OfTheMonth=function(){return"%s"},t.prototype.lastDay=function(){return"本月最后一天"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", 限每月的最后一个%s"},t.prototype.commaOnlyOnX0=function(){return", 仅%s"},t.prototype.commaAndOnX0=function(){return", 或者为%s"},t.prototype.commaEveryX0Months=function(){return", 每隔 %s 个月"},t.prototype.commaOnlyInX0=function(){return", 仅限%s"},t.prototype.commaOnlyInMonthX0=function(){return", 仅于%s份"},t.prototype.commaOnlyInYearX0=function(){return", 仅于 %s 年"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", 限每月的最后一天"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", 限每月的最后一个工作日"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", 限每月最后一天之前的第%s天"},t.prototype.firstWeekday=function(){return"第一个工作日"},t.prototype.weekdayNearestDayX0=function(){return"最接近 %s 号的工作日"},t.prototype.commaOnTheX0OfTheMonth=function(){return", 限每月的%s"},t.prototype.commaEveryX0Days=function(){return", 每隔 %s 天"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", 限每月的 %s 至 %s 之间"},t.prototype.commaOnDayX0OfTheMonth=function(){return", 限每月%s"},t.prototype.commaEveryX0Years=function(){return", 每隔 %s 年"},t.prototype.commaStartingX0=function(){return", %s开始"},t.prototype.dayX0=function(){return" %s 号"},t.prototype.daysOfTheWeek=function(){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},t.prototype.monthsOfTheYear=function(){return["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},t.prototype.atReboot=function(){return"开机时运行一次"},t.prototype.onTheHour=function(){return"整点"},t}();return c.zh_CN=y,p().locales.zh_CN=new y,n})()));
|
package/locales/zh_TW.js
CHANGED
|
@@ -98,15 +98,6 @@ zh_TW_exports.zh_TW = void 0;
|
|
|
98
98
|
var zh_TW = (function () {
|
|
99
99
|
function zh_TW() {
|
|
100
100
|
}
|
|
101
|
-
zh_TW.prototype.atX0SecondsPastTheMinuteGt20 = function () {
|
|
102
|
-
return null;
|
|
103
|
-
};
|
|
104
|
-
zh_TW.prototype.atX0MinutesPastTheHourGt20 = function () {
|
|
105
|
-
return null;
|
|
106
|
-
};
|
|
107
|
-
zh_TW.prototype.commaMonthX0ThroughMonthX1 = function () {
|
|
108
|
-
return null;
|
|
109
|
-
};
|
|
110
101
|
zh_TW.prototype.commaYearX0ThroughYearX1 = function () {
|
|
111
102
|
return ", 從 %s 年至 %s 年";
|
|
112
103
|
};
|
package/locales/zh_TW.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/zh_TW.min",["cronstrue"],e):"object"==typeof exports?exports["locales/zh_TW.min"]=e(require("cronstrue")):t["locales/zh_TW.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/zh_TW.min",["cronstrue"],e):"object"==typeof exports?exports["locales/zh_TW.min"]=e(require("cronstrue")):t["locales/zh_TW.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var u=o[t]={exports:{}};return e[t](u,u.exports,r),u.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};r.r(n);var u=r(93),p=r.n(u),c=n;Object.defineProperty(c,"__esModule",{value:!0}),c.zh_TW=void 0;var y=function(){function t(){}return t.prototype.commaYearX0ThroughYearX1=function(){return", 從 %s 年至 %s 年"},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.everyMinute=function(){return"每分鐘"},t.prototype.everyHour=function(){return"每小時"},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"產生表達式描述時發生了錯誤,請檢查 cron 表達式語法。"},t.prototype.atSpace=function(){return"在 "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"在 %s 和 %s 之間的每分鐘"},t.prototype.at=function(){return"在"},t.prototype.spaceAnd=function(){return" 和"},t.prototype.everySecond=function(){return"每秒"},t.prototype.everyX0Seconds=function(){return"每 %s 秒"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"在一分鐘後的 %s 到 %s 秒"},t.prototype.atX0SecondsPastTheMinute=function(){return"在一分鐘後的 %s 秒"},t.prototype.everyX0Minutes=function(){return"每 %s 分鐘"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"在整點後的 %s 到 %s 分鐘"},t.prototype.atX0MinutesPastTheHour=function(){return"在整點後的 %s 分"},t.prototype.everyX0Hours=function(){return"每 %s 小時"},t.prototype.betweenX0AndX1=function(){return"在 %s 和 %s 之間"},t.prototype.atX0=function(){return"在 %s"},t.prototype.commaEveryDay=function(){return", 每天"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", 每週的每 %s 天"},t.prototype.commaX0ThroughX1=function(){return", %s 到 %s"},t.prototype.commaAndX0ThroughX1=function(){return", 和 %s 到 %s"},t.prototype.first=function(){return"第一個"},t.prototype.second=function(){return"第二個"},t.prototype.third=function(){return"第三個"},t.prototype.fourth=function(){return"第四個"},t.prototype.fifth=function(){return"第五個"},t.prototype.commaOnThe=function(){return", 在每月 "},t.prototype.spaceX0OfTheMonth=function(){return"%s "},t.prototype.lastDay=function(){return"最後一天"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", 每月的最後一個 %s "},t.prototype.commaOnlyOnX0=function(){return", 僅在 %s"},t.prototype.commaAndOnX0=function(){return", 或 %s"},t.prototype.commaEveryX0Months=function(){return", 每 %s 月"},t.prototype.commaOnlyInX0=function(){return", 僅在 %s"},t.prototype.commaOnlyInMonthX0=function(){return", 僅在 %s"},t.prototype.commaOnlyInYearX0=function(){return", 僅在 %s 年"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", 每月的最後一天"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", 每月的最後一個工作日"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", 每月最後一天之前的第 %s 天"},t.prototype.firstWeekday=function(){return"第一個工作日"},t.prototype.weekdayNearestDayX0=function(){return"最接近 %s 號的工作日"},t.prototype.commaOnTheX0OfTheMonth=function(){return", 每月的 %s "},t.prototype.commaEveryX0Days=function(){return", 每 %s 天"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", 在每月的 %s 和 %s 之間"},t.prototype.commaOnDayX0OfTheMonth=function(){return", 每月的 %s"},t.prototype.commaEveryX0Years=function(){return", 每 %s 年"},t.prototype.commaStartingX0=function(){return", %s 開始"},t.prototype.dayX0=function(){return" %s 號"},t.prototype.daysOfTheWeek=function(){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},t.prototype.monthsOfTheYear=function(){return["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},t.prototype.atReboot=function(){return"開機時執行一次"},t.prototype.onTheHour=function(){return"整點"},t}();return c.zh_TW=y,p().locales.zh_TW=new y,n})()));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cronstrue",
|
|
3
3
|
"title": "cRonstrue",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.46.0",
|
|
5
5
|
"description": "Convert cron expressions into human readable descriptions",
|
|
6
6
|
"author": "Brady Holt",
|
|
7
7
|
"license": "MIT",
|
|
@@ -48,26 +48,25 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/chai": "^4.2.11",
|
|
51
|
-
"@types/mocha": "^
|
|
51
|
+
"@types/mocha": "^10.0.10",
|
|
52
52
|
"chai": "^4.2.0",
|
|
53
|
-
"handlebars": "^4.7.6",
|
|
54
|
-
"marked": "^4.0.10",
|
|
55
53
|
"mocha": "^12.0.1",
|
|
56
54
|
"pixl-xml": "^1.0.13",
|
|
57
|
-
"prettier": "^
|
|
55
|
+
"prettier": "^3.10.1",
|
|
58
56
|
"terser-webpack-plugin": "^5.3.1",
|
|
59
57
|
"ts-loader": "^9.2.6",
|
|
60
58
|
"ts-node": "^10.5.0",
|
|
61
|
-
"typescript": "^
|
|
59
|
+
"typescript": "^5.9.3",
|
|
62
60
|
"webpack": "^5.69.1",
|
|
63
|
-
"webpack-cli": "^4.9.2"
|
|
64
|
-
"xml2js": "^0.5.0"
|
|
61
|
+
"webpack-cli": "^4.9.2"
|
|
65
62
|
},
|
|
66
63
|
"scripts": {
|
|
67
64
|
"start": "npm run build",
|
|
68
65
|
"build": "npx tsc -p ./src --emitDeclarationOnly",
|
|
66
|
+
"bundle": "rm -rf ./dist && webpack",
|
|
69
67
|
"test": "npx mocha --reporter spec --require ts-node/register \"./test/**/*.ts\"",
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
69
|
+
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
70
|
+
"prepublishOnly": "npm run bundle"
|
|
71
|
+
}
|
|
73
72
|
}
|