582 Commits

Author SHA1 Message Date
Alois Klink
fe3cffbb67 chore: update dompurify to ^3.2.1
As [DOMPurify 3.2.0 added TypeScript types][1], this means that we can
remove our dependency on the `@types/dompurify` package.

[DOMPurify 3.2.0 also adds the `HTML_INTEGRATION_POINTS` option][2],
which adds back support for `<foreignObject>`,
[which broke in DOMPurify 3.1.7.][3]

[1]: https://github.com/cure53/DOMPurify/releases/tag/3.2.0
[2]: e4caa67971
[3]: de2c05cd54
2024-11-25 21:00:49 +09:00
Sidharth Vinod
2f65429aa4
chore: Rollback dompurify update range 2024-10-08 15:01:11 +05:30
renovate[bot]
1c6304b3fb
chore(deps): update all patch dependencies 2024-10-08 09:11:33 +00:00
renovate[bot]
ce586e1b31
chore(deps): update dependency eslint-plugin-unicorn to v56 2024-10-08 08:18:32 +00:00
Sidharth Vinod
926f97124b
Merge pull request #5939 from mermaid-js/renovate/npm-express-vulnerability
chore(deps): update dependency express to v4.20.0 [security]
2024-10-08 13:39:14 +05:30
Sidharth Vinod
0f2301f2d6
Merge pull request #5938 from mermaid-js/renovate/npm-vite-vulnerability
chore(deps): update dependency vite to v5.4.6 [security]
2024-10-08 13:38:29 +05:30
renovate[bot]
1296840696
chore(deps): update eslint to v9.12.0 2024-10-08 07:57:45 +00:00
renovate[bot]
c71b56ebe3
chore(deps): update dependency express to v4.20.0 [security] 2024-10-08 07:52:44 +00:00
renovate[bot]
9904afce64
chore(deps): update dependency vite to v5.4.6 [security] 2024-10-08 07:52:17 +00:00
Sidharth Vinod
b83b778f2a
Merge pull request #5933 from remcohaszing/fix-types-dependencies
Fix TypeScript dependencies
2024-10-08 12:55:49 +05:30
Sidharth Vinod
86a91597f9
Upgrade @argos-ci 2024-10-07 19:12:23 +05:30
Remco Haszing
72d60d2633
Fix TypeScript dependencies
The Mermaid type definitions depend on `@types/d3` and
`@types/dompurify`. Without these dependencies, the Mermaid types cause
a type error for users.
2024-10-04 17:19:04 +02:00
Sidharth Vinod
8fc36d2684
chore: Split cypress tests locally 2024-10-04 01:54:36 +05:30
Sidharth Vinod
02cf111995
Merge pull request #5825 from mermaid-js/knsv/new-shapes
New Flowchart Shapes (with new syntax)
2024-10-03 17:03:20 +05:30
Sidharth Vinod
f9818b8bd7
fix: Patch roughjs type 2024-10-02 18:46:50 +05:30
renovate[bot]
226b3bfa74
chore(deps): update eslint 2024-10-01 15:36:36 +00:00
Alois Klink
de2c05cd54 fix: ban version v3.1.7 of DOMPurify
[DOMPurify v3.1.7][1] forbids the use of `<foreignElement>` for HTML
inside of an `<svg>` element, which breaks many mermaid diagrams.

It is likely that v3.1.8 will add a new option that will allow us to
re-enable this behaviour, but v3.1.7 definitely does not work.

[1]: https://github.com/cure53/DOMPurify/releases/tag/3.1.7

See: https://github.com/cure53/DOMPurify/issues/1002
Fix: https://github.com/mermaid-js/mermaid/issues/5904
2024-10-02 00:02:52 +09:00
renovate[bot]
608f7afa70
chore(deps): update eslint 2024-09-24 19:16:46 +00:00
renovate[bot]
daaeded0b5
chore(deps): update eslint 2024-09-23 02:09:00 +00:00
renovate[bot]
92a8783d95
chore(deps): update eslint 2024-09-16 06:46:29 +00:00
renovate[bot]
6cf050e6e5
chore(deps): update dependency eslint-plugin-jsdoc to v50.2.3 2024-09-16 01:58:46 +00:00
renovate[bot]
b830e6151b
chore(deps): update dependency eslint-plugin-jsdoc to v50 2024-09-09 00:15:23 +00:00
Sidharth Vinod
815e4b5748
Merge branch 'develop' into sidv/iconify 2024-09-02 18:19:27 +05:30
Sidharth Vinod
f4decdee49
chore: Update cypress 2024-09-02 18:01:35 +05:30
Sidharth Vinod
8ef24e5a18
chore: update pnpm, remove dependency 2024-09-02 14:47:46 +05:30
Sidharth Vinod
0ea88df662
feat: Add iconify support 2024-08-29 13:25:45 +05:30
Knut Sveidqvist
fda092bbe9 Fix for merge realted error in pnpm-lock and langium-config 2024-08-28 14:24:00 +02:00
Knut Sveidqvist
eee1be474a
Merge branch 'develop' into 5367/architecture-diagram 2024-08-28 13:50:05 +02:00
renovate[bot]
b0f7abb3a9
chore(deps): update all minor dependencies 2024-08-28 04:56:58 +00:00
renovate[bot]
43b0e808d0
chore(deps): update all patch dependencies 2024-08-26 08:40:14 +00:00
renovate[bot]
efc1a0adc4
chore(deps): update eslint 2024-08-26 04:39:18 +00:00
Sidharth Vinod
ea9a06160c
Merge pull request #5733 from mermaid-js/sidv/changesets
Add changesets
2024-08-23 18:29:26 +05:30
Sidharth Vinod
ae2dc70385
chore: Update lockfile 2024-08-22 19:45:49 +05:30
Sidharth Vinod
cc545f4433
Update changelog format 2024-08-22 15:57:56 +05:30
Sidharth Vinod
c4b92069ba
chore: Copy readme before publish 2024-08-22 15:45:20 +05:30
Sidharth Vinod
4da479388d
Revert pnpm-lock changes 2024-08-22 15:05:18 +05:30
Sidharth Vinod
0cf639cb1b
Merge branch 'develop' into sidv/changesets
* develop:
  [autofix.ci] apply automated fixes
  fix: Type of render
  chore: Rename Group to SVGGroup
  [autofix.ci] apply automated fixes
  feat: Inject internal helpers into render function
  chore: Move render function to bottom
  chore: ts-ignore errors
  [autofix.ci] apply automated fixes
  chore: Cleanup layoutelk
2024-08-22 14:21:33 +05:30
Knut Sveidqvist
47ac57be69 Removing the redundant element in the render function 2024-08-22 10:11:13 +02:00
NicolasNewman
73e16d0857 Merge branch 'develop' of https://github.com/mermaid-js/mermaid into 5367/architecture-diagram 2024-08-21 10:28:57 -05:00
Sidharth Vinod
3eaf8b7177
feat: Add changesets 2024-08-21 19:54:59 +05:30
Sidharth Vinod
04e205bcb4
Merge branch 'elk-migration' into sidv/cleanupLayoutElk
* elk-migration:
  chore: Update pnpm and lockfile
2024-08-21 14:36:15 +05:30
Sidharth Vinod
4e126e174b
chore: Cleanup layoutelk 2024-08-21 14:17:06 +05:30
Sidharth Vinod
c140e1a658
chore: Update pnpm and lockfile 2024-08-21 13:33:32 +05:30
Knut Sveidqvist
f76cab1ba3 #5726 Setting the default margin 2024-08-20 14:13:46 +02:00
NicolasNewman
1df90b4a05 build(arch): pnpm-lock update 2024-08-14 10:11:56 -05:00
NicolasNewman
8f970cddf9 Merge branch 'develop' of https://github.com/mermaid-js/mermaid into 5367/architecture-diagram 2024-08-14 10:08:30 -05:00
Ashish Jain
3b2bb5a6ec Merge from develop 2024-08-12 11:11:14 +02:00
Ashish Jain
d4d7ca7d65 review comment fixes 2024-08-09 15:07:09 +02:00
Knut Sveidqvist
c2a479ab44 Adding elk test 2024-08-09 08:45:47 +02:00
renovate[bot]
6cd0585339
chore(deps): update eslint 2024-08-06 16:42:55 +00:00