cicitech12 / docusaurus.github.io

0 stars 0 forks source link

Update dependency @svgr/webpack to v8 #6

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@svgr/webpack (source) ^5.5.0 -> ^8.0.0 age adoption passing confidence

Release Notes

gregberge/svgr (@​svgr/webpack) ### [`v8.1.0`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#810-2023-08-15) [Compare Source](https://togithub.com/gregberge/svgr/compare/v8.0.1...v8.1.0) ##### Bug Fixes - **cli:** fix default dimensions, prettier & svgo ([571d5c8](https://togithub.com/gregberge/svgr/commit/571d5c8bd18bc13c12eeb27a9052fa065aeb012e)) - **config:** prefer cli config over rc config ([#​845](https://togithub.com/gregberge/svgr/issues/845)) ([8b97248](https://togithub.com/gregberge/svgr/commit/8b972484266c45c7f8e4acce4fe2930a024fb4bc)) - **react-native:** fix duplicate import ([#​894](https://togithub.com/gregberge/svgr/issues/894)) ([e612b6a](https://togithub.com/gregberge/svgr/commit/e612b6a1a4e822178f1e15b82bd2991bf1e84cec)) ##### Features - **esm:** add support for svgo.config.cjs ([#​879](https://togithub.com/gregberge/svgr/issues/879)) ([ae91e2e](https://togithub.com/gregberge/svgr/commit/ae91e2eacbe1156480c96219b993000eb1e7b9bf)) #### [8.0.1](https://togithub.com/gregberge/svgr/compare/v8.0.0...v8.0.1) (2023-05-09) ##### Bug Fixes - fix peer dependencies ([2e05255](https://togithub.com/gregberge/svgr/commit/2e0525546eb21aa4bb790aa4284f4fe34f96d6b9)) ### [`v8.0.1`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#801-2023-05-09) [Compare Source](https://togithub.com/gregberge/svgr/compare/v8.0.0...v8.0.1) ##### Bug Fixes - fix peer dependencies ([2e05255](https://togithub.com/gregberge/svgr/commit/2e0525546eb21aa4bb790aa4284f4fe34f96d6b9)) ### [`v8.0.0`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#800-2023-05-09) [Compare Source](https://togithub.com/gregberge/svgr/compare/v7.0.0...v8.0.0) ##### Bug Fixes - parseObject error causes website broken ([05f2946](https://togithub.com/gregberge/svgr/commit/05f2946d90b194eac17d51ca0562d13e9ed0c995)) ##### Features - add snake_case filename option ([#​857](https://togithub.com/gregberge/svgr/issues/857)) ([428b0c7](https://togithub.com/gregberge/svgr/commit/428b0c7f4c5205bb67ae3e9e7c7e819ec3fc03ba)) - make index template more flexible ([#​861](https://togithub.com/gregberge/svgr/issues/861)) ([003009c](https://togithub.com/gregberge/svgr/commit/003009c7b234cfe66686b629d3251edb8d46c759)) - **types:** change `SVGProps` from import to import type ([#​853](https://togithub.com/gregberge/svgr/issues/853)) ([095f021](https://togithub.com/gregberge/svgr/commit/095f0216288ccb5b96a75f154fe3aead074bfa99)) ##### BREAKING CHANGES - index template now receives an array of objects containing both the created component path (`path`) and the original SVG path (`originalPath`) ### [`v7.0.0`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#700-2023-03-24) [Compare Source](https://togithub.com/gregberge/svgr/compare/v6.5.1...v7.0.0) ##### Features - allow specifying `jsxRuntimeImport` in config ([86bb86f](https://togithub.com/gregberge/svgr/commit/86bb86f47748618f729742e56199355d9c0bc518)), closes [#​801](https://togithub.com/gregberge/svgr/issues/801) [#​801](https://togithub.com/gregberge/svgr/issues/801) - remove [@​svgr/plugin-jsx](https://togithub.com/svgr/plugin-jsx) from core ([a0f078d](https://togithub.com/gregberge/svgr/commit/a0f078db13936800a32c14ade08b670a14b5a886)) - upgrade to svgo v3 ([#​798](https://togithub.com/gregberge/svgr/issues/798)) ([21b6209](https://togithub.com/gregberge/svgr/commit/21b6209ef34c51cc0313901f31061afe587ab29b)) ##### BREAKING CHANGES - plugin-jsx is no longer included by default in core - svgr now requires Node.js v14+ #### [6.5.1](https://togithub.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) ##### Reverts - Revert "feat(a11y): add attribute role="img" to the svg element ([#​750](https://togithub.com/gregberge/svgr/issues/750))" ([1382232](https://togithub.com/gregberge/svgr/commit/138223284ad9aebc5bbf94ed3ae7174a66dbc7f5)), closes [#​750](https://togithub.com/gregberge/svgr/issues/750) ### [`v6.5.1`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#651-2022-10-27) [Compare Source](https://togithub.com/gregberge/svgr/compare/v6.5.0...v6.5.1) ##### Reverts - Revert "feat(a11y): add attribute role="img" to the svg element ([#​750](https://togithub.com/gregberge/svgr/issues/750))" ([1382232](https://togithub.com/gregberge/svgr/commit/138223284ad9aebc5bbf94ed3ae7174a66dbc7f5)), closes [#​750](https://togithub.com/gregberge/svgr/issues/750) ### [`v6.5.0`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#650-2022-10-14) [Compare Source](https://togithub.com/gregberge/svgr/compare/v6.4.0...v6.5.0) ##### Bug Fixes - fix Yarn peer dependency warning from [@​babel/core](https://togithub.com/babel/core) ([#​786](https://togithub.com/gregberge/svgr/issues/786)) ([db35837](https://togithub.com/gregberge/svgr/commit/db3583751474997dd72a0209ca61daddbac16c46)), closes [#​785](https://togithub.com/gregberge/svgr/issues/785) ##### Features - **babel-preset:** fix 'role' attribute on svg element for react native ([#​787](https://togithub.com/gregberge/svgr/issues/787)) ([35d85e0](https://togithub.com/gregberge/svgr/commit/35d85e069ebfef1b26ba181f443d9377a7bc003e)) ### [`v6.4.0`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#640-2022-10-01) [Compare Source](https://togithub.com/gregberge/svgr/compare/v6.3.1...v6.4.0) ##### Bug Fixes - **deps:** add babel-preset to core dependencies ([#​782](https://togithub.com/gregberge/svgr/issues/782)) ([464ec5f](https://togithub.com/gregberge/svgr/commit/464ec5fe81c6ba98be5a26923f3ad19fc2ef7fc6)) ##### Features - **a11y:** add attribute role="img" to the svg element ([#​750](https://togithub.com/gregberge/svgr/issues/750)) ([8b9edc4](https://togithub.com/gregberge/svgr/commit/8b9edc4e712f3adbd9f9c503dfc5e4d627f763cd)) - support spaces in file names ([#​779](https://togithub.com/gregberge/svgr/issues/779)) ([6ee639a](https://togithub.com/gregberge/svgr/commit/6ee639a039a0001d3b97fef024f2bd0c3e107182)) #### [6.3.1](https://togithub.com/gregberge/svgr/compare/v6.3.0...v6.3.1) (2022-07-22) ##### Bug Fixes - fix duplicate plugin/preset detected error ([#​747](https://togithub.com/gregberge/svgr/issues/747)) ([3c6a54c](https://togithub.com/gregberge/svgr/commit/3c6a54c494bb8ff15f332ff2d44e9f6465a6c19a)), closes [#​746](https://togithub.com/gregberge/svgr/issues/746) - fix exports compat with ESM ([#​749](https://togithub.com/gregberge/svgr/issues/749)) ([f3e304c](https://togithub.com/gregberge/svgr/commit/f3e304c166282f042ecd4d6c396a0798a7f0b490)) ### [`v6.3.1`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#631-2022-07-22) [Compare Source](https://togithub.com/gregberge/svgr/compare/v6.3.0...v6.3.1) ##### Bug Fixes - fix duplicate plugin/preset detected error ([#​747](https://togithub.com/gregberge/svgr/issues/747)) ([3c6a54c](https://togithub.com/gregberge/svgr/commit/3c6a54c494bb8ff15f332ff2d44e9f6465a6c19a)), closes [#​746](https://togithub.com/gregberge/svgr/issues/746) - fix exports compat with ESM ([#​749](https://togithub.com/gregberge/svgr/issues/749)) ([f3e304c](https://togithub.com/gregberge/svgr/commit/f3e304c166282f042ecd4d6c396a0798a7f0b490)) ### [`v6.3.0`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#630-2022-07-18) [Compare Source](https://togithub.com/gregberge/svgr/compare/v6.2.1...v6.3.0) ##### Bug Fixes - **core:** types field in package.json ([#​693](https://togithub.com/gregberge/svgr/issues/693)) ([a491ace](https://togithub.com/gregberge/svgr/commit/a491acee1b3fbe1cae304dbc399193cdb2148e1d)) - **package.json:** fix exports ([#​745](https://togithub.com/gregberge/svgr/issues/745)) ([2a368d1](https://togithub.com/gregberge/svgr/commit/2a368d1305949ec6426c7c7312c04224071ec2bd)) ##### Features - add descProp option ([#​729](https://togithub.com/gregberge/svgr/issues/729)) ([a0637d4](https://togithub.com/gregberge/svgr/commit/a0637d49b60243bbae461f7b96dab9b47cd82d8f)) - **cli:** output file name when error happen to handling a file ([#​702](https://togithub.com/gregberge/svgr/issues/702)) ([0ec1fbd](https://togithub.com/gregberge/svgr/commit/0ec1fbd0bf1e020ecd8f53fba38d7e53d2462b27)) #### [6.2.1](https://togithub.com/gregberge/svgr/compare/v6.2.0...v6.2.1) (2022-01-30) ##### Bug Fixes - do not transform mask-type ([#​673](https://togithub.com/gregberge/svgr/issues/673)) ([6e58f2c](https://togithub.com/gregberge/svgr/commit/6e58f2cb456bf5fbfa011ab8f8154333c0724e34)), closes [#​643](https://togithub.com/gregberge/svgr/issues/643) - use .ts extension for generated index ([#​670](https://togithub.com/gregberge/svgr/issues/670)) ([d19abe2](https://togithub.com/gregberge/svgr/commit/d19abe207013f4e880a78f236e9f75b0151258da)), closes [#​462](https://togithub.com/gregberge/svgr/issues/462) ### [`v6.2.1`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#621-2022-01-30) [Compare Source](https://togithub.com/gregberge/svgr/compare/v6.2.0...v6.2.1) ##### Bug Fixes - do not transform mask-type ([#​673](https://togithub.com/gregberge/svgr/issues/673)) ([6e58f2c](https://togithub.com/gregberge/svgr/commit/6e58f2cb456bf5fbfa011ab8f8154333c0724e34)), closes [#​643](https://togithub.com/gregberge/svgr/issues/643) - use .ts extension for generated index ([#​670](https://togithub.com/gregberge/svgr/issues/670)) ([d19abe2](https://togithub.com/gregberge/svgr/commit/d19abe207013f4e880a78f236e9f75b0151258da)), closes [#​462](https://togithub.com/gregberge/svgr/issues/462) ### [`v6.2.0`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#620-2022-01-10) [Compare Source](https://togithub.com/gregberge/svgr/compare/v6.1.2...v6.2.0) ##### Bug Fixes - **cli:** pass in parser to prettier format to avoid deprecation warning ([#​662](https://togithub.com/gregberge/svgr/issues/662)) ([74fa3ae](https://togithub.com/gregberge/svgr/commit/74fa3aed2944b63797a6e0e786acd1b51f86550a)) - **plugin-svgo:** handle potential errors from optimize ([#​663](https://togithub.com/gregberge/svgr/issues/663)) ([7582d31](https://togithub.com/gregberge/svgr/commit/7582d3130e5b6eb0f962e283f956a84552f839a6)) ##### Features - support comments in templates ([#​661](https://togithub.com/gregberge/svgr/issues/661)) ([9afb590](https://togithub.com/gregberge/svgr/commit/9afb590d1094793fca797449fb7017da9fa06b4e)) #### [6.1.2](https://togithub.com/gregberge/svgr/compare/v6.1.1...v6.1.2) (2021-12-12) ##### Bug Fixes - **rollup:** missing dep & missing map return ([#​652](https://togithub.com/gregberge/svgr/issues/652)) ([12627fc](https://togithub.com/gregberge/svgr/commit/12627fcd91a425361e1fbe825a6668ce9a8b4f3b)) - specify valid peer deps ([45a76ed](https://togithub.com/gregberge/svgr/commit/45a76ed5f7d433e549c8513c0fdab08eb6c7bc2c)) #### [6.1.1](https://togithub.com/gregberge/svgr/compare/v6.1.0...v6.1.1) (2021-12-04) ##### Bug Fixes - **webpack:** fix double export ([#​648](https://togithub.com/gregberge/svgr/issues/648)) ([7595d37](https://togithub.com/gregberge/svgr/commit/7595d378b73d4826a4cead165b3f32386b07315b)), closes [#​645](https://togithub.com/gregberge/svgr/issues/645) ### [`v6.1.2`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#612-2021-12-12) [Compare Source](https://togithub.com/gregberge/svgr/compare/v6.1.1...v6.1.2) ##### Bug Fixes - **rollup:** missing dep & missing map return ([#​652](https://togithub.com/gregberge/svgr/issues/652)) ([12627fc](https://togithub.com/gregberge/svgr/commit/12627fcd91a425361e1fbe825a6668ce9a8b4f3b)) - specify valid peer deps ([45a76ed](https://togithub.com/gregberge/svgr/commit/45a76ed5f7d433e549c8513c0fdab08eb6c7bc2c)) ### [`v6.1.1`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#611-2021-12-04) [Compare Source](https://togithub.com/gregberge/svgr/compare/v6.1.0...v6.1.1) ##### Bug Fixes - **webpack:** fix double export ([#​648](https://togithub.com/gregberge/svgr/issues/648)) ([7595d37](https://togithub.com/gregberge/svgr/commit/7595d378b73d4826a4cead165b3f32386b07315b)), closes [#​645](https://togithub.com/gregberge/svgr/issues/645) ### [`v6.1.0`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#610-2021-12-01) [Compare Source](https://togithub.com/gregberge/svgr/compare/v6.0.0...v6.1.0) ##### Bug Fixes - fix previous export system ([1872829](https://togithub.com/gregberge/svgr/commit/187282977af841cd5a2243a23abba72b20eec2fa)), closes [#​635](https://togithub.com/gregberge/svgr/issues/635) ##### Features - **native:** automatically convert inline style in native ([138c493](https://togithub.com/gregberge/svgr/commit/138c493b2ae0c5c1cef488cf9ff7f94827dc2aa5)), closes [#​588](https://togithub.com/gregberge/svgr/issues/588) ##### Performance Improvements - remove useless loader-utils package ([387bc72](https://togithub.com/gregberge/svgr/commit/387bc727a4e07c2668544e3f5afbefe29a3de909)), closes [#​631](https://togithub.com/gregberge/svgr/issues/631) ### [`v6.0.0`](https://togithub.com/gregberge/svgr/releases/tag/v6.0.0) [Compare Source](https://togithub.com/gregberge/svgr/compare/v5.5.0...v6.0.0) SVGR v6 uses SVGO v2 under the hood and includes tons of improvement. It also contains small breaking changes. In most cases you will have nothing to change. **But be sure to check the [migration guide](https://react-svgr.com/docs/migrate/).** ##### Bug Fixes - fix XML entities in generated JavaScript ([#​553](https://togithub.com/gregberge/svgr/issues/553)) ([b3998eb](https://togithub.com/gregberge/svgr/commit/b3998eb)) - formatExportName for single names ([#​548](https://togithub.com/gregberge/svgr/issues/548)) ([5decc94](https://togithub.com/gregberge/svgr/commit/5decc94)) - **template:** make it possible to use type in template ([#​619](https://togithub.com/gregberge/svgr/issues/619)) ([5966714](https://togithub.com/gregberge/svgr/commit/5966714)), closes [#​556](https://togithub.com/gregberge/svgr/issues/556) - **webpack:** fix webpack 5 behaviour with url-loader ([1a8cc98](https://togithub.com/gregberge/svgr/commit/1a8cc98)) ##### Features - add option to explicitly use named export ([#​584](https://togithub.com/gregberge/svgr/issues/584)) ([f18ea80](https://togithub.com/gregberge/svgr/commit/f18ea80)) - add TypeScript declarations to `[@svgr](https://togithub.com/svgr)/core` ([#​555](https://togithub.com/gregberge/svgr/issues/555)) ([681303a](https://togithub.com/gregberge/svgr/commit/681303a)) - add webpack typescript preset configuration ([#​573](https://togithub.com/gregberge/svgr/issues/573)) ([16072d4](https://togithub.com/gregberge/svgr/commit/16072d4)) - upgrade to svgo v2 ([1f107af](https://togithub.com/gregberge/svgr/commit/1f107af)) - **typescript:** types everything ([#​611](https://togithub.com/gregberge/svgr/issues/611)) ([1666432](https://togithub.com/gregberge/svgr/commit/1666432)) - add "index" option ([#​607](https://togithub.com/gregberge/svgr/issues/607)) ([4978610](https://togithub.com/gregberge/svgr/commit/4978610)) - **cli:** allow all CLI options in config ([#​615](https://togithub.com/gregberge/svgr/issues/615)) ([aa9feb2](https://togithub.com/gregberge/svgr/commit/aa9feb2)), closes [#​570](https://togithub.com/gregberge/svgr/issues/570) - support jsxRuntime ([#​613](https://togithub.com/gregberge/svgr/issues/613)) ([3700aba](https://togithub.com/gregberge/svgr/commit/3700aba)) - support mask-type property ([#​621](https://togithub.com/gregberge/svgr/issues/621)) ([a857bb1](https://togithub.com/gregberge/svgr/commit/a857bb1)), closes [#​336](https://togithub.com/gregberge/svgr/issues/336) - allow to specify icon size ([3c0b779](https://togithub.com/gregberge/svgr/commit/3c0b779)), closes [#​571](https://togithub.com/gregberge/svgr/issues/571) - support CSS variables ([cbdb47f](https://togithub.com/gregberge/svgr/commit/cbdb47f)), closes [#​582](https://togithub.com/gregberge/svgr/issues/582) ##### BREAKING CHANGES - Config format of SVGO changes & SVGR does not merge SVGO config - Template has a new format - **core:** [@​svgr/core](https://togithub.com/svgr/core) now exposes { transform } instead of default export - using --icon as latest arg now requires "--"

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.

🔕 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.

netlify[bot] commented 4 months ago

Deploy Preview for developer-platform ready!

Name Link
Latest commit c4b7d4fb6ed9efb4ab4a2e5a8aba346fc8d339a4
Latest deploy log https://app.netlify.com/sites/developer-platform/deploys/667d74a228926a0008e11fe7
Deploy Preview https://deploy-preview-6--developer-platform.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.