···11{
22 "name": "@kbilkis/cron-fast",
33- "version": "0.2.0",
33+ "version": "0.2.1",
44 "description": "Fast and tiny JavaScript/TypeScript cron parser with timezone support - works in Node.js, Deno, Bun, Cloudflare Workers, and browsers. Zero dependencies.",
55 "keywords": [
66 "javascript",
+1-1
package.json
···11{
22 "name": "cron-fast",
33- "version": "0.2.0",
33+ "version": "0.2.1",
44 "description": "Fast and tiny JavaScript/TypeScript cron parser with timezone support - works in Node.js, Deno, Bun, Cloudflare Workers, and browsers. Zero dependencies.",
55 "keywords": [
66 "browser",
+3-3
test/describe.test.ts
···181181182182 // Very specific: multiple minutes, hours, days, months, and weekdays
183183 expect(describeCron("5,10,15,20 6,12,18 1,15 1,4,7,10 1,3,5")).toBe(
184184- "At minutes 5, 10, 15, 20, at 6 AM, 12 PM, 6 PM, on days 1, 15 of the month or on Monday, Wednesday, Friday, in January, April, July, October",
184184+ "At minutes 5, 10, 15, and 1 more, at 6 AM, 12 PM, 6 PM, on days 1, 15 of the month or on Monday, Wednesday, Friday, every 3 months",
185185 );
186186187187 // Long range with specific weekdays
···191191192192 // Multiple ranges and lists combined
193193 expect(describeCron("0,30 6-8,14-16,20-22 * * *")).toBe(
194194- "At minutes 0, 30, at 6 AM, 7 AM, 8 AM, 2 PM, 3 PM, and 4 more",
194194+ "Every 30 minutes, at 6 AM, 7 AM, 8 AM, 2 PM, 3 PM, and 4 more",
195195 );
196196197197 // Extreme: many specific values across all fields
198198 expect(describeCron("1,2,3,4,5 7,8,9,10,11 2,4,6,8,10 2,5,8,11 0,6")).toBe(
199199- "At minutes 1, 2, 3, and 2 more, at 7 AM, 8 AM, 9 AM, 10 AM, 11 AM, on days 2, 4, 6, and 2 more of the month or on weekends, in February, May, August, November",
199199+ "At minutes 1-5, between 7 AM and 11 AM, on days 2, 4, 6, and 2 more of the month or on weekends, in February, May, August, November",
200200 );
201201 });
202202});