Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] develop from mermaid-js:develop #25

Merged
merged 23 commits into from
Jan 25, 2025
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Jan 25, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

Summary by Sourcery

Update dependencies, Vite to 5.4.12, Rollup to 4.32.0, Terser to 5.37.0, PostCSS to 8.5.1, and various other packages. Introduce visual test comment trigger for Argos, allowing visual tests to be run on pull requests via comments.

Build:

  • Update Rollup to 4.32.0.

CI:

  • Add visual test comment trigger to the e2e workflow.

royaljain and others added 23 commits November 29, 2024 16:46
Replaced outdated and lo longer maintained WordPress plugins with actually maintained MerPress Plugin
chore: Add a command to execute visual test
chore(deps): update dependency vite to v5.4.12 [security]
…fact-digest

chore(deps): update actions/upload-artifact digest to ff15f03
…igest

chore(deps): update autofix-ci/action digest to 551dded
Verified that the other hash was infact valid and in the repo, but the scorecard action was not picking it up.
@pull pull bot added the ⤵️ pull label Jan 25, 2025
@pull pull bot merged commit f4e1f07 into Stars1233:develop Jan 25, 2025
Copy link

sourcery-ai bot commented Jan 25, 2025

Reviewer's Guide by Sourcery

This pull request updates the pnpm-lock.yaml file with the latest dependency versions.

Flow diagram of updated GitHub Actions workflow for visual testing

flowchart TD
    A[GitHub Action Trigger] -->|PR or Comment| B{Check Trigger Type}
    B -->|PR| C[Run Normal Tests]
    B -->|'/visual-test' comment| D[Run Visual Tests]
    D --> E[Set Argos & Cypress Env Variables]
    E --> F[Run Cypress Tests]
    F --> G[Upload to Argos]
    C --> H[Upload Coverage]
    G --> H
Loading

File-Level Changes

