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 2.18.0 to 5.0.3 #5741

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps cron-parser from 2.18.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 2.18.0 to 5.0.3.
- [Release notes](https://github.com/harrisiirak/cron-parser/releases)
- [Commits](harrisiirak/cron-parser@2.18.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] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 20, 2025
@bert-e
Copy link
Contributor

bert-e commented Feb 20, 2025

Hello dependabot[bot],

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Available options
name description privileged authored
/after_pull_request Wait for the given pull request id to be merged before continuing with the current one.
/bypass_author_approval Bypass the pull request author's approval
/bypass_build_status Bypass the build and test status
/bypass_commit_size Bypass the check on the size of the changeset TBA
/bypass_incompatible_branch Bypass the check on the source branch prefix
/bypass_jira_check Bypass the Jira issue check
/bypass_peer_approval Bypass the pull request peers' approval
/bypass_leader_approval Bypass the pull request leaders' approval
/approve Instruct Bert-E that the author has approved the pull request. ✍️
/create_pull_requests Allow the creation of integration pull requests.
/create_integration_branches Allow the creation of integration branches.
/no_octopus Prevent Wall-E from doing any octopus merge and use multiple consecutive merge instead
/unanimity Change review acceptance criteria from one reviewer at least to all reviewers
/wait Instruct Bert-E not to run until further notice.
Available commands
name description privileged
/help Print Bert-E's manual in the pull request.
/status Print Bert-E's current status in the pull request TBA
/clear Remove all comments from Bert-E from the history TBA
/retry Re-start a fresh build TBA
/build Re-start a fresh build TBA
/force_reset Delete integration branches & pull requests, and restart merge process from the beginning.
/reset Try to remove integration branches unless there are commits on them which do not appear on the source branch.

Status report is not available.

The following options are set: bypass_author_approval, bypass_jira_check

@bert-e
Copy link
Contributor

bert-e commented Feb 20, 2025

Request integration branches

Waiting for integration branch creation to be requested by the user.

To request integration branches, please comment on this pull request with the following command:

/create_integration_branches

Alternatively, the /approve and /create_pull_requests commands will automatically
create the integration branches.

The following options are set: bypass_author_approval, bypass_jira_check

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 24, 2025

Superseded by #5746.

@dependabot dependabot bot closed this Feb 24, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/development/7.4/cron-parser-5.0.3 branch February 24, 2025 13:57
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.

1 participant