fix(deps): update dependency luxon to v2.5.2 [security] #2278
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.2
->2.5.2
GitHub Vulnerability Alerts
CVE-2023-22467
Impact
Luxon's `DateTime.fromRFC2822() has quadratic (N^2) complexity on some specific inputs. This causes a noticeable slowdown for inputs with lengths above 10k characters. Users providing untrusted data to this method are therefore vulnerable to (Re)DoS attacks.
This is the same bug as Moment's GHSA-wc69-rhjr-hc9g
Workarounds
Limit the length of the input.
References
There is an excellent writeup of the same issue in Moment: https://github.com/moment/moment/pull/6015#issuecomment-1152961973
Details
DateTime.fromRFC2822("(".repeat(500000))
takes a couple minutes to complete.Release Notes
moment/luxon (luxon)
v2.5.2
Compare Source
v2.5.1
Compare Source
v2.5.0
Compare Source
2.4.0 (2022-05-08)
2022-05-08T20:42:00.000-04:00[America/New_York]
extendedZone
option totoISO()
andtoISOTime
DateTime.isInDST()
2.3.2 (2022-04-17)
2.3.1 (2022-02-23)
includeOffsetSpace
option totoSQL
andtoSQLTime
toUnixInteger
-0
when negating durations with zeros in them2.3.0 (2022-01-02)
toISO()
,toISODate()
,toISOTime()
, andtoSQLDate()
toISO()
2.2.0 (2021-12-10)
fromFormat
Duration.shiftTo()
2.1.1 (2021-11-08)
hourCycle
support and sometimes computed offsets 12 hours off2.1.0 (2021-11-07)
Etc/GMT*
zonesuu
anduuu
tokens for fractional millisecond parsing2.0.2 (2021-08-08)
Fix locale defaulting
2.0.0 (2021-07-3)
See Upgrading section
1.28.0 (2021-07-03)
1.27.0 (2021-05-08)
toRelative
1.26.0 (2021-02-13)
1.25.0 (2020-08-23)
1.24.1 (2020-05-04)
console.log
call1.24.0 (2020-05-03)
1.23.0 (2020-04-02)
1.22.2 (2020-03-25)
1.22.1 (2020-03-19)
1.22.0 (2020-01-26)
1.21.3 (2019-11-28)
1.21.2 (2019-11-18)
1.21.1 (2019-11-03)
1.21.0 (2019-10-30)
1.20.0 (2019-10-29)
1.19.3
1.19.2
1.19.1
1.19.0
1.18.2
1.18.1
1.18.0
1.17.2
toRelative
usingstyle: short
with plural days1.17.1
1.17.0
DATETIME_MED_WITH_WEEKDAY
preset1.16.1
1.16.0
1.15.0
formatOffset
to Zones1.14.0
1.13.3
1.13.2
1.13.1
1.13.0
1.12.1
1.12.0
1.11.4
setZone("local")
now returns the defaultZone if it is set1.11.3
DateTime.isDateTime()
1.11.2
1.11.1
1.11.0
DateTime#toLocal()
now uses the default locale1.10.0
DateTime#zone
andInfo.normalizeZone
(#404)1.9.0
DateTime#toRelative
andDateTime#toRelativeCalendar
1.8.3
fromSQL
isDateTime
andisDuration
to return booleans in all cases1.8.2
1.8.1
DateTime.fromSeconds
andDateTime#toSeconds
1.7.1
1.6.2
1.6.0
v2.4.0
Compare Source
2022-05-08T20:42:00.000-04:00[America/New_York]
extendedZone
option totoISO()
andtoISOTime
DateTime.isInDST()
v2.3.2
Compare Source
v2.3.1
Compare Source
includeOffsetSpace
option totoSQL
andtoSQLTime
toUnixInteger
-0
when negating durations with zeros in themv2.3.0
Compare Source
toISO()
,toISODate()
,toISOTime()
, andtoSQLDate()
toISO()
v2.2.0
Compare Source
fromFormat
Duration.shiftTo()
v2.1.1
Compare Source
hourCycle
support and sometimes computed offsets 12 hours offv2.1.0
Compare Source
Etc/GMT*
zonesuu
anduuu
tokens for fractional millisecond parsingConfiguration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.