Change Details Files
Dependency updates
  • Updated @rollup/plugin-typescript version.
  • Updated @vitest/coverage-v8 version.
  • Updated rollup-plugin-visualizer version.
  • Updated vite version.
  • Updated vite-plugin-istanbul version.
  • Updated vitest version.
  • Updated vitepress version.
  • Updated vitepress-plugin-search version.
  • Updated @vite-pwa/vitepress version.
  • Updated @vitejs/plugin-vue version.
  • Updated unocss version.
  • Updated unplugin-vue-components version.
  • Updated vite-plugin-pwa version.
  • Updated @babel/core version.
  • Updated @babel/generator version.
  • Updated @babel/helper-annotate-as-pure version.
  • Updated @babel/helper-compilation-targets version.
  • Updated @babel/helper-create-class-features-plugin version.
  • Updated @babel/helper-create-regexp-features-plugin version.
  • Updated @babel/helper-define-polyfill-provider version.
  • Updated @babel/helper-member-expression-to-functions version.
  • Updated @babel/helper-module-imports version.
  • Updated @babel/helper-module-transforms version.
  • Updated @babel/helper-optimise-call-expression version.
  • Updated @babel/helper-plugin-utils version.
  • Updated @babel/helper-remap-async-to-generator version.
  • Updated @babel/helper-replace-supers version.
  • Updated @babel/helper-skip-transparent-expression-wrappers version.
  • Updated @babel/helper-string-parser version.
  • Updated @babel/helper-validator-identifier version.
  • Updated @babel/helper-validator-option version.
  • Updated @babel/helper-wrap-function version.
  • Updated @babel/helpers version.
  • Updated @babel/parser version.
  • Updated @babel/plugin-bugfix-firefox-class-in-computed-class-key version.
  • Updated @babel/plugin-bugfix-safari-class-field-initializer-scope version.
  • Updated @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression version.
  • Updated @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining version.
  • Updated @babel/plugin-bugfix-v8-static-class-fields-redefine-readonly version.
  • Updated @babel/plugin-syntax-import-assertions version.
  • Updated @babel/plugin-syntax-import-attributes version.
  • Updated @babel/plugin-transform-arrow-functions version.
  • Updated @babel/plugin-transform-async-generator-functions version.
  • Updated @babel/plugin-transform-async-to-generator version.
  • Updated @babel/plugin-transform-block-scoped-functions version.
  • Updated @babel/plugin-transform-block-scoping version.
  • Updated @babel/plugin-transform-class-properties version.
  • Updated @babel/plugin-transform-class-static-block version.
  • Updated @babel/plugin-transform-classes version.
  • Updated @babel/plugin-transform-computed-properties version.
  • Updated @babel/plugin-transform-destructuring version.
  • Updated @babel/plugin-transform-dotall-regex version.
  • Updated @babel/plugin-transform-duplicate-keys version.
  • Updated @babel/plugin-transform-duplicate-named-capturing-groups-regex version.
  • Updated @babel/plugin-transform-dynamic-import version.
  • Updated @babel/plugin-transform-exponentiation-operator version.
  • Updated @babel/plugin-transform-export-namespace-from version.
  • Updated @babel/plugin-transform-for-of version.
  • Updated @babel/plugin-transform-function-name version.
  • Updated @babel/plugin-transform-json-strings version.
  • Updated @babel/plugin-transform-literals version.
  • Updated @babel/plugin-transform-logical-assignment-operators version.
  • Updated @babel/plugin-transform-member-expression-literals version.
  • Updated @babel/plugin-transform-modules-amd version.
  • Updated @babel/plugin-transform-modules-commonjs version.
  • Updated @babel/plugin-transform-modules-systemjs version.
  • Updated @babel/plugin-transform-modules-umd version.
  • Updated @babel/plugin-transform-named-capturing-groups-regex version.
  • Updated @babel/plugin-transform-new-target version.
  • Updated @babel/plugin-transform-nullish-coalescing-operator version.
  • Updated @babel/plugin-transform-numeric-separator version.
  • Updated @babel/plugin-transform-object-rest-spread version.
  • Updated @babel/plugin-transform-object-super version.
  • Updated @babel/plugin-transform-optional-catch-binding version.
  • Updated @babel/plugin-transform-optional-chaining version.
  • Updated @babel/plugin-transform-parameters version.
  • Updated @babel/plugin-transform-private-methods version.
  • Updated @babel/plugin-transform-private-property-in-object version.
  • Updated @babel/plugin-transform-property-literals version.
  • Updated @babel/plugin-transform-regenerator version.
  • Updated @babel/plugin-transform-regexp-modifiers version.
  • Updated @babel/plugin-transform-reserved-words version.
  • Updated @babel/plugin-transform-shorthand-properties version.
  • Updated @babel/plugin-transform-spread version.
  • Updated @babel/plugin-transform-sticky-regex version.
  • Updated @babel/plugin-transform-template-literals version.
  • Updated @babel/plugin-transform-typeof-symbol version.
  • Updated @babel/plugin-transform-unicode-escapes version.
  • Updated @babel/plugin-transform-unicode-property-regex version.
  • Updated @babel/plugin-transform-unicode-regex version.
  • Updated @babel/plugin-transform-unicode-sets-regex version.
  • Updated @babel/preset-env version.
  • Updated @babel/runtime version.
  • Updated @babel/template version.
  • Updated @babel/traverse version.
  • Updated @babel/types version.
  • Updated arraybuffer.prototype.slice version.
  • Updated browserslist version.
  • Updated core-js-compat version.
  • Updated data-view-buffer version.
  • Updated data-view-byte-length version.
  • Updated data-view-byte-offset version.
  • Updated es-abstract version.
  • Updated es-set-tostringtag version.
  • Updated es-to-primitive version.
  • Updated function.prototype.name version.
  • Updated get-intrinsic version.
  • Updated get-symbol-description version.
  • Updated gopd version.
  • Updated has-bigints version.
  • Updated has-proto version.
  • Updated has-symbols version.
  • Updated internal-slot version.
  • Updated is-array-buffer version.
  • Updated is-async-function version.
  • Updated is-boolean-object version.
  • Updated is-data-view version.
  • Updated is-date-object version.
  • Updated is-finalizationregistry version.
  • Updated is-generator-function version.
  • Updated is-regex version.
  • Updated is-shared-array-buffer version.
  • Updated is-string version.
  • Updated is-typed-array version.
  • Updated is-weakref version.
  • Updated object-inspect version.
  • Updated object.assign version.
  • Updated own-keys version.
  • Updated regexp.prototype.flags version.
  • Updated safe-array-concat version.
  • Updated safe-regex-test version.
  • Updated set-proto version.
  • Updated side-channel version.
  • Updated side-channel-list version.
  • Updated side-channel-map version.
  • Updated side-channel-weakmap version.
  • Updated string.prototype.matchall version.
  • Updated string.prototype.trim version.
  • Updated string.prototype.trimend version.
  • Updated typed-array-buffer version.
  • Updated typed-array-byte-length version.
  • Updated typed-array-byte-offset version.
  • Updated typed-array-length version.
  • Updated unbox-primitive version.
  • Updated which-boxed-primitive version.
  • Updated which-builtin-type version.
  • Updated which-typed-array version.
  • Updated postcss version.
  • Updated rollup version.
  • Updated terser version.
  • Updated resolve version.
  • Updated @rollup/plugin-node-resolve version.
  • Updated @rollup/pluginutils version.
