mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
71.18k stars 6.41k forks source link

chore(deps): update all patch dependencies (patch) #5391

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@applitools/eyes-cypress 3.42.0 -> 3.42.3 age adoption passing confidence
@cypress/code-coverage 3.12.29 -> 3.12.30 age adoption passing confidence
@types/eslint (source) 8.56.5 -> 8.56.6 age adoption passing confidence
@types/node (source) 20.11.25 -> 20.11.30 age adoption passing confidence
@unocss/reset 0.58.5 -> 0.58.6 age adoption passing confidence
dompurify 3.0.9 -> 3.0.11 age adoption passing confidence
esbuild 0.20.1 -> 0.20.2 age adoption passing confidence
pnpm (source) 8.15.4 -> 8.15.5 age adoption passing confidence
typescript (source) 5.4.2 -> 5.4.3 age adoption passing confidence
unocss 0.58.5 -> 0.58.6 age adoption passing confidence
vite-plugin-pwa 0.19.2 -> 0.19.7 age adoption passing confidence
vitepress (source) 1.0.0-rc.45 -> 1.0.1 age adoption passing confidence

Release Notes

cypress-io/code-coverage (@​cypress/code-coverage) ### [`v3.12.30`](https://togithub.com/cypress-io/code-coverage/releases/tag/v3.12.30) [Compare Source](https://togithub.com/cypress-io/code-coverage/compare/v3.12.29...v3.12.30) ##### Bug Fixes - **deps:** update dependency [@​types/node](https://togithub.com/types/node) to v20.11.28 ([#​795](https://togithub.com/cypress-io/code-coverage/issues/795)) ([032ff66](https://togithub.com/cypress-io/code-coverage/commit/032ff66f36eb726cf1d2c67c1cab84dbcd473d8a)) - **deps:** update react monorepo ([#​796](https://togithub.com/cypress-io/code-coverage/issues/796)) ([61e25f3](https://togithub.com/cypress-io/code-coverage/commit/61e25f34b0c250b1e2aeb3677dc402f88a7c822c))
unocss/unocss (@​unocss/reset) ### [`v0.58.6`](https://togithub.com/unocss/unocss/releases/tag/v0.58.6) [Compare Source](https://togithub.com/unocss/unocss/compare/v0.58.5...v0.58.6) #####    🚀 Features - **core**: - Add option to output the internal layers as CSS Cascade Layers  -  by [@​RebeccaStevens](https://togithub.com/RebeccaStevens) and **Simon He** in [https://github.com/unocss/unocss/issues/3587](https://togithub.com/unocss/unocss/issues/3587) [(b798d)](https://togithub.com/unocss/unocss/commit/b798da02) - **eslint-plugin**: - Add new rule: `enforce-class-compile`  -  by [@​levchak0910](https://togithub.com/levchak0910) and **Jacob Bowdoin** in [https://github.com/unocss/unocss/issues/3505](https://togithub.com/unocss/unocss/issues/3505) and [https://github.com/unocss/unocss/issues/3506](https://togithub.com/unocss/unocss/issues/3506) [(25a93)](https://togithub.com/unocss/unocss/commit/25a938fc) - **preset-mini**: - Support for css property with the theme()  -  by [@​MellowCo](https://togithub.com/MellowCo) in [https://github.com/unocss/unocss/issues/3554](https://togithub.com/unocss/unocss/issues/3554) [(8f57f)](https://togithub.com/unocss/unocss/commit/8f57ff20) - Add popover-open pseudo variant  -  by [@​henrikvilhelmberglund](https://togithub.com/henrikvilhelmberglund) in [https://github.com/unocss/unocss/issues/3619](https://togithub.com/unocss/unocss/issues/3619) [(f3944)](https://togithub.com/unocss/unocss/commit/f3944deb) - Support font-stretch rules  -  by [@​zyyv](https://togithub.com/zyyv) and **Anthony Fu** in [https://github.com/unocss/unocss/issues/3565](https://togithub.com/unocss/unocss/issues/3565) [(ad1bd)](https://togithub.com/unocss/unocss/commit/ad1bd4b3) - Allow shorter syntax for grid-cols utilities  -  by [@​AndrewBogdanovTSS](https://togithub.com/AndrewBogdanovTSS), [@​zyyv](https://togithub.com/zyyv) and [@​antfu](https://togithub.com/antfu) in [https://github.com/unocss/unocss/issues/3533](https://togithub.com/unocss/unocss/issues/3533) and [https://github.com/unocss/unocss/issues/3542](https://togithub.com/unocss/unocss/issues/3542) [(ea68f)](https://togithub.com/unocss/unocss/commit/ea68fff7) #####    🐞 Bug Fixes - Capture group of RESOLVED_ID_RE  -  by [@​RebeccaStevens](https://togithub.com/RebeccaStevens) in [https://github.com/unocss/unocss/issues/3588](https://togithub.com/unocss/unocss/issues/3588) [(09514)](https://togithub.com/unocss/unocss/commit/09514dbb) - Shortcuts will now respect any layer variants give them  -  by [@​RebeccaStevens](https://togithub.com/RebeccaStevens) in [https://github.com/unocss/unocss/issues/3592](https://togithub.com/unocss/unocss/issues/3592) [(2ffbd)](https://togithub.com/unocss/unocss/commit/2ffbd012) - **autocomplete**: - Fix background color autocomplete  -  by [@​jsardev](https://togithub.com/jsardev) in [https://github.com/unocss/unocss/issues/3549](https://togithub.com/unocss/unocss/issues/3549) [(809c5)](https://togithub.com/unocss/unocss/commit/809c592e) - **preset-mini**: - Handle arbitrary gradients correctly  -  by [@​henrikvilhelmberglund](https://togithub.com/henrikvilhelmberglund) in [https://github.com/unocss/unocss/issues/3589](https://togithub.com/unocss/unocss/issues/3589) [(84088)](https://togithub.com/unocss/unocss/commit/84088d87) - Fixed shadow inset not working  -  by [@​lzl0304](https://togithub.com/lzl0304) and [@​antfu](https://togithub.com/antfu) in [https://github.com/unocss/unocss/issues/3612](https://togithub.com/unocss/unocss/issues/3612) [(cc092)](https://togithub.com/unocss/unocss/commit/cc09252a) - **webpack**: - Escape special chars in robust way  -  by [@​xc2](https://togithub.com/xc2) in [https://github.com/unocss/unocss/issues/3570](https://togithub.com/unocss/unocss/issues/3570) [(e1a8c)](https://togithub.com/unocss/unocss/commit/e1a8c5e6) #####     [View changes on GitHub](https://togithub.com/unocss/unocss/compare/v0.58.5...v0.58.6)
cure53/DOMPurify (dompurify) ### [`v3.0.11`](https://togithub.com/cure53/DOMPurify/releases/tag/3.0.11): DOMPurify 3.0.11 [Compare Source](https://togithub.com/cure53/DOMPurify/compare/3.0.10...3.0.11) - Fixed another conditional bypass caused by Processing Instructions, thanks [@​Ry0taK](https://togithub.com/Ry0taK) - Fixed the regex for HTML Custom Element detection, thanks [@​AlekseySolovey3T](https://togithub.com/AlekseySolovey3T) ### [`v3.0.10`](https://togithub.com/cure53/DOMPurify/releases/tag/3.0.10): DOMPurify 3.0.10 [Compare Source](https://togithub.com/cure53/DOMPurify/compare/3.0.9...3.0.10) - Fixed two possible bypasses when sanitizing an XML document and later using it in HTML, thanks [@​Slonser](https://togithub.com/Slonser) - Bumped up some build and test dependencies
evanw/esbuild (esbuild) ### [`v0.20.2`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0202) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.20.1...v0.20.2) - Support TypeScript experimental decorators on `abstract` class fields ([#​3684](https://togithub.com/evanw/esbuild/issues/3684)) With this release, you can now use TypeScript experimental decorators on `abstract` class fields. This was silently compiled incorrectly in esbuild 0.19.7 and below, and was an error from esbuild 0.19.8 to esbuild 0.20.1. Code such as the following should now work correctly: ```ts // Original code const log = (x: any, y: string) => console.log(y) abstract class Foo { @​log abstract foo: string } new class extends Foo { foo = '' } // Old output (with --loader=ts --tsconfig-raw={\"compilerOptions\":{\"experimentalDecorators\":true}}) const log = (x, y) => console.log(y); class Foo { } new class extends Foo { foo = ""; }(); // New output (with --loader=ts --tsconfig-raw={\"compilerOptions\":{\"experimentalDecorators\":true}}) const log = (x, y) => console.log(y); class Foo { } __decorateClass([ log ], Foo.prototype, "foo", 2); new class extends Foo { foo = ""; }(); ``` - JSON loader now preserves `__proto__` properties ([#​3700](https://togithub.com/evanw/esbuild/issues/3700)) Copying JSON source code into a JavaScript file will change its meaning if a JSON object contains the `__proto__` key. A literal `__proto__` property in a JavaScript object literal sets the prototype of the object instead of adding a property named `__proto__`, while a literal `__proto__` property in a JSON object literal just adds a property named `__proto__`. With this release, esbuild will now work around this problem by converting JSON to JavaScript with a computed property key in this case: ```js // Original code import data from 'data:application/json,{"__proto__":{"fail":true}}' if (Object.getPrototypeOf(data)?.fail) throw 'fail' // Old output (with --bundle) (() => { // var json_proto_fail_true_default = { __proto__: { fail: true } }; // entry.js if (Object.getPrototypeOf(json_proto_fail_true_default)?.fail) throw "fail"; })(); // New output (with --bundle) (() => { // var json_proto_fail_true_default = { ["__proto__"]: { fail: true } }; // example.mjs if (Object.getPrototypeOf(json_proto_fail_true_default)?.fail) throw "fail"; })(); ``` - Improve dead code removal of `switch` statements ([#​3659](https://togithub.com/evanw/esbuild/issues/3659)) With this release, esbuild will now remove `switch` statements in branches when minifying if they are known to never be evaluated: ```js // Original code if (true) foo(); else switch (bar) { case 1: baz(); break } // Old output (with --minify) if(1)foo();else switch(bar){case 1:} // New output (with --minify) foo(); ``` - Empty enums should behave like an object literal ([#​3657](https://togithub.com/evanw/esbuild/issues/3657)) TypeScript allows you to create an empty enum and add properties to it at run time. While people usually use an empty object literal for this instead of a TypeScript enum, esbuild's enum transform didn't anticipate this use case and generated `undefined` instead of `{}` for an empty enum. With this release, you can now use an empty enum to generate an empty object literal. ```ts // Original code enum Foo {} // Old output (with --loader=ts) var Foo = /* @​__PURE__ */ ((Foo2) => { })(Foo || {}); // New output (with --loader=ts) var Foo = /* @​__PURE__ */ ((Foo2) => { return Foo2; })(Foo || {}); ``` - Handle Yarn Plug'n'Play edge case with `tsconfig.json` ([#​3698](https://togithub.com/evanw/esbuild/issues/3698)) Previously a `tsconfig.json` file that `extends` another file in a package with an `exports` map failed to work when Yarn's Plug'n'Play resolution was active. This edge case should work now starting with this release. - Work around issues with Deno 1.31+ ([#​3682](https://togithub.com/evanw/esbuild/issues/3682)) Version 0.20.0 of esbuild changed how the esbuild child process is run in esbuild's API for Deno. Previously it used `Deno.run` but that API is being removed in favor of `Deno.Command`. As part of this change, esbuild is now calling the new `unref` function on esbuild's long-lived child process, which is supposed to allow Deno to exit when your code has finished running even though the child process is still around (previously you had to explicitly call esbuild's `stop()` function to terminate the child process for Deno to be able to exit). However, this introduced a problem for Deno's testing API which now fails some tests that use esbuild with `error: Promise resolution is still pending but the event loop has already resolved`. It's unclear to me why this is happening. The call to `unref` was recommended by someone on the Deno core team, and calling Node's equivalent `unref` API has been working fine for esbuild in Node for a long time. It could be that I'm using it incorrectly, or that there's some reference counting and/or garbage collection bug in Deno's internals, or that Deno's `unref` just works differently than Node's `unref`. In any case, it's not good for Deno tests that use esbuild to be failing. In this release, I am removing the call to `unref` to fix this issue. This means that you will now have to call esbuild's `stop()` function to allow Deno to exit, just like you did before esbuild version 0.20.0 when this regression was introduced. Note: This regression wasn't caught earlier because Deno doesn't seem to fail tests that have outstanding `setTimeout` calls, which esbuild's test harness was using to enforce a maximum test runtime. Adding a `setTimeout` was allowing esbuild's Deno tests to succeed. So this regression doesn't necessarily apply to all people using tests in Deno.
pnpm/pnpm (pnpm) ### [`v8.15.5`](https://togithub.com/pnpm/pnpm/compare/v8.15.4...v8.15.5) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.15.4...v8.15.5)
Microsoft/TypeScript (typescript) ### [`v5.4.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.3): TypeScript 5.4.3 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)
vite-pwa/vite-plugin-pwa (vite-plugin-pwa) ### [`v0.19.7`](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.19.6...926251d79f4d70bb589bb5d020f319e7c97cf0f9) [Compare Source](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.19.6...v0.19.7) ### [`v0.19.6`](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.19.5...ce6447074e323f997bac3fb7d016f9102d32b3bd) [Compare Source](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.19.5...v0.19.6) ### [`v0.19.5`](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.19.4...d5c4ed019b0a6b06c400a8b94435ee0bdb569a03) [Compare Source](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.19.4...v0.19.5) ### [`v0.19.4`](https://togithub.com/vite-pwa/vite-plugin-pwa/releases/tag/v0.19.4) [Compare Source](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.19.3...v0.19.4) #####    🐞 Bug Fixes - **dev**: Inject register not working when disabling web manifest  -  by [@​userquin](https://togithub.com/userquin) in [https://github.com/vite-pwa/vite-plugin-pwa/issues/686](https://togithub.com/vite-pwa/vite-plugin-pwa/issues/686) [(293db)](https://togithub.com/vite-pwa/vite-plugin-pwa/commit/293db14) #####     [View changes on GitHub](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.19.3...v0.19.4) ### [`v0.19.3`](https://togithub.com/vite-pwa/vite-plugin-pwa/releases/tag/v0.19.3) [Compare Source](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.19.2...v0.19.3) #####    🐞 Bug Fixes - Pwa assets disabled when using inlined configuration  -  by [@​userquin](https://togithub.com/userquin) in [https://github.com/vite-pwa/vite-plugin-pwa/issues/685](https://togithub.com/vite-pwa/vite-plugin-pwa/issues/685) [(7ffeb)](https://togithub.com/vite-pwa/vite-plugin-pwa/commit/7ffeb44) #####     [View changes on GitHub](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.19.2...v0.19.3)
vuejs/vitepress (vitepress) ### [`v1.0.1`](https://togithub.com/vuejs/vitepress/blob/HEAD/CHANGELOG.md#101-2024-03-22) [Compare Source](https://togithub.com/vuejs/vitepress/compare/v1.0.0...v1.0.1) ##### Bug Fixes - **build:** vendor vue-demi to avoid resolution issues with yarn berry ([#​3680](https://togithub.com/vuejs/vitepress/issues/3680)) ([5d3cb96](https://togithub.com/vuejs/vitepress/commit/5d3cb96ac364413aa9eb494bc91744bd8f4a2c79)) ### [`v1.0.0`](https://togithub.com/vuejs/vitepress/blob/HEAD/CHANGELOG.md#100-2024-03-21) [Compare Source](https://togithub.com/vuejs/vitepress/compare/v1.0.0-rc.45...v1.0.0) ##### Bug Fixes - **build:** resolve pattern relative to srcDir instead of root in createContentLoader ([#​3638](https://togithub.com/vuejs/vitepress/issues/3638)) ([59183e9](https://togithub.com/vuejs/vitepress/commit/59183e9cef112a004c8a8e2b365478af657858b0)) - **localSearch:** remove empty titles that may appear in search results ([#​3665](https://togithub.com/vuejs/vitepress/issues/3665)) ([f7aef3c](https://togithub.com/vuejs/vitepress/commit/f7aef3ca23dae39e226c85d7bb2579dbf7c758f3)) - **theme:** fixed sidebar expand caret showing when no children are present ([#​3657](https://togithub.com/vuejs/vitepress/issues/3657)) ([e13f932](https://togithub.com/vuejs/vitepress/commit/e13f93292ce1a2b1d5ba161fddfe947a1824a2b0)) - **theme:** ignore inner-page items in next/prev link ([#​3663](https://togithub.com/vuejs/vitepress/issues/3663)) ([b50a8a1](https://togithub.com/vuejs/vitepress/commit/b50a8a132577693817a15ab43fc4cc22670a8a65)) - **theme:** local nav separator not visible on pages having no outline ([1909041](https://togithub.com/vuejs/vitepress/commit/190904171500ad22998c8666080fd58c867a59b5)) ##### Features - **theme:** allow selectively disabling external link icon on navbar items ([#​3607](https://togithub.com/vuejs/vitepress/issues/3607)) ([5f6297c](https://togithub.com/vuejs/vitepress/commit/5f6297cb3df98926154235f31570e75820d4ea16))

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Mend Renovate. View repository job log here.

netlify[bot] commented 6 months ago

Deploy Preview for mermaid-js failed.

Name Link
Latest commit 0edebc6974fbd2f4bbc5c04785e0bbb9b4bf1d1b
Latest deploy log https://app.netlify.com/sites/mermaid-js/deploys/65fe6a3c3173b60008fda7d7
codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 44.79%. Comparing base (16aa9a3) to head (0edebc6).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5391/graphs/tree.svg?width=650&height=150&src=pr&token=BaET4V1BdM&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js)](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5391?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js) ```diff @@ Coverage Diff @@ ## develop #5391 +/- ## ======================================== Coverage 44.79% 44.79% ======================================== Files 25 25 Lines 5353 5353 Branches 27 27 ======================================== Hits 2398 2398 Misses 2954 2954 Partials 1 1 ``` | [Flag](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5391/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js) | Coverage Δ | | |---|---|---| | [unit](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5391/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js) | `44.79% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#carryforward-flags-in-the-pull-request-comment) to find out more.