diff --git a/.changeset/shiny-coats-stay.md b/.changeset/shiny-coats-stay.md new file mode 100644 index 00000000000..6bd8f91982e --- /dev/null +++ b/.changeset/shiny-coats-stay.md @@ -0,0 +1,22 @@ +--- +'@mermaid-js/parser': major +--- + +chore: upgrade to Langium v4 + +Upgrade `@mermaid-js/parser` to use Langium v4, +see https://github.com/eclipse-langium/langium/releases/tag/v4.0.0 +for more details. + +The major breaking changes that impact consumers of this package are: + +- Due to various type-related changes, `langium` now requires version `>= 5.8.0` + of TypeScript. +- The generated type names from `ast.ts` have been moved from `` to + `.$type` + ([langium#1942](https://github.com/eclipse-langium/langium/pull/1942)). + +This also removes a transitive dependency on lodash versions that are vulnerable +to CVE-2025-13465, although +[chevrotain doesn't use the affected functions](https://github.com/Chevrotain/chevrotain/blob/21f20cd9754f8d5e85243fd9286d1fff397363ab/packages/website/docs/changes/CHANGELOG.md?plain=1#L5-L8), +so this is only to silence security scanners. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ece84ac20c6..c6a3d46e82f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,9 @@ jobs: node-version-file: '.node-version' - name: Install Packages - run: pnpm install --frozen-lockfile + run: | + pnpm install --frozen-lockfile + npm install -g npm@11 - name: Create Release Pull Request or Publish to npm id: changesets diff --git a/README.md b/README.md index 3f26a75f202..ccd790d7749 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,10 @@ Generate diagrams from markdown-like text.

-Live Editor! +Live Editor!

- 📖 Documentation | 🚀 Getting Started | 🌐 CDN | 🙌 Join Us + 📖 Documentation | 🚀 Getting Started | 🌐 CDN | 🙌 Join Us

