Skip to content

fix(deps): ⬆️ update dependency @haskou/value-objects to v3 - #19

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/haskou-value-objects-3.x
Open

fix(deps): ⬆️ update dependency @haskou/value-objects to v3#19
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/haskou-value-objects-3.x

Conversation

@renovate

@renovate renovate Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@haskou/value-objects (source) ^2.13.1^3.0.1 age confidence

Release Notes

haskou/value-objects (@​haskou/value-objects)

v3.0.1

Compare Source

Changes

Release details

Pull request notes

This PR contains the following updates:

Package Change Age Confidence
@​noble/hashes (source) ^2.0.1^2.2.0 age confidence

Configuration

📅 Schedule: (in timezone Europe/Madrid)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

v3.0.0

Compare Source

Changes

  • fix(value-objects)!: 💥 Enforce strict validation and immutability

Release details

Pull request notes

Summary

  • Remove TimestampInterval.modifyStart() and modifyEnd() so interval boundaries remain immutable.
  • Reject non-finite numbers and invalid timestamps.
  • Validate real calendar dates and preserve Unix epoch input.
  • Validate UUID structure, version, and RFC variant.
  • Correct Duration day and hour component calculations.

Breaking changes

  • TimestampInterval.modifyStart() and modifyEnd() are no longer available.
  • NumberValueObject, Integer, and Timestamp reject Infinity, -Infinity, and invalid date values.
  • UUID rejects 36-character strings that do not match the standard UUID structure.
  • CalendarDay rejects normalized dates such as 2022-02-31.

Root cause

Several validators delegated to permissive JavaScript behavior. Date normalized nonexistent dates, numeric validation rejected only NaN, and the UUID pattern checked character count without checking field structure. Duration.getHours() used seconds per hour as its modulo, and mutable timestamp intervals left the inherited primitive value out of sync with their boundaries.

Validation

  • yarn test (808 tests)
  • yarn test:coverage (100% statements, branches, functions, and lines)
  • yarn build
  • yarn docs:build
  • Prettier check for all changed files

Configuration

📅 Schedule: (in timezone Europe/Madrid)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants