FreeNowOrg / PixivNow

Provide Pixiv backend proxy & frontend service based on serverless technology
https://pixiv.js.org
Apache License 2.0
236 stars 52 forks source link

chore(deps): update utils (major) #120

Open renovate[bot] opened 6 months ago

renovate[bot] commented 6 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
conventional-changelog-cli (source) ^4.1.0 -> ^5.0.0 age adoption passing confidence
date-fns ^3.6.0 -> ^4.0.0 age adoption passing confidence

Release Notes

conventional-changelog/conventional-changelog (conventional-changelog-cli) ### [`v5.0.0`](https://redirect.github.com/conventional-changelog/conventional-changelog/blob/HEAD/packages/conventional-changelog-cli/CHANGELOG.md#500-2024-04-26) [Compare Source](https://redirect.github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-cli-v4.1.0...conventional-changelog-cli-v5.0.0) ##### ⚠ BREAKING CHANGES - Node >= 18 is required - cleanup presets interface ([#​1215](https://redirect.github.com/conventional-changelog/conventional-changelog/issues/1215)) - Now all packages, except gulp-conventional-changelog, are ESM-only. ##### Features - cleanup presets interface ([#​1215](https://redirect.github.com/conventional-changelog/conventional-changelog/issues/1215)) ([0e4f293](https://redirect.github.com/conventional-changelog/conventional-changelog/commit/0e4f2935add5dbf68410ea3c245ed8bd13e292a8)) - drop node 16 support ([#​1226](https://redirect.github.com/conventional-changelog/conventional-changelog/issues/1226)) ([ec69cfd](https://redirect.github.com/conventional-changelog/conventional-changelog/commit/ec69cfdf0040f73ec0eadc4779c37874e71f3dff)) - move from CommonJS to ESM ([#​1144](https://redirect.github.com/conventional-changelog/conventional-changelog/issues/1144)) ([c5b859d](https://redirect.github.com/conventional-changelog/conventional-changelog/commit/c5b859d201e124822002eb54574f003f074216e2)) ##### Bug Fixes - **conventional-changelog-cli,conventional-recommended-bump,standard-changelog:** fix config loading ([#​1234](https://redirect.github.com/conventional-changelog/conventional-changelog/issues/1234)) ([c2c4b3a](https://redirect.github.com/conventional-changelog/conventional-changelog/commit/c2c4b3a4cb60f784a4e7ee83d189b85c0acac960)) - **conventional-changelog-cli:** fix link for option prompt ([#​1159](https://redirect.github.com/conventional-changelog/conventional-changelog/issues/1159)) ([7e51c6d](https://redirect.github.com/conventional-changelog/conventional-changelog/commit/7e51c6d1bed61dfa7d8dedf7b11a0a027a222f3f)) - **deps:** update dependency meow to v13 ([#​1190](https://redirect.github.com/conventional-changelog/conventional-changelog/issues/1190)) ([862f66b](https://redirect.github.com/conventional-changelog/conventional-changelog/commit/862f66ba99989af2d44a524b11bc3a873426b00b))
date-fns/date-fns (date-fns) ### [`v4.1.0`](https://redirect.github.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v410---2024-09-17) [Compare Source](https://redirect.github.com/date-fns/date-fns/compare/v4.0.0...v4.1.0) This release adds time zone support to format functions (that I somehow missed when working on the feature) and fixes a few bugs. Make sure also upgrade `TZDate` to v1.0.2 as it [includes a bunch of critical bug fixes](https://redirect.github.com/date-fns/tz/blob/main/CHANGELOG.md#v102---2024-09-14). ##### Fixed - Fixed internal `constructFrom` throwing an exception on `null` arguments. While `null` isn't allowed, the functions should rather return `Invalid Date` or `NaN` in such cases. See [#​3885](https://redirect.github.com/date-fns/date-fns/issues/3885). ##### Added - Added missing time zone support to `format`, `formatISO`, `formatISO9075`, `formatRelative` and `formatRFC3339`. See [#​3886](https://redirect.github.com/date-fns/date-fns/issues/3886). ### [`v4.0.0`](https://redirect.github.com/date-fns/date-fns/blob/HEAD/CHANGELOG.md#v400---2024-09-16) [Compare Source](https://redirect.github.com/date-fns/date-fns/compare/v3.6.0...v4.0.0) I have great news! First, ten years after its release, date-fns finally gets first-class time zone support. Another great news is that there aren't many breaking changes in this release. All of them are type-related and will affect only those explicitly using internal date-fns types. Finally, it has been less than a year since the last major release, which is an improvement over the previous four years between v2 and v3. I plan on keeping the pace and minimizing breaking changes moving forward. [Read more about the release in the announcement blog post](https://blog.date-fns.org/v40-with-time-zone-support/). \- [Sasha @​kossnocorp](https://twitter.com/kossnocorp) ##### Added - Added time zones support via [`@date-fns/tz`](https://redirect.github.com/date-fns/tz)'s `TZDate` class and `tz` helper function. See its [README](https://redirect.github.com/date-fns/tz) for the details about the API. - All relevant functions now accept the context `in` option, which allows to specify the time zone to make the calculations in. If the function also returns a date, it will be in the specified time zone: ```ts import { addDays, startOfDay } from "date-fns"; import { tz } from "@​date-fns/tz"; startOfDay(addDays(Date.now(), 5, { in: tz("Asia/Singapore") })); //=> "2024-09-16T00:00:00.000+08:00" ``` In the example, `addDays` will get the current date and time in Singapore and add 5 days to it. `startOfDay` will inherit the date type and return the start of the day in Singapore. ##### Changed - The function arguments, as well as `Interval`'s `start` and `end`, now can be of different types, allowing you to mix `UTCDate`, `TZDate`, `Date`, and other extensions, as well as primitives (strings and numbers). The functions will normalize these values, make calculations, and return the result in the same type, preventing any bugs caused by the discrepancy. If passed, the type will be inferred from the context `in` option or the first encountered argument object type. The `Interval`'s `start` and `end` will be considered separately, starting from `start`. In the given example, the result will be in the `TZDate` as the first argument is a number, and the `start` takes precedence over the `end`. ```ts clamp(Date.now(), { start: new TZDate(start, "Asia/Singapore"), end: new UTCDate(), }); //=> TZDate ``` - **BREAKING**: This release contains a bunch of types changes that should not affect the library's expected usage. The changes are primarily internal and nuanced, so rather than listing them here, I recommend you running the type checker after the upgrade. If there are unfixable problems, please [open an issue](https://redirect.github.com/date-fns/date-fns/issues/new). - **BREAKING**: The package now is ESM-first. The CommonJS is still support and It should not affect most users, but it might break in certains environments. If you encounter any issues, please [report them](https://redirect.github.com/date-fns/date-fns/issues/new). ##### Fixed - Fixed CDN build compatibility with jQuery and other tools that expose `$` by properly wrapping the code in an IIFE.

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 becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



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

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pixiv-now ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 5:43am