Skip to content

Bump date-and-time from 3.6.0 to 4.5.2 - #2221

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 8, 2026

Copy link
Copy Markdown
Contributor

Bumps date-and-time from 3.6.0 to 4.5.2.

Release notes

Sourced from date-and-time's releases.

v4.5.2

What's Changed

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

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

... (truncated)

Commits
  • 47c5fdb Merge pull request #136 from knowledgecode/develop
  • 5e714ea chore(timezone): add missing UTC+0 offset entry for Antarctica/McMurdo
  • 57f6bd6 test: enforce coverage thresholds in vitest config
  • 4eb529c chore: replace __dirname with import.meta.dirname in vitest config
  • 0629bd5 fix: preserve explicitly parsed hour when defaultDate supplies unrelated 12/2...
  • 4dff6c3 chore(ci): harden workflows and bump action versions
  • e1b3b8f chore: bump version to 4.5.2 and update dev dependencies
  • aa8eb32 Merge pull request #135 from knowledgecode/dependabot/npm_and_yarn/js-yaml-4.3.1
  • 1d4ecc4 chore(deps): bump js-yaml from 4.3.0 to 4.3.1
  • 7de7f02 Merge pull request #134 from knowledgecode/dependabot/npm_and_yarn/postcss-8....
  • 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.2.
- [Release notes](https://github.com/knowledgecode/date-and-time/releases)
- [Commits](knowledgecode/date-and-time@v3.6.0...v4.5.2)

---
updated-dependencies:
- dependency-name: date-and-time
  dependency-version: 4.5.2
  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 Sep 8, 2026
@dependabot
dependabot Bot requested a review from isaachilly as a code owner September 8, 2026 05:03
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 8, 2026
@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.10%. Comparing base (0eb8113) to head (4d167ad).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2221      +/-   ##
==========================================
- Coverage   46.18%   46.10%   -0.09%     
==========================================
  Files        1040     1040              
  Lines       17160    17160              
  Branches     3133     3133              
==========================================
- Hits         7925     7911      -14     
- Misses       9235     9249      +14     

☔ 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