mx-space / kami

🍰 Kami is mx-space's web frontend theme. Colorful, flat, cute and comfortable.
https://kami.innei.ren
GNU General Public License v3.0
317 stars 54 forks source link

fix(deps): update dependency axios to v1.4.0 #1670

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
axios (source) 1.3.6 -> 1.4.0 age adoption passing confidence

Release Notes

axios/axios ### [`v1.4.0`](https://togithub.com/axios/axios/blob/HEAD/CHANGELOG.md#​140-httpsgithubcomaxiosaxioscomparev136v140-2023-04-27) [Compare Source](https://togithub.com/axios/axios/compare/v1.3.6...v1.4.0) ##### Bug Fixes - **formdata:** add `multipart/form-data` content type for FormData payload on custom client environments; ([#​5678](https://togithub.com/axios/axios/issues/5678)) ([bbb61e7](https://togithub.com/axios/axios/commit/bbb61e70cb1185adfb1cbbb86eaf6652c48d89d1)) - **package:** export package internals with unsafe path prefix; ([#​5677](https://togithub.com/axios/axios/issues/5677)) ([df38c94](https://togithub.com/axios/axios/commit/df38c949f26414d88ba29ec1e353c4d4f97eaf09)) ##### Features - **dns:** added support for a custom lookup function; ([#​5339](https://togithub.com/axios/axios/issues/5339)) ([2701911](https://togithub.com/axios/axios/commit/2701911260a1faa5cc5e1afe437121b330a3b7bb)) - **types:** export `AxiosHeaderValue` type. ([#​5525](https://togithub.com/axios/axios/issues/5525)) ([726f1c8](https://togithub.com/axios/axios/commit/726f1c8e00cffa0461a8813a9bdcb8f8b9d762cf)) ##### Performance Improvements - **merge-config:** optimize mergeConfig performance by avoiding duplicate key visits; ([#​5679](https://togithub.com/axios/axios/issues/5679)) ([e6f7053](https://togithub.com/axios/axios/commit/e6f7053bf1a3e87cf1f9da8677e12e3fe829d68e)) ##### Contributors to this release - avatar [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS "+151/-16 (#​5684 #​5339 #​5679 #​5678 #​5677 )") - avatar [Arthur Fiorette](https://togithub.com/arthurfiorette "+19/-19 (#​5525 )") - avatar [PIYUSH NEGI](https://togithub.com/npiyush97 "+2/-18 (#​5670 )") #### [1.3.6](https://togithub.com/axios/axios/compare/v1.3.5...v1.3.6) (2023-04-19) ##### Bug Fixes - **types:** added transport to RawAxiosRequestConfig ([#​5445](https://togithub.com/axios/axios/issues/5445)) ([6f360a2](https://togithub.com/axios/axios/commit/6f360a2531d8d70363fd9becef6a45a323f170e2)) - **utils:** make isFormData detection logic stricter to avoid unnecessary calling of the `toString` method on the target; ([#​5661](https://togithub.com/axios/axios/issues/5661)) ([aa372f7](https://togithub.com/axios/axios/commit/aa372f7306295dfd1100c1c2c77ce95c95808e76)) ##### Contributors to this release - avatar [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS "+48/-10 (#​5665 #​5661 #​5663 )") - avatar [Michael Di Prisco](https://togithub.com/Cadienvan "+2/-0 (#​5445 )") #### [1.3.5](https://togithub.com/axios/axios/compare/v1.3.4...v1.3.5) (2023-04-05) ##### Bug Fixes - **headers:** fixed isValidHeaderName to support full list of allowed characters; ([#​5584](https://togithub.com/axios/axios/issues/5584)) ([e7decef](https://togithub.com/axios/axios/commit/e7decef6a99f4627e27ed9ea5b00ce8e201c3841)) - **params:** re-added the ability to set the function as `paramsSerializer` config; ([#​5633](https://togithub.com/axios/axios/issues/5633)) ([a56c866](https://togithub.com/axios/axios/commit/a56c8661209d5ce5a645a05f294a0e08a6c1f6b3)) ##### Contributors to this release - avatar [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS "+28/-10 (#​5633 #​5584 )") #### [1.3.4](https://togithub.com/axios/axios/compare/v1.3.3...v1.3.4) (2023-02-22) ##### Bug Fixes - **blob:** added a check to make sure the Blob class is available in the browser's global scope; ([#​5548](https://togithub.com/axios/axios/issues/5548)) ([3772c8f](https://togithub.com/axios/axios/commit/3772c8fe74112a56e3e9551f894d899bc3a9443a)) - **http:** fixed regression bug when handling synchronous errors inside the adapter; ([#​5564](https://togithub.com/axios/axios/issues/5564)) ([a3b246c](https://togithub.com/axios/axios/commit/a3b246c9de5c3bc4b5a742e15add55b375479451)) ##### Contributors to this release - avatar [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS "+38/-26 (#​5564 )") - avatar [lcysgsg](https://togithub.com/lcysgsg "+4/-0 (#​5548 )") - avatar [Michael Di Prisco](https://togithub.com/Cadienvan "+3/-0 (#​5444 )") #### [1.3.3](https://togithub.com/axios/axios/compare/v1.3.2...v1.3.3) (2023-02-13) ##### Bug Fixes - **formdata:** added a check to make sure the FormData class is available in the browser's global scope; ([#​5545](https://togithub.com/axios/axios/issues/5545)) ([a6dfa72](https://togithub.com/axios/axios/commit/a6dfa72010db5ad52db8bd13c0f98e537e8fd05d)) - **formdata:** fixed setting NaN as Content-Length for form payload in some cases; ([#​5535](https://togithub.com/axios/axios/issues/5535)) ([c19f7bf](https://togithub.com/axios/axios/commit/c19f7bf770f90ae8307f4ea3104f227056912da1)) - **headers:** fixed the filtering logic of the clear method; ([#​5542](https://togithub.com/axios/axios/issues/5542)) ([ea87ebf](https://togithub.com/axios/axios/commit/ea87ebfe6d1699af072b9e7cd40faf8f14b0ab93)) ##### Contributors to this release - avatar [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS "+11/-7 (#​5545 #​5535 #​5542 )") - avatar [陈若枫](https://togithub.com/ruofee "+2/-2 (#​5467 )") #### [1.3.2](https://togithub.com/axios/axios/compare/v1.3.1...v1.3.2) (2023-02-03) ##### Bug Fixes - **http:** treat http://localhost as base URL for relative paths to avoid `ERR_INVALID_URL` error; ([#​5528](https://togithub.com/axios/axios/issues/5528)) ([128d56f](https://togithub.com/axios/axios/commit/128d56f4a0fb8f5f2ed6e0dd80bc9225fee9538c)) - **http:** use explicit import instead of TextEncoder global; ([#​5530](https://togithub.com/axios/axios/issues/5530)) ([6b3c305](https://togithub.com/axios/axios/commit/6b3c305fc40c56428e0afabedc6f4d29c2830f6f)) ##### Contributors to this release - avatar [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS "+2/-1 (#​5530 #​5528 )") #### [1.3.1](https://togithub.com/axios/axios/compare/v1.3.0...v1.3.1) (2023-02-01) ##### Bug Fixes - **formdata:** add hotfix to use the asynchronous API to compute the content-length header value; ([#​5521](https://togithub.com/axios/axios/issues/5521)) ([96d336f](https://togithub.com/axios/axios/commit/96d336f527619f21da012fe1f117eeb53e5a2120)) - **serializer:** fixed serialization of array-like objects; ([#​5518](https://togithub.com/axios/axios/issues/5518)) ([08104c0](https://togithub.com/axios/axios/commit/08104c028c0f9353897b1b6691d74c440fd0c32d)) ##### Contributors to this release - avatar [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS "+27/-8 (#​5521 #​5518 )")

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 this update again.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 1 year ago

📦 Next.js Bundle Analysis for mx-kami

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 196.08 KB (🟡 +63 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Twelve Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/ 35.75 KB 231.83 KB 66.24% (+/- <0.01%)
/[page] 18.04 KB 214.12 KB 61.18% (+/- <0.01%)
/favorite/music 4.21 KB 200.29 KB 57.23% (🟢 -0.01%)
/friends 18.46 KB 214.54 KB 61.30% (+/- <0.01%)
/notes/[id] 39.91 KB 235.99 KB 67.42% (+/- <0.01%)
/notes/topics 4.83 KB 200.91 KB 57.40% (+/- <0.01%)
/posts 23.49 KB 219.57 KB 62.73% (+/- <0.01%)
/posts/[category]/[slug] 40.58 KB 236.66 KB 67.62% (🟢 -0.01%)
/preview 20.45 KB 216.53 KB 61.86% (+/- <0.01%)
/projects/[id] 14.57 KB 210.65 KB 60.19% (+/- <0.01%)
/recently 63.07 KB 259.15 KB 74.04% (+/- <0.01%)
/timeline 15.57 KB 211.65 KB 60.47% (+/- <0.01%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

github-actions[bot] commented 1 year ago

📦 Next.js Bundle Analysis for mx-kami

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