Skip to content

Bump date-and-time from 3.6.0 to 4.5.1#2182

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/date-and-time-4.5.1
Open

Bump date-and-time from 3.6.0 to 4.5.1#2182
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/date-and-time-4.5.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps date-and-time from 3.6.0 to 4.5.1.

Release notes

Sourced from date-and-time's releases.

v4.5.1

What's Changed

Full Changelog: knowledgecode/date-and-time@v4.5.0...v4.5.1

v4.5.0

What's Changed

Major Changes

  • New defaultDate option: parse() and isValid() now accept a defaultDate object (ParsedComponents) to supply fallback values for date/time components missing from the format string — useful for parsing time-only, month-day, or other partial date strings
  • ParsedComponents interface: Extracted from PreparseResult into parser.ts as a standalone, reusable interface; PreparseResult now extends it
  • Validation improvement: isValid() validates defaultDate components (e.g. an out-of-range H in defaultDate returns false); leap-day validation now respects a defaultDate.Y context
  • Precedence rule: defaultDate.Z (timezone offset in minutes) takes precedence over the timeZone option when both are present

Full Changelog: knowledgecode/date-and-time@v4.4.0...v4.5.0

v4.4.0

What's Changed

Major Changes

  • New utility functions: getDaysInMonth, getISOWeek, getISOWeekYear added to public API
  • New plugins: week (ISO 8601 week formatting), quarter (quarter-of-year), timestamp (Unix timestamp seconds/milliseconds)
  • Bug fixes: timezone name mapping corrections (Falkland, Greenland, Hawaii-Aleutian, Macao, and 10+ additions)
  • Docs: CDN usage examples added to README, formatting improved across all pages

Full Changelog: knowledgecode/date-and-time@v4.3.1...v4.4.0

v4.3.1

What's Changed

Full Changelog: knowledgecode/date-and-time@v4.3.0...v4.3.1

v4.3.0

What's Changed

... (truncated)

Commits
  • 3608317 Merge pull request #129 from knowledgecode/develop
  • e89770c chore: bump version to 4.5.1 and update dev dependencies
  • 20eb5ce Merge pull request #128 from knowledgecode/dependabot/npm_and_yarn/multi-9bea...
  • c92948d chore(deps): bump esbuild, @​astrojs/starlight, vite, astro and tsx
  • 7cdd064 Merge pull request #126 from knowledgecode/dependabot/npm_and_yarn/js-yaml-4.2.0
  • dadf69a chore(deps): bump js-yaml from 4.1.1 to 4.2.0
  • 64ad724 Merge pull request #125 from knowledgecode/dependabot/npm_and_yarn/astro-6.4.8
  • 62bd853 chore(deps-dev): bump astro from 6.2.2 to 6.4.8
  • b505b94 Merge pull request #124 from knowledgecode/develop
  • 702ef4c chore: bump version to 4.5.0 and update dev dependencies
  • 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 [date-and-time](https://github.com/knowledgecode/date-and-time) from 3.6.0 to 4.5.1.
- [Release notes](https://github.com/knowledgecode/date-and-time/releases)
- [Commits](knowledgecode/date-and-time@v3.6.0...v4.5.1)

---
updated-dependencies:
- dependency-name: date-and-time
  dependency-version: 4.5.1
  dependency-type: direct:development
  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 30, 2026
@dependabot dependabot Bot requested a review from isaachilly as a code owner June 30, 2026 05:02
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 30, 2026
@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.76%. Comparing base (d7cd556) to head (36c3991).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2182      +/-   ##
==========================================
- Coverage   46.04%   45.76%   -0.28%     
==========================================
  Files        1038     1038              
  Lines       17172    17172              
  Branches     3136     3136              
==========================================
- Hits         7907     7859      -48     
- Misses       9265     9313      +48     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Development

Successfully merging this pull request may close these issues.

0 participants