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

Bump cron-parser from 4.9.0 to 5.0.3 #299

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 20, 2025

Bumps cron-parser from 4.9.0 to 5.0.3.

Release notes

Sourced from cron-parser's releases.

v5.0.3

  • e0bda7ec2c66305d87dd75bf902116f60166b2a4 - Parse field for day of week should allow 0 or SUN values (#366)

v5.0.2

  • fe6b90eefefec24673ddbfb9c78d8dbc5ac46a63 - Add fs/promises to browser import ignore list (#365)

v5.0.1

This first patch release contains couple of quick bugfixes that were reported after the first release of v5. Thanks for everybody that tried the new version out and provided some feedback.

  • 9b1e0f3e4f8d97fc4a8fd761eec471a4f1df78e0 - Removed unused jest-runner-tsd dev dependency (harrisiirak/cron-parser#361)
  • 683f58558061a1820427bb2b38f2961ae83dd1dd - Use dynamic loading for fs and fs/promises to restore ability to use this package in the browser environment (harrisiirak/cron-parser#362)
  • 5e10db0e2a7ee5d6c23bd00c88e096bed1eec2f0 - Remove assert module usage (can't be used in the browser environment without polyfill or included extra package) and improve/add test cases (harrisiirak/cron-parser#364)
  • 7ca5c94fc570efdae734bcfbe1e5ac8621911b22 - Remove unused .npmignore
  • 9ddf705708fc8f5c8b4adc993f0040c20e91377c - Fix benchmarking tool for module interface

v5.0.0 - TypeScript rewrite

All changes come from harrisiirak/cron-parser#360

Changelog

  • BREAKING CHANGE: Bumped the minimum Node.js version to >= 18 and TypeScript to >= 5.
  • BREAKING CHANGE: interval.fields (CronExpression.interval) now returns a readonly instance of CronFieldsCollection instead of a regular array. See CronFieldsCollection.from for how to modify the underlying data structure.
  • BREAKING CHANGE: Moved crontab file parsing from CronParser to a standalone CronFileParser class (fixes #112).
  • Refactored the codebase to TypeScript (fixes #190).
  • Cleaned up test suites, removed duplicate test cases, and switched from tap to jest.
  • Improved documentation and introduced documentation generated by typedoc (fixes #309, #322, #269).
  • Added benchmark tooling to help detect future performance regressions.
  • Added CronExpression.includesDate to evaluate whether a given date matches the pattern (closes #299).
  • Fixed issues where certain range and repeat field expressions produced invalid intervals (fixes #156).
  • Fixed an issue with day-of-month handling when the range is explicitly set and no wildcard is used (fixes #284).
  • Improved repeat serialization for stringification (fixes #236).

Performance improvements

While this release won't address the performance issues reported in #287, it will bring some performance improvements of around 20-30% on average, depending on the pattern complexity. The following benchmark results were produced on my 2023 MBP.

... (truncated)

Commits
  • c4a3213 Bump version
  • e0bda7e Parse field for day of week should allow 0 or SUN values (#366)
  • 88ee899 Bump version
  • fe6b90e add fs/promises to browser import ignore list (#365)
  • ca3abe2 Bump version
  • 557dbf9 Bump version
  • 5e10db0 Remove assert usage for better compability. Add and update test cases to code...
  • 9ddf705 Add benchmarking support for new CronExpressionParser interface
  • 683f585 Use dynamic imports in CronFileParser to avoid breaking the browser environme...
  • 9b1e0f3 Remove unused jest-runner-tsd dev dependency
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cron-parser](https://github.com/harrisiirak/cron-parser) from 4.9.0 to 5.0.3.
- [Release notes](https://github.com/harrisiirak/cron-parser/releases)
- [Commits](harrisiirak/cron-parser@4.9.0...v5.0.3)

---
updated-dependencies:
- dependency-name: cron-parser
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants