P4sca1 / cron-schedule

A zero-dependency cron parser and scheduler for Node.js, Deno and the browser.
MIT License
177 stars 15 forks source link

es2022 vs es2022 targeting? #291

Closed ajmas closed 1 year ago

ajmas commented 1 year ago

One thing I noticed, while looking at v4.0.0-next.3, in the tsconfig is that you are targeting es2022, though I am wondering whether targeting es2020 would be better, given that the code is meant to support running in browser?

Safari for example seems to not be quite es2022 compliant: https://caniuse.com/?search=ES13

ajmas commented 1 year ago

Never mind I misread the configuration. You are targeting es6, so this is not an issue.