Fixed isWithinInterval bug caused by incorrectly sorting dates (#3623).
v3.0.3
Fixed
Rolled back pointing ESM types to the same d.ts files. Instead, now it copies the content to avoid the Masquerading as CJS problem reported by "Are the types wrong?".
Fixed an error in certain environments caused by d.mts files exporting only types.
v3.0.0
Changed
BREAKING: date-fns is now a dual-package with the support of both ESM and CommonJS. The files exports are now explicitly in the package.json. The ESM files now have .mjs extension.
BREAKING: The package now has a flat structure, meaning functions are now named node_modules/date-fns/add.mjs, locales are node_modules/date-fns/locale/enUS.mjs, etc.
BREAKING: Now all file content’s exported via named exports instead of export default, which will require change direct imports i.e. const addDays = require(‘date-fns/addDays’) to const { addDays } = require(‘date-fns/addDays’).
BREAKING: TypeScript types are now completely rewritten, check out the d.ts files for more information.
Fixed isWithinInterval bug caused by incorrectly sorting dates (#3623).
v3.0.3 - 2023-12-21
Fixed
Rolled back pointing ESM types to the same d.ts files. Instead now it copies the content to avoid the Masquerading as CJS problem reported by "Are the types wrong?".
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
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 4 updates: @sendgrid/mail, date-fns, got and vite.
Updates
@sendgrid/mail
from 7.7.0 to 8.1.0Release notes
Sourced from
@sendgrid/mail
's releases.Changelog
Sourced from
@sendgrid/mail
's changelog.Upgrade guide
Sourced from
@sendgrid/mail
's upgrade guide.Commits
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 main8a7e4eb
feat!: node version upgrade, axios upgrade (#1391)b8125d8
docs: updated the year in the license7d62da1
docs: Fix broken url on npmjs (#1376)3bab53b
Adding misc as PR type (#1367)Updates
date-fns
from 2.30.0 to 3.0.6Release notes
Sourced from date-fns's releases.
... (truncated)
Changelog
Sourced from date-fns's changelog.
... (truncated)
Commits
bc5b2f6
Promote to v3.0.69ac551c
Fix bug in areIntervalsOverlapping (#3628) (closes #3614)a49902e
UpdateformatRelative
docs (#3489)34c049b
Update wikipedia location (#3629)57a9b73
Promote to v3.0.5e2d52ce
Removed typo in toDate/index.ts (#3626)c15e891
Promote to v3.0.40d1a223
Fix isWithinInterval not sorting dates correctlyd1773c3
Promote to v3.0.3647334b
Copy d.mts files insteadUpdates
got
from 13.0.0 to 14.0.0Release notes
Sourced from got's releases.
Commits
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
vite
from 4.5.0 to 5.0.10Release notes
Sourced from vite's releases.
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
5684fcd
release: v5.0.101bbff16
fix(build): use base64 for inline SVG if it contains both single and double q...d9ae1b2
fix: omit protocol does not require pre-transform (#15355)77d5165
release: v5.0.956a5740
fix(server): avoid chokidar throttling on startup (#15347)129d0d0
fix(scanner): catch all external files for glob imports (#15286)b1a6c84
feat: log re-optimization reasons (#15339)2b39fe6
fix: more stable hash calculation for depsOptimize (#15337)c902545
fix: htmlFallbackMiddleware for favicon (#15301)7b71854
chore: temporary typo (#15329)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