X-oss-byte / gatsby

https://gatsby-delta-hazel.vercel.app
MIT License
0 stars 0 forks source link

fix(deps): update dependency luxon to v3 #51

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
luxon ^1.28.1 -> ^3.0.0 age adoption passing confidence
@types/luxon (source) ^2.3.2 -> ^3.0.0 age adoption passing confidence

Release Notes

moment/luxon (luxon) ### [`v3.5.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#350-2024-08-03) [Compare Source](https://togithub.com/moment/luxon/compare/3.4.4...3.5.0) - Various performance improvements - throwOnInvalid causes the constructor to throw if the year is invalid ### [`v3.4.4`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#344-2023-11-12) [Compare Source](https://togithub.com/moment/luxon/compare/3.4.3...3.4.4) - Localized week support ([#​1454](https://togithub.com/moment/luxon/issues/1454)) - Added custom inspect for Node ([#​1526](https://togithub.com/moment/luxon/issues/1526)) - Fix sorting in `Interval.splitAt` ([#​1524](https://togithub.com/moment/luxon/issues/1524)) ### [`v3.4.3`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#343-2023-09-05) [Compare Source](https://togithub.com/moment/luxon/compare/3.4.2...3.4.3) - Fixes another regression from 3.4.0 ([#​1496](https://togithub.com/moment/luxon/issues/1496)) ### [`v3.4.2`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#342-2023-08-26) [Compare Source](https://togithub.com/moment/luxon/compare/3.4.1...3.4.2) - Fixes regression from 3.4.1 ([#​1493](https://togithub.com/moment/luxon/issues/1493)) ### [`v3.4.1`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#341-2023-08-23) [Compare Source](https://togithub.com/moment/luxon/compare/3.4.0...3.4.1) - Fixes for regressions from 3.4.0 ([#​1482](https://togithub.com/moment/luxon/issues/1482) and [#​1488](https://togithub.com/moment/luxon/issues/1488)) ### [`v3.4.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#340-2023-08-08) [Compare Source](https://togithub.com/moment/luxon/compare/3.3.0...3.4.0) - Fix type checking on input zones - Fix Islamic months listing - Fix normalize() for negative inputs ### [`v3.3.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#330-2023-03-03) [Compare Source](https://togithub.com/moment/luxon/compare/3.2.1...3.3.0) - Fix off-by-one in Interval#count ([#​1308](https://togithub.com/moment/luxon/issues/1308)) - Support formatting for custom zones ([#​1377](https://togithub.com/moment/luxon/issues/1377)) - Fix parsing for narrow spaces ([#​1369](https://togithub.com/moment/luxon/issues/1369)) - Handle leap year issue with AD 100 ([#​1390](https://togithub.com/moment/luxon/issues/1390)) - Allow parsing of just an offset ### [`v3.2.1`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#321-2023-01-04) [Compare Source](https://togithub.com/moment/luxon/compare/3.2.0...3.2.1) - Fix for RFC-2822 regex vulnerability - Better handling of BCP tags with -x- extensions ### [`v3.2.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#320-2022-12-29) [Compare Source](https://togithub.com/moment/luxon/compare/3.1.1...3.2.0) - Allow timeZone to be specified as an intl option - Fix for diff's handling of end-of-month when crossing leap years ([#​1340](https://togithub.com/moment/luxon/issues/1340)) - Add Interval.toLocaleString() ([#​1320](https://togithub.com/moment/luxon/issues/1320)) ### [`v3.1.1`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#311-2022-11-28) [Compare Source](https://togithub.com/moment/luxon/compare/3.1.0...3.1.1) - Add Settings.twoDigitCutoffYear ### [`v3.1.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#310-2022-10-31) [Compare Source](https://togithub.com/moment/luxon/compare/3.0.4...3.1.0) - Add Duration.rescale ### [`v3.0.4`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#304-2022-09-24) [Compare Source](https://togithub.com/moment/luxon/compare/3.0.3...3.0.4) - Fix quarters in diffs ([#​1279](https://togithub.com/moment/luxon/issues/1279)) - Export package.json in package ([#​1239](https://togithub.com/moment/luxon/issues/1239)) ### [`v3.0.3`](https://togithub.com/moment/luxon/compare/3.0.2...3.0.3) [Compare Source](https://togithub.com/moment/luxon/compare/3.0.2...3.0.3) ### [`v3.0.2`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#302-2022-08-28) [Compare Source](https://togithub.com/moment/luxon/compare/3.0.1...3.0.2) - Lots of doc changes - Added DateTime.expandFormat - Added support for custom conversion matrices in Durations ### [`v3.0.1`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#301-2022-07-09) [Compare Source](https://togithub.com/moment/luxon/compare/3.0.0...3.0.1) - Add DateTime.parseFormatForOpts ### [`v3.0.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#300-2022-07-09) [Compare Source](https://togithub.com/moment/luxon/compare/2.5.2...3.0.0) - Add "default" as an option for specifying a zone, and change "system" to really mean the system zone (breaking change) ### [`v2.5.2`](https://togithub.com/moment/luxon/compare/2.5.1...2.5.2) [Compare Source](https://togithub.com/moment/luxon/compare/2.5.1...2.5.2) ### [`v2.5.1`](https://togithub.com/moment/luxon/compare/2.5.0...2.5.1) [Compare Source](https://togithub.com/moment/luxon/compare/2.5.0...2.5.1) ### [`v2.5.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#250-2022-07-09) [Compare Source](https://togithub.com/moment/luxon/compare/2.4.0...2.5.0) - Support for ESM-style node imports - Fix Wednesday parsing for RFC 850 strings - Increase number of digits allowed in ISO durations #### 2.4.0 (2022-05-08) - Add support for parsing the ISO zone extension, like `2022-05-08T20:42:00.000-04:00[America/New_York]` - Add an `extendedZone` option to `toISO()` and `toISOTime` - Improvements to `DateTime.isInDST()` - Fix for parsing in Vietnames (and probably other languages) #### 2.3.2 (2022-04-17) - Fix timezone calculations for negative years - add week formatting token "w" for durations - fix weekday computation for years 0-100 #### 2.3.1 (2022-02-23) - Added an `includeOffsetSpace` option to `toSQL` and `toSQLTime` - Added `toUnixInteger` - Don't use `-0` when negating durations with zeros in them #### 2.3.0 (2022-01-02) - Major perf improvements to `toISO()`, `toISODate()`, `toISOTime()`, and `toSQLDate()` - Fixed date padding for negative years in `toISO()` - Added Duration#toHuman() #### 2.2.0 (2021-12-10) - Allow offsets to pick among ambiguous times when both an offset and zone are provided to `fromFormat` - Fix a floating point bug in `Duration.shiftTo()` #### 2.1.1 (2021-11-08) - Fix issue in quirky environments that lack `hourCycle` support and sometimes computed offsets 12 hours off #### 2.1.0 (2021-11-07) - Stop special casing of `Etc/GMT*` zones - export fromDurationLike - memoize zone validation - Support for fractional elements in duration ISO parsing - Added `uu` and `uuu` tokens for fractional millisecond parsing #### 2.0.2 (2021-08-08) Fix locale defaulting #### 2.0.0 (2021-07-3) See [Upgrading section](https://moment.github.io/luxon/#/upgrading?id=\_1x-to-20) #### 1.28.0 (2021-07-03) - Fix ISO parsing for offset specifiers in Year-Ordinal formats #### 1.27.0 (2021-05-08) - Fix GMT zone parsing for older versions of Node - Support multiple units in `toRelative` - Various documentation updates #### 1.26.0 (2021-02-13) - Add fromISOTime, toISOTime and toMillis to Duration ([#​803](https://togithub.com/moment/luxon/issues/803)) - Fix padding of negative years in IsoDate ([#​871](https://togithub.com/moment/luxon/issues/871)) - Fix hasSame unit comparison ([#​798](https://togithub.com/moment/luxon/issues/798)) - Export VERSION information ([#​794](https://togithub.com/moment/luxon/issues/794)) - Durations are considered equal with extra zero units. Fixes [#​809](https://togithub.com/moment/luxon/issues/809) ([#​811](https://togithub.com/moment/luxon/issues/811)) #### 1.25.0 (2020-08-23) - fix fromFormat with Intl formats containing non-breaking spaces - Support higher precision in ISO milliseconds - Some fixes for 00:30 timezones - Fix some throwOnInvalid for invalid Intervals - Various doc fixes - Fix Interval#isSame for empty intervals - Mark package as side effect-free - Add support for intervals with a large number of seconds #### 1.24.1 (2020-05-04) - Remove erroneous `console.log` call #### 1.24.0 (2020-05-03) - Update polyfills for pollyfilled build #### 1.23.0 (2020-04-02) - Allow minus sign prefix when creating Duration from ISO #### 1.22.2 (2020-03-25) - Added more details to error messages for type errors #### 1.22.1 (2020-03-19) - Added support for ISO basic format to DateTime#toISO #### 1.22.0 (2020-01-26) - Fix setZone's handling of pre-1970 dates with millisecond components - Fix keepLocalTime for large jumps near the target zone's DST - Fix cache perf for toRelative() #### 1.21.3 (2019-11-28) - Fix parsing of meridiems in macro tokens in newer versions of v8 #### 1.21.2 (2019-11-18) - Fix bug in Chrome Canary that threw off time zone calculations #### 1.21.1 (2019-11-03) - Fix for quarter parsing - Some documentation updates #### 1.21.0 (2019-10-30) - Added quarter support to the parser - Fix some rounding issues in ISO formatting #### 1.20.0 (2019-10-29) - Added Duration#mapUnits - added Interval#toISODate and Interval#toISOTime - Some documentation fixes #### 1.19.3 - Cache offset values - Fix handling of negative sub 1-hour offsets #### 1.19.2 - Speculative fix for Node 6 #### 1.19.1 - Fix Intl.DateTimeFormat usage for polyfills #### 1.19.0 - Interval#splitAt now ignores input dates outside the interval - Don't allow decimals in DateTime creation #### 1.18.2 - Fix handling of decimals in DateTime#plus and #minus #### 1.18.1 - Fix validity when adding or subtracting time that exceeds Date max/min boundaries #### 1.18.0 - Add support for macro tokens in the parser #### 1.17.2 - Fix issue with `toRelative` using `style: short` with plural days #### 1.17.1 - Reject out-of-range numbers in DateTime.fromMillis - Reject 0s in ISO date inputs #### 1.17.0 - DateTime.min and DateTime.max throw if they get the wrong kind of arguments - Fixed throwOnInvalid logic for Interval - Added `DATETIME_MED_WITH_WEEKDAY` preset #### 1.16.1 - Catch errors trying to use Intl in weird versions of IE 11 #### 1.16.0 - Fixed locale default logic for \`DateTime#toFormat("ZZZZ") #### 1.15.0 - Added `formatOffset` to Zones #### 1.14.0 - Allow the zone argument to Interval.fromISO with duration components - Ignore the zone argument to Duration factory methods #### 1.13.3 - Fix keepLocalTime calculations that span offset changes #### 1.13.2 - Fixed ISO formatting for dates > 999 #### 1.13.1 - Performance improvements for regex parsing #### 1.13.0 - Support numberSystem in fromFormat - Fix validity for bad initial zone specifiers #### 1.12.1 - Fix cross-month diffs in some scenarios - Fix time zone parsing when the time zone isn't at the end - Memoize IANA zone creation #### 1.12.0 - Add some explicit CDN support to the NPM package - Add week token to duration ISO support - Lots of cleanup and test coverage changes #### 1.11.4 - `setZone("local")` now returns the defaultZone if it is set - Fixes for the polyfilled build #### 1.11.3 - Allow 24:00 in ISO (and other) strings - Fix some bugs with the typecheck functions like `DateTime.isDateTime()` #### 1.11.2 - Fixed handling of some characters in fromFormat literal sections - Handle string values in object arguments to DateTime methods - Fixed toRelativeCalendar's handling of zones in the base date #### 1.11.1 - Fix DateTime#plus() when spanning across AD 100 #### 1.11.0 - Fix low-year handling for IANA zones - `DateTime#toLocal()` now uses the default locale - Fix zero duration formatting - Many documentation fixes #### 1.10.0 - Fix endOf("day") during DSTs ([#​399](https://togithub.com/moment/luxon/issues/399)) - Add \`Interval#mapEndpoints ([#​400](https://togithub.com/moment/luxon/issues/400)) - Add `DateTime#zone` and `Info.normalizeZone` ([#​404](https://togithub.com/moment/luxon/issues/404)) #### 1.9.0 - Add `DateTime#toRelative` and `DateTime#toRelativeCalendar` #### 1.8.3 - Allow "UTC" in the zone position of `fromSQL` - Force `isDateTime` and `isDuration` to return booleans in all cases #### 1.8.2 - Trim leading \u200e characters from offset names in Edge 16 and 17 #### 1.8.1 - Add `DateTime.fromSeconds` and `DateTime#toSeconds` #### 1.7.1 - Floor the seconds instead of rounding them when outputting the 'X' format - Change the options to toLocale to override the configuration (the previous options were essentially ignored) #### 1.6.2 - Fixing merge error that resulted in bad error messages #### 1.6.0 - **midly breaking** Rework negative durations - Fix handling ### [`v2.4.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#240-2022-05-08) [Compare Source](https://togithub.com/moment/luxon/compare/2.3.2...2.4.0) - Add support for parsing the ISO zone extension, like `2022-05-08T20:42:00.000-04:00[America/New_York]` - Add an `extendedZone` option to `toISO()` and `toISOTime` - Improvements to `DateTime.isInDST()` - Fix for parsing in Vietnames (and probably other languages) ### [`v2.3.2`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#232-2022-04-17) [Compare Source](https://togithub.com/moment/luxon/compare/2.3.1...2.3.2) - Fix timezone calculations for negative years - add week formatting token "w" for durations - fix weekday computation for years 0-100 ### [`v2.3.1`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#231-2022-02-23) [Compare Source](https://togithub.com/moment/luxon/compare/2.3.0...2.3.1) - Added an `includeOffsetSpace` option to `toSQL` and `toSQLTime` - Added `toUnixInteger` - Don't use `-0` when negating durations with zeros in them ### [`v2.3.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#230-2022-01-02) [Compare Source](https://togithub.com/moment/luxon/compare/2.2.0...2.3.0) - Major perf improvements to `toISO()`, `toISODate()`, `toISOTime()`, and `toSQLDate()` - Fixed date padding for negative years in `toISO()` - Added Duration#toHuman() ### [`v2.2.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#220-2021-12-10) [Compare Source](https://togithub.com/moment/luxon/compare/2.1.1...2.2.0) - Allow offsets to pick among ambiguous times when both an offset and zone are provided to `fromFormat` - Fix a floating point bug in `Duration.shiftTo()` ### [`v2.1.1`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#211-2021-11-08) [Compare Source](https://togithub.com/moment/luxon/compare/2.1.0...2.1.1) - Fix issue in quirky environments that lack `hourCycle` support and sometimes computed offsets 12 hours off ### [`v2.1.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#210-2021-11-07) [Compare Source](https://togithub.com/moment/luxon/compare/2.0.2...2.1.0) - Stop special casing of `Etc/GMT*` zones - export fromDurationLike - memoize zone validation - Support for fractional elements in duration ISO parsing - Added `uu` and `uuu` tokens for fractional millisecond parsing ### [`v2.0.2`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#202-2021-08-08) [Compare Source](https://togithub.com/moment/luxon/compare/2.0.1...2.0.2) Fix locale defaulting ### [`v2.0.1`](https://togithub.com/moment/luxon/compare/2.0.0...2.0.1) [Compare Source](https://togithub.com/moment/luxon/compare/2.0.0...2.0.1) ### [`v2.0.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#200-2021-07-3) [Compare Source](https://togithub.com/moment/luxon/compare/1.28.1...2.0.0) See [Upgrading section](https://moment.github.io/luxon/#/upgrading?id=\_1x-to-20)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 these updates again.



This PR was generated by Mend Renovate. View the repository job log.

socket-security[bot] commented 1 year ago

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@types/luxon 2.4.0...3.3.1 None +0/-0 115 kB types
luxon 1.28.1...3.4.0 None +0/-0 4.06 MB icambron
renovate[bot] commented 1 year ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: yarn.lock
/usr/local/bin/docker: line 4: .: filename argument required
.: usage: . filename [arguments]
error An unexpected error occurred: "Unknown token: { line: 2515, col: 42, type: 'INVALID', value: undefined } 2515:42 in /tmp/worker/458313/354ed0/repos/github/sammyfilly/gatsby/yarn.lock".