简体中文 diff --git a/docs/ecosystem/integrations-community.md b/docs/ecosystem/integrations-community.md index 6d028ee11c8..2493eef3218 100644 --- a/docs/ecosystem/integrations-community.md +++ b/docs/ecosystem/integrations-community.md @@ -12,7 +12,7 @@ Mermaid Chart is built by the team behind Mermaid JS. -For more details, visit the [Mermaid Chart page](./mermaid-chart.md), or visit the [Mermaid Chart website](https://www.mermaidchart.com) . +For more details, visit the [Mermaid Chart page](./mermaid-chart.md), or visit the [Mermaid Chart website](https://mermaid.ai) . ## Community integrations diff --git a/docs/ecosystem/mermaid-chart.md b/docs/ecosystem/mermaid-chart.md index 1d6a3338740..18c3a5012d7 100644 --- a/docs/ecosystem/mermaid-chart.md +++ b/docs/ecosystem/mermaid-chart.md @@ -8,7 +8,7 @@ The Future of Diagramming & Visual Collaboration -Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an account at [Mermaid Chart](https://www.mermaidchart.com/app/sign-up). +Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an account at [Mermaid Chart](https://mermaid.ai/app/sign-up).
@@ -16,7 +16,7 @@ Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an accoun ## About -[Mermaid Chart](https://www.mermaidchart.com) was born out of the Mermaid open source project and was founded by Knut Sveidqvist together with Open Core Ventures. The lead developers from Mermaid have joined the company and there is a strong connection between the project we all love and Mermaid Chart. Mermaid Chart brings resources to the open source development of Mermaid and makes it possible to work with Mermaid professionally. +[Mermaid Chart](https://mermaid.ai) was born out of the Mermaid open source project and was founded by Knut Sveidqvist together with Open Core Ventures. The lead developers from Mermaid have joined the company and there is a strong connection between the project we all love and Mermaid Chart. Mermaid Chart brings resources to the open source development of Mermaid and makes it possible to work with Mermaid professionally. ## Features @@ -37,7 +37,7 @@ Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an accoun - [Google Docs](https://gsuite.google.com/marketplace/app/mermaidchart/947683068472) - [Microsoft PowerPoint and Word](https://appsource.microsoft.com/en-us/product/office/WA200006214?tab=Overview) - Visit our [Plugins](https://www.mermaidchart.com/plugins) page for more information. + Visit our [Plugins](https://mermaid.ai/plugins) page for more information. - **Collaboration** - A web based collaboration feature for multi-user editing on Mermaid diagrams in real-time (Pro and Enterprise plans). @@ -47,16 +47,18 @@ Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an accoun ## Plans -- **Free** - A free plan that includes six diagrams. +- **Basic** - A free plan that includes three diagrams and limited AI usage. -- **Pro** - A paid plan that includes unlimited diagrams, access to the collaboration feature, and more. +- **Plus** - A paid plan that includes unlimited diagrams, scalable AI usage, and centralized billing for small teams. -- **Enterprise** - A paid plan for enterprise use that includes all Pro features, and more. +- **Premium** - A paid plan for larger teams that need massive AI or diagram usage along with team collaboration, knowledge management, and security features like SSO. -To learn more, visit our [Pricing](https://mermaidchart.com/pricing) page. +- **Enterprise** - A paid plan for enterprise use that includes all Premium features, custom contracts, support, and more. -Mermaid Chart is currently offering a 7-day free trial on our Pro and Enterprise tiers. Sign up for a free account at [Mermaid Chart](https://www.mermaidchart.com/app/sign-up). +To learn more, visit our [Pricing](https://mermaid.ai/pricing) page. + +Sign up for a free account on the [Mermaid](https://mermaid.ai/app/sign-up) website and trial paid features at any time for 7 days free. ## Mermaid JS contributions -First time contributors are eligible for a free Pro tier account for 1 year. +First time contributors are eligible for a free Premium tier account for 1 year. diff --git a/docs/intro/getting-started.md b/docs/intro/getting-started.md index a626d1f538d..ae401b06962 100644 --- a/docs/intro/getting-started.md +++ b/docs/intro/getting-started.md @@ -130,7 +130,7 @@ And, here is the diagram view from the above example: ## 2. Using the Mermaid Chart Editor -Available at the [Mermaid Chart](https://www.mermaidchart.com/) website. +Available at the [Mermaid Chart](https://mermaid.ai/) website. Mermaid Chart is a web-based diagram editor that allows you to create and edit diagrams in your browser. It is built by the team behind Mermaid. @@ -143,7 +143,7 @@ Features include: To learn more, visit the [Mermaid Chart page](/ecosystem/mermaid-chart.html) in the Ecosystem section of the documentation. -Or go to the [Mermaid Chart website](https://www.mermaidchart.com/app/sign-up) to sign up for a Free account. +Or go to the [Mermaid Chart website](https://mermaid.ai/app/sign-up) to sign up for a Free account. ## 3. Using Mermaid Plugins @@ -157,13 +157,13 @@ For a list of Mermaid Plugins and Integrations, visit the [Integrations page](.. Mermaid Chart plugins are available for: -- [ChatGPT](https://docs.mermaidchart.com/plugins/mermaid-chart-gpt) -- [JetBrains IDE](https://docs.mermaidchart.com/plugins/jetbrains-ide) -- [Microsoft PowerPoint](https://docs.mermaidchart.com/plugins/microsoft-powerpoint) -- [Microsoft Word](https://docs.mermaidchart.com/plugins/microsoft-word) -- [Visual Studio Code](https://docs.mermaidchart.com/plugins/visual-studio-code) +- [ChatGPT](https://mermaid.ai/docs/plugins/mermaid-chart-gpt) +- [JetBrains IDE](https://mermaid.ai/docs/plugins/jetbrains-ide) +- [Microsoft PowerPoint](https://mermaid.ai/docs/plugins/microsoft-powerpoint) +- [Microsoft Word](https://mermaid.ai/docs/plugins/microsoft-word) +- [Visual Studio Code](https://mermaid.ai/docs/plugins/visual-studio-code) -To learn more, visit the [Mermaid Chart Plugins](https://www.mermaidchart.com/plugins) page. +To learn more, visit the [Mermaid Chart Plugins](https://mermaid.ai/plugins) page. ### Native Mermaid Support diff --git a/docs/news/announcements.md b/docs/news/announcements.md index e054d2da078..8b170eaa4e0 100644 --- a/docs/news/announcements.md +++ b/docs/news/announcements.md @@ -22,7 +22,7 @@ We're thrilled to announce that Mermaid Chart has successfully raised $7.5 milli We are incredibly excited about the future and are grateful to the community, our team, and our investors for being part of this journey. Together, we're not just creating diagrams; we're designing the future of collaboration. -🌐 Learn more about our groundbreaking tools and what's next for Mermaid Chart by visiting [our website](https://www.mermaidchart.com/blog/posts/mermaid-chart-raises-7.5m-to-reinvent-visual-collaoration-for-enterprises). +🌐 Learn more about our groundbreaking tools and what's next for Mermaid Chart by visiting [our website](https://mermaid.ai/blog/posts/mermaid-chart-raises-7.5m-to-reinvent-visual-collaoration-for-enterprises). Thank you for being part of our story. Here's to creating, innovating, and collaborating on a global scale! @@ -35,12 +35,12 @@ The Mermaid Chart team is excited to introduce a new Visual Editor for Flowchart Learn more: - Visual Editor For Flowcharts - - [Blog post](https://www.mermaidchart.com/blog/posts/mermaid-chart-releases-new-visual-editor-for-flowcharts) + - [Blog post](https://mermaid.ai/blog/posts/mermaid-chart-releases-new-visual-editor-for-flowcharts) - [Demo video](https://www.youtube.com/watch?v=5aja0gijoO0) - Visual Editor For Sequence diagrams - - [Blog post](https://www.mermaidchart.com/blog/posts/mermaid-chart-unveils-visual-editor-for-sequence-diagrams) + - [Blog post](https://mermaid.ai/blog/posts/mermaid-chart-unveils-visual-editor-for-sequence-diagrams) - [Demo video](https://youtu.be/imc2u5_N6Dc) diff --git a/docs/news/blog.md b/docs/news/blog.md index ea298aa5171..04ee5bf0672 100644 --- a/docs/news/blog.md +++ b/docs/news/blog.md @@ -6,337 +6,337 @@ # Blog -## [The Essential Guide to Mermaid Chart Plugin for VS Code \[08/2025\]](https://docs.mermaidchart.com/blog/posts/the-essential-guide-to-mermaid-chart-plugin-for-vs-code-08-2025) +## [The Essential Guide to Mermaid Chart Plugin for VS Code \[08/2025\]](https://mermaid.ai/blog/posts/the-essential-guide-to-mermaid-chart-plugin-for-vs-code-08-2025) 9/9/2025 • 5 mins Creating diagrams in VS Code has never been easier—the Mermaid VS Code plugin transforms text-based syntax into clear, professional visuals right inside your editor. With live previews, smart editing, and AI-powered diagram generation, it removes the friction from visualization so you can focus on coding. -## [How to Create Perfect Flowcharts Using AI in 2025 Step-by-Step Guide](https://docs.mermaidchart.com/blog/posts/how-to-create-perfect-flowcharts-using-ai-in-2025-step-by-step-guide) +## [How to Create Perfect Flowcharts Using AI in 2025 Step-by-Step Guide](https://mermaid.ai/blog/posts/how-to-create-perfect-flowcharts-using-ai-in-2025-step-by-step-guide) 7/22/2025 • 8 mins In 2025, AI tools make creating flowcharts faster and easier than ever. With Mermaid’s AI flowchart generator, you can turn plain text into clear, accurate diagrams in seconds. This guide walks through how it works and how to get the most out of it for technical and business workflows alike. -## [Mermaid introduces the Visual Editor for Entity Relationship diagrams](https://docs.mermaidchart.com/blog/posts/mermaid-introduces-the-visual-editor-for-entity-relationship-diagrams) +## [Mermaid introduces the Visual Editor for Entity Relationship diagrams](https://mermaid.ai/blog/posts/mermaid-introduces-the-visual-editor-for-entity-relationship-diagrams) 7/15/2025 • 7 mins Mermaid just introduced a Visual Editor for Entity Relationship diagrams, letting anyone map database structures through a simple point-and-click interface instead of code. This no-code ER builder now sits alongside Mermaid’s editors for flowcharts, sequence, and class diagrams, enabling teams to craft and share polished data models for apps, AI, and business processes. -## [Mermaid supports Treemap Diagrams now!!!](https://docs.mermaidchart.com/blog/posts/mermaid-have-treemap-diagrams-now) +## [Mermaid supports Treemap Diagrams now!!!](https://mermaid.ai/blog/posts/mermaid-have-treemap-diagrams-now) 7/3/2025 • 4 mins Mermaid has introduced Treemap diagrams, currently in beta, enhancing hierarchical data visualization. Treemap diagrams use nested rectangles to represent data relationships, focusing on size and proportions. They offer various applications, including budget visualization and market analysis. With simple syntax and customization options, users can effectively present complex data hierarchies. -## [AI Diagram Generators and Data Visualization: Best Practices](https://docs.mermaidchart.com/blog/posts/ai-diagram-generators-and-data-visualization-best-practices) +## [AI Diagram Generators and Data Visualization: Best Practices](https://mermaid.ai/blog/posts/ai-diagram-generators-and-data-visualization-best-practices) 7/2/2025 • 6 mins AI diagram generators transform complex data into clear, interactive visuals – enabling faster analysis, better decisions, and stronger collaboration across teams. By combining automation with manual refinement, these tools empower anyone to communicate insights effectively, regardless of technical skill level. -## [How to Choose the Best AI Diagram Generator for Your Needs (2025)](https://docs.mermaidchart.com/blog/posts/how-to-choose-the-best-ai-diagram-generator-for-your-needs-2025) +## [How to Choose the Best AI Diagram Generator for Your Needs (2025)](https://mermaid.ai/blog/posts/how-to-choose-the-best-ai-diagram-generator-for-your-needs-2025) 6/26/2025 • 14 mins AI diagram generators are transforming how developers visualize and communicate complex systems, reducing hours of manual work into minutes. With tools like Mermaid AI, users benefit from both code-based and visual editing, enabling seamless collaboration and precision. Whether you’re diagramming workflows, software architecture, or data relationships, the right AI tool can significantly boost productivity and streamline communication. -## [5 Time-Saving Tips for Using Mermaid’s AI Diagram Generator Effectively](https://docs.mermaidchart.com/blog/posts/5-time-saving-tips-for-using-mermaids-ai-diagram-generator-effectively) +## [5 Time-Saving Tips for Using Mermaid’s AI Diagram Generator Effectively](https://mermaid.ai/blog/posts/5-time-saving-tips-for-using-mermaids-ai-diagram-generator-effectively) 6/11/2025 • 10 mins See how developers can save time and boost productivity using Mermaid Chart’s AI diagram generator. Learn five practical tips that help turn plain language into powerful, professional diagrams. -## [Enhancing Team Collaboration with AI-Powered Diagrams](https://docs.mermaidchart.com/blog/posts/enhancing-team-collaboration-with-ai-powered-diagrams) +## [Enhancing Team Collaboration with AI-Powered Diagrams](https://mermaid.ai/blog/posts/enhancing-team-collaboration-with-ai-powered-diagrams) 5/27/2025 • 6 mins Software teams move fast, but old-school diagramming tools can’t keep up. Mermaid Chart replaces static slides and whiteboards with real-time, AI-generated visuals that evolve with your code and ideas. Just describe a process in plain English, and watch it come to life. -## [What is an AI Diagram Generator? Benefits and Use Cases](https://docs.mermaidchart.com/blog/posts/what-is-an-ai-diagram-generator-benefits-and-use-cases) +## [What is an AI Diagram Generator? Benefits and Use Cases](https://mermaid.ai/blog/posts/what-is-an-ai-diagram-generator-benefits-and-use-cases) 5/22/2025 • 6 mins Discover how AI diagram generators like Mermaid Chart transform developer workflows. Instantly turn text into flowcharts, ERDs, and system diagrams, no manual drag-and-drop needed. Learn how it works, key benefits, and real-world use cases. -## [How to Use Mermaid Chart as an AI Diagram Generator for Developers](https://docs.mermaidchart.com/blog/posts/how-to-use-mermaid-chart-as-an-ai-diagram-generator) +## [How to Use Mermaid Chart as an AI Diagram Generator for Developers](https://mermaid.ai/blog/posts/how-to-use-mermaid-chart-as-an-ai-diagram-generator) 5/21/2025 • 9 mins Would an AI diagram generator make your life easier? We think it would! -## [Mermaid Chart VS Code Plugin: Create and Edit Mermaid.js Diagrams in Visual Studio Code](https://docs.mermaidchart.com/blog/posts/mermaid-chart-vs-code-plugin-create-and-edit-mermaid-js-diagrams-in-visual-studio-code) +## [Mermaid Chart VS Code Plugin: Create and Edit Mermaid.js Diagrams in Visual Studio Code](https://mermaid.ai/blog/posts/mermaid-chart-vs-code-plugin-create-and-edit-mermaid-js-diagrams-in-visual-studio-code) 3/21/2025 • 5 mins The Mermaid Chart VS Code Plugin is a powerful developer diagramming tool that brings Mermaid.js diagramming directly into your Visual Studio Code environment. Whether you’re visualizing software architecture, documenting API flows, fixing bad documentation, or managing flowcharts and sequence diagrams, this plugin integrates seamlessly into your workflow. Key Features of the Mermaid Chart VS Code \[…] -## [Mermaid Chart: The Evolution of Mermaid](https://docs.mermaidchart.com/blog/posts/mermaid-chart-the-evolution-of-mermaid) +## [Mermaid Chart: The Evolution of Mermaid](https://mermaid.ai/blog/posts/mermaid-chart-the-evolution-of-mermaid) 1/30/2025 • 3 mins Mermaid revolutionized diagramming with its simple, markdown-style syntax, empowering millions of developers worldwide. Now, Mermaid Chart takes it further with AI-powered visuals, a GUI for seamless editing, real-time collaboration, and advanced design tools. Experience the next generation of diagramming—faster, smarter, and built for modern teams. Try Mermaid Chart today! -## [GUI for editing Mermaid Class Diagrams](https://docs.mermaidchart.com/blog/posts/gui-for-editing-mermaid-class-diagrams) +## [GUI for editing Mermaid Class Diagrams](https://mermaid.ai/blog/posts/gui-for-editing-mermaid-class-diagrams) 1/17/2025 • 5 mins Discover how the latest update to the Mermaid Visual Editor transforms class diagramming. With new intuitive tools for creating and editing diagrams, dynamic relationship management, and customizable layouts, this feature-packed enhancement streamlines your diagramming experience like never before. -## [7 ER Diagram Examples For Database Modeling from Mermaid AI](https://docs.mermaidchart.com/blog/posts/7-er-diagram-examples-for-database-modeling-from-mermaid-ai) +## [7 ER Diagram Examples For Database Modeling from Mermaid AI](https://mermaid.ai/blog/posts/7-er-diagram-examples-for-database-modeling-from-mermaid-ai) 1/16/2025 • 6 mins Entity relationship (ER) diagrams are a cornerstone of database design, providing a blueprint for modeling your database and enabling clear communication across functions in your organization. As data volumes continue to soar and as AI models demand clean, well-organized data, ER diagrams have become more vital than ever. You can now quickly build ER diagrams with Mermaid Chart, Mermaid AI to kick-start and fine tune your diagrams . From e-commerce payment flows to social media interactions and healthcare systems, ER diagrams are powering modern, data-driven environments. -## [Mermaid Whiteboard: Visual Collaboration Made Universal](https://docs.mermaidchart.com/blog/posts/mermaid-whiteboard-visual-collaboration-made-universal) +## [Mermaid Whiteboard: Visual Collaboration Made Universal](https://mermaid.ai/blog/posts/mermaid-whiteboard-visual-collaboration-made-universal) 12/6/2024 • 2 mins The Mermaid Whiteboard combines Mermaid syntax with a drag-and-drop interface, making it easier for teams to create, edit, and refine diagrams together. Whether you prefer working with code, visuals, Mermaid AI or all three, this tool adapts to your needs while keeping everything tied to Mermaid’s syntax. Key Features 1. Dual-Mode Editing Switch seamlessly between \[…] -## [Mermaid 11.4 is out: New Features and Kanban Diagramming](https://www.mermaidchart.com/blog/posts/mermaid-11-4-is-out-new-features-and-kanban-diagramming) +## [Mermaid 11.4 is out: New Features and Kanban Diagramming](https://mermaid.ai/blog/posts/mermaid-11-4-is-out-new-features-and-kanban-diagramming) October 31, 2024 · 2 mins Mermaid 11.4 brings enhanced functionality with the introduction of Kanban diagrams, allowing users to create visual workflows with status columns and task details. -## [How To Build an ER Diagram with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-build-an-er-diagram-with-mermaid-chart) +## [How To Build an ER Diagram with Mermaid Chart](https://mermaid.ai/blog/posts/how-to-build-an-er-diagram-with-mermaid-chart) October 24, 2024 · 4 mins An entity relationship (ER) diagram acts like a blueprint for your database. This makes ER diagrams effective tools for anyone dealing with complex databases, data modeling, and AI model training. -## [Expanding the Horizons of Mermaid Flowcharts: Introducing 30 New Shapes!](https://www.mermaidchart.com/blog/posts/new-mermaid-flowchart-shapes/) +## [Expanding the Horizons of Mermaid Flowcharts: Introducing 30 New Shapes!](https://mermaid.ai/blog/posts/new-mermaid-flowchart-shapes/) 24 September 2024 · 5 mins Discover 30 new shapes in Mermaid flowcharts, offering enhanced clarity, customization, and versatility for more dynamic and expressive visualizations. -## [Introducing Architecture Diagrams in Mermaid](https://www.mermaidchart.com/blog/posts/mermaid-supports-architecture-diagrams/) +## [Introducing Architecture Diagrams in Mermaid](https://mermaid.ai/blog/posts/mermaid-supports-architecture-diagrams/) 2 September 2024 · 2 mins Discover the fresh new and unique Neo and Hand-Drawn looks for Mermaid Diagrams, while still offering the classic look you love. -## [Mermaid v11 is out!](https://www.mermaidchart.com/blog/posts/mermaid-v11/) +## [Mermaid v11 is out!](https://mermaid.ai/blog/posts/mermaid-v11/) 23 August 2024 · 2 mins Mermaid v11 introduces advanced layout options, new diagram types, and enhanced customization features, thanks to the incredible contributions from our community. -## [Mermaid Innovation - Introducing New Looks for Mermaid Diagrams](https://www.mermaidchart.com/blog/posts/mermaid-innovation-introducing-new-looks-for-mermaid-diagrams/) +## [Mermaid Innovation - Introducing New Looks for Mermaid Diagrams](https://mermaid.ai/blog/posts/mermaid-innovation-introducing-new-looks-for-mermaid-diagrams/) 6 August 2024 ·3 mins Discover the fresh new and unique Neo and Hand-Drawn looks for Mermaid Diagrams, while still offering the classic look you love. -## [The Mermaid Chart Plugin for Jira: A How-To User Guide](https://www.mermaidchart.com/blog/posts/the-mermaid-chart-plugin-for-jira-a-how-to-user-guide/) +## [The Mermaid Chart Plugin for Jira: A How-To User Guide](https://mermaid.ai/blog/posts/the-mermaid-chart-plugin-for-jira-a-how-to-user-guide/) 31 July 2024 · 5 mins The Mermaid Chart plugin for Jira has arrived! -## [Mermaid AI Is Here to Change the Game For Diagram Creation](https://www.mermaidchart.com/blog/posts/mermaid-ai-is-here-to-change-the-game-for-diagram-creation/) +## [Mermaid AI Is Here to Change the Game For Diagram Creation](https://mermaid.ai/blog/posts/mermaid-ai-is-here-to-change-the-game-for-diagram-creation/) 22 July 2024 · 5 mins The Mermaid AI chat interface -## [How to Make a Sequence Diagram with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-make-a-sequence-diagram-in-mermaid-chart-step-by-step-guide/) +## [How to Make a Sequence Diagram with Mermaid Chart](https://mermaid.ai/blog/posts/how-to-make-a-sequence-diagram-in-mermaid-chart-step-by-step-guide/) 8 July 2024 · 6 mins Sequence diagrams are important for communicating complex systems in a clear and concise manner. -## [How to Use the New “Comments” Feature in Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-use-the-new-comments-feature-in-mermaid-chart/) +## [How to Use the New “Comments” Feature in Mermaid Chart](https://mermaid.ai/blog/posts/how-to-use-the-new-comments-feature-in-mermaid-chart/) 2 July 2024 · 3 mins How to Use the New Comments Feature in Mermaid Chart -## [How to Use the official Mermaid Chart for Confluence app](https://www.mermaidchart.com/blog/posts/how-to-use-the-official-mermaid-chart-for-confluence-app/) +## [How to Use the official Mermaid Chart for Confluence app](https://mermaid.ai/blog/posts/how-to-use-the-official-mermaid-chart-for-confluence-app/) 21 May 2024 · 4 mins It doesn’t matter if you’re a data enthusiast, software engineer, or visual storyteller; our Confluence app can allow you to embed Mermaid Chart diagrams — and dynamically edit them — within your Confluence pages. -## [How to Choose the Right Documentation Software](https://www.mermaidchart.com/blog/posts/how-to-choose-the-right-documentation-software/) +## [How to Choose the Right Documentation Software](https://mermaid.ai/blog/posts/how-to-choose-the-right-documentation-software/) 7 May 2024 · 5 mins How to Choose the Right Documentation Software. Reliable and efficient documentation software is crucial in the fast-paced world of software development. -## [AI in software diagramming: What trends will define the future?](https://www.mermaidchart.com/blog/posts/ai-in-software-diagramming/) +## [AI in software diagramming: What trends will define the future?](https://mermaid.ai/blog/posts/ai-in-software-diagramming/) 24 April 2024 · 5 mins Artificial intelligence (AI) tools are changing the way developers work. -## [Mermaid Chart Unveils Visual Editor for Sequence Diagrams](https://www.mermaidchart.com/blog/posts/mermaid-chart-unveils-visual-editor-for-sequence-diagrams/) +## [Mermaid Chart Unveils Visual Editor for Sequence Diagrams](https://mermaid.ai/blog/posts/mermaid-chart-unveils-visual-editor-for-sequence-diagrams/) 8 April 2024 · 5 mins Sequence diagrams are excellent tools for communication and documentation. -## [Modeling system states: It starts with a Turing machine](https://www.mermaidchart.com/blog/posts/modeling-system-states/) +## [Modeling system states: It starts with a Turing machine](https://mermaid.ai/blog/posts/modeling-system-states/) 27 March 2024 · 12 mins In computer science, there are a few fundamental papers that, without exaggeration, changed everything. -## [Mermaid Chart Raises $7.5M to Reinvent Visual Collaboration for Enterprises](https://www.mermaidchart.com/blog/posts/mermaid-chart-raises-7.5m-to-reinvent-visual-collaoration-for-enterprises/) +## [Mermaid Chart Raises $7.5M to Reinvent Visual Collaboration for Enterprises](https://mermaid.ai/blog/posts/mermaid-chart-raises-7.5m-to-reinvent-visual-collaoration-for-enterprises/) 20 March 2024 · 4 mins Mermaid Chart, the company offering text-based diagramming and workflow management tools, today announced it has raised $7.5 million in Seed funding. -## [Mermaid Chart GPT Is Now Available In the GPT Store!](https://www.mermaidchart.com/blog/posts/mermaid-chart-gpt-is-now-available-in-the-gpt-store/) +## [Mermaid Chart GPT Is Now Available In the GPT Store!](https://mermaid.ai/blog/posts/mermaid-chart-gpt-is-now-available-in-the-gpt-store/) 7 March 2024 · 3 mins Mermaid Chart GPT is Now Available In the GPT Store! -## [How to Make a Flowchart with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-make-flowcharts-with-mermaid-chart/) +## [How to Make a Flowchart with Mermaid Chart](https://mermaid.ai/blog/posts/how-to-make-flowcharts-with-mermaid-chart/) 30 January 2024 · 6 mins Learn how to make a flowchart with Mermaid Chart, the leading text-to-diagram platform for both developers and non-developers. -## [How one data scientist uses Mermaid Chart to quickly and easily build flowcharts](https://www.mermaidchart.com/blog/posts/customer-spotlight-ari-tal/) +## [How one data scientist uses Mermaid Chart to quickly and easily build flowcharts](https://mermaid.ai/blog/posts/customer-spotlight-ari-tal/) 23 January 2024 · 4 mins Read about how Ari Tal, a data scientist and founder of Leveling Up with XAI, utilizes Mermaid Chart for its easy-to-use flowchart creation capabilities to enhance his work in explainable AI (XAI). -## [Introducing Mermaid Chart’s JetBrains IDE Extension](https://www.mermaidchart.com/blog/posts/introducing-mermaid-charts-jetbrains-ide-extension/) +## [Introducing Mermaid Chart’s JetBrains IDE Extension](https://mermaid.ai/blog/posts/introducing-mermaid-charts-jetbrains-ide-extension/) 20 December 2023 · 5 mins Diagrams are essential for documenting your code. -## [Mermaid Chart Releases New Visual Editor For Flowcharts](https://www.mermaidchart.com/blog/posts/mermaid-chart-releases-new-visual-editor-for-flowcharts/) +## [Mermaid Chart Releases New Visual Editor For Flowcharts](https://mermaid.ai/blog/posts/mermaid-chart-releases-new-visual-editor-for-flowcharts/) 14 December 2023 · 5 mins Mermaid Chart introduces a new Visual Editor for flowcharts, enabling users of all skill levels to create diagrams easily and efficiently, with both GUI and code-based editing options. -## [7 best practices (+ examples) for good developer documentation](https://www.mermaidchart.com/blog/posts/7-best-practices-for-good-documentation/) +## [7 best practices (+ examples) for good developer documentation](https://mermaid.ai/blog/posts/7-best-practices-for-good-documentation/) 4 December 2023 · 11 min Essential strategies for crafting grate developer documentation, with practical examples and insights from leading tech companies. -## [5 Reasons You Should Be Using Mermaid Chart As Your Diagram Generator](https://www.mermaidchart.com/blog/posts/5-reasons-you-should-be-using-mermaid-chart-as-your-diagram-generator/) +## [5 Reasons You Should Be Using Mermaid Chart As Your Diagram Generator](https://mermaid.ai/blog/posts/5-reasons-you-should-be-using-mermaid-chart-as-your-diagram-generator/) 14 November 2023 · 5 mins Mermaid Chart, a user-friendly, code-based diagram generator with AI integrations, templates, collaborative tools, and plugins for developers, streamlines the process of creating and sharing diagrams, enhancing both creativity and collaboration. -## [How to Use Mermaid Chart as an AI Diagram Generator](https://www.mermaidchart.com/blog/posts/how-to-use-mermaid-chart-as-an-ai-diagram-generator/) +## [How to Use Mermaid Chart as an AI Diagram Generator](https://mermaid.ai/blog/posts/how-to-use-mermaid-chart-as-an-ai-diagram-generator/) 1 November 2023 · 5 mins Would an AI diagram generator make your life easier? -## [Diagrams, Made Even Easier: Introducing “Code Snippets” in the Mermaid Chart Editor](https://www.mermaidchart.com/blog/posts/easier-diagram-editing-with-code-snippets/) +## [Diagrams, Made Even Easier: Introducing “Code Snippets” in the Mermaid Chart Editor](https://mermaid.ai/blog/posts/easier-diagram-editing-with-code-snippets/) 12 October 2023 · 4 mins Mermaid Chart introduces Code Snippets in its editor, streamlining the diagramming process for developers and professionals. -## [How to Make a Git Graph with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-make-a-git-graph-with-mermaid-chart/) +## [How to Make a Git Graph with Mermaid Chart](https://mermaid.ai/blog/posts/how-to-make-a-git-graph-with-mermaid-chart/) 22 September 2023 · 7 mins A git graph is one of the more useful forms of diagrams for developers and DevOps professionals. -## [Present flow data using Sankey diagrams in Mermaid, thanks to Nikolay Rozhkov](https://www.mermaidchart.com/blog/posts/present-flow-data-using-sankey-diagrams/) +## [Present flow data using Sankey diagrams in Mermaid, thanks to Nikolay Rozhkov](https://mermaid.ai/blog/posts/present-flow-data-using-sankey-diagrams/) 8 September 2023 · 4 mins Sankey diagrams are a powerful tool for visualizing flow data. -## [Special cases broke Microsoft Zune and can ruin your code base too](https://www.mermaidchart.com/blog/posts/special-cases-broke-microsoft-zune-and-can-ruin-your-code-base-too/) +## [Special cases broke Microsoft Zune and can ruin your code base too](https://mermaid.ai/blog/posts/special-cases-broke-microsoft-zune-and-can-ruin-your-code-base-too/) 23 August 2023 · 15 mins Read about the pitfalls of special cases in programming, illustrating how they can lead to complexity, diminish readability, and create maintenance challenges. -## [New AI chatbot now available on Mermaid Chart to simplify text-based diagram creation](https://www.mermaidchart.com/blog/posts/ai-chatbot-now-available-on-mermaid-chart-to-simplify-text-based-diagram-creation/) +## [New AI chatbot now available on Mermaid Chart to simplify text-based diagram creation](https://mermaid.ai/blog/posts/ai-chatbot-now-available-on-mermaid-chart-to-simplify-text-based-diagram-creation/) 14 August 2023 · 4 mins Introducing Mermaid Chart’s new AI chatbot, a diagramming assistant that simplifies text-based diagram creation for everyone, from developers to educators, offering features to start, edit, and fix diagrams, and embodying our vision to make diagramming accessible, user-friendly, and fun. -## [Believe It or Not, You Still Need an Online UML Diagram Tool](https://www.mermaidchart.com/blog/posts/uml-diagram-tool/) +## [Believe It or Not, You Still Need an Online UML Diagram Tool](https://mermaid.ai/blog/posts/uml-diagram-tool/) 14 August 2023 · 8 mins A UML diagram tool helps developers and other professionals quickly create and share UML diagrams that communicate information about complex software systems. -## [From Chaos to Clarity: Exploring Mind Maps with MermaidJS](https://www.mermaidchart.com/blog/posts/from-chaos-to-clarity-exploring-mind-maps-with-mermaidjs) +## [From Chaos to Clarity: Exploring Mind Maps with MermaidJS](https://mermaid.ai/blog/posts/from-chaos-to-clarity-exploring-mind-maps-with-mermaidjs) 24 July 2023 · 4 mins Introducing the concept of mind mapping as a tool for organizing complex information, and highlights Mermaid as a user-friendly software that simplifies the creation and editing of mind maps for applications in IT solution design, business decision-making, and knowledge organization. -## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://www.mermaidchart.com/blog/posts/mermaid-chart-announces-visual-studio-code-plugin) +## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://mermaid.ai/blog/posts/mermaid-chart-announces-visual-studio-code-plugin) 17 July 2023 · 3 mins New Integration Enhances Workflows By Enabling Developers To Reference And Edit Diagrams Within Visual Studio Code. -## [Mermaid Chart’s ChatGPT Plugin Combines Generative AI and Smart Diagramming For Users](https://www.mermaidchart.com/blog/posts/mermaid-chart-chatgpt-plugin-combines-generative-ai-and-smart-diagramming) +## [Mermaid Chart’s ChatGPT Plugin Combines Generative AI and Smart Diagramming For Users](https://mermaid.ai/blog/posts/mermaid-chart-chatgpt-plugin-combines-generative-ai-and-smart-diagramming) 29 June 2023 · 4 mins Mermaid Chart’s new ChatGPT plugin integrates AI-powered text prompts with Mermaid’s intuitive diagramming editor, enabling users to generate, edit, and share complex diagrams with ease and efficiency. -## [Sequence diagrams, the only good thing UML brought to software development](https://www.mermaidchart.com/blog/posts/sequence-diagrams-the-good-thing-uml-brought-to-software-development/) +## [Sequence diagrams, the only good thing UML brought to software development](https://mermaid.ai/blog/posts/sequence-diagrams-the-good-thing-uml-brought-to-software-development/) 15 June 2023 · 12 mins Sequence diagrams really shine when you’re documenting different parts of a system and the various ways these parts interact with each other. -## [subhash-halder contributed quadrant charts so you can show your manager what to select - just like the strategy consultants at BCG do](https://www.mermaidchart.com/blog/posts/subhash-halder-contributed-quadrant-charts-so-you-can-show-your-manager-what-to-select-just-like-the-strategy-consultants-at-bcg-do/) +## [subhash-halder contributed quadrant charts so you can show your manager what to select - just like the strategy consultants at BCG do](https://mermaid.ai/blog/posts/subhash-halder-contributed-quadrant-charts-so-you-can-show-your-manager-what-to-select-just-like-the-strategy-consultants-at-bcg-do/) 8 June 2023 · 7 mins A quadrant chart is a useful diagram that helps users visualize data and identify patterns in a data set. -## [Bad documentation is bad for developers](https://www.mermaidchart.com/blog/posts/bad-documentation-is-bad-for-developers) +## [Bad documentation is bad for developers](https://mermaid.ai/blog/posts/bad-documentation-is-bad-for-developers) 26 April 2023 · 11 mins Documentation tends to be bad because companies and projects don’t fully realize the costs of bad documentation. -## [Automatic text wrapping in flowcharts is here!](https://www.mermaidchart.com/blog/posts/automatic-text-wrapping-in-flowcharts-is-here/) +## [Automatic text wrapping in flowcharts is here!](https://mermaid.ai/blog/posts/automatic-text-wrapping-in-flowcharts-is-here/) 3 April 2023 · 3 mins Markdown Strings reduce the hassle # Starting from v10. -## [Mermaid Chart officially launched with sharable diagram links and presentation mode](https://www.mermaidchart.com/blog/posts/mermaid-chart-officially-launched-with-sharable-diagram-links-and-presentation-mode/) +## [Mermaid Chart officially launched with sharable diagram links and presentation mode](https://mermaid.ai/blog/posts/mermaid-chart-officially-launched-with-sharable-diagram-links-and-presentation-mode/) 27 March 2023 · 2 mins Exciting news for all Mermaid OSS fans: Mermaid Chart has officially launched with Mermaid Chart! -## [If you're not excited about ChatGPT, then you're not being creative](https://www.mermaidchart.com/blog/posts/if-youre-not-excited-about-chatgpt-then-youre-not-being-creative-enough/) +## [If you're not excited about ChatGPT, then you're not being creative](https://mermaid.ai/blog/posts/if-youre-not-excited-about-chatgpt-then-youre-not-being-creative-enough/) 8 March 2023 · 9 mins The hype around AI in general and ChatGPT, in particular, is so intense that it’s very understandable to assume the hype train is driving straight toward the trough of disillusionment. -## [Flow charts are O(n)2 complex, so don't go over 100 connections](https://www.mermaidchart.com/blog/posts/flow-charts-are-on2-complex-so-dont-go-over-100-connections/) +## [Flow charts are O(n)2 complex, so don't go over 100 connections](https://mermaid.ai/blog/posts/flow-charts-are-on2-complex-so-dont-go-over-100-connections/) 1 March 2023 · 12 mins Flowchart design is a game of balance: Read about the importance of dialling in the right level of detail and how to manage complexity in large flowcharts. -## [Busting the myth that developers can't write](https://www.mermaidchart.com/blog/posts/busting-the-myth-that-developers-cant-write/) +## [Busting the myth that developers can't write](https://mermaid.ai/blog/posts/busting-the-myth-that-developers-cant-write/) 10 February 2023 · 10 mins diff --git a/package.json b/package.json index 84799865529..6ae91509f1c 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,7 @@ "jison": "^0.4.18", "js-yaml": "^4.1.1", "jsdom": "^26.1.0", - "langium-cli": "3.3.0", + "langium-cli": "^4.0.0", "lint-staged": "^16.1.6", "markdown-table": "^3.0.4", "nyc": "^17.1.0", @@ -130,7 +130,7 @@ "start-server-and-test": "^2.1.3", "tslib": "^2.8.1", "tsx": "^4.20.6", - "typescript": "~5.7.3", + "typescript": "~5.8.0", "typescript-eslint": "^8.38.0", "vite": "^7.0.8", "vite-plugin-istanbul": "^7.0.0", diff --git a/packages/mermaid-layout-tidy-tree/CHANGELOG.md b/packages/mermaid-layout-tidy-tree/CHANGELOG.md index 63c8ab6e2e1..68a7044eee2 100644 --- a/packages/mermaid-layout-tidy-tree/CHANGELOG.md +++ b/packages/mermaid-layout-tidy-tree/CHANGELOG.md @@ -1,5 +1,11 @@ # @mermaid-js/layout-tidy-tree +## 0.2.1 + +### Patch Changes + +- [#7355](https://github.com/mermaid-js/mermaid/pull/7355) [`0f94b84`](https://github.com/mermaid-js/mermaid/commit/0f94b845bf122625b95197c33ec51eeebfc34306) Thanks [@sidharthv96](https://github.com/sidharthv96)! - fix: Inline non-layered-tidy-tree-layout to avoid downstream import issues + ## 0.2.0 ### Minor Changes diff --git a/packages/mermaid-layout-tidy-tree/package.json b/packages/mermaid-layout-tidy-tree/package.json index 2abaaa21155..ebaa5371190 100644 --- a/packages/mermaid-layout-tidy-tree/package.json +++ b/packages/mermaid-layout-tidy-tree/package.json @@ -1,6 +1,6 @@ { "name": "@mermaid-js/layout-tidy-tree", - "version": "0.2.0", + "version": "0.2.1", "description": "Tidy-tree layout engine for mermaid", "module": "dist/mermaid-layout-tidy-tree.core.mjs", "types": "dist/layouts.d.ts", @@ -32,12 +32,12 @@ ], "license": "MIT", "dependencies": { - "d3": "^7.9.0", - "non-layered-tidy-tree-layout": "^2.0.2" + "d3": "^7.9.0" }, "devDependencies": { "@types/d3": "^7.4.3", - "mermaid": "workspace:^" + "mermaid": "workspace:^", + "non-layered-tidy-tree-layout": "^2.0.2" }, "peerDependencies": { "mermaid": "^11.0.2" diff --git a/packages/mermaid/CHANGELOG.md b/packages/mermaid/CHANGELOG.md index 52019d28c10..2febfed7259 100644 --- a/packages/mermaid/CHANGELOG.md +++ b/packages/mermaid/CHANGELOG.md @@ -1,5 +1,11 @@ # mermaid +## 11.12.2 + +### Patch Changes + +- [#7200](https://github.com/mermaid-js/mermaid/pull/7200) [`de7ed10`](https://github.com/mermaid-js/mermaid/commit/de7ed1033996d702e3983dcf8114f33faea89577) Thanks [@shubhamparikh2704](https://github.com/shubhamparikh2704)! - fix: validate dates and tick interval to prevent UI freeze/crash in gantt diagramtype + ## 11.12.1 ### Patch Changes diff --git a/packages/mermaid/package.json b/packages/mermaid/package.json index 4c6fdb341a7..06c99fdb53a 100644 --- a/packages/mermaid/package.json +++ b/packages/mermaid/package.json @@ -1,6 +1,6 @@ { "name": "mermaid", - "version": "11.12.1", + "version": "11.12.2", "description": "Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.", "type": "module", "module": "./dist/mermaid.core.mjs", @@ -81,7 +81,7 @@ "dompurify": "^3.3.1", "katex": "^0.16.25", "khroma": "^2.1.0", - "lodash-es": "^4.17.21", + "lodash-es": "^4.17.23", "marked": "^16.3.0", "roughjs": "^4.6.6", "stylis": "^4.3.6", diff --git a/packages/mermaid/src/diagrams/git/gitGraphParser.ts b/packages/mermaid/src/diagrams/git/gitGraphParser.ts index c56bc6f4493..adca32a8bc0 100644 --- a/packages/mermaid/src/diagrams/git/gitGraphParser.ts +++ b/packages/mermaid/src/diagrams/git/gitGraphParser.ts @@ -181,6 +181,9 @@ if (import.meta.vitest) { const dummy: GitGraph = { $type: 'GitGraph', statements: [], + accDescr: '', + accTitle: '', + title: '', }; const gitGraphAst: GitGraph = { $type: 'GitGraph', @@ -220,6 +223,9 @@ if (import.meta.vitest) { parent: '2', }, ], + accDescr: '', + accTitle: '', + title: '', }; populate(gitGraphAst, mockDB); diff --git a/packages/mermaid/src/docs/.vitepress/canonical-config.ts b/packages/mermaid/src/docs/.vitepress/canonical-config.ts index 68e4b72756b..9857acbfd14 100644 --- a/packages/mermaid/src/docs/.vitepress/canonical-config.ts +++ b/packages/mermaid/src/docs/.vitepress/canonical-config.ts @@ -48,11 +48,9 @@ export const canonicalConfig: CanonicalUrlConfig = { // Custom path transformations customTransforms: [ - // Example: Redirect old paths to new paths - // { pattern: /^old-syntax\//, replacement: 'syntax/' }, - // Example: Handle special cases - // { pattern: /^config\/setup\/README$/, replacement: 'config/setup/' }, - // Add your custom transformations here + // Transform homepage index.html to / + // Note: transforms run *before* we ensure the path starts with '/' + { pattern: /^index\.html$/, replacement: '' }, ], }, }; diff --git a/packages/mermaid/src/docs/.vitepress/components/EditorSelectionModal.vue b/packages/mermaid/src/docs/.vitepress/components/EditorSelectionModal.vue index d2a063dc11d..26fe156bec6 100644 --- a/packages/mermaid/src/docs/.vitepress/components/EditorSelectionModal.vue +++ b/packages/mermaid/src/docs/.vitepress/components/EditorSelectionModal.vue @@ -20,17 +20,11 @@ interface EditorColumn { } const mermaidChartFeatures: Feature[] = [ - { iconUrl: '/icons/folder.svg', featureName: 'Storage' }, - { iconUrl: '/icons/terminal.svg', featureName: 'Code editor' }, - { iconUrl: '/icons/ai-diagram.svg', featureName: 'AI diagram generator' }, - { iconUrl: '/icons/whiteboard.svg', featureName: 'Whiteboard' }, - { iconUrl: '/icons/group.svg', featureName: 'Teams' }, - { iconUrl: '/icons/groups.svg', featureName: 'Multi-user editing' }, - { iconUrl: '/icons/ai-repair.svg', featureName: 'AI diagram repair' }, - { iconUrl: '/icons/version-history.svg', featureName: 'Version history' }, - { iconUrl: '/icons/comment.svg', featureName: 'Comments' }, - { iconUrl: '/icons/presentation.svg', featureName: 'Presentations' }, - { iconUrl: '/icons/plugins.svg', featureName: 'Advanced plugins' }, + { iconUrl: '/icons/whiteboard.svg', featureName: 'Visual editor' }, + { iconUrl: '/icons/ai-diagram.svg', featureName: '300 AI credits' }, + { iconUrl: '/icons/folder.svg', featureName: 'Unlimited diagram storage' }, + { iconUrl: '/icons/presentation.svg', featureName: 'Limitless diagram size' }, + { iconUrl: '/icons/comment.svg', featureName: 'View & comment collaboration' }, ]; const openSourceFeatures: Feature[] = [ @@ -42,13 +36,13 @@ const openSourceFeatures: Feature[] = [ const editorColumns: EditorColumn[] = [ { - title: 'Mermaid Pro', - description: 'Unlock AI and real-time collaboration', + title: 'Mermaid Plus', + description: 'Unlock AI, storage and collaboration', highlighted: true, redBarText: 'Recommended', proTrialButtonText: 'Start free trial', proTrialUrl: - 'https://www.mermaidchart.com/app/sign-up?utm_source=mermaid_js&utm_medium=2_editor_selection&utm_campaign=start_pro&redirect=%2Fapp%2Fuser%2Fbilling%2Fcheckout%3FisFromMermaid%3Dtrue', + 'https://mermaid.ai/app/sign-up?utm_source=mermaid_js&utm_medium=2_editor_selection&utm_campaign=start_plus&redirect=%2Fapp%2Fuser%2Fbilling%2Fcheckout%3FisFromMermaid%3Dtrue%26tier%3Dplus', features: mermaidChartFeatures, }, { diff --git a/packages/mermaid/src/docs/.vitepress/components/TopBar.vue b/packages/mermaid/src/docs/.vitepress/components/TopBar.vue index c5b464bb6ea..268813c264e 100644 --- a/packages/mermaid/src/docs/.vitepress/components/TopBar.vue +++ b/packages/mermaid/src/docs/.vitepress/components/TopBar.vue @@ -4,45 +4,66 @@ import { computed, onMounted, type Ref, ref } from 'vue'; interface Taglines { label: string; - url: string; + campaign: string; + button: string; } const taglines: Taglines[] = [ { - label: 'Customize your layout and design in Mermaid Chart’s visual editor!', - url: 'https://www.mermaidchart.com/whiteboard?utm_source=mermaid_js&utm_medium=banner_ad&utm_campaign=visual_editor', + label: 'Use code NEWYEAR for 10% off Mermaid Advanced Editor (limited time)', + campaign: 'variant_a', + button: 'Try now', }, { - label: 'Replace ChatGPT Pro, Mermaid.live, and Lucid Chart with Mermaid Chart', - url: 'https://www.mermaidchart.com/mermaid-ai?utm_source=mermaid_js&utm_medium=banner_ad&utm_campaign=aibundle', + label: 'Limited time: 10% off Mermaid Advanced Editor with code NEWYEAR', + campaign: 'variant_b', + button: 'Claim Discount', }, { - label: 'Diagram live with teammates in Mermaid Chart', - url: 'https://www.mermaidchart.com/landing?utm_source=mermaid_js&utm_medium=banner_ad&utm_campaign=team_collaboration', + label: 'Try Mermaid Advanced Editor — get 10% off with code NEWYEAR', + campaign: 'variant_c', + button: 'Get started', }, ]; +const isRotationEnabled = false; const index: Ref = ref(0); const isPaused: Ref = ref(false); +const isInitialized: Ref = ref(false); const route = useRoute(); const isHomePage = computed(() => { return route.path === '/'; }); +const currentUrl = computed(() => { + const isMermaidAi = window?.location.hostname.endsWith('mermaid.ai'); + const params = new URLSearchParams({ + utm_medium: 'banner_ad', + utm_campaign: taglines[index.value].campaign, + utm_source: isMermaidAi ? 'ai_open_source' : 'mermaid_js', + }); + return `https://mermaid.ai/?${params.toString()}`; +}); + onMounted(() => { index.value = Math.floor(Math.random() * taglines.length); - setInterval(() => { - if (isPaused.value) { - return; - } - index.value = (index.value + 1) % taglines.length; - }, 5_000); + isInitialized.value = true; + + if (isRotationEnabled) { + setInterval(() => { + if (isPaused.value) { + return; + } + index.value = (index.value + 1) % taglines.length; + }, 5_000); + } }); @@ -34,8 +34,7 @@ const hideTooltip = () => { const handleMouseOver = (e: MouseEvent) => { const target = e.target as HTMLElement; if ( - (target.matches('a[href*="mermaidchart.com"]') || - target.matches('button[onclick*="mermaidchart.com"]')) && + (target.matches('a[href*="mermaid.ai"]') || target.matches('button[onclick*="mermaid.ai"]')) && !target.matches('.no-tooltip') && !target.matches('.VPSocialLink') ) { diff --git a/packages/mermaid/src/docs/ecosystem/integrations-community.md b/packages/mermaid/src/docs/ecosystem/integrations-community.md index 65f79f0c962..3cd75b8e40d 100644 --- a/packages/mermaid/src/docs/ecosystem/integrations-community.md +++ b/packages/mermaid/src/docs/ecosystem/integrations-community.md @@ -6,7 +6,7 @@ Mermaid Chart is built by the team behind Mermaid JS. -For more details, visit the [Mermaid Chart page](./mermaid-chart.md), or visit the [Mermaid Chart website](https://www.mermaidchart.com) . +For more details, visit the [Mermaid Chart page](./mermaid-chart.md), or visit the [Mermaid Chart website](https://mermaid.ai) . ## Community integrations diff --git a/packages/mermaid/src/docs/ecosystem/mermaid-chart.md b/packages/mermaid/src/docs/ecosystem/mermaid-chart.md index d5257963eee..dd60f4d1f7a 100644 --- a/packages/mermaid/src/docs/ecosystem/mermaid-chart.md +++ b/packages/mermaid/src/docs/ecosystem/mermaid-chart.md @@ -2,7 +2,7 @@ The Future of Diagramming & Visual Collaboration -Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an account at [Mermaid Chart](https://www.mermaidchart.com/app/sign-up). +Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an account at [Mermaid Chart](https://mermaid.ai/app/sign-up).
@@ -10,7 +10,7 @@ Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an accoun ## About -[Mermaid Chart](https://www.mermaidchart.com) was born out of the Mermaid open source project and was founded by Knut Sveidqvist together with Open Core Ventures. The lead developers from Mermaid have joined the company and there is a strong connection between the project we all love and Mermaid Chart. Mermaid Chart brings resources to the open source development of Mermaid and makes it possible to work with Mermaid professionally. +[Mermaid Chart](https://mermaid.ai) was born out of the Mermaid open source project and was founded by Knut Sveidqvist together with Open Core Ventures. The lead developers from Mermaid have joined the company and there is a strong connection between the project we all love and Mermaid Chart. Mermaid Chart brings resources to the open source development of Mermaid and makes it possible to work with Mermaid professionally. ## Features @@ -31,7 +31,7 @@ Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an accoun - [Google Docs](https://gsuite.google.com/marketplace/app/mermaidchart/947683068472) - [Microsoft PowerPoint and Word](https://appsource.microsoft.com/en-us/product/office/WA200006214?tab=Overview) - Visit our [Plugins](https://www.mermaidchart.com/plugins) page for more information. + Visit our [Plugins](https://mermaid.ai/plugins) page for more information. - **Collaboration** - A web based collaboration feature for multi-user editing on Mermaid diagrams in real-time (Pro and Enterprise plans). @@ -41,16 +41,18 @@ Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an accoun ## Plans -- **Free** - A free plan that includes six diagrams. +- **Basic** - A free plan that includes three diagrams and limited AI usage. -- **Pro** - A paid plan that includes unlimited diagrams, access to the collaboration feature, and more. +- **Plus** - A paid plan that includes unlimited diagrams, scalable AI usage, and centralized billing for small teams. -- **Enterprise** - A paid plan for enterprise use that includes all Pro features, and more. +- **Premium** - A paid plan for larger teams that need massive AI or diagram usage along with team collaboration, knowledge management, and security features like SSO. -To learn more, visit our [Pricing](https://mermaidchart.com/pricing) page. +- **Enterprise** - A paid plan for enterprise use that includes all Premium features, custom contracts, support, and more. -Mermaid Chart is currently offering a 7-day free trial on our Pro and Enterprise tiers. Sign up for a free account at [Mermaid Chart](https://www.mermaidchart.com/app/sign-up). +To learn more, visit our [Pricing](https://mermaid.ai/pricing) page. + +Sign up for a free account on the [Mermaid](https://mermaid.ai/app/sign-up) website and trial paid features at any time for 7 days free. ## Mermaid JS contributions -First time contributors are eligible for a free Pro tier account for 1 year. +First time contributors are eligible for a free Premium tier account for 1 year. diff --git a/packages/mermaid/src/docs/intro/getting-started.md b/packages/mermaid/src/docs/intro/getting-started.md index 8e6482ae2a5..a6b3367dd1f 100644 --- a/packages/mermaid/src/docs/intro/getting-started.md +++ b/packages/mermaid/src/docs/intro/getting-started.md @@ -119,7 +119,7 @@ And, here is the diagram view from the above example: ## 2. Using the Mermaid Chart Editor -Available at the [Mermaid Chart](https://www.mermaidchart.com/) website. +Available at the [Mermaid Chart](https://mermaid.ai/) website. Mermaid Chart is a web-based diagram editor that allows you to create and edit diagrams in your browser. It is built by the team behind Mermaid. @@ -132,7 +132,7 @@ Features include: To learn more, visit the [Mermaid Chart page](/ecosystem/mermaid-chart.html) in the Ecosystem section of the documentation. -Or go to the [Mermaid Chart website](https://www.mermaidchart.com/app/sign-up) to sign up for a Free account. +Or go to the [Mermaid Chart website](https://mermaid.ai/app/sign-up) to sign up for a Free account. ## 3. Using Mermaid Plugins @@ -146,13 +146,13 @@ For a list of Mermaid Plugins and Integrations, visit the [Integrations page](.. Mermaid Chart plugins are available for: -- [ChatGPT](https://docs.mermaidchart.com/plugins/mermaid-chart-gpt) -- [JetBrains IDE](https://docs.mermaidchart.com/plugins/jetbrains-ide) -- [Microsoft PowerPoint](https://docs.mermaidchart.com/plugins/microsoft-powerpoint) -- [Microsoft Word](https://docs.mermaidchart.com/plugins/microsoft-word) -- [Visual Studio Code](https://docs.mermaidchart.com/plugins/visual-studio-code) +- [ChatGPT](https://mermaid.ai/docs/plugins/mermaid-chart-gpt) +- [JetBrains IDE](https://mermaid.ai/docs/plugins/jetbrains-ide) +- [Microsoft PowerPoint](https://mermaid.ai/docs/plugins/microsoft-powerpoint) +- [Microsoft Word](https://mermaid.ai/docs/plugins/microsoft-word) +- [Visual Studio Code](https://mermaid.ai/docs/plugins/visual-studio-code) -To learn more, visit the [Mermaid Chart Plugins](https://www.mermaidchart.com/plugins) page. +To learn more, visit the [Mermaid Chart Plugins](https://mermaid.ai/plugins) page. ### Native Mermaid Support diff --git a/packages/mermaid/src/docs/news/announcements.md b/packages/mermaid/src/docs/news/announcements.md index 03ee8ca948e..8355342a36a 100644 --- a/packages/mermaid/src/docs/news/announcements.md +++ b/packages/mermaid/src/docs/news/announcements.md @@ -20,7 +20,7 @@ We're thrilled to announce that Mermaid Chart has successfully raised $7.5 milli We are incredibly excited about the future and are grateful to the community, our team, and our investors for being part of this journey. Together, we're not just creating diagrams; we're designing the future of collaboration. -🌐 Learn more about our groundbreaking tools and what's next for Mermaid Chart by visiting [our website](https://www.mermaidchart.com/blog/posts/mermaid-chart-raises-7.5m-to-reinvent-visual-collaoration-for-enterprises). +🌐 Learn more about our groundbreaking tools and what's next for Mermaid Chart by visiting [our website](https://mermaid.ai/blog/posts/mermaid-chart-raises-7.5m-to-reinvent-visual-collaoration-for-enterprises). Thank you for being part of our story. Here's to creating, innovating, and collaborating on a global scale! @@ -33,12 +33,12 @@ The Mermaid Chart team is excited to introduce a new Visual Editor for Flowchart Learn more: - Visual Editor For Flowcharts - - [Blog post](https://www.mermaidchart.com/blog/posts/mermaid-chart-releases-new-visual-editor-for-flowcharts) + - [Blog post](https://mermaid.ai/blog/posts/mermaid-chart-releases-new-visual-editor-for-flowcharts) - [Demo video](https://www.youtube.com/watch?v=5aja0gijoO0) - Visual Editor For Sequence diagrams - - [Blog post](https://www.mermaidchart.com/blog/posts/mermaid-chart-unveils-visual-editor-for-sequence-diagrams) + - [Blog post](https://mermaid.ai/blog/posts/mermaid-chart-unveils-visual-editor-for-sequence-diagrams) - [Demo video](https://youtu.be/imc2u5_N6Dc) diff --git a/packages/mermaid/src/docs/news/blog.md b/packages/mermaid/src/docs/news/blog.md index d489c58359f..ed4fa500ff8 100644 --- a/packages/mermaid/src/docs/news/blog.md +++ b/packages/mermaid/src/docs/news/blog.md @@ -1,336 +1,336 @@ # Blog -## [The Essential Guide to Mermaid Chart Plugin for VS Code [08/2025]](https://docs.mermaidchart.com/blog/posts/the-essential-guide-to-mermaid-chart-plugin-for-vs-code-08-2025) +## [The Essential Guide to Mermaid Chart Plugin for VS Code [08/2025]](https://mermaid.ai/blog/posts/the-essential-guide-to-mermaid-chart-plugin-for-vs-code-08-2025) 9/9/2025 • 5 mins Creating diagrams in VS Code has never been easier—the Mermaid VS Code plugin transforms text-based syntax into clear, professional visuals right inside your editor. With live previews, smart editing, and AI-powered diagram generation, it removes the friction from visualization so you can focus on coding. -## [How to Create Perfect Flowcharts Using AI in 2025 Step-by-Step Guide](https://docs.mermaidchart.com/blog/posts/how-to-create-perfect-flowcharts-using-ai-in-2025-step-by-step-guide) +## [How to Create Perfect Flowcharts Using AI in 2025 Step-by-Step Guide](https://mermaid.ai/blog/posts/how-to-create-perfect-flowcharts-using-ai-in-2025-step-by-step-guide) 7/22/2025 • 8 mins In 2025, AI tools make creating flowcharts faster and easier than ever. With Mermaid’s AI flowchart generator, you can turn plain text into clear, accurate diagrams in seconds. This guide walks through how it works and how to get the most out of it for technical and business workflows alike. -## [Mermaid introduces the Visual Editor for Entity Relationship diagrams](https://docs.mermaidchart.com/blog/posts/mermaid-introduces-the-visual-editor-for-entity-relationship-diagrams) +## [Mermaid introduces the Visual Editor for Entity Relationship diagrams](https://mermaid.ai/blog/posts/mermaid-introduces-the-visual-editor-for-entity-relationship-diagrams) 7/15/2025 • 7 mins Mermaid just introduced a Visual Editor for Entity Relationship diagrams, letting anyone map database structures through a simple point-and-click interface instead of code. This no-code ER builder now sits alongside Mermaid’s editors for flowcharts, sequence, and class diagrams, enabling teams to craft and share polished data models for apps, AI, and business processes. -## [Mermaid supports Treemap Diagrams now!!!](https://docs.mermaidchart.com/blog/posts/mermaid-have-treemap-diagrams-now) +## [Mermaid supports Treemap Diagrams now!!!](https://mermaid.ai/blog/posts/mermaid-have-treemap-diagrams-now) 7/3/2025 • 4 mins Mermaid has introduced Treemap diagrams, currently in beta, enhancing hierarchical data visualization. Treemap diagrams use nested rectangles to represent data relationships, focusing on size and proportions. They offer various applications, including budget visualization and market analysis. With simple syntax and customization options, users can effectively present complex data hierarchies. -## [AI Diagram Generators and Data Visualization: Best Practices](https://docs.mermaidchart.com/blog/posts/ai-diagram-generators-and-data-visualization-best-practices) +## [AI Diagram Generators and Data Visualization: Best Practices](https://mermaid.ai/blog/posts/ai-diagram-generators-and-data-visualization-best-practices) 7/2/2025 • 6 mins AI diagram generators transform complex data into clear, interactive visuals – enabling faster analysis, better decisions, and stronger collaboration across teams. By combining automation with manual refinement, these tools empower anyone to communicate insights effectively, regardless of technical skill level. -## [How to Choose the Best AI Diagram Generator for Your Needs (2025)](https://docs.mermaidchart.com/blog/posts/how-to-choose-the-best-ai-diagram-generator-for-your-needs-2025) +## [How to Choose the Best AI Diagram Generator for Your Needs (2025)](https://mermaid.ai/blog/posts/how-to-choose-the-best-ai-diagram-generator-for-your-needs-2025) 6/26/2025 • 14 mins AI diagram generators are transforming how developers visualize and communicate complex systems, reducing hours of manual work into minutes. With tools like Mermaid AI, users benefit from both code-based and visual editing, enabling seamless collaboration and precision. Whether you’re diagramming workflows, software architecture, or data relationships, the right AI tool can significantly boost productivity and streamline communication. -## [5 Time-Saving Tips for Using Mermaid’s AI Diagram Generator Effectively](https://docs.mermaidchart.com/blog/posts/5-time-saving-tips-for-using-mermaids-ai-diagram-generator-effectively) +## [5 Time-Saving Tips for Using Mermaid’s AI Diagram Generator Effectively](https://mermaid.ai/blog/posts/5-time-saving-tips-for-using-mermaids-ai-diagram-generator-effectively) 6/11/2025 • 10 mins See how developers can save time and boost productivity using Mermaid Chart’s AI diagram generator. Learn five practical tips that help turn plain language into powerful, professional diagrams. -## [Enhancing Team Collaboration with AI-Powered Diagrams](https://docs.mermaidchart.com/blog/posts/enhancing-team-collaboration-with-ai-powered-diagrams) +## [Enhancing Team Collaboration with AI-Powered Diagrams](https://mermaid.ai/blog/posts/enhancing-team-collaboration-with-ai-powered-diagrams) 5/27/2025 • 6 mins Software teams move fast, but old-school diagramming tools can’t keep up. Mermaid Chart replaces static slides and whiteboards with real-time, AI-generated visuals that evolve with your code and ideas. Just describe a process in plain English, and watch it come to life. -## [What is an AI Diagram Generator? Benefits and Use Cases](https://docs.mermaidchart.com/blog/posts/what-is-an-ai-diagram-generator-benefits-and-use-cases) +## [What is an AI Diagram Generator? Benefits and Use Cases](https://mermaid.ai/blog/posts/what-is-an-ai-diagram-generator-benefits-and-use-cases) 5/22/2025 • 6 mins Discover how AI diagram generators like Mermaid Chart transform developer workflows. Instantly turn text into flowcharts, ERDs, and system diagrams, no manual drag-and-drop needed. Learn how it works, key benefits, and real-world use cases. -## [How to Use Mermaid Chart as an AI Diagram Generator for Developers](https://docs.mermaidchart.com/blog/posts/how-to-use-mermaid-chart-as-an-ai-diagram-generator) +## [How to Use Mermaid Chart as an AI Diagram Generator for Developers](https://mermaid.ai/blog/posts/how-to-use-mermaid-chart-as-an-ai-diagram-generator) 5/21/2025 • 9 mins Would an AI diagram generator make your life easier? We think it would! -## [Mermaid Chart VS Code Plugin: Create and Edit Mermaid.js Diagrams in Visual Studio Code](https://docs.mermaidchart.com/blog/posts/mermaid-chart-vs-code-plugin-create-and-edit-mermaid-js-diagrams-in-visual-studio-code) +## [Mermaid Chart VS Code Plugin: Create and Edit Mermaid.js Diagrams in Visual Studio Code](https://mermaid.ai/blog/posts/mermaid-chart-vs-code-plugin-create-and-edit-mermaid-js-diagrams-in-visual-studio-code) 3/21/2025 • 5 mins The Mermaid Chart VS Code Plugin is a powerful developer diagramming tool that brings Mermaid.js diagramming directly into your Visual Studio Code environment. Whether you’re visualizing software architecture, documenting API flows, fixing bad documentation, or managing flowcharts and sequence diagrams, this plugin integrates seamlessly into your workflow. Key Features of the Mermaid Chart VS Code […] -## [Mermaid Chart: The Evolution of Mermaid](https://docs.mermaidchart.com/blog/posts/mermaid-chart-the-evolution-of-mermaid) +## [Mermaid Chart: The Evolution of Mermaid](https://mermaid.ai/blog/posts/mermaid-chart-the-evolution-of-mermaid) 1/30/2025 • 3 mins Mermaid revolutionized diagramming with its simple, markdown-style syntax, empowering millions of developers worldwide. Now, Mermaid Chart takes it further with AI-powered visuals, a GUI for seamless editing, real-time collaboration, and advanced design tools. Experience the next generation of diagramming—faster, smarter, and built for modern teams. Try Mermaid Chart today! -## [GUI for editing Mermaid Class Diagrams](https://docs.mermaidchart.com/blog/posts/gui-for-editing-mermaid-class-diagrams) +## [GUI for editing Mermaid Class Diagrams](https://mermaid.ai/blog/posts/gui-for-editing-mermaid-class-diagrams) 1/17/2025 • 5 mins Discover how the latest update to the Mermaid Visual Editor transforms class diagramming. With new intuitive tools for creating and editing diagrams, dynamic relationship management, and customizable layouts, this feature-packed enhancement streamlines your diagramming experience like never before. -## [7 ER Diagram Examples For Database Modeling from Mermaid AI](https://docs.mermaidchart.com/blog/posts/7-er-diagram-examples-for-database-modeling-from-mermaid-ai) +## [7 ER Diagram Examples For Database Modeling from Mermaid AI](https://mermaid.ai/blog/posts/7-er-diagram-examples-for-database-modeling-from-mermaid-ai) 1/16/2025 • 6 mins Entity relationship (ER) diagrams are a cornerstone of database design, providing a blueprint for modeling your database and enabling clear communication across functions in your organization. As data volumes continue to soar and as AI models demand clean, well-organized data, ER diagrams have become more vital than ever. You can now quickly build ER diagrams with Mermaid Chart, Mermaid AI to kick-start and fine tune your diagrams . From e-commerce payment flows to social media interactions and healthcare systems, ER diagrams are powering modern, data-driven environments. -## [Mermaid Whiteboard: Visual Collaboration Made Universal](https://docs.mermaidchart.com/blog/posts/mermaid-whiteboard-visual-collaboration-made-universal) +## [Mermaid Whiteboard: Visual Collaboration Made Universal](https://mermaid.ai/blog/posts/mermaid-whiteboard-visual-collaboration-made-universal) 12/6/2024 • 2 mins The Mermaid Whiteboard combines Mermaid syntax with a drag-and-drop interface, making it easier for teams to create, edit, and refine diagrams together. Whether you prefer working with code, visuals, Mermaid AI or all three, this tool adapts to your needs while keeping everything tied to Mermaid’s syntax. Key Features 1. Dual-Mode Editing Switch seamlessly between […] -## [Mermaid 11.4 is out: New Features and Kanban Diagramming](https://www.mermaidchart.com/blog/posts/mermaid-11-4-is-out-new-features-and-kanban-diagramming) +## [Mermaid 11.4 is out: New Features and Kanban Diagramming](https://mermaid.ai/blog/posts/mermaid-11-4-is-out-new-features-and-kanban-diagramming) October 31, 2024 · 2 mins Mermaid 11.4 brings enhanced functionality with the introduction of Kanban diagrams, allowing users to create visual workflows with status columns and task details. -## [How To Build an ER Diagram with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-build-an-er-diagram-with-mermaid-chart) +## [How To Build an ER Diagram with Mermaid Chart](https://mermaid.ai/blog/posts/how-to-build-an-er-diagram-with-mermaid-chart) October 24, 2024 · 4 mins An entity relationship (ER) diagram acts like a blueprint for your database. This makes ER diagrams effective tools for anyone dealing with complex databases, data modeling, and AI model training. -## [Expanding the Horizons of Mermaid Flowcharts: Introducing 30 New Shapes!](https://www.mermaidchart.com/blog/posts/new-mermaid-flowchart-shapes/) +## [Expanding the Horizons of Mermaid Flowcharts: Introducing 30 New Shapes!](https://mermaid.ai/blog/posts/new-mermaid-flowchart-shapes/) 24 September 2024 · 5 mins Discover 30 new shapes in Mermaid flowcharts, offering enhanced clarity, customization, and versatility for more dynamic and expressive visualizations. -## [Introducing Architecture Diagrams in Mermaid](https://www.mermaidchart.com/blog/posts/mermaid-supports-architecture-diagrams/) +## [Introducing Architecture Diagrams in Mermaid](https://mermaid.ai/blog/posts/mermaid-supports-architecture-diagrams/) 2 September 2024 · 2 mins Discover the fresh new and unique Neo and Hand-Drawn looks for Mermaid Diagrams, while still offering the classic look you love. -## [Mermaid v11 is out!](https://www.mermaidchart.com/blog/posts/mermaid-v11/) +## [Mermaid v11 is out!](https://mermaid.ai/blog/posts/mermaid-v11/) 23 August 2024 · 2 mins Mermaid v11 introduces advanced layout options, new diagram types, and enhanced customization features, thanks to the incredible contributions from our community. -## [Mermaid Innovation - Introducing New Looks for Mermaid Diagrams](https://www.mermaidchart.com/blog/posts/mermaid-innovation-introducing-new-looks-for-mermaid-diagrams/) +## [Mermaid Innovation - Introducing New Looks for Mermaid Diagrams](https://mermaid.ai/blog/posts/mermaid-innovation-introducing-new-looks-for-mermaid-diagrams/) 6 August 2024 ·3 mins Discover the fresh new and unique Neo and Hand-Drawn looks for Mermaid Diagrams, while still offering the classic look you love. -## [The Mermaid Chart Plugin for Jira: A How-To User Guide](https://www.mermaidchart.com/blog/posts/the-mermaid-chart-plugin-for-jira-a-how-to-user-guide/) +## [The Mermaid Chart Plugin for Jira: A How-To User Guide](https://mermaid.ai/blog/posts/the-mermaid-chart-plugin-for-jira-a-how-to-user-guide/) 31 July 2024 · 5 mins The Mermaid Chart plugin for Jira has arrived! -## [Mermaid AI Is Here to Change the Game For Diagram Creation](https://www.mermaidchart.com/blog/posts/mermaid-ai-is-here-to-change-the-game-for-diagram-creation/) +## [Mermaid AI Is Here to Change the Game For Diagram Creation](https://mermaid.ai/blog/posts/mermaid-ai-is-here-to-change-the-game-for-diagram-creation/) 22 July 2024 · 5 mins The Mermaid AI chat interface -## [How to Make a Sequence Diagram with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-make-a-sequence-diagram-in-mermaid-chart-step-by-step-guide/) +## [How to Make a Sequence Diagram with Mermaid Chart](https://mermaid.ai/blog/posts/how-to-make-a-sequence-diagram-in-mermaid-chart-step-by-step-guide/) 8 July 2024 · 6 mins Sequence diagrams are important for communicating complex systems in a clear and concise manner. -## [How to Use the New “Comments” Feature in Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-use-the-new-comments-feature-in-mermaid-chart/) +## [How to Use the New “Comments” Feature in Mermaid Chart](https://mermaid.ai/blog/posts/how-to-use-the-new-comments-feature-in-mermaid-chart/) 2 July 2024 · 3 mins How to Use the New Comments Feature in Mermaid Chart -## [How to Use the official Mermaid Chart for Confluence app](https://www.mermaidchart.com/blog/posts/how-to-use-the-official-mermaid-chart-for-confluence-app/) +## [How to Use the official Mermaid Chart for Confluence app](https://mermaid.ai/blog/posts/how-to-use-the-official-mermaid-chart-for-confluence-app/) 21 May 2024 · 4 mins It doesn’t matter if you’re a data enthusiast, software engineer, or visual storyteller; our Confluence app can allow you to embed Mermaid Chart diagrams — and dynamically edit them — within your Confluence pages. -## [How to Choose the Right Documentation Software](https://www.mermaidchart.com/blog/posts/how-to-choose-the-right-documentation-software/) +## [How to Choose the Right Documentation Software](https://mermaid.ai/blog/posts/how-to-choose-the-right-documentation-software/) 7 May 2024 · 5 mins How to Choose the Right Documentation Software. Reliable and efficient documentation software is crucial in the fast-paced world of software development. -## [AI in software diagramming: What trends will define the future?](https://www.mermaidchart.com/blog/posts/ai-in-software-diagramming/) +## [AI in software diagramming: What trends will define the future?](https://mermaid.ai/blog/posts/ai-in-software-diagramming/) 24 April 2024 · 5 mins Artificial intelligence (AI) tools are changing the way developers work. -## [Mermaid Chart Unveils Visual Editor for Sequence Diagrams](https://www.mermaidchart.com/blog/posts/mermaid-chart-unveils-visual-editor-for-sequence-diagrams/) +## [Mermaid Chart Unveils Visual Editor for Sequence Diagrams](https://mermaid.ai/blog/posts/mermaid-chart-unveils-visual-editor-for-sequence-diagrams/) 8 April 2024 · 5 mins Sequence diagrams are excellent tools for communication and documentation. -## [Modeling system states: It starts with a Turing machine](https://www.mermaidchart.com/blog/posts/modeling-system-states/) +## [Modeling system states: It starts with a Turing machine](https://mermaid.ai/blog/posts/modeling-system-states/) 27 March 2024 · 12 mins In computer science, there are a few fundamental papers that, without exaggeration, changed everything. -## [Mermaid Chart Raises $7.5M to Reinvent Visual Collaboration for Enterprises](https://www.mermaidchart.com/blog/posts/mermaid-chart-raises-7.5m-to-reinvent-visual-collaoration-for-enterprises/) +## [Mermaid Chart Raises $7.5M to Reinvent Visual Collaboration for Enterprises](https://mermaid.ai/blog/posts/mermaid-chart-raises-7.5m-to-reinvent-visual-collaoration-for-enterprises/) 20 March 2024 · 4 mins Mermaid Chart, the company offering text-based diagramming and workflow management tools, today announced it has raised $7.5 million in Seed funding. -## [Mermaid Chart GPT Is Now Available In the GPT Store!](https://www.mermaidchart.com/blog/posts/mermaid-chart-gpt-is-now-available-in-the-gpt-store/) +## [Mermaid Chart GPT Is Now Available In the GPT Store!](https://mermaid.ai/blog/posts/mermaid-chart-gpt-is-now-available-in-the-gpt-store/) 7 March 2024 · 3 mins Mermaid Chart GPT is Now Available In the GPT Store! -## [How to Make a Flowchart with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-make-flowcharts-with-mermaid-chart/) +## [How to Make a Flowchart with Mermaid Chart](https://mermaid.ai/blog/posts/how-to-make-flowcharts-with-mermaid-chart/) 30 January 2024 · 6 mins Learn how to make a flowchart with Mermaid Chart, the leading text-to-diagram platform for both developers and non-developers. -## [How one data scientist uses Mermaid Chart to quickly and easily build flowcharts](https://www.mermaidchart.com/blog/posts/customer-spotlight-ari-tal/) +## [How one data scientist uses Mermaid Chart to quickly and easily build flowcharts](https://mermaid.ai/blog/posts/customer-spotlight-ari-tal/) 23 January 2024 · 4 mins Read about how Ari Tal, a data scientist and founder of Leveling Up with XAI, utilizes Mermaid Chart for its easy-to-use flowchart creation capabilities to enhance his work in explainable AI (XAI). -## [Introducing Mermaid Chart’s JetBrains IDE Extension](https://www.mermaidchart.com/blog/posts/introducing-mermaid-charts-jetbrains-ide-extension/) +## [Introducing Mermaid Chart’s JetBrains IDE Extension](https://mermaid.ai/blog/posts/introducing-mermaid-charts-jetbrains-ide-extension/) 20 December 2023 · 5 mins Diagrams are essential for documenting your code. -## [Mermaid Chart Releases New Visual Editor For Flowcharts](https://www.mermaidchart.com/blog/posts/mermaid-chart-releases-new-visual-editor-for-flowcharts/) +## [Mermaid Chart Releases New Visual Editor For Flowcharts](https://mermaid.ai/blog/posts/mermaid-chart-releases-new-visual-editor-for-flowcharts/) 14 December 2023 · 5 mins Mermaid Chart introduces a new Visual Editor for flowcharts, enabling users of all skill levels to create diagrams easily and efficiently, with both GUI and code-based editing options. -## [7 best practices (+ examples) for good developer documentation](https://www.mermaidchart.com/blog/posts/7-best-practices-for-good-documentation/) +## [7 best practices (+ examples) for good developer documentation](https://mermaid.ai/blog/posts/7-best-practices-for-good-documentation/) 4 December 2023 · 11 min Essential strategies for crafting grate developer documentation, with practical examples and insights from leading tech companies. -## [5 Reasons You Should Be Using Mermaid Chart As Your Diagram Generator](https://www.mermaidchart.com/blog/posts/5-reasons-you-should-be-using-mermaid-chart-as-your-diagram-generator/) +## [5 Reasons You Should Be Using Mermaid Chart As Your Diagram Generator](https://mermaid.ai/blog/posts/5-reasons-you-should-be-using-mermaid-chart-as-your-diagram-generator/) 14 November 2023 · 5 mins Mermaid Chart, a user-friendly, code-based diagram generator with AI integrations, templates, collaborative tools, and plugins for developers, streamlines the process of creating and sharing diagrams, enhancing both creativity and collaboration. -## [How to Use Mermaid Chart as an AI Diagram Generator](https://www.mermaidchart.com/blog/posts/how-to-use-mermaid-chart-as-an-ai-diagram-generator/) +## [How to Use Mermaid Chart as an AI Diagram Generator](https://mermaid.ai/blog/posts/how-to-use-mermaid-chart-as-an-ai-diagram-generator/) 1 November 2023 · 5 mins Would an AI diagram generator make your life easier? -## [Diagrams, Made Even Easier: Introducing “Code Snippets” in the Mermaid Chart Editor](https://www.mermaidchart.com/blog/posts/easier-diagram-editing-with-code-snippets/) +## [Diagrams, Made Even Easier: Introducing “Code Snippets” in the Mermaid Chart Editor](https://mermaid.ai/blog/posts/easier-diagram-editing-with-code-snippets/) 12 October 2023 · 4 mins Mermaid Chart introduces Code Snippets in its editor, streamlining the diagramming process for developers and professionals. -## [How to Make a Git Graph with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-make-a-git-graph-with-mermaid-chart/) +## [How to Make a Git Graph with Mermaid Chart](https://mermaid.ai/blog/posts/how-to-make-a-git-graph-with-mermaid-chart/) 22 September 2023 · 7 mins A git graph is one of the more useful forms of diagrams for developers and DevOps professionals. -## [Present flow data using Sankey diagrams in Mermaid, thanks to Nikolay Rozhkov](https://www.mermaidchart.com/blog/posts/present-flow-data-using-sankey-diagrams/) +## [Present flow data using Sankey diagrams in Mermaid, thanks to Nikolay Rozhkov](https://mermaid.ai/blog/posts/present-flow-data-using-sankey-diagrams/) 8 September 2023 · 4 mins Sankey diagrams are a powerful tool for visualizing flow data. -## [Special cases broke Microsoft Zune and can ruin your code base too](https://www.mermaidchart.com/blog/posts/special-cases-broke-microsoft-zune-and-can-ruin-your-code-base-too/) +## [Special cases broke Microsoft Zune and can ruin your code base too](https://mermaid.ai/blog/posts/special-cases-broke-microsoft-zune-and-can-ruin-your-code-base-too/) 23 August 2023 · 15 mins Read about the pitfalls of special cases in programming, illustrating how they can lead to complexity, diminish readability, and create maintenance challenges. -## [New AI chatbot now available on Mermaid Chart to simplify text-based diagram creation](https://www.mermaidchart.com/blog/posts/ai-chatbot-now-available-on-mermaid-chart-to-simplify-text-based-diagram-creation/) +## [New AI chatbot now available on Mermaid Chart to simplify text-based diagram creation](https://mermaid.ai/blog/posts/ai-chatbot-now-available-on-mermaid-chart-to-simplify-text-based-diagram-creation/) 14 August 2023 · 4 mins Introducing Mermaid Chart’s new AI chatbot, a diagramming assistant that simplifies text-based diagram creation for everyone, from developers to educators, offering features to start, edit, and fix diagrams, and embodying our vision to make diagramming accessible, user-friendly, and fun. -## [Believe It or Not, You Still Need an Online UML Diagram Tool](https://www.mermaidchart.com/blog/posts/uml-diagram-tool/) +## [Believe It or Not, You Still Need an Online UML Diagram Tool](https://mermaid.ai/blog/posts/uml-diagram-tool/) 14 August 2023 · 8 mins A UML diagram tool helps developers and other professionals quickly create and share UML diagrams that communicate information about complex software systems. -## [From Chaos to Clarity: Exploring Mind Maps with MermaidJS](https://www.mermaidchart.com/blog/posts/from-chaos-to-clarity-exploring-mind-maps-with-mermaidjs) +## [From Chaos to Clarity: Exploring Mind Maps with MermaidJS](https://mermaid.ai/blog/posts/from-chaos-to-clarity-exploring-mind-maps-with-mermaidjs) 24 July 2023 · 4 mins Introducing the concept of mind mapping as a tool for organizing complex information, and highlights Mermaid as a user-friendly software that simplifies the creation and editing of mind maps for applications in IT solution design, business decision-making, and knowledge organization. -## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://www.mermaidchart.com/blog/posts/mermaid-chart-announces-visual-studio-code-plugin) +## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://mermaid.ai/blog/posts/mermaid-chart-announces-visual-studio-code-plugin) 17 July 2023 · 3 mins New Integration Enhances Workflows By Enabling Developers To Reference And Edit Diagrams Within Visual Studio Code. -## [Mermaid Chart’s ChatGPT Plugin Combines Generative AI and Smart Diagramming For Users](https://www.mermaidchart.com/blog/posts/mermaid-chart-chatgpt-plugin-combines-generative-ai-and-smart-diagramming) +## [Mermaid Chart’s ChatGPT Plugin Combines Generative AI and Smart Diagramming For Users](https://mermaid.ai/blog/posts/mermaid-chart-chatgpt-plugin-combines-generative-ai-and-smart-diagramming) 29 June 2023 · 4 mins Mermaid Chart’s new ChatGPT plugin integrates AI-powered text prompts with Mermaid’s intuitive diagramming editor, enabling users to generate, edit, and share complex diagrams with ease and efficiency. -## [Sequence diagrams, the only good thing UML brought to software development](https://www.mermaidchart.com/blog/posts/sequence-diagrams-the-good-thing-uml-brought-to-software-development/) +## [Sequence diagrams, the only good thing UML brought to software development](https://mermaid.ai/blog/posts/sequence-diagrams-the-good-thing-uml-brought-to-software-development/) 15 June 2023 · 12 mins Sequence diagrams really shine when you’re documenting different parts of a system and the various ways these parts interact with each other. -## [subhash-halder contributed quadrant charts so you can show your manager what to select - just like the strategy consultants at BCG do](https://www.mermaidchart.com/blog/posts/subhash-halder-contributed-quadrant-charts-so-you-can-show-your-manager-what-to-select-just-like-the-strategy-consultants-at-bcg-do/) +## [subhash-halder contributed quadrant charts so you can show your manager what to select - just like the strategy consultants at BCG do](https://mermaid.ai/blog/posts/subhash-halder-contributed-quadrant-charts-so-you-can-show-your-manager-what-to-select-just-like-the-strategy-consultants-at-bcg-do/) 8 June 2023 · 7 mins A quadrant chart is a useful diagram that helps users visualize data and identify patterns in a data set. -## [Bad documentation is bad for developers](https://www.mermaidchart.com/blog/posts/bad-documentation-is-bad-for-developers) +## [Bad documentation is bad for developers](https://mermaid.ai/blog/posts/bad-documentation-is-bad-for-developers) 26 April 2023 · 11 mins Documentation tends to be bad because companies and projects don’t fully realize the costs of bad documentation. -## [Automatic text wrapping in flowcharts is here!](https://www.mermaidchart.com/blog/posts/automatic-text-wrapping-in-flowcharts-is-here/) +## [Automatic text wrapping in flowcharts is here!](https://mermaid.ai/blog/posts/automatic-text-wrapping-in-flowcharts-is-here/) 3 April 2023 · 3 mins Markdown Strings reduce the hassle # Starting from v10. -## [Mermaid Chart officially launched with sharable diagram links and presentation mode](https://www.mermaidchart.com/blog/posts/mermaid-chart-officially-launched-with-sharable-diagram-links-and-presentation-mode/) +## [Mermaid Chart officially launched with sharable diagram links and presentation mode](https://mermaid.ai/blog/posts/mermaid-chart-officially-launched-with-sharable-diagram-links-and-presentation-mode/) 27 March 2023 · 2 mins Exciting news for all Mermaid OSS fans: Mermaid Chart has officially launched with Mermaid Chart! -## [If you're not excited about ChatGPT, then you're not being creative](https://www.mermaidchart.com/blog/posts/if-youre-not-excited-about-chatgpt-then-youre-not-being-creative-enough/) +## [If you're not excited about ChatGPT, then you're not being creative](https://mermaid.ai/blog/posts/if-youre-not-excited-about-chatgpt-then-youre-not-being-creative-enough/) 8 March 2023 · 9 mins The hype around AI in general and ChatGPT, in particular, is so intense that it’s very understandable to assume the hype train is driving straight toward the trough of disillusionment. -## [Flow charts are O(n)2 complex, so don't go over 100 connections](https://www.mermaidchart.com/blog/posts/flow-charts-are-on2-complex-so-dont-go-over-100-connections/) +## [Flow charts are O(n)2 complex, so don't go over 100 connections](https://mermaid.ai/blog/posts/flow-charts-are-on2-complex-so-dont-go-over-100-connections/) 1 March 2023 · 12 mins Flowchart design is a game of balance: Read about the importance of dialling in the right level of detail and how to manage complexity in large flowcharts. -## [Busting the myth that developers can't write](https://www.mermaidchart.com/blog/posts/busting-the-myth-that-developers-cant-write/) +## [Busting the myth that developers can't write](https://mermaid.ai/blog/posts/busting-the-myth-that-developers-cant-write/) 10 February 2023 · 10 mins diff --git a/packages/parser/package.json b/packages/parser/package.json index e831eaca464..9d0a726b8ce 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -33,10 +33,10 @@ "ast" ], "dependencies": { - "langium": "3.3.1" + "langium": "^4.0.0" }, "devDependencies": { - "chevrotain": "^11.0.3" + "chevrotain": "~11.1.1" }, "files": [ "dist/" diff --git a/packages/parser/src/language/architecture/architecture.langium b/packages/parser/src/language/architecture/architecture.langium index 2e97372bdec..80c76ba20e7 100644 --- a/packages/parser/src/language/architecture/architecture.langium +++ b/packages/parser/src/language/architecture/architecture.langium @@ -1,4 +1,4 @@ -grammar Architecture +grammar ArchitectureGrammar import "../common/common"; import "arch"; diff --git a/packages/parser/src/language/architecture/module.ts b/packages/parser/src/language/architecture/module.ts index d4e730c2c23..c5adce7889b 100644 --- a/packages/parser/src/language/architecture/module.ts +++ b/packages/parser/src/language/architecture/module.ts @@ -12,7 +12,10 @@ import { inject, } from 'langium'; -import { MermaidGeneratedSharedModule, ArchitectureGeneratedModule } from '../generated/module.js'; +import { + MermaidGeneratedSharedModule, + ArchitectureGrammarGeneratedModule as ArchitectureGeneratedModule, +} from '../generated/module.js'; import { ArchitectureTokenBuilder } from './tokenBuilder.js'; import { ArchitectureValueConverter } from './valueConverter.js'; diff --git a/packages/parser/src/language/common/common.langium b/packages/parser/src/language/common/common.langium index b74ffc34d15..9d239e0e006 100644 --- a/packages/parser/src/language/common/common.langium +++ b/packages/parser/src/language/common/common.langium @@ -3,9 +3,7 @@ // When imported, the terminals are considered after the terminals in the importing grammar // Note: Hence, to add a terminal greedier than the common terminals, import it separately after the common import -fragment EOL returns string: - NEWLINE+ | EOF -; +EOL returns string: NEWLINE+ | EOF; fragment TitleAndAccessibilities: ((accDescr=ACC_DESCR | accTitle=ACC_TITLE | title=TITLE) EOL)+ diff --git a/packages/parser/src/language/gitGraph/gitGraph.langium b/packages/parser/src/language/gitGraph/gitGraph.langium index 5a4b0596c75..31f67232b98 100644 --- a/packages/parser/src/language/gitGraph/gitGraph.langium +++ b/packages/parser/src/language/gitGraph/gitGraph.langium @@ -1,4 +1,4 @@ -grammar GitGraph +grammar GitGraphGrammar import "../common/common"; import "reference"; diff --git a/packages/parser/src/language/gitGraph/module.ts b/packages/parser/src/language/gitGraph/module.ts index e2d45c8fa65..b9f5fe17872 100644 --- a/packages/parser/src/language/gitGraph/module.ts +++ b/packages/parser/src/language/gitGraph/module.ts @@ -12,7 +12,10 @@ import { EmptyFileSystem, } from 'langium'; import { CommonValueConverter } from '../common/valueConverter.js'; -import { MermaidGeneratedSharedModule, GitGraphGeneratedModule } from '../generated/module.js'; +import { + MermaidGeneratedSharedModule, + GitGraphGrammarGeneratedModule as GitGraphGeneratedModule, +} from '../generated/module.js'; import { GitGraphTokenBuilder } from './tokenBuilder.js'; interface GitGraphAddedServices { diff --git a/packages/parser/src/language/index.ts b/packages/parser/src/language/index.ts index 9b31af5bae4..5920a7010fa 100644 --- a/packages/parser/src/language/index.ts +++ b/packages/parser/src/language/index.ts @@ -27,14 +27,14 @@ export { } from './generated/ast.js'; export { - InfoGeneratedModule, + InfoGrammarGeneratedModule as InfoGeneratedModule, MermaidGeneratedSharedModule, - PacketGeneratedModule, - PieGeneratedModule, - ArchitectureGeneratedModule, - GitGraphGeneratedModule, - RadarGeneratedModule, - TreemapGeneratedModule, + PacketGrammarGeneratedModule as PacketGeneratedModule, + PieGrammarGeneratedModule as PieGeneratedModule, + ArchitectureGrammarGeneratedModule as ArchitectureGeneratedModule, + GitGraphGrammarGeneratedModule as GitGraphGeneratedModule, + RadarGrammarGeneratedModule as RadarGeneratedModule, + TreemapGrammarGeneratedModule as TreemapGeneratedModule, } from './generated/module.js'; export * from './gitGraph/index.js'; diff --git a/packages/parser/src/language/info/info.langium b/packages/parser/src/language/info/info.langium index 8669841d150..3cb12bba0be 100644 --- a/packages/parser/src/language/info/info.langium +++ b/packages/parser/src/language/info/info.langium @@ -1,4 +1,4 @@ -grammar Info +grammar InfoGrammar import "../common/common"; entry Info: diff --git a/packages/parser/src/language/info/module.ts b/packages/parser/src/language/info/module.ts index 735e1614648..32a23a3c085 100644 --- a/packages/parser/src/language/info/module.ts +++ b/packages/parser/src/language/info/module.ts @@ -13,7 +13,10 @@ import { } from 'langium'; import { CommonValueConverter } from '../common/index.js'; -import { InfoGeneratedModule, MermaidGeneratedSharedModule } from '../generated/module.js'; +import { + InfoGrammarGeneratedModule as InfoGeneratedModule, + MermaidGeneratedSharedModule, +} from '../generated/module.js'; import { InfoTokenBuilder } from './tokenBuilder.js'; /** diff --git a/packages/parser/src/language/packet/module.ts b/packages/parser/src/language/packet/module.ts index 7eb65810f79..08dba508845 100644 --- a/packages/parser/src/language/packet/module.ts +++ b/packages/parser/src/language/packet/module.ts @@ -13,7 +13,10 @@ import { } from 'langium'; import { CommonValueConverter } from '../common/valueConverter.js'; -import { MermaidGeneratedSharedModule, PacketGeneratedModule } from '../generated/module.js'; +import { + MermaidGeneratedSharedModule, + PacketGrammarGeneratedModule as PacketGeneratedModule, +} from '../generated/module.js'; import { PacketTokenBuilder } from './tokenBuilder.js'; /** diff --git a/packages/parser/src/language/packet/packet.langium b/packages/parser/src/language/packet/packet.langium index 917cd471047..7a3537cc248 100644 --- a/packages/parser/src/language/packet/packet.langium +++ b/packages/parser/src/language/packet/packet.langium @@ -1,4 +1,4 @@ -grammar Packet +grammar PacketGrammar import "../common/common"; entry Packet: diff --git a/packages/parser/src/language/pie/module.ts b/packages/parser/src/language/pie/module.ts index 80fc26f8687..df93fb43281 100644 --- a/packages/parser/src/language/pie/module.ts +++ b/packages/parser/src/language/pie/module.ts @@ -12,7 +12,10 @@ import { inject, } from 'langium'; -import { MermaidGeneratedSharedModule, PieGeneratedModule } from '../generated/module.js'; +import { + MermaidGeneratedSharedModule, + PieGrammarGeneratedModule as PieGeneratedModule, +} from '../generated/module.js'; import { PieTokenBuilder } from './tokenBuilder.js'; import { PieValueConverter } from './valueConverter.js'; diff --git a/packages/parser/src/language/pie/pie.langium b/packages/parser/src/language/pie/pie.langium index f6802d718e8..04619027fb1 100644 --- a/packages/parser/src/language/pie/pie.langium +++ b/packages/parser/src/language/pie/pie.langium @@ -1,4 +1,4 @@ -grammar Pie +grammar PieGrammar import "../common/common"; entry Pie: @@ -17,4 +17,4 @@ PieSection: terminal FLOAT_PIE returns number: /-?[0-9]+\.[0-9]+(?!\.)/; terminal INT_PIE returns number: /-?(0|[1-9][0-9]*)(?!\.)/; -terminal NUMBER_PIE returns number: FLOAT_PIE | INT_PIE; \ No newline at end of file +terminal NUMBER_PIE returns number: FLOAT_PIE | INT_PIE; diff --git a/packages/parser/src/language/radar/module.ts b/packages/parser/src/language/radar/module.ts index de604724a89..5700ddd4bcc 100644 --- a/packages/parser/src/language/radar/module.ts +++ b/packages/parser/src/language/radar/module.ts @@ -12,7 +12,10 @@ import { inject, } from 'langium'; import { CommonValueConverter } from '../common/valueConverter.js'; -import { MermaidGeneratedSharedModule, RadarGeneratedModule } from '../generated/module.js'; +import { + MermaidGeneratedSharedModule, + RadarGrammarGeneratedModule as RadarGeneratedModule, +} from '../generated/module.js'; import { RadarTokenBuilder } from './tokenBuilder.js'; /** diff --git a/packages/parser/src/language/radar/radar.langium b/packages/parser/src/language/radar/radar.langium index 8aa9cb0ff1b..3fc1daf4ac8 100644 --- a/packages/parser/src/language/radar/radar.langium +++ b/packages/parser/src/language/radar/radar.langium @@ -1,4 +1,4 @@ -grammar Radar +grammar RadarGrammar import "../common/common"; entry Radar: @@ -52,4 +52,4 @@ Option: ) ; -terminal GRATICULE returns string: 'circle' | 'polygon'; \ No newline at end of file +terminal GRATICULE returns string: 'circle' | 'polygon'; diff --git a/packages/parser/src/language/treemap/module.ts b/packages/parser/src/language/treemap/module.ts index aaab7d0e8b6..5f841c3df67 100644 --- a/packages/parser/src/language/treemap/module.ts +++ b/packages/parser/src/language/treemap/module.ts @@ -12,7 +12,10 @@ import { inject, } from 'langium'; -import { MermaidGeneratedSharedModule, TreemapGeneratedModule } from '../generated/module.js'; +import { + MermaidGeneratedSharedModule, + TreemapGrammarGeneratedModule as TreemapGeneratedModule, +} from '../generated/module.js'; import { TreemapTokenBuilder } from './tokenBuilder.js'; import { TreemapValueConverter } from './valueConverter.js'; import { TreemapValidator, registerValidationChecks } from './treemap-validator.js'; diff --git a/packages/parser/src/language/treemap/treemap.langium b/packages/parser/src/language/treemap/treemap.langium index c35d5f0e9eb..44ea5735c8e 100644 --- a/packages/parser/src/language/treemap/treemap.langium +++ b/packages/parser/src/language/treemap/treemap.langium @@ -6,7 +6,7 @@ * before the treemap keyword, allowing for empty lines and comments before the * treemap declaration. */ -grammar Treemap +grammar TreemapGrammar @@ -54,6 +54,9 @@ terminal STYLE_SEPARATOR: ':::'; terminal SEPARATOR: ':'; terminal COMMA: ','; +// This should be processed before whitespace is ignored +terminal INDENTATION: /[ \t]{1,}/; // One or more spaces/tabs for indentation + hidden terminal WS: /[ \t]+/; // One or more spaces or tabs for hidden whitespace hidden terminal ML_COMMENT: /\%\%[^\n]*/; hidden terminal NL: /\r?\n/; @@ -75,9 +78,6 @@ Section returns Section: Leaf returns Leaf: name=STRING2 INDENTATION? (SEPARATOR | COMMA) INDENTATION? value=MyNumber (STYLE_SEPARATOR classSelector=ID2)?; -// This should be processed before whitespace is ignored -terminal INDENTATION: /[ \t]{1,}/; // One or more spaces/tabs for indentation - // Keywords with fixed text patterns terminal ID2: /[a-zA-Z_][a-zA-Z0-9_]*/; // Define as a terminal rule diff --git a/packages/parser/tests/architecture.test.ts b/packages/parser/tests/architecture.test.ts index e0dde07ac88..abb0d9745ed 100644 --- a/packages/parser/tests/architecture.test.ts +++ b/packages/parser/tests/architecture.test.ts @@ -15,7 +15,7 @@ describe('architecture', () => { ])('should handle regular architecture', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Architecture); + expect(result.value.$type).toBe(Architecture.$type); }); }); @@ -30,7 +30,7 @@ describe('architecture', () => { ])('should handle regular architecture + title in same line', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Architecture); + expect(result.value.$type).toBe(Architecture.$type); const { title } = result.value; expect(title).toBe('sample title'); @@ -45,7 +45,7 @@ describe('architecture', () => { ])('should handle regular architecture + title in next line', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Architecture); + expect(result.value.$type).toBe(Architecture.$type); const { title } = result.value; expect(title).toBe('sample title'); @@ -59,7 +59,7 @@ describe('architecture', () => { `; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Architecture); + expect(result.value.$type).toBe(Architecture.$type); const { title, accTitle, accDescr } = result.value; expect(title).toBe('sample title'); @@ -77,7 +77,7 @@ describe('architecture', () => { `; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Architecture); + expect(result.value.$type).toBe(Architecture.$type); const { title, accTitle, accDescr } = result.value; expect(title).toBe('sample title'); @@ -93,7 +93,7 @@ describe('architecture', () => { `; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Architecture); + expect(result.value.$type).toBe(Architecture.$type); const service = result.value.services?.[0]; expect(service).toBeDefined(); @@ -106,7 +106,7 @@ describe('architecture', () => { `; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Architecture); + expect(result.value.$type).toBe(Architecture.$type); const service = result.value.services?.[0]; expect(service).toBeDefined(); @@ -119,7 +119,7 @@ describe('architecture', () => { `; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Architecture); + expect(result.value.$type).toBe(Architecture.$type); const service = result.value.services?.[0]; expect(service).toBeDefined(); @@ -132,7 +132,7 @@ describe('architecture', () => { `; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Architecture); + expect(result.value.$type).toBe(Architecture.$type); const group = result.value.groups?.[0]; expect(group).toBeDefined(); @@ -144,7 +144,7 @@ describe('architecture', () => { `; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Architecture); + expect(result.value.$type).toBe(Architecture.$type); const service = result.value.services?.[0]; expect(service).toBeDefined(); @@ -157,7 +157,7 @@ describe('architecture', () => { `; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Architecture); + expect(result.value.$type).toBe(Architecture.$type); const service = result.value.services?.[0]; expect(service).toBeDefined(); diff --git a/packages/parser/tests/info.test.ts b/packages/parser/tests/info.test.ts index 09fc79c9afb..ec9cdc9743a 100644 --- a/packages/parser/tests/info.test.ts +++ b/packages/parser/tests/info.test.ts @@ -16,7 +16,7 @@ describe('info', () => { ])('should handle empty info', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Info); + expect(result.value.$type).toBe(Info.$type); }); it.each([ @@ -43,6 +43,6 @@ describe('info', () => { ])('should handle showInfo', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Info); + expect(result.value.$type).toBe(Info.$type); }); }); diff --git a/packages/parser/tests/packet.test.ts b/packages/parser/tests/packet.test.ts index 1b2e1a496bc..37317f0f0b2 100644 --- a/packages/parser/tests/packet.test.ts +++ b/packages/parser/tests/packet.test.ts @@ -20,6 +20,6 @@ describe('packet', () => { ])('should handle regular packet', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Packet); + expect(result.value.$type).toBe(Packet.$type); }); }); diff --git a/packages/parser/tests/pie.test.ts b/packages/parser/tests/pie.test.ts index caa7cc52855..a63705f4819 100644 --- a/packages/parser/tests/pie.test.ts +++ b/packages/parser/tests/pie.test.ts @@ -15,7 +15,7 @@ describe('pie', () => { ])('should handle regular pie', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); }); it.each([ @@ -28,7 +28,7 @@ describe('pie', () => { ])('should handle regular showData', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { showData } = result.value; expect(showData).toBeTruthy(); @@ -46,7 +46,7 @@ describe('pie', () => { ])('should handle regular pie + title in same line', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { title } = result.value; expect(title).toBe('sample title'); @@ -66,7 +66,7 @@ describe('pie', () => { ])('should handle regular pie + title in different line', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { title } = result.value; expect(title).toBe('sample title'); @@ -81,7 +81,7 @@ describe('pie', () => { ])('should handle regular pie + showData + title', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { showData, title } = result.value; expect(showData).toBeTruthy(); @@ -102,7 +102,7 @@ describe('pie', () => { ])('should handle regular showData + title in different line', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { showData, title } = result.value; expect(showData).toBeTruthy(); @@ -129,7 +129,7 @@ describe('pie', () => { ])('should handle regular sections', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { sections } = result.value; expect(sections[0].label).toBe('GitHub'); @@ -145,7 +145,7 @@ describe('pie', () => { "GitLab": 50`; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { showData, sections } = result.value; expect(showData).toBeTruthy(); @@ -163,7 +163,7 @@ describe('pie', () => { "GitLab": 50`; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { title, sections } = result.value; expect(title).toBe('sample wow'); @@ -181,7 +181,7 @@ describe('pie', () => { "bat": 40`; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { sections } = result.value; expect(sections[0].label).toBe('ash'); @@ -197,7 +197,7 @@ describe('pie', () => { "GitLab": 50`; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { accTitle, sections } = result.value; expect(accTitle).toBe('sample wow'); @@ -215,7 +215,7 @@ describe('pie', () => { "GitLab": 50`; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { accDescr, sections } = result.value; expect(accDescr).toBe('sample wow'); @@ -235,7 +235,7 @@ describe('pie', () => { "GitLab": 50`; const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Pie); + expect(result.value.$type).toBe(Pie.$type); const { accDescr, sections } = result.value; expect(accDescr).toBe('sample wow'); diff --git a/packages/parser/tests/radar.test.ts b/packages/parser/tests/radar.test.ts index 8a95172de56..0d99131d86a 100644 --- a/packages/parser/tests/radar.test.ts +++ b/packages/parser/tests/radar.test.ts @@ -23,7 +23,7 @@ describe('radar', () => { ])('should handle regular radar', (context: string) => { const result = parse(context); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); }); describe('should handle title, accDescr, and accTitle', () => { @@ -33,7 +33,7 @@ describe('radar', () => { ])('should handle title', (context: string) => { const result = parse(`radar-beta${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { title } = result.value; expect(title).toBe('My Title'); @@ -45,7 +45,7 @@ describe('radar', () => { ])('should handle accDescr', (context: string) => { const result = parse(`radar-beta${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { accDescr } = result.value; expect(accDescr).toBe('My Accessible Description'); @@ -57,7 +57,7 @@ describe('radar', () => { ])('should handle accTitle', (context: string) => { const result = parse(`radar-beta${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { accTitle } = result.value; expect(accTitle).toBe('My Accessible Title'); @@ -73,7 +73,7 @@ describe('radar', () => { ])('should handle title + accDescr + accTitle', (context: string) => { const result = parse(`radar-beta${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { title, accDescr, accTitle } = result.value; expect(title).toBe('My Title'); @@ -88,7 +88,7 @@ describe('radar', () => { (context: string) => { const result = parse(`radar-beta\n${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { axes } = result.value; expect(axes).toHaveLength(1); @@ -106,7 +106,7 @@ describe('radar', () => { ])('should handle multiple axes', (context: string) => { const result = parse(`radar-beta\n${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { axes } = result.value; expect(axes).toHaveLength(2); @@ -122,7 +122,7 @@ describe('radar', () => { ])('should handle axis labels', (context: string) => { const result = parse(`radar-beta\n${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { axes } = result.value; expect(axes).toHaveLength(2); @@ -181,7 +181,7 @@ describe('radar', () => { ])('should handle one curve with one entry', (context: string) => { const result = parse(`radar-beta\naxis my-axis\n${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { curves } = result.value; expect(curves).toHaveLength(1); @@ -201,7 +201,7 @@ describe('radar', () => { ])('should handle one curve with one detailed entry', (context: string) => { const result = parse(`radar-beta\naxis my-axis\n${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { curves } = result.value; expect(curves).toHaveLength(1); @@ -225,7 +225,7 @@ describe('radar', () => { ])('should handle one curve with multiple detailed entries', (context: string) => { const result = parse(`radar-beta\naxis ax1, ax1\n${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { curves } = result.value; expect(curves).toHaveLength(1); @@ -255,7 +255,7 @@ describe('radar', () => { ])('should handle multiple curves', (context: string) => { const result = parse(`radar-beta\naxis ax1, ax1\n${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { curves } = result.value; expect(curves).toHaveLength(2); @@ -295,7 +295,7 @@ describe('radar', () => { curve c1 { ax1 1, ax2 2 } ${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { options } = result.value; expect(options).toBeDefined(); @@ -313,7 +313,7 @@ describe('radar', () => { curve c1 { ax1 1, ax2 2 } ${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { options } = result.value; expect(options).toBeDefined(); @@ -331,7 +331,7 @@ describe('radar', () => { curve c1 { ax1 1, ax2 2 } ${context}`); expectNoErrorsOrAlternatives(result); - expect(result.value.$type).toBe(Radar); + expect(result.value.$type).toBe(Radar.$type); const { options } = result.value; expect(options).toBeDefined(); diff --git a/packages/tiny/CHANGELOG.md b/packages/tiny/CHANGELOG.md index 52019d28c10..2febfed7259 100644 --- a/packages/tiny/CHANGELOG.md +++ b/packages/tiny/CHANGELOG.md @@ -1,5 +1,11 @@ # mermaid +## 11.12.2 + +### Patch Changes + +- [#7200](https://github.com/mermaid-js/mermaid/pull/7200) [`de7ed10`](https://github.com/mermaid-js/mermaid/commit/de7ed1033996d702e3983dcf8114f33faea89577) Thanks [@shubhamparikh2704](https://github.com/shubhamparikh2704)! - fix: validate dates and tick interval to prevent UI freeze/crash in gantt diagramtype + ## 11.12.1 ### Patch Changes diff --git a/packages/tiny/package.json b/packages/tiny/package.json index cdc3d49f80c..2a83e5fc393 100644 --- a/packages/tiny/package.json +++ b/packages/tiny/package.json @@ -1,6 +1,6 @@ { "name": "@mermaid-js/tiny", - "version": "11.12.1", + "version": "11.12.2", "description": "Tiny version of mermaid", "type": "commonjs", "main": "./dist/mermaid.tiny.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 80d20e64061..e5fb5abbe11 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,7 +15,7 @@ importers: devDependencies: '@applitools/eyes-cypress': specifier: ^3.56.5 - version: 3.56.5(encoding@0.1.13)(typescript@5.7.3) + version: 3.56.5(encoding@0.1.13)(typescript@5.8.3) '@argos-ci/cypress': specifier: ^6.2.2 version: 6.2.2(cypress@14.5.4) @@ -36,7 +36,7 @@ importers: version: 9.35.0 '@rollup/plugin-typescript': specifier: ^12.1.4 - version: 12.1.4(rollup@4.52.5)(tslib@2.8.1)(typescript@5.7.3) + version: 12.1.4(rollup@4.52.5)(tslib@2.8.1)(typescript@5.8.3) '@types/cors': specifier: ^2.8.19 version: 2.8.19 @@ -123,7 +123,7 @@ importers: version: 8.1.3 eslint-plugin-jest: specifier: ^29.0.1 - version: 29.0.1(@typescript-eslint/eslint-plugin@8.43.0(@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3))(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3))(eslint@9.35.0(jiti@2.6.1))(jest@30.1.3(@types/node@22.19.1))(typescript@5.7.3) + version: 29.0.1(@typescript-eslint/eslint-plugin@8.43.0(@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3))(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3))(eslint@9.35.0(jiti@2.6.1))(jest@30.1.3(@types/node@22.19.1))(typescript@5.8.3) eslint-plugin-jsdoc: specifier: ^61.1.12 version: 61.1.12(eslint@9.35.0(jiti@2.6.1)) @@ -170,8 +170,8 @@ importers: specifier: ^26.1.0 version: 26.1.0(canvas@3.2.0) langium-cli: - specifier: 3.3.0 - version: 3.3.0 + specifier: ^4.0.0 + version: 4.2.0 lint-staged: specifier: ^16.1.6 version: 16.1.6 @@ -206,11 +206,11 @@ importers: specifier: ^4.20.6 version: 4.20.6 typescript: - specifier: ~5.7.3 - version: 5.7.3 + specifier: ~5.8.0 + version: 5.8.3 typescript-eslint: specifier: ^8.38.0 - version: 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3) + version: 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3) vite: specifier: ^7.0.8 version: 7.1.11(@types/node@22.19.1)(jiti@2.6.1)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1) @@ -272,8 +272,8 @@ importers: specifier: ^2.1.0 version: 2.1.0 lodash-es: - specifier: ^4.17.21 - version: 4.17.21 + specifier: ^4.17.23 + version: 4.17.23 marked: specifier: ^16.3.0 version: 16.3.0 @@ -457,9 +457,6 @@ importers: d3: specifier: ^7.9.0 version: 7.9.0 - non-layered-tidy-tree-layout: - specifier: ^2.0.2 - version: 2.0.2 devDependencies: '@types/d3': specifier: ^7.4.3 @@ -467,6 +464,9 @@ importers: mermaid: specifier: workspace:^ version: link:../mermaid + non-layered-tidy-tree-layout: + specifier: ^2.0.2 + version: 2.0.2 packages/mermaid-zenuml: dependencies: @@ -542,12 +542,12 @@ importers: packages/parser: dependencies: langium: - specifier: 3.3.1 - version: 3.3.1 + specifier: ^4.0.0 + version: 4.2.0 devDependencies: chevrotain: - specifier: ^11.0.3 - version: 11.0.3 + specifier: ~11.1.1 + version: 11.1.1 packages/tiny: {} @@ -1501,20 +1501,20 @@ packages: '@changesets/write@0.4.0': resolution: {integrity: sha512-CdTLvIOPiCNuH71pyDu3rA+Q0n65cmAbXnwWH84rKGiFumFzkmHNT8KHTMEchcxN+Kl8I54xGUhJ7l3E7X396Q==} - '@chevrotain/cst-dts-gen@11.0.3': - resolution: {integrity: sha512-BvIKpRLeS/8UbfxXxgC33xOumsacaeCKAjAeLyOn7Pcp95HiRbrpl14S+9vaZLolnbssPIUuiUd8IvgkRyt6NQ==} + '@chevrotain/cst-dts-gen@11.1.1': + resolution: {integrity: sha512-fRHyv6/f542qQqiRGalrfJl/evD39mAvbJLCekPazhiextEatq1Jx1K/i9gSd5NNO0ds03ek0Cbo/4uVKmOBcw==} - '@chevrotain/gast@11.0.3': - resolution: {integrity: sha512-+qNfcoNk70PyS/uxmj3li5NiECO+2YKZZQMbmjTqRI3Qchu8Hig/Q9vgkHpI3alNjr7M+a2St5pw5w5F6NL5/Q==} + '@chevrotain/gast@11.1.1': + resolution: {integrity: sha512-Ko/5vPEYy1vn5CbCjjvnSO4U7GgxyGm+dfUZZJIWTlQFkXkyym0jFYrWEU10hyCjrA7rQtiHtBr0EaZqvHFZvg==} - '@chevrotain/regexp-to-ast@11.0.3': - resolution: {integrity: sha512-1fMHaBZxLFvWI067AVbGJav1eRY7N8DDvYCTwGBiE/ytKBgP8azTdgyrKyWZ9Mfh09eHWb5PgTSO8wi7U824RA==} + '@chevrotain/regexp-to-ast@11.1.1': + resolution: {integrity: sha512-ctRw1OKSXkOrR8VTvOxrQ5USEc4sNrfwXHa1NuTcR7wre4YbjPcKw+82C2uylg/TEwFRgwLmbhlln4qkmDyteg==} - '@chevrotain/types@11.0.3': - resolution: {integrity: sha512-gsiM3G8b58kZC2HaWR50gu6Y1440cHiJ+i3JUvcp/35JchYejb2+5MVeJK0iKThYpAa/P2PYFV4hoi44HD+aHQ==} + '@chevrotain/types@11.1.1': + resolution: {integrity: sha512-wb2ToxG8LkgPYnKe9FH8oGn3TMCBdnwiuNC5l5y+CtlaVRbCytU0kbVsk6CGrqTL4ZN4ksJa0TXOYbxpbthtqw==} - '@chevrotain/utils@11.0.3': - resolution: {integrity: sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==} + '@chevrotain/utils@11.1.1': + resolution: {integrity: sha512-71eTYMzYXYSFPrbg/ZwftSaSDld7UYlS8OQa3lNnn9jzNtpFbaReRRyghzqS7rI3CDaorqpPJJcXGHK+FE1TVQ==} '@cspell/cspell-bundled-dicts@9.3.2': resolution: {integrity: sha512-OmKzq/0FATHU671GKMzBrTyLdm25Wnziva7h4ylumVn1wnwWsXGef5bgXD7iuApqfqH9SzxsU0NtTB8m8vwEHQ==} @@ -4456,10 +4456,6 @@ packages: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} - chalk@5.3.0: - resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} - engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} - chalk@5.6.2: resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} @@ -4505,8 +4501,8 @@ packages: peerDependencies: chevrotain: ^11.0.0 - chevrotain@11.0.3: - resolution: {integrity: sha512-ci2iJH6LeIkvP9eJW6gpueU8cnZhv85ELY8w8WiFtNjMHA5ad6pQLaJo9mEly/9qUyCpvqX8/POVUTf18/HFdw==} + chevrotain@11.1.1: + resolution: {integrity: sha512-f0yv5CPKaFxfsPTBzX7vGuim4oIC1/gcS7LUGdBSwl2dU6+FON6LVUksdOo1qJjoUvXNn45urgh8C+0a24pACQ==} chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} @@ -4657,10 +4653,6 @@ packages: comma-separated-tokens@2.0.3: resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} - commander@11.0.0: - resolution: {integrity: sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==} - engines: {node: '>=16'} - commander@12.1.0: resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} engines: {node: '>=18'} @@ -6001,10 +5993,6 @@ packages: fs-constants@1.0.0: resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} - fs-extra@11.1.1: - resolution: {integrity: sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==} - engines: {node: '>=14.14'} - fs-extra@11.3.2: resolution: {integrity: sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==} engines: {node: '>=14.14'} @@ -7046,8 +7034,8 @@ packages: resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==} engines: {node: '>=0.10.0'} - jsonschema@1.4.1: - resolution: {integrity: sha512-S6cATIPVv1z0IlxdN+zUk5EPjkGCdnhN4wVSBlvoUO1tOLJootbo9CquNJmbIh4yikWHiUedhRYrNPn1arpEmQ==} + jsonschema@1.5.0: + resolution: {integrity: sha512-K+A9hhqbn0f3pJX17Q/7H6yQfD/5OXgdrR5UE12gMXCiN9D5Xq2o5mddV2QEcX/bjla99ASsAAQUyMCCRWAEhw==} jsprim@2.0.2: resolution: {integrity: sha512-gqXddjPqQ6G40VdnI6T6yObEC+pDNvyP95wdQhkWkg7crHH3km5qP1FsOXEkzEQwnz6gz5qGTn1c2Y52wP3OyQ==} @@ -7078,17 +7066,17 @@ packages: resolution: {integrity: sha512-X/u76z4JtDVq10u1JA5UQfatPxgPaVDMYTrgHyiTpGN2z4TMEJkIHsoSBBSg9SWZEIXTKsi9kHgiQ9o3Y/4yog==} engines: {node: '>=12'} - langium-cli@3.3.0: - resolution: {integrity: sha512-QWvlOYdLbso8/lv6Ma+SBtvMN9k70JrplLx6VSIcV7gJNDTXeS+tjwC/f6T0aco1fg8uLL8GiAcaMovd1FnneA==} - engines: {node: '>=16.0.0'} + langium-cli@4.2.0: + resolution: {integrity: sha512-3X0QAaeaQgQAyxqeM5XAgvFa+uvMdDwi9PwveoICJcCqtu8GJQrksC81tOiBDXaAXMVWgNHDTkeRegqiD5FmbQ==} + engines: {node: '>=20.10.0', npm: '>=10.2.3'} hasBin: true - langium-railroad@3.3.0: - resolution: {integrity: sha512-x56CU0KnLoqYLkHEPDJjFoekFoCVbbZbmHduldiXjKD8owt6t5aqgWfg31OeMeR+7XgONZTtmsO76yl6GvEkzQ==} + langium-railroad@4.2.0: + resolution: {integrity: sha512-LYR22GV14iz0GTUtR91pZY6yNImYRk1HbAuHBP8k8GESMcSkCJh+iewJooH9k8H8dJOteXvvI7aFkz6rfU9oLQ==} - langium@3.3.1: - resolution: {integrity: sha512-QJv/h939gDpvT+9SiLVlY7tZC3xB2qK57v0J04Sh9wpMb6MP1q8gB21L3WIo8T5P1MSMg3Ep14L7KkDCFG3y4w==} - engines: {node: '>=16.0.0'} + langium@4.2.0: + resolution: {integrity: sha512-SoXTYrTyA9x0CjVoguZfB9NIbj2RwQ7KpltHyJwB7jyzbnfHkqw5Alf9A1JtIqouT7fZv4xMCCy+7CoIYGV65w==} + engines: {node: '>=20.10.0', npm: '>=10.2.3'} launch-editor@2.11.1: resolution: {integrity: sha512-SEET7oNfgSaB6Ym0jufAdCeo3meJVeCaaDyzRygy0xsp2BFKCprcfHljTq4QkzTLUxEKkFK6OK4811YM2oSrRg==} @@ -7172,8 +7160,8 @@ packages: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} engines: {node: '>=10'} - lodash-es@4.17.21: - resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} + lodash-es@4.17.23: + resolution: {integrity: sha512-kVI48u3PZr38HdYz98UmfPnXl2DXrpdctLrFLCd3kOx1xUkOmpFPx7gCWWM5MPkL/fD8zb+Ph0QzjGFs4+hHWg==} lodash.clonedeep@4.5.0: resolution: {integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==} @@ -9376,6 +9364,11 @@ packages: engines: {node: '>=14.17'} hasBin: true + typescript@5.8.3: + resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} + engines: {node: '>=14.17'} + hasBin: true + typescript@5.9.2: resolution: {integrity: sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==} engines: {node: '>=14.17'} @@ -9750,9 +9743,6 @@ packages: vscode-nls@5.2.0: resolution: {integrity: sha512-RAaHx7B14ZU04EU31pT+rKz2/zSl7xMsfIZuo8pd+KZO6PXtQmpevpq3vxvWNcrGbdmhM/rr5Uw5Mz+NBfhVng==} - vscode-uri@3.0.8: - resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==} - vscode-uri@3.1.0: resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==} @@ -10306,20 +10296,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@applitools/core@4.53.0(encoding@0.1.13)(typescript@5.7.3)': + '@applitools/core@4.53.0(encoding@0.1.13)(typescript@5.8.3)': dependencies: '@applitools/core-base': 1.30.0 '@applitools/dom-capture': 11.6.7 '@applitools/dom-snapshot': 4.15.1 '@applitools/driver': 1.24.2 - '@applitools/ec-client': 1.12.13(typescript@5.7.3) + '@applitools/ec-client': 1.12.13(typescript@5.8.3) '@applitools/logger': 2.2.6 '@applitools/nml-client': 1.11.11(@applitools/core-base@1.30.0) '@applitools/req': 1.8.6 '@applitools/screenshoter': 3.12.9 '@applitools/snippets': 2.7.0 '@applitools/socket': 1.3.7 - '@applitools/spec-driver-webdriver': 1.5.2(webdriver@7.31.1(typescript@5.7.3)) + '@applitools/spec-driver-webdriver': 1.5.2(webdriver@7.31.1(typescript@5.8.3)) '@applitools/ufg-client': 1.18.2 '@applitools/utils': 1.14.0 '@types/ws': 8.5.5 @@ -10328,7 +10318,7 @@ snapshots: node-fetch: 2.6.7(encoding@0.1.13) semver: 7.6.2 throat: 6.0.2 - webdriver: 7.31.1(typescript@5.7.3) + webdriver: 7.31.1(typescript@5.8.3) ws: 8.17.1 yargs: 17.7.2 transitivePeerDependencies: @@ -10361,18 +10351,18 @@ snapshots: transitivePeerDependencies: - supports-color - '@applitools/ec-client@1.12.13(typescript@5.7.3)': + '@applitools/ec-client@1.12.13(typescript@5.8.3)': dependencies: '@applitools/core-base': 1.30.0 '@applitools/driver': 1.24.2 '@applitools/logger': 2.2.6 '@applitools/req': 1.8.6 '@applitools/socket': 1.3.7 - '@applitools/spec-driver-webdriver': 1.5.2(webdriver@7.31.1(typescript@5.7.3)) + '@applitools/spec-driver-webdriver': 1.5.2(webdriver@7.31.1(typescript@5.8.3)) '@applitools/tunnel-client': 1.11.4 '@applitools/utils': 1.14.0 abort-controller: 3.0.0 - webdriver: 7.31.1(typescript@5.7.3) + webdriver: 7.31.1(typescript@5.8.3) yargs: 17.7.2 transitivePeerDependencies: - supports-color @@ -10404,10 +10394,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@applitools/eyes-cypress@3.56.5(encoding@0.1.13)(typescript@5.7.3)': + '@applitools/eyes-cypress@3.56.5(encoding@0.1.13)(typescript@5.8.3)': dependencies: - '@applitools/core': 4.53.0(encoding@0.1.13)(typescript@5.7.3) - '@applitools/eyes': 1.36.16(encoding@0.1.13)(typescript@5.7.3) + '@applitools/core': 4.53.0(encoding@0.1.13)(typescript@5.8.3) + '@applitools/eyes': 1.36.16(encoding@0.1.13)(typescript@5.8.3) '@applitools/functional-commons': 1.6.0 '@applitools/logger': 2.2.6 '@applitools/utils': 1.14.0 @@ -10423,9 +10413,9 @@ snapshots: - typescript - utf-8-validate - '@applitools/eyes@1.36.16(encoding@0.1.13)(typescript@5.7.3)': + '@applitools/eyes@1.36.16(encoding@0.1.13)(typescript@5.8.3)': dependencies: - '@applitools/core': 4.53.0(encoding@0.1.13)(typescript@5.7.3) + '@applitools/core': 4.53.0(encoding@0.1.13)(typescript@5.8.3) '@applitools/logger': 2.2.6 '@applitools/utils': 1.14.0 chalk: 4.1.2 @@ -10492,13 +10482,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@applitools/spec-driver-webdriver@1.5.2(webdriver@7.31.1(typescript@5.7.3))': + '@applitools/spec-driver-webdriver@1.5.2(webdriver@7.31.1(typescript@5.8.3))': dependencies: '@applitools/driver': 1.24.2 '@applitools/utils': 1.14.0 http-proxy-agent: 5.0.0 https-proxy-agent: 5.0.1 - webdriver: 7.31.1(typescript@5.7.3) + webdriver: 7.31.1(typescript@5.8.3) transitivePeerDependencies: - supports-color @@ -12054,22 +12044,22 @@ snapshots: human-id: 4.1.1 prettier: 2.8.8 - '@chevrotain/cst-dts-gen@11.0.3': + '@chevrotain/cst-dts-gen@11.1.1': dependencies: - '@chevrotain/gast': 11.0.3 - '@chevrotain/types': 11.0.3 - lodash-es: 4.17.21 + '@chevrotain/gast': 11.1.1 + '@chevrotain/types': 11.1.1 + lodash-es: 4.17.23 - '@chevrotain/gast@11.0.3': + '@chevrotain/gast@11.1.1': dependencies: - '@chevrotain/types': 11.0.3 - lodash-es: 4.17.21 + '@chevrotain/types': 11.1.1 + lodash-es: 4.17.23 - '@chevrotain/regexp-to-ast@11.0.3': {} + '@chevrotain/regexp-to-ast@11.1.1': {} - '@chevrotain/types@11.0.3': {} + '@chevrotain/types@11.1.1': {} - '@chevrotain/utils@11.0.3': {} + '@chevrotain/utils@11.1.1': {} '@cspell/cspell-bundled-dicts@9.3.2': dependencies: @@ -13223,11 +13213,11 @@ snapshots: optionalDependencies: rollup: 2.79.2 - '@rollup/plugin-typescript@12.1.4(rollup@4.52.5)(tslib@2.8.1)(typescript@5.7.3)': + '@rollup/plugin-typescript@12.1.4(rollup@4.52.5)(tslib@2.8.1)(typescript@5.8.3)': dependencies: '@rollup/pluginutils': 5.3.0(rollup@4.52.5) resolve: 1.22.10 - typescript: 5.7.3 + typescript: 5.8.3 optionalDependencies: rollup: 4.52.5 tslib: 2.8.1 @@ -13915,41 +13905,41 @@ snapshots: '@types/node': 22.19.1 optional: true - '@typescript-eslint/eslint-plugin@8.43.0(@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3))(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3)': + '@typescript-eslint/eslint-plugin@8.43.0(@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3))(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3) + '@typescript-eslint/parser': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3) '@typescript-eslint/scope-manager': 8.43.0 - '@typescript-eslint/type-utils': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3) - '@typescript-eslint/utils': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3) + '@typescript-eslint/type-utils': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3) + '@typescript-eslint/utils': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3) '@typescript-eslint/visitor-keys': 8.43.0 eslint: 9.35.0(jiti@2.6.1) graphemer: 1.4.0 ignore: 7.0.5 natural-compare: 1.4.0 - ts-api-utils: 2.1.0(typescript@5.7.3) - typescript: 5.7.3 + ts-api-utils: 2.1.0(typescript@5.8.3) + typescript: 5.8.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3)': + '@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3)': dependencies: '@typescript-eslint/scope-manager': 8.43.0 '@typescript-eslint/types': 8.43.0 - '@typescript-eslint/typescript-estree': 8.43.0(typescript@5.7.3) + '@typescript-eslint/typescript-estree': 8.43.0(typescript@5.8.3) '@typescript-eslint/visitor-keys': 8.43.0 debug: 4.4.3(supports-color@8.1.1) eslint: 9.35.0(jiti@2.6.1) - typescript: 5.7.3 + typescript: 5.8.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/project-service@8.43.0(typescript@5.7.3)': + '@typescript-eslint/project-service@8.43.0(typescript@5.8.3)': dependencies: - '@typescript-eslint/tsconfig-utils': 8.43.0(typescript@5.7.3) + '@typescript-eslint/tsconfig-utils': 8.43.0(typescript@5.8.3) '@typescript-eslint/types': 8.43.0 debug: 4.4.3(supports-color@8.1.1) - typescript: 5.7.3 + typescript: 5.8.3 transitivePeerDependencies: - supports-color @@ -13958,19 +13948,19 @@ snapshots: '@typescript-eslint/types': 8.43.0 '@typescript-eslint/visitor-keys': 8.43.0 - '@typescript-eslint/tsconfig-utils@8.43.0(typescript@5.7.3)': + '@typescript-eslint/tsconfig-utils@8.43.0(typescript@5.8.3)': dependencies: - typescript: 5.7.3 + typescript: 5.8.3 - '@typescript-eslint/type-utils@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3)': + '@typescript-eslint/type-utils@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3)': dependencies: '@typescript-eslint/types': 8.43.0 - '@typescript-eslint/typescript-estree': 8.43.0(typescript@5.7.3) - '@typescript-eslint/utils': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3) + '@typescript-eslint/typescript-estree': 8.43.0(typescript@5.8.3) + '@typescript-eslint/utils': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3) debug: 4.4.3(supports-color@8.1.1) eslint: 9.35.0(jiti@2.6.1) - ts-api-utils: 2.1.0(typescript@5.7.3) - typescript: 5.7.3 + ts-api-utils: 2.1.0(typescript@5.8.3) + typescript: 5.8.3 transitivePeerDependencies: - supports-color @@ -13978,10 +13968,10 @@ snapshots: '@typescript-eslint/types@8.46.3': {} - '@typescript-eslint/typescript-estree@8.43.0(typescript@5.7.3)': + '@typescript-eslint/typescript-estree@8.43.0(typescript@5.8.3)': dependencies: - '@typescript-eslint/project-service': 8.43.0(typescript@5.7.3) - '@typescript-eslint/tsconfig-utils': 8.43.0(typescript@5.7.3) + '@typescript-eslint/project-service': 8.43.0(typescript@5.8.3) + '@typescript-eslint/tsconfig-utils': 8.43.0(typescript@5.8.3) '@typescript-eslint/types': 8.43.0 '@typescript-eslint/visitor-keys': 8.43.0 debug: 4.4.3(supports-color@8.1.1) @@ -13989,19 +13979,19 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.7.3 - ts-api-utils: 2.1.0(typescript@5.7.3) - typescript: 5.7.3 + ts-api-utils: 2.1.0(typescript@5.8.3) + typescript: 5.8.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3)': + '@typescript-eslint/utils@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3)': dependencies: '@eslint-community/eslint-utils': 4.9.0(eslint@9.35.0(jiti@2.6.1)) '@typescript-eslint/scope-manager': 8.43.0 '@typescript-eslint/types': 8.43.0 - '@typescript-eslint/typescript-estree': 8.43.0(typescript@5.7.3) + '@typescript-eslint/typescript-estree': 8.43.0(typescript@5.8.3) eslint: 9.35.0(jiti@2.6.1) - typescript: 5.7.3 + typescript: 5.8.3 transitivePeerDependencies: - supports-color @@ -14551,12 +14541,12 @@ snapshots: dependencies: vue: 3.5.25(typescript@5.9.2) - '@wdio/config@7.31.1(typescript@5.7.3)': + '@wdio/config@7.31.1(typescript@5.8.3)': dependencies: '@types/glob': 8.1.0 '@wdio/logger': 7.26.0 - '@wdio/types': 7.30.2(typescript@5.7.3) - '@wdio/utils': 7.30.2(typescript@5.7.3) + '@wdio/types': 7.30.2(typescript@5.8.3) + '@wdio/utils': 7.30.2(typescript@5.8.3) deepmerge: 4.3.1 glob: 8.1.0 transitivePeerDependencies: @@ -14571,17 +14561,17 @@ snapshots: '@wdio/protocols@7.27.0': {} - '@wdio/types@7.30.2(typescript@5.7.3)': + '@wdio/types@7.30.2(typescript@5.8.3)': dependencies: '@types/node': 18.19.124 got: 11.8.6 optionalDependencies: - typescript: 5.7.3 + typescript: 5.8.3 - '@wdio/utils@7.30.2(typescript@5.7.3)': + '@wdio/utils@7.30.2(typescript@5.8.3)': dependencies: '@wdio/logger': 7.26.0 - '@wdio/types': 7.30.2(typescript@5.7.3) + '@wdio/types': 7.30.2(typescript@5.8.3) p-iteration: 1.1.8 transitivePeerDependencies: - typescript @@ -15331,8 +15321,6 @@ snapshots: ansi-styles: 4.3.0 supports-color: 7.2.0 - chalk@5.3.0: {} - chalk@5.6.2: {} change-case@5.4.4: {} @@ -15357,19 +15345,19 @@ snapshots: check-more-types@2.24.0: {} - chevrotain-allstar@0.3.1(chevrotain@11.0.3): + chevrotain-allstar@0.3.1(chevrotain@11.1.1): dependencies: - chevrotain: 11.0.3 - lodash-es: 4.17.21 + chevrotain: 11.1.1 + lodash-es: 4.17.23 - chevrotain@11.0.3: + chevrotain@11.1.1: dependencies: - '@chevrotain/cst-dts-gen': 11.0.3 - '@chevrotain/gast': 11.0.3 - '@chevrotain/regexp-to-ast': 11.0.3 - '@chevrotain/types': 11.0.3 - '@chevrotain/utils': 11.0.3 - lodash-es: 4.17.21 + '@chevrotain/cst-dts-gen': 11.1.1 + '@chevrotain/gast': 11.1.1 + '@chevrotain/regexp-to-ast': 11.1.1 + '@chevrotain/types': 11.1.1 + '@chevrotain/utils': 11.1.1 + lodash-es: 4.17.23 chokidar@3.6.0: dependencies: @@ -15516,8 +15504,6 @@ snapshots: comma-separated-tokens@2.0.3: {} - commander@11.0.0: {} - commander@12.1.0: {} commander@14.0.1: {} @@ -16047,7 +16033,7 @@ snapshots: dagre-d3-es@7.0.14: dependencies: d3: 7.9.0 - lodash-es: 4.17.21 + lodash-es: 4.17.23 dashdash@1.14.1: dependencies: @@ -16197,7 +16183,7 @@ snapshots: commander: 12.1.0 filing-cabinet: 5.0.3 precinct: 12.2.0 - typescript: 5.9.2 + typescript: 5.8.3 transitivePeerDependencies: - supports-color @@ -16249,16 +16235,16 @@ snapshots: detective-stylus@5.0.1: {} - detective-typescript@14.0.0(typescript@5.7.3): + detective-typescript@14.0.0(typescript@5.8.3): dependencies: - '@typescript-eslint/typescript-estree': 8.43.0(typescript@5.7.3) + '@typescript-eslint/typescript-estree': 8.43.0(typescript@5.8.3) ast-module-types: 6.0.1 node-source-walk: 7.0.1 - typescript: 5.7.3 + typescript: 5.8.3 transitivePeerDependencies: - supports-color - detective-vue2@2.2.0(typescript@5.7.3): + detective-vue2@2.2.0(typescript@5.8.3): dependencies: '@dependents/detective-less': 5.0.1 '@vue/compiler-sfc': 3.5.24 @@ -16266,8 +16252,8 @@ snapshots: detective-sass: 6.0.1 detective-scss: 5.0.1 detective-stylus: 5.0.1 - detective-typescript: 14.0.0(typescript@5.7.3) - typescript: 5.7.3 + detective-typescript: 14.0.0(typescript@5.8.3) + typescript: 5.8.3 transitivePeerDependencies: - supports-color @@ -16601,12 +16587,12 @@ snapshots: dependencies: htmlparser2: 10.0.0 - eslint-plugin-jest@29.0.1(@typescript-eslint/eslint-plugin@8.43.0(@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3))(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3))(eslint@9.35.0(jiti@2.6.1))(jest@30.1.3(@types/node@22.19.1))(typescript@5.7.3): + eslint-plugin-jest@29.0.1(@typescript-eslint/eslint-plugin@8.43.0(@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3))(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3))(eslint@9.35.0(jiti@2.6.1))(jest@30.1.3(@types/node@22.19.1))(typescript@5.8.3): dependencies: - '@typescript-eslint/utils': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3) + '@typescript-eslint/utils': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3) eslint: 9.35.0(jiti@2.6.1) optionalDependencies: - '@typescript-eslint/eslint-plugin': 8.43.0(@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3))(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3) + '@typescript-eslint/eslint-plugin': 8.43.0(@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3))(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3) jest: 30.1.3(@types/node@22.19.1) transitivePeerDependencies: - supports-color @@ -17062,7 +17048,7 @@ snapshots: sass-lookup: 6.1.0 stylus-lookup: 6.1.0 tsconfig-paths: 4.2.0 - typescript: 5.7.3 + typescript: 5.8.3 fill-range@7.1.1: dependencies: @@ -17218,12 +17204,6 @@ snapshots: fs-constants@1.0.0: {} - fs-extra@11.1.1: - dependencies: - graceful-fs: 4.2.11 - jsonfile: 6.2.0 - universalify: 2.0.1 - fs-extra@11.3.2: dependencies: graceful-fs: 4.2.11 @@ -18494,7 +18474,7 @@ snapshots: jsonpointer@5.0.1: {} - jsonschema@1.4.1: {} + jsonschema@1.5.0: {} jsprim@2.0.2: dependencies: @@ -18521,28 +18501,28 @@ snapshots: ky@0.30.0: {} - langium-cli@3.3.0: + langium-cli@4.2.0: dependencies: - chalk: 5.3.0 - commander: 11.0.0 - fs-extra: 11.1.1 - jsonschema: 1.4.1 - langium: 3.3.1 - langium-railroad: 3.3.0 + chalk: 5.6.2 + commander: 14.0.2 + fs-extra: 11.3.2 + jsonschema: 1.5.0 + langium: 4.2.0 + langium-railroad: 4.2.0 lodash: 4.17.21 - langium-railroad@3.3.0: + langium-railroad@4.2.0: dependencies: - langium: 3.3.1 + langium: 4.2.0 railroad-diagrams: 1.0.0 - langium@3.3.1: + langium@4.2.0: dependencies: - chevrotain: 11.0.3 - chevrotain-allstar: 0.3.1(chevrotain@11.0.3) + chevrotain: 11.1.1 + chevrotain-allstar: 0.3.1(chevrotain@11.1.1) vscode-languageserver: 9.0.1 vscode-languageserver-textdocument: 1.0.12 - vscode-uri: 3.0.8 + vscode-uri: 3.1.0 launch-editor@2.11.1: dependencies: @@ -18642,7 +18622,7 @@ snapshots: dependencies: p-locate: 5.0.0 - lodash-es@4.17.21: {} + lodash-es@4.17.23: {} lodash.clonedeep@4.5.0: {} @@ -19823,12 +19803,12 @@ snapshots: detective-sass: 6.0.1 detective-scss: 5.0.1 detective-stylus: 5.0.1 - detective-typescript: 14.0.0(typescript@5.7.3) - detective-vue2: 2.2.0(typescript@5.7.3) + detective-typescript: 14.0.0(typescript@5.8.3) + detective-vue2: 2.2.0(typescript@5.8.3) module-definition: 6.0.1 node-source-walk: 7.0.1 postcss: 8.5.6 - typescript: 5.7.3 + typescript: 5.8.3 transitivePeerDependencies: - supports-color @@ -21129,9 +21109,9 @@ snapshots: trough@2.2.0: {} - ts-api-utils@2.1.0(typescript@5.7.3): + ts-api-utils@2.1.0(typescript@5.8.3): dependencies: - typescript: 5.7.3 + typescript: 5.8.3 ts-dedent@2.2.0: {} @@ -21237,20 +21217,23 @@ snapshots: typescript: 5.7.3 yaml: 2.8.1 - typescript-eslint@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3): + typescript-eslint@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.43.0(@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3))(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3) - '@typescript-eslint/parser': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3) - '@typescript-eslint/typescript-estree': 8.43.0(typescript@5.7.3) - '@typescript-eslint/utils': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.7.3) + '@typescript-eslint/eslint-plugin': 8.43.0(@typescript-eslint/parser@8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3))(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3) + '@typescript-eslint/parser': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3) + '@typescript-eslint/typescript-estree': 8.43.0(typescript@5.8.3) + '@typescript-eslint/utils': 8.43.0(eslint@9.35.0(jiti@2.6.1))(typescript@5.8.3) eslint: 9.35.0(jiti@2.6.1) - typescript: 5.7.3 + typescript: 5.8.3 transitivePeerDependencies: - supports-color typescript@5.7.3: {} - typescript@5.9.2: {} + typescript@5.8.3: {} + + typescript@5.9.2: + optional: true uc.micro@1.0.6: {} @@ -21767,8 +21750,6 @@ snapshots: vscode-nls@5.2.0: {} - vscode-uri@3.0.8: {} - vscode-uri@3.1.0: {} vue-flow-layout@0.2.0: {} @@ -21847,14 +21828,14 @@ snapshots: web-streams-polyfill@3.3.3: {} - webdriver@7.31.1(typescript@5.7.3): + webdriver@7.31.1(typescript@5.8.3): dependencies: '@types/node': 18.19.124 - '@wdio/config': 7.31.1(typescript@5.7.3) + '@wdio/config': 7.31.1(typescript@5.8.3) '@wdio/logger': 7.26.0 '@wdio/protocols': 7.27.0 - '@wdio/types': 7.30.2(typescript@5.7.3) - '@wdio/utils': 7.30.2(typescript@5.7.3) + '@wdio/types': 7.30.2(typescript@5.8.3) + '@wdio/utils': 7.30.2(typescript@5.8.3) got: 11.8.6 ky: 0.30.0 lodash.merge: 4.6.2