Skip to content

chore(deps): bump croner from 9.0.0 to 10.0.1#48

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/croner-10.0.1
Open

chore(deps): bump croner from 9.0.0 to 10.0.1#48
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/croner-10.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 3, 2026

Copy link
Copy Markdown
Contributor

Bumps croner from 9.0.0 to 10.0.1.

Release notes

Sourced from croner's releases.

10.0.1

This patch fixes TypeScript issues in the distributed version of the major release 10.0.0.

Changes

  • Fixed distribution structure (#342)

Full Changelog: Hexagon/croner@10.0.0...10.0.1

10.0.0

Croner 10.0.0 is a major release bringing full OCPS 1.4 compliance, new scheduling capabilities, and improved reliability.

Highlights

  • Support for years — Optional seventh field specifying year (OCPS 1.2).

  • Pattern Matching — The new match() method makes it easy to check if any date matches your cron pattern.

  • Day Offsets — Schedule jobs relative to pattern matches with dayOffset, perfect for "day before" or "day after" scenarios.

  • Reverse History — New previousRuns() method lets you enumerate past scheduled times, complementing the existing nextRuns() functionality.

  • DST Bug Fixes — Critical fixes for daylight saving time transitions that caused rapid-fire execution or hour skipping.

  • Flexible Modes — New mode option gives precise control over pattern parsing (year and second fields), while sloppyRanges maintains backward compatibility with non-standard syntax.

Breaking Changes

  • The ? character now acts as a wildcard alias (same as *) per OCPS 1.4
  • Minimum Deno version increased to 2.0
  • Stricter range parsing by default (use sloppyRanges: true for legacy behavior)

See the migration guide further down for a smooth upgrade from 9.x.

Thank you to all contributors, and a special welcome to @​albertchae and @​KillerCodeMonkey for their first contributions! 🎉

Details

Changed

  • BREAKING: ? character now acts as wildcard alias (same as *) per OCPS 1.4, instead of substituting current time values (#293)
  • BREAKING: Minimum Deno version increased from 1.16 to 2.0
  • Renamed legacyMode option to domAndDow (backward compatible, legacyMode still works) (#309)
  • Improved error messages for timezone/date conversion failures (#307)
  • Unified implementations of nextRuns/previousRuns and findNext/findPrevious (#319)
  • Refactored to extract duplicate code patterns into helper methods (#322)
  • Consolidated duplicate tests across OCPS compliance and legacy test suites (#320)

Added

  • OCPS 1.2 Compliance: Year field support for 7-field patterns (range 1-9999) (#288)

... (truncated)

Changelog

Sourced from croner's changelog.

[10.0.1] - 2026-02-01

Fixed

  • Bundle TypeScript declarations into single file to match 9.1.0 dist structure

[10.0.0] - 2026-02-01

Added

  • OCPS 1.2 Compliance: Year field support for 7-field patterns (range 1-9999) (#288)
  • OCPS 1.3 Compliance: W (weekday) modifier for nearest weekday scheduling (#288)
  • OCPS 1.4 Compliance: + (AND logic) modifier for explicit day matching (#288)
  • OCPS 1.4 Compliance: @​midnight and @​reboot pattern nicknames (#288)
  • previousRuns() method to enumerate past scheduled execution times (#315)
  • match() method to check if a date matches a cron pattern (#317)
  • getOnce() method to return original run-once date for date-based jobs (#332)
  • dayOffset option for scheduling before/after pattern matches (#308)
  • mode option for cron pattern precision control with enforcement and flexible modes (#294)
  • alternativeWeekdays option for Quartz-style weekday numbering (1=Sunday...7=Saturday) (#312)
  • domAndDow option to replace deprecated legacyMode (no breaking change) (#309)
  • sloppyRanges option to allow relaxed, backward-compatible non-standard range/stepping syntax (#327)
  • Support for leading/trailing whitespace and consecutive whitespace in patterns
  • Case-insensitive L and W modifiers in cron patterns (#328)
  • Comprehensive edge case tests for year stepping, nth weekday, W modifier, Quartz mode, and boundary conditions (#329)

Changed

  • BREAKING: ? character now acts as wildcard alias (same as *) per OCPS 1.4, instead of substituting current time values (#293)
  • BREAKING: Minimum Deno version increased from 1.16 to 2.0
  • Renamed legacyMode option to domAndDow (backward compatible, legacyMode still works) (#309)
  • Improved error messages for timezone/date conversion failures (#307)
  • Unified implementations of nextRuns/previousRuns and findNext/findPrevious (#319)
  • Refactored to extract duplicate code patterns into helper methods (#322)
  • Consolidated duplicate tests across OCPS compliance and legacy test suites (#320)

Fixed

  • DST bugs causing rapid-fire execution during timezone transitions (Issue #286) (#285)
  • DST bug with UTC timezone causing hour skipping during local DST transitions (Issue #284) (#285)
  • Cron job stopping when catch callback throws with protect enabled (#337)
  • L modifier bug and documented W modifier edge cases (#306)
  • getPattern() returning wrong value for date-based jobs (#331)
  • Node.js timezone test failures caused by hour 24 midnight formatting (#291)
  • Unclear error messages for timezone/date conversion failures (#307)

Documentation

  • Complete OCPS 1.0-1.4 compliance documentation (#292)
  • Migration guide for v9.x to v10.0 upgrade path (#310)
  • Documented zero dependencies advantage over Luxon-dependent alternatives (#318)
  • Updated year field in README ASCII pattern diagram (#311)
  • Documented getOnce() and previousRuns() features (#333)

[9.1.0] - 2024-10-21

... (truncated)

Commits
  • adc8621 Fix dist structure and bump to 10.0.1 (#342)
  • d3f013b Cleanup of README (#341)
  • e894e4a Merge pull request #339 from Hexagon/dev
  • d381fd9 Fix test assertions checking cron instance nullability instead of next run ex...
  • 8914d77 Review and prepare Croner 10.0.0 for release (#326)
  • 8478bf6 Add PayPal and GitHub Sponsors funding info to package.json (#338)
  • 72c6d00 Update version from 10.0.0-dev.7 to 10.0.0-dev.8
  • 005adfb Fix cron job stopping when catch callback throws with protect enabled (#337)
  • be285dd Document getOnce() and previousRuns() features, bump to 10.0.0-dev.7 (#333)
  • f8b708b Fix getPattern() returning wrong value for date-based jobs (#331)
  • 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 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 [croner](https://github.com/hexagon/croner) from 9.0.0 to 10.0.1.
- [Release notes](https://github.com/hexagon/croner/releases)
- [Changelog](https://github.com/Hexagon/croner/blob/master/CHANGELOG.md)
- [Commits](Hexagon/croner@9.0.0...10.0.1)

---
updated-dependencies:
- dependency-name: croner
  dependency-version: 10.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 3, 2026

@tps-kern tps-kern left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Architecture Review — REQUEST_CHANGES ❌

Major bump: croner 9.0.0 → 10.0.1 in packages/shell.

CI: Build FAILURE, Dependency Audit FAILURE, Unit Tests SKIPPED.

This is a MAJOR version with documented breaking changes:

  1. ? character now acts as wildcard alias (same as *) per OCPS 1.4, instead of substituting current time values. If bob uses ? in any cron patterns, behavior WILL change.
  2. Stricter range parsing by default — may reject previously-valid patterns unless sloppyRanges: true is set.
  3. Minimum Deno version increased to 2.0 (not relevant for Node/Bun, but indicates significant internal changes).

Action required:

  1. Check CI build logs for the specific failure — likely a type-level break from the API changes.
  2. Audit all cron patterns in bob's codebase for ? usage — if any exist, they will silently change behavior (wildcard instead of current-time substitution).
  3. If patterns use ?, either migrate them to explicit values or set sloppyRanges: true.
  4. Re-run CI after any fixes. Do not merge with red CI and unverified cron behavior.

@tps-kern tps-kern left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Architecture review — REQUEST_CHANGES (lockfile not regenerated).

Diff: 1 line in packages/shell/package.json, bumping croner from 9.0.0 to 10.0.1. This is a major version bump (9→10). No code changes.

Breaking changes in croner 10.0.0: The ? character now acts as a wildcard alias (same as *) per OCPS 1.4 instead of substituting current time values. Stricter range parsing by default (use sloppyRanges: true for legacy behavior). Minimum Deno version increased to 2.0 (irrelevant — bob uses Bun, not Deno). The legacyMode option was renamed to domAndDow (backward compatible — legacyMode still works).

Architecture concern: croner is used by the packages/shell package for cron scheduling. The ? wildcard behavior change is the primary risk — if any cron patterns in the codebase use ? expecting the old "substitute current time" semantics, they will now behave as * (match-all). This would be a silent behavior change. The team should audit all cron patterns for ? usage before merging. If no patterns use ?, this is safe.

CI failure: Both Build (TypeScript strict) and Dependency Audit fail with:

error: lockfile had changes, but lockfile is frozen

The lockfile is configured as frozen/immutable, but bumping the dependency requires a lockfile regeneration. Someone needs to run bun install on the branch and commit the updated lockfile before CI will pass.

Action needed:

  1. Audit all cron patterns in the codebase for ? usage — confirm none rely on the old "substitute current time" semantics.
  2. Run bun install on the branch and commit the regenerated lockfile.
  3. Re-request review after CI is green.

@tps-sherlock tps-sherlock left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security Review — REQUEST_CHANGES ❌

CI is red — blocking

  • Build (TypeScript strict): FAILUREerror: lockfile had changes, but lockfile is frozen
  • Dependency Audit: FAILURE — same root cause
  • Unit Tests: SKIPPED — blocked by build failure

The lockfile is frozen/immutable. bun install must be run on the branch and the regenerated lockfile committed before CI can pass.

Security concern: ? wildcard behavior change

croner 10.0.0 changed the ? character from "substitute current time values" to a wildcard alias (same as *) per OCPS 1.4. If any cron patterns in bob's codebase use ?, they will silently change from time-substitution to match-all. This is a scheduling integrity risk — tasks could fire at unintended times, including during maintenance windows or outside expected bounds.

Required before approval:

  1. Audit all cron patterns in the codebase for ? usage — confirm none rely on the old time-substitution semantics
  2. If ? is used, either migrate to explicit values or set sloppyRanges: true
  3. Run bun install and commit the regenerated lockfile
  4. CI must be all green (Build, Audit, Tests)

Supply chain — clean

Socket Security, CodeQL all pass. No known CVEs in croner 10.0.1.

Diff scope

Single line in packages/shell/package.jsoncroner: "9.0.0""10.0.1". No code changes. The risk is entirely in the breaking API changes and the frozen lockfile.

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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants