Skip to content

fix(config): reject out-of-range minimum dependency ages#36051

Merged
bartlomieju merged 1 commit into
denoland:mainfrom
cuishuang:fix/minimum-dependency-age-overflow
Jul 15, 2026
Merged

fix(config): reject out-of-range minimum dependency ages#36051
bartlomieju merged 1 commit into
denoland:mainfrom
cuishuang:fix/minimum-dependency-age-overflow

Conversation

@cuishuang

Copy link
Copy Markdown
Contributor

Use fallible chrono duration constructors and checked date arithmetic to prevent invalid minimum dependency ages from panicking.

Fixes #35996

@deno-cla-assistant

deno-cla-assistant Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deno Individual Contributor License Agreement

All contributors have signed the CLA. Thank you!

Re-run CLA check


This is an automated message from CLA Assistant

@bartlomieju bartlomieju left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good fix, thanks

@bartlomieju
bartlomieju enabled auto-merge (squash) July 15, 2026 08:51
@bartlomieju
bartlomieju merged commit e724d7f into denoland:main Jul 15, 2026
136 checks passed
bartlomieju pushed a commit that referenced this pull request Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deno update panics on on invalid minimum-dependency-age

2 participants