Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5 not work #364

Closed
SuperManito opened this issue Feb 16, 2025 · 2 comments
Closed

v5 not work #364

SuperManito opened this issue Feb 16, 2025 · 2 comments
Assignees
Labels

Comments

@SuperManito
Copy link

Image

TypeError: (0 , assert_1.default) is not a function

"cron-parser": "^5.0.0",
"typescript": "~5.7.3"
@harrisiirak harrisiirak self-assigned this Feb 16, 2025
@harrisiirak
Copy link
Owner

Hi @SuperManito!

Thanks for reporting this issue!

That's a good point actually and is definitely a deal-breaker for browser based environments. assert will break the build (I can reproduce it) as by default there is no polyfill for that. Don't want to bring additional dependency to this package, therefore I need most likely remove all assertions from the codebase.

Best regards

@harrisiirak
Copy link
Owner

Updated in fixed in 5e10db0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants