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 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.
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.2
2.30.0
3.6.0
13.0.0
14.2.1
10.0.0
12.0.0
4.5.0
5.2.7
Updates
@sendgrid/mail
from 7.7.0 to 8.1.2Release notes
Sourced from
@sendgrid/mail
's releases.Changelog
Sourced from
@sendgrid/mail
's changelog.Upgrade guide
Sourced from
@sendgrid/mail
's upgrade guide.Commits
e9dc174
Release 8.1.2c6cb06d
[Librarian] Version Bump6352a5e
chore: fixed axios vulnerability (#1395)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)Updates
date-fns
from 2.30.0 to 3.6.0Release notes
Sourced from date-fns's releases.
... (truncated)
Changelog
Sourced from date-fns's changelog.
... (truncated)
Commits
ddb34e0
Promote to v3.6.0603aec4
Add the CDN guideea6da53
Add jsDelivr resolve to package.json5a2afce
Fix CDN build, add CDN smoke test0356ecc
Add CDN versions of modules (#3737)d22be9f
Fix v3.5.0's change log entrya9bf9e1
Fix weeks in Belarisuan formatDistance (#3720)1d78cd1
Prepare v3.5.0f0355f1
Rebuild lock file (#3733)3d118e2
FixconstructNow
import paths (#3734)Updates
got
from 13.0.0 to 14.2.1Release notes
Sourced from got's releases.
Commits
8da9912
14.2.1c81a611
Fix error handling when UTF8 decoding fails (#2336)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)Updates
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.2.7Release notes
Sourced from vite's releases.
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
ad246da
release: v5.2.745a06da
chore: deprecate splitVendorChunkPlugin (#16274)ffedc06
fix(hmr): trigger hmr for missing file import errored module after file creat...dfffea1
fix(hmr): don't mutate module graph when collecting modules (#16302)1f53796
feat(hmr): reload when HTML file is created/deleted (#16288)24e376a
fix(sourcemap): don't warn even if the sourcesContent is an empty string (#16...7caef42
fix(deps): update all non-major dependencies (#16258)890538a
fix: skip injecting__vite__mapDeps
when it's not used (#16271)7369016
release: v5.2.6ba5269c
fix:fs.deny
with globs with directories (#16250)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