Fixed DST issue in getOverlappingDaysInIntervals, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.
Fixed functions incorrectly using trunc instead of round. The bug was introduced in v3.3.0. The affected functions: differenceInCalendarDays, differenceInCalendarISOWeeks, differenceInCalendarWeeks, getISOWeek, getWeek, and getISOWeeksInYear.
Fixed the bug in getOverlappingDaysInIntervals caused by incorrect sorting of interval components that led to 0 for timestamps of different lengths.
Fixed bugs when working with negative numbers caused by using Math.floor (-1.1 → -2) instead of Math.trunc (-1.1 → -1). Most of the conversion functions (i.e., hoursToMinutes) were affected when passing some negative fractional input. Also, some other functions that could be possibly affected by unfortunate timezone/date combinations were fixed.
The functions that were affected: format, parse, getUnixTime, daysToWeeks, hoursToMilliseconds, hoursToMinutes, hoursToSeconds, milliseconds, minutesToMilliseconds, millisecondsToMinutes, monthsToYears, millisecondsToHours, millisecondsToSeconds, minutesToHours, minutesToSeconds, yearsToQuarters, yearsToMonths, yearsToDays, weeksToDays, secondsToMinutes, secondsToHours, quartersToYears, quartersToMonths and monthsToQuarters.
Fixed DST issue in getOverlappingDaysInIntervals, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.
Fixed functions incorrectly using trunc instead of round. The bug was introduced in v3.3.0. The affected functions: differenceInCalendarDays, differenceInCalendarISOWeeks, differenceInCalendarWeeks, getISOWeek, getWeek, and getISOWeeksInYear.
Fixed the bug in getOverlappingDaysInIntervals caused by incorrect sorting of interval components that led to 0 for timestamps of different lengths.
Fixed bugs when working with negative numbers caused by using Math.floor (-1.1 → -2) instead of Math.trunc (-1.1 → -1). Most of the conversion functions (i.e., hoursToMinutes) were affected when passing some negative fractional input. Also, some other functions that could be possibly affected by unfortunate timezone/date combinations were fixed.
The functions that were affected: format, parse, getUnixTime, daysToWeeks, hoursToMilliseconds, hoursToMinutes, hoursToSeconds, milliseconds, minutesToMilliseconds, millisecondsToMinutes, monthsToYears, millisecondsToHours, millisecondsToSeconds, minutesToHours, minutesToSeconds, yearsToQuarters, yearsToMonths, yearsToDays, weeksToDays, secondsToMinutes, secondsToHours, quartersToYears, quartersToMonths and monthsToQuarters.
Why not target the oldest active Node.js LTS, which is Node.js 18? I usually strictly follow this convention in my packages. However, this package is the exception because the HTTP part of Node.js is consistently buggy, and I don't have time to work around issues in older Node.js releases. I you need to still support Node.js 18, I suggest staying on Got v13, which is quite stable. Node.js 18 will be out of active LTS in 5 months.
Improvements
Make followRedirect option accept a function (#2306) 7c3f147
This release removes the support for import assignments added in version 11.0.0:
Turns out it was broken in some cases.
The suggested fix went past my complexity tolerance for such an esoteric feature.
I also learned that they aren’t really imports, and that I don’t understand their semantics well enough to know how sorting them affects your program.
If you miss the support for import assignments, I suggest you write your own ESLint rule which moves them out of the way from the actual imports, sorting them or not.
Version 11.0.0 (2024-02-08)
This release adds support for TypeScript import assignments (import A = B.C and import A = require("module")). Thanks to Szabolcs Kurdi (@szku01) and Svyatoslav Zaytsev (@MillerSvt)!
It’s only a breaking change if you use TypeScript import assignments, and only in the form that you need to autofix your files.
In other news, this release adds the meta plugin property in preparation for ESLint Flat Config, and avoids the deprecated context.getSourceCode() method (while still being backwards compatible).
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the major-dependencies group with 5 updates:
7.7.0
8.1.1
2.30.0
3.3.1
13.0.0
14.2.0
10.0.0
12.0.0
4.5.0
5.1.4
Updates
@sendgrid/mail
from 7.7.0 to 8.1.1Release notes
Sourced from
@sendgrid/mail
's releases.Changelog
Sourced from
@sendgrid/mail
's changelog.Upgrade guide
Sourced from
@sendgrid/mail
's upgrade guide.Commits
86cde58
Release 8.1.12e61fdd
[Librarian] Version Bump13b5bba
chore: fixed axios vulnerability (#1394)1b299f4
chore: update use-case & license year (#1392)2d4d512
Release 8.1.01f6846f
[Librarian] Version Bumpeed8ba2
feat: Add data residency for eu and global regions (#1390)b1c831f
Release 8.0.02f56e16
[Librarian] Version Bumpdc01933
Add an upgrade guide to mainUpdates
date-fns
from 2.30.0 to 3.3.1Release notes
Sourced from date-fns's releases.
... (truncated)
Changelog
Sourced from date-fns's changelog.
... (truncated)
Commits
35c1858
Upgrade Vitestaa264e3
Fix DST issue in getOverlappingDaysInIntervalsa960fc2
Enable extended timezone tests on main2939472
Fix incorrect rounding introduced in v3.3.0ff60d48
Fix browser tests (#3677)659ad02
Update v3.3.0 changelog3e4af15
What's wrong with you, Lodash?3707906
Prepare v3.3.0fadd58b
Add missingyearsToDays
to FPad2c654
Fix bug in getOverlappingDaysInIntervalsUpdates
got
from 13.0.0 to 14.2.0Release notes
Sourced from got's releases.
Commits
897f385
14.2.04cbd01d
Addcause
property with the original error toRequestError
(#2327)f10e151
14.1.05e4f6ff
Allow typing the body of aRequestError
response (#2325)3822412
14.0.08197422
Readme tweaksa004263
Require Node.js 20 (#2313)7c3f147
MakefollowRedirect
option accept a function (#2306)844cfb6
Add note about retry in timeout documentation (#2298)944caa8
TweaksUpdates
eslint-plugin-simple-import-sort
from 10.0.0 to 12.0.0Changelog
Sourced from eslint-plugin-simple-import-sort's changelog.
Commits
611d87b
eslint-plugin-simple-import-sort v12.0.02480727
Update comments6de7a10
Revert "Add support for TypeScript import assignments (#149)" (#158)289f75b
eslint-plugin-simple-import-sort v11.0.0db0a55a
Add meta property and flat config docs (#155)4c7cb45
Avoid deprecated context.getSourceCode() (#154)c07aeca
Add support for TypeScript import assignments (#149)c641891
Fix link to dprint configurationc31798c
Bump@babel/traverse
from 7.20.12 to 7.23.2 (#147)343ac29
Bump word-wrap from 1.2.3 to 1.2.4 (#141)Updates
vite
from 4.5.0 to 5.1.4Release notes
Sourced from vite's releases.
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
0137ea0
release: v5.1.48dc1b73
perf: remove unnecessary regex s modifier (#15766)4fe971f
fix: resolve directory correctly whenfs.cachedChecks: true
(#15983)1d263d3
fix(watch): build watch fails when outDir is empty string (#15979)81b3bd0
fix: srcSet with optional descriptor (#15905)571a3fd
fix(deps): update all non-major dependencies (#15959)8b11fea
fix: fs cached checks disabled by default for yarn pnp (#15920)bf39527
release: v5.1.35099028
fix: cachedTransformMiddleware for direct css requests (#15919)4172f02
refactor(runtime): seal ES module namespace object instead of feezing (#15914)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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show