pnpm-lock.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

coderabbitai bot commented Jan 25, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

codecov bot commented Jan 25, 2025

Codecov Report

Attention: Patch coverage is 0% with 1767 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/mermaid/src/diagrams/flowchart/flowDb.ts 0.00% 992 Missing ⚠️
packages/mermaid/src/diagrams/class/classDb.ts 0.00% 657 Missing ⚠️
...aid/src/rendering-util/rendering-elements/edges.js 0.00% 26 Missing ⚠️
.../rendering-elements/shapes/handDrawnShapeStyles.ts 0.00% 23 Missing ⚠️
packages/mermaid/src/styles.ts 0.00% 22 Missing ⚠️
...ermaid/src/diagrams/flowchart/parser/flowParser.ts 0.00% 12 Missing ⚠️
...ages/mermaid/src/diagrams/flowchart/flowDiagram.ts 0.00% 6 Missing ⚠️
packages/mermaid/src/diagrams/sankey/styles.js 0.00% 6 Missing ⚠️
packages/mermaid/src/diagrams/gantt/styles.js 0.00% 5 Missing ⚠️
packages/mermaid/src/utils.ts 0.00% 5 Missing ⚠️
... and 5 more

Impacted file tree graph

@@            Coverage Diff             @@
##           develop     #25      +/-   ##
==========================================
- Coverage     5.85%   4.47%   -1.39%     
==========================================
  Files          274     384     +110     
  Lines        41112   54179   +13067     
  Branches       488     623     +135     
==========================================
+ Hits          2408    2425      +17     
- Misses       38704   51754   +13050     
Flag Coverage Δ
unit 4.47% <0.00%> (-1.39%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ages/mermaid/src/diagrams/sankey/sankeyRenderer.ts 0.00% <ø> (ø)
...ages/mermaid/src/diagrams/state/stateDiagram-v2.ts 0.00% <ø> (ø)
...ackages/mermaid/src/diagrams/state/stateDiagram.ts 0.00% <ø> (ø)
.../src/diagrams/flowchart/flowRenderer-v3-unified.ts 0.00% <0.00%> (ø)
...kages/mermaid/src/diagrams/sankey/sankeyDiagram.ts 0.00% <0.00%> (ø)
...ckages/mermaid/src/diagrams/user-journey/styles.js 0.00% <0.00%> (ø)
...ages/mermaid/src/diagrams/class/classDiagram-v2.ts 0.00% <0.00%> (ø)
...ackages/mermaid/src/diagrams/class/classDiagram.ts 0.00% <0.00%> (ø)
packages/mermaid/src/diagrams/gantt/styles.js 0.00% <0.00%> (ø)
packages/mermaid/src/utils.ts 41.81% <0.00%> (+0.09%) ⬆️
... and 8 more

... and 125 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants