Compare commits

..
341 Commits
Author SHA1 Message Date
Sidharth Vinod 5e94ea222c rollback #288 due to #338 2021-09-08 10:08:13 +05:30
Sidharth VinodandGitHub 7d1c3a153f Merge pull request #336 from mermaid-js/develop
Update mermaid
2021-09-07 00:26:42 +05:30
Sidharth VinodandGitHub 7641b2e25c Merge pull request #337 from mermaid-js/netlify
Netlify
2021-09-05 22:43:59 +05:30
Sidharth Vinod f9b92d6026 hide netlify on github 2021-09-05 17:59:39 +05:30
Sidharth Vinod 952791cb5f Merge branch 'master' into netlify
* master:
2021-09-05 17:55:18 +05:30
Sidharth Vinod d4110403e6 format netlify 2021-09-05 17:53:24 +05:30
Sidharth Vinod 533970d83f hide netlify on github 2021-09-05 17:49:18 +05:30
Sidharth VinodandGitHub bcd6bb5f11 Merge pull request #335 from mermaid-js/netlify
Add powered by netlify
2021-09-05 17:40:39 +05:30
Sidharth Vinod d40d476ea1 Fix clock 2021-09-05 17:34:22 +05:30
Sidharth Vinod 90bc10577e Fix clock 2021-09-05 17:33:34 +05:30
Sidharth Vinod c213366181 Update mermaid 2021-09-05 17:07:36 +05:30
Sidharth Vinod 6d0919fcda Fix test 2021-09-05 17:05:42 +05:30
Sidharth Vinod 5818db68f7 Fix test 2021-09-05 16:50:32 +05:30
Sidharth Vinod 8a0a2c83eb Fix test 2021-09-05 16:50:10 +05:30
Sidharth Vinod 2c516f395e Fix test 2021-09-05 16:42:18 +05:30
Sidharth Vinod 7738e3ee48 remove eslint ignors 2021-09-05 16:41:01 +05:30
Sidharth Vinod f4fd865c81 Fix test 2021-09-05 16:40:11 +05:30
Sidharth Vinod 8bbfa59a32 Add powered by netlify 2021-09-05 16:33:59 +05:30
Sidharth VinodandGitHub c3ed8ae636 Merge pull request #311 from mermaid-js/develop
Develop
2021-09-03 22:55:39 +05:30
Sidharth VinodandGitHub c0215f0e04 Merge pull request #331 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.42.4
chore(deps-dev): bump svelte from 3.42.3 to 3.42.4
2021-09-03 19:50:22 +05:30
Sidharth VinodandGitHub 644faf8700 Merge pull request #333 from mermaid-js/dependabot/npm_and_yarn/develop/analytics-0.7.14
chore(deps): bump analytics from 0.7.13 to 0.7.14
2021-09-03 19:50:05 +05:30
dependabot[bot]andGitHub 17a1ce6548 chore(deps): bump analytics from 0.7.13 to 0.7.14
Bumps [analytics](https://github.com/DavidWells/analytics) from 0.7.13 to 0.7.14.
- [Release notes](https://github.com/DavidWells/analytics/releases)
- [Commits](https://github.com/DavidWells/analytics/compare/analytics@0.7.13...analytics@0.7.14)

---
updated-dependencies:
- dependency-name: analytics
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 14:04:03 +00:00
dependabot[bot]andGitHub a5cf1a1cd6 chore(deps-dev): bump svelte from 3.42.3 to 3.42.4
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.42.3 to 3.42.4.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.3...v3.42.4)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 14:04:00 +00:00
Sidharth VinodandGitHub 23ffef7843 Merge pull request #329 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.30.0
chore(deps-dev): bump @typescript-eslint/parser from 4.29.2 to 4.30.0
2021-09-03 19:30:02 +05:30
dependabot[bot]andGitHub ec23d055cc chore(deps-dev): bump @typescript-eslint/parser from 4.29.2 to 4.30.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.2 to 4.30.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.30.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 04:10:10 +00:00
Sidharth Vinod 3402c86bf2 Merge branch 'develop' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'develop' of https://github.com/mermaid-js/mermaid-live-editor:
  chore(deps-dev): bump tailwindcss from 2.2.7 to 2.2.9
  chore(deps-dev): bump prettier-plugin-svelte from 2.3.1 to 2.4.0
2021-09-03 09:34:08 +05:30
Sidharth Vinod 5a307c3547 update 2021-09-03 09:34:04 +05:30
Sidharth VinodandGitHub 8c46f9a892 Merge pull request #328 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-plugin-svelte-2.4.0
chore(deps-dev): bump prettier-plugin-svelte from 2.3.1 to 2.4.0
2021-09-03 09:33:22 +05:30
Sidharth VinodandGitHub 48f5853d03 Merge pull request #323 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-2.2.9
chore(deps-dev): bump tailwindcss from 2.2.7 to 2.2.9
2021-09-03 09:33:11 +05:30
dependabot[bot]andGitHub 8b39836353 chore(deps-dev): bump tailwindcss from 2.2.7 to 2.2.9
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.7 to 2.2.9.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.2.7...v2.2.9)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 03:59:20 +00:00
Sidharth VinodandGitHub 3c6b14cee3 Merge pull request #288 from Yash-Singh1/patch-2
Improve Syntax Highlighting
2021-09-03 09:28:53 +05:30
dependabot[bot]andGitHub 015e112e6b chore(deps-dev): bump prettier-plugin-svelte from 2.3.1 to 2.4.0
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 03:56:24 +00:00
Sidharth VinodandGitHub cb6bf6570d Merge pull request #325 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.30.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 4.29.3 to 4.30.0
2021-09-03 09:22:58 +05:30
Sidharth VinodandGitHub 8ee71a6f08 Merge pull request #326 from mermaid-js/dependabot/npm_and_yarn/develop/mocha-9.1.1
chore(deps-dev): bump mocha from 9.1.0 to 9.1.1
2021-09-03 09:22:49 +05:30
dependabot[bot]andGitHub 7ad1c2098c chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.3 to 4.30.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.30.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 06:15:36 +00:00
dependabot[bot]andGitHub 2c0d7db7cc chore(deps-dev): bump mocha from 9.1.0 to 9.1.1
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.0...v9.1.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 06:11:54 +00:00
Sidharth VinodandGitHub 5ce24780c0 Merge pull request #324 from mermaid-js/dependabot/npm_and_yarn/develop/husky-7.0.2
chore(deps-dev): bump husky from 7.0.1 to 7.0.2
2021-09-02 11:37:13 +05:30
dependabot[bot]andGitHub ad1cec76c7 chore(deps-dev): bump husky from 7.0.1 to 7.0.2
Bumps [husky](https://github.com/typicode/husky) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v7.0.1...v7.0.2)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 04:39:37 +00:00
Sidharth VinodandGitHub bdd6ca2c3d Merge pull request #317 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-8.3.1
chore(deps-dev): bump cypress from 8.3.0 to 8.3.1
2021-09-01 10:05:45 +05:30
Sidharth VinodandGitHub 9f05ec4460 Merge pull request #318 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-preprocess-4.8.0
chore(deps-dev): bump svelte-preprocess from 4.7.4 to 4.8.0
2021-09-01 10:05:36 +05:30
Sidharth VinodandGitHub 6701dd2dd7 Merge pull request #319 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.29.3
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 4.29.2 to 4.29.3
2021-09-01 10:05:25 +05:30
Yash-Singh1 5bcb495569 Comment support 2021-08-29 19:42:27 -07:00
Yash-Singh1 4bdb5a0750 Add variables, types, and multiple refactors and fixes 2021-08-29 19:34:21 -07:00
Yash-Singh1 51c9488d0e colons are brackets in class diagrams 2021-08-29 12:46:21 -07:00
Yash-Singh1 65a1fa72a0 Remove unneccessary groups 2021-08-29 12:44:36 -07:00
Yash-Singh1 abc63488a1 Merge branch 'develop' of github.com:mermaid-js/mermaid-live-editor into patch-2 2021-08-29 12:02:32 -07:00
Yash-Singh1 a49819e120 Refactor syntax highlighting 2021-08-29 11:56:49 -07:00
dependabot[bot]andGitHub 980706b487 chore(deps-dev): bump svelte-preprocess from 4.7.4 to 4.8.0
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.7.4 to 4.8.0.
- [Release notes](https://github.com/sveltejs/svelte-preprocess/releases)
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/compare/v4.7.4...v4.8.0)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 04:01:58 +00:00
dependabot[bot]andGitHub 7fc789ab0f chore(deps-dev): bump cypress from 8.3.0 to 8.3.1
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.3.0 to 8.3.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.3.0...v8.3.1)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 04:01:45 +00:00
dependabot[bot]andGitHub f245180882 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.2 to 4.29.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.3/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 04:01:27 +00:00
Sidharth VinodandGitHub bb7b4d3f78 Merge pull request #313 from mermaid-js/dependabot/npm_and_yarn/develop/autoprefixer-10.3.3
chore(deps-dev): bump autoprefixer from 10.3.1 to 10.3.3
2021-08-28 09:27:53 +05:30
Sidharth VinodandGitHub d617524172 Merge pull request #312 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.42.3
chore(deps-dev): bump svelte from 3.42.2 to 3.42.3
2021-08-27 22:01:23 +05:30
Sidharth VinodandGitHub 834db65ecd Merge pull request #316 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.4.2
chore(deps-dev): bump typescript from 4.3.5 to 4.4.2
2021-08-27 22:01:07 +05:30
dependabot[bot]andGitHub 4238f1285c chore(deps-dev): bump typescript from 4.3.5 to 4.4.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-27 13:03:40 +00:00
dependabot[bot]andGitHub bba0ae4ba1 chore(deps-dev): bump autoprefixer from 10.3.1 to 10.3.3
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.3.1 to 10.3.3.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.1...10.3.3)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-27 13:02:53 +00:00
dependabot[bot]andGitHub f612a5c703 chore(deps-dev): bump svelte from 3.42.2 to 3.42.3
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.42.2 to 3.42.3.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.2...v3.42.3)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-27 13:02:43 +00:00
Yash-Singh1 0b6dbf6857 Merge branch 'develop' of github.com:mermaid-js/mermaid-live-editor into patch-2 2021-08-22 15:41:41 -07:00
Yash-Singh1 1358185692 Gitgraph options 2021-08-22 14:54:26 -07:00
Yash-Singh1 b8d4ada693 Directives highlighting 2021-08-22 13:59:11 -07:00
Yash-Singh1 b34942355f Requirement diagrams 2021-08-22 13:06:49 -07:00
Yash-Singh1 c8e217d0c9 Git graphs 2021-08-22 11:47:29 -07:00
Yash-Singh1 536db58698 Pie charts 2021-08-22 11:45:07 -07:00
Yash-Singh1 d6d987e962 Ganntt diagrams 2021-08-22 11:17:20 -07:00
Yash-Singh1 4ae314c5c0 User-journey diagrams 2021-08-22 11:14:11 -07:00
Yash-Singh1 6868b0d761 Entity relationship diagrams 2021-08-22 11:11:28 -07:00
Yash-Singh1 0dd010336a States are blocks and notes 2021-08-22 11:04:14 -07:00
Yash-Singh1 d7e7121666 Allow scroll behind end to prevent suggestion cuts 2021-08-22 11:01:43 -07:00
Yash-Singh1 bfa35ca86e States 2021-08-22 11:00:52 -07:00
Yash-Singh1 d7a6ac2aa7 stateDiagram-v2 2021-08-22 10:57:20 -07:00
Yash-Singh1 3f843f29bf directives arent comments 2021-08-22 10:06:37 -07:00
Yash-Singh1 bcb8031c8f style comments 2021-08-22 09:52:31 -07:00
Yash-Singh1 b60718a18e Prevent dup keywords 2021-08-22 09:50:35 -07:00
Yash-Singh1 db5ce6b74b block keyword highlighting and class is also a normal keyword 2021-08-22 09:45:46 -07:00
Sidharth Vinod a1a085e526 fix: Writable 2021-08-22 19:32:35 +05:30
Sidharth Vinod 6675267d45 Merge branch 'master' into develop
* master:
  fix: renovate
  Create renovate.json
  fix(gist): warnings
  Gist URL
  Fix base path
  Fix tests
  Fix gist loading and code not updating issue
  Fix loading issue
  Loading Gist
  More tests
  Format names
  Fix test
  Show git revision history
  Fix file name
  Update file names
  Fix types
  Load data from urls
  Load data from gists
2021-08-22 18:56:00 +05:30
Sidharth Vinod 00bdd4500e chore: Update svelte 2021-08-22 18:55:48 +05:30
Yash-Singh1 7a04384b7d class is a block and its snippet 2021-08-21 21:00:06 -07:00
Yash-Singh1 ea0e8b9883 class, annotations, callbacks, classes, and much more 2021-08-21 20:55:50 -07:00
Yash-Singh1 7ef1f1325b finally...done...with...regexp 2021-08-21 20:30:01 -07:00
Yash-Singh1 3b5af96ab0 Keyword snippets 2021-08-21 19:38:03 -07:00
Yash-Singh1 3a4c437536 Auto closing brackets 2021-08-21 19:21:24 -07:00
Sidharth VinodandGitHub dcaa313c0b Merge pull request #303 from mermaid-js/develop
Develop
2021-08-21 09:46:17 +05:30
Sidharth Vinod 2c31be0b02 chore: Update monaco 2021-08-21 08:57:35 +05:30
Sidharth VinodandGitHub 0f63e777ae Merge pull request #310 from mermaid-js/revert-309-dependabot/npm_and_yarn/develop/sveltejs/kit-1.0.0-next.154
Revert "chore(deps-dev): bump @sveltejs/kit from 1.0.0-next.147 to 1.0.0-next.154"
2021-08-20 23:11:13 +05:30
Sidharth VinodandGitHub 64a2fd8843 Revert "chore(deps-dev): bump @sveltejs/kit from 1.0.0-next.147 to 1.0.0-next.154" 2021-08-20 23:11:04 +05:30
Sidharth VinodandGitHub d40c8ee085 Merge pull request #305 from mermaid-js/dependabot/npm_and_yarn/develop/cssnano-5.0.8
chore(deps-dev): bump cssnano from 5.0.7 to 5.0.8
2021-08-20 23:07:33 +05:30
Sidharth VinodandGitHub 61bafa4836 Merge pull request #309 from mermaid-js/dependabot/npm_and_yarn/develop/sveltejs/kit-1.0.0-next.154
chore(deps-dev): bump @sveltejs/kit from 1.0.0-next.147 to 1.0.0-next.154
2021-08-20 23:07:23 +05:30
Sidharth VinodandGitHub eeadbfdaa2 Merge pull request #304 from mermaid-js/dependabot/npm_and_yarn/develop/mocha-9.1.0
chore(deps-dev): bump mocha from 9.0.3 to 9.1.0
2021-08-20 23:07:14 +05:30
dependabot[bot]andGitHub 32f3832565 chore(deps-dev): bump @sveltejs/kit
Bumps @sveltejs/kit from 1.0.0-next.147 to 1.0.0-next.154.

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 17:18:31 +00:00
dependabot[bot]andGitHub 8ab28182d7 chore(deps-dev): bump cssnano from 5.0.7 to 5.0.8
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.7 to 5.0.8.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.7...cssnano@5.0.8)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 17:17:43 +00:00
dependabot[bot]andGitHub 81137e058c chore(deps-dev): bump mocha from 9.0.3 to 9.1.0
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.3 to 9.1.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.0.3...v9.1.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 17:17:41 +00:00
Sidharth VinodandGitHub c9fdba6cd3 Merge pull request #306 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.42.2
chore(deps-dev): bump svelte from 3.42.1 to 3.42.2
2021-08-20 22:42:16 +05:30
Sidharth VinodandGitHub 9318bde5cf Merge pull request #307 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.14.3
chore(deps-dev): bump eslint-plugin-tailwindcss from 1.14.1 to 1.14.3
2021-08-20 22:42:06 +05:30
dependabot[bot]andGitHub 33fd537826 chore(deps-dev): bump eslint-plugin-tailwindcss from 1.14.1 to 1.14.3
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.14.1 to 1.14.3.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.14.1...v1.14.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 16:56:26 +00:00
dependabot[bot]andGitHub 5af4466e6f chore(deps-dev): bump svelte from 3.42.1 to 3.42.2
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.42.1 to 3.42.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.1...v3.42.2)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 16:56:18 +00:00
Sidharth VinodandGitHub 4aa4641c6a Merge pull request #300 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.29.2
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 4.29.1 to 4.29.2
2021-08-20 22:25:42 +05:30
dependabot[bot]andGitHub b001e6d2a6 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.1 to 4.29.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 16:55:22 +00:00
Sidharth VinodandGitHub 7812d9c241 Merge pull request #301 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-8.3.0
chore(deps-dev): bump cypress from 8.2.0 to 8.3.0
2021-08-20 22:22:49 +05:30
Sidharth VinodandGitHub e7e4d7cf88 Merge pull request #302 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.29.2
chore(deps-dev): bump @typescript-eslint/parser from 4.29.1 to 4.29.2
2021-08-20 22:22:33 +05:30
Sidharth VinodandGitHub 863c3ea717 Merge pull request #299 from mermaid-js/dependabot/npm_and_yarn/develop/macfja/svelte-persistent-store-1.2.0
chore(deps): bump @macfja/svelte-persistent-store from 1.1.1 to 1.2.0
2021-08-20 22:22:12 +05:30
dependabot[bot]andGitHub 86b25a272f chore(deps-dev): bump @typescript-eslint/parser from 4.29.1 to 4.29.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.1 to 4.29.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 13:04:22 +00:00
dependabot[bot]andGitHub a7428ed0e5 chore(deps-dev): bump cypress from 8.2.0 to 8.3.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.2.0...v8.3.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 13:04:02 +00:00
dependabot[bot]andGitHub 27f56d309a chore(deps): bump @macfja/svelte-persistent-store from 1.1.1 to 1.2.0
Bumps [@macfja/svelte-persistent-store](https://github.com/macfja/svelte-persistent-store) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/macfja/svelte-persistent-store/releases)
- [Changelog](https://github.com/MacFJA/svelte-persistent-store/blob/main/CHANGELOG.md)
- [Commits](https://github.com/macfja/svelte-persistent-store/compare/1.1.1...1.2.0)

---
updated-dependencies:
- dependency-name: "@macfja/svelte-persistent-store"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 13:03:01 +00:00
Yash-Singh1 c5348e9a81 Add more code block keywords 2021-08-17 17:44:47 -07:00
Yash-Singh1 7983b5d94c Different color for keywords 2021-08-17 17:43:20 -07:00
Yash-Singh1 ff48d906ae Non-bold non-type-keywords and orientations 2021-08-17 17:36:45 -07:00
Yash-Singh1 ae2880c8a2 Asymmetric, rhombus, hexagonal nodes 2021-08-17 17:11:22 -07:00
Yash-Singh1 ca07ed764d HTML Entities 2021-08-17 17:01:08 -07:00
Yash-Singh1 76a70be939 Proper theme name 2021-08-17 16:54:23 -07:00
Yash-Singh1 56cd1b5a78 Merge branch 'develop' of github.com:mermaid-js/mermaid-live-editor into patch-2 2021-08-16 18:05:34 -07:00
Yash-Singh1 3b63e9a9aa Finalize sequence diagrams 2021-08-16 17:57:54 -07:00
Yash-Singh1 b73afb400b Info diagrams 2021-08-16 17:31:21 -07:00
Sidharth Vinod a1b01cae2c fix: renovate 2021-08-16 21:50:28 +05:30
Sidharth VinodandGitHub 64b213aad9 Create renovate.json 2021-08-16 21:47:13 +05:30
Sidharth Vinod a67481a4e7 Merge branch 'develop' of https://github.com/mermaid-js/mermaid-live-editor
* 'develop' of https://github.com/mermaid-js/mermaid-live-editor:
  Lint
  Pointer cursor on card
2021-08-16 08:52:40 +05:30
Sidharth VinodandGitHub b7f8b8aee3 Merge pull request #287 from Yash-Singh1/patch-1
Cursor pointer on card component
2021-08-16 08:51:23 +05:30
Yash-Singh1 b4814d7b13 Fix for + and - 2021-08-15 17:36:26 -07:00
Yash-Singh1 45b1c9f32c Merge branch 'develop' of github.com:mermaid-js/mermaid-live-editor into patch-2 2021-08-15 17:34:03 -07:00
Yash-Singh1 660e4c6bf1 Lint 2021-08-15 16:00:55 -07:00
Yash-Singh1 041ec91c6b Merge 2021-08-15 15:56:27 -07:00
Sidharth VinodandGitHub c5de0dca9f Merge pull request #113 from mermaid-js/gists
Load data from gists
2021-08-15 20:04:12 +05:30
Sidharth Vinod 76aef33868 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor into gists
* 'master' of https://github.com/mermaid-js/mermaid-live-editor: (50 commits)
  chore: update deps
  chore: update deps
  chore: update deps
  update cache logic
  fix: remove yarn cache
  chore: update deps
  chore: update deps
  chore: update deps
  chore: update deps
  fix: editor undefined issue
  Upgrade of Mermaid to version 8.11.4
  Update mermaid 8.11.3
  Update
  Fix tests
  Update mermaid
  Update deps
  fix: mermaid import
  Typo fix
  Bump autoprefixer from 10.3.0 to 10.3.1
  Bump eslint from 7.29.0 to 7.30.0
  ...
2021-08-15 19:58:09 +05:30
Sidharth VinodandGitHub f50d202fdf Merge pull request #290 from mermaid-js/develop
Develop
2021-08-15 12:02:59 +05:30
Sidharth Vinod 9403e617c1 chore: update deps 2021-08-15 12:00:59 +05:30
Sidharth Vinod 095767ad21 chore: update deps 2021-08-15 11:58:00 +05:30
Sidharth Vinod 0493b744e7 chore: update deps 2021-08-15 11:55:06 +05:30
Sidharth Vinod 0d15a2e487 update cache logic 2021-08-15 11:54:33 +05:30
Sidharth Vinod 01efb70cf3 fix: remove yarn cache 2021-08-15 11:45:34 +05:30
Sidharth Vinod 57f3288de3 chore: update deps 2021-08-15 11:30:36 +05:30
Sidharth Vinod eaa84ee5d6 chore: update deps 2021-08-15 11:20:11 +05:30
Sidharth Vinod f1f028737a chore: update deps 2021-08-15 11:19:48 +05:30
Sidharth Vinod 4428038b66 chore: update deps 2021-08-15 11:13:25 +05:30
Sidharth Vinod a230130db5 fix: editor undefined issue 2021-08-15 11:11:25 +05:30
Sidharth Vinod f3681b582d Merge remote-tracking branch 'origin' into develop
* origin:
  Upgrade of Mermaid to version 8.11.4
2021-08-15 10:56:10 +05:30
Yash SinghandGitHub dec0c58092 More arrows 2021-08-14 21:49:17 -07:00
Yash SinghandGitHub 0578294579 Merge branch 'develop' into patch-1 2021-08-14 21:16:02 -07:00
Yash SinghandGitHub fc47fcf75b Pointer cursor on card 2021-08-14 21:12:41 -07:00
Knut Sveidqvist bceca50b0e Upgrade of Mermaid to version 8.11.4 2021-08-06 08:50:36 +02:00
Sidharth Vinod d062dd7132 Update mermaid 8.11.3 2021-08-05 11:40:55 +05:30
Sidharth VinodandGitHub 57bb0fa248 Merge pull request #270 from mermaid-js/develop
fix: mermaid import
2021-07-30 15:26:05 +05:30
Sidharth Vinod bcb8a948a5 Update 2021-07-30 14:57:18 +05:30
Sidharth Vinod 81589e5d98 Fix tests 2021-07-30 14:55:28 +05:30
Sidharth Vinod 6becf69630 Update mermaid 2021-07-30 14:35:59 +05:30
Sidharth Vinod 1ee1701530 Update deps 2021-07-29 20:58:37 +05:30
Sidharth Vinod 0828d4393e fix: mermaid import 2021-07-29 19:53:18 +05:30
Sidharth VinodandGitHub 1777df6ab4 Merge pull request #264 from bbodenmiller/patch-1
Typo fix
2021-07-27 22:53:48 +05:30
Ben BodenmillerandGitHub e9a982d813 Typo fix 2021-07-20 14:44:48 -07:00
Sidharth VinodandGitHub 8c0aaa94a4 Merge pull request #250 from mermaid-js/develop
Develop
2021-07-17 23:51:22 +05:30
Sidharth VinodandGitHub bf8afc0c13 Merge pull request #262 from mermaid-js/dependabot/npm_and_yarn/develop/autoprefixer-10.3.1
Bump autoprefixer from 10.3.0 to 10.3.1
2021-07-17 00:35:27 +05:30
dependabot[bot]andGitHub 9c315b2d0d Bump autoprefixer from 10.3.0 to 10.3.1
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.3.0 to 10.3.1.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.0...10.3.1)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-16 14:08:58 +00:00
Sidharth VinodandGitHub d0a0c0a82d Merge pull request #258 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.28.3
Bump @typescript-eslint/eslint-plugin from 4.28.2 to 4.28.3
2021-07-16 19:36:31 +05:30
Sidharth VinodandGitHub 6c44a7218b Merge pull request #260 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-7.30.0
Bump eslint from 7.29.0 to 7.30.0
2021-07-16 19:36:25 +05:30
dependabot[bot]andGitHub 01162adbd1 Bump eslint from 7.29.0 to 7.30.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.30.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 17:23:46 +00:00
dependabot[bot]andGitHub 8e304d2568 Bump @typescript-eslint/eslint-plugin from 4.28.2 to 4.28.3
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.28.2 to 4.28.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.3/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 17:23:37 +00:00
Sidharth VinodandGitHub 1af139ce23 Merge pull request #259 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.14.1
Bump eslint-plugin-tailwindcss from 1.13.4 to 1.14.1
2021-07-15 22:52:20 +05:30
Sidharth VinodandGitHub 18fad37944 Merge pull request #257 from mermaid-js/dependabot/npm_and_yarn/develop/lint-staged-11.0.1
Bump lint-staged from 11.0.0 to 11.0.1
2021-07-15 22:52:00 +05:30
Sidharth VinodandGitHub 0dc04419c1 Merge pull request #256 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.28.3
Bump @typescript-eslint/parser from 4.28.0 to 4.28.3
2021-07-15 22:51:51 +05:30
dependabot[bot]andGitHub 1dfa32c6e5 Bump lint-staged from 11.0.0 to 11.0.1
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.0.0 to 11.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.0.0...v11.0.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 16:38:44 +00:00
dependabot[bot]andGitHub c3b055b235 Bump @typescript-eslint/parser from 4.28.0 to 4.28.3
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.28.0 to 4.28.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.3/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 16:38:34 +00:00
dependabot[bot]andGitHub 63e45c9120 Bump eslint-plugin-tailwindcss from 1.13.4 to 1.14.1
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.13.4 to 1.14.1.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.13.4...v1.14.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 16:38:17 +00:00
Sidharth VinodandGitHub 5d3e7fbbf0 Merge pull request #251 from mermaid-js/dependabot/npm_and_yarn/develop/types/mermaid-8.2.7
Bump @types/mermaid from 8.2.6 to 8.2.7
2021-07-14 22:06:14 +05:30
dependabot[bot]andGitHub f9e6635d53 Bump @types/mermaid from 8.2.6 to 8.2.7
Bumps [@types/mermaid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mermaid) from 8.2.6 to 8.2.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mermaid)

---
updated-dependencies:
- dependency-name: "@types/mermaid"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 15:20:57 +00:00
Sidharth VinodandGitHub 61ce370074 Merge pull request #252 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-7.7.0
Bump cypress from 7.6.0 to 7.7.0
2021-07-14 20:48:48 +05:30
Sidharth VinodandGitHub a6209977b1 Merge pull request #253 from mermaid-js/dependabot/npm_and_yarn/develop/autoprefixer-10.3.0
Bump autoprefixer from 10.2.6 to 10.3.0
2021-07-14 20:48:38 +05:30
Sidharth VinodandGitHub 7c693363ae Merge pull request #247 from mermaid-js/dependabot/npm_and_yarn/develop/mocha-9.0.2
Bump mocha from 9.0.1 to 9.0.2
2021-07-14 20:48:26 +05:30
dependabot[bot]andGitHub 23091491ba Bump autoprefixer from 10.2.6 to 10.3.0
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.6 to 10.3.0.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.2.6...10.3.0)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 09:36:06 +00:00
dependabot[bot]andGitHub 540df1f96f Bump cypress from 7.6.0 to 7.7.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v7.6.0...v7.7.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 09:35:56 +00:00
dependabot[bot]andGitHub 0d40be232f Bump mocha from 9.0.1 to 9.0.2
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.0.1...v9.0.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 09:35:37 +00:00
Sidharth VinodandGitHub df2e097007 Merge pull request #245 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.28.2
Bump @typescript-eslint/eslint-plugin from 4.28.1 to 4.28.2
2021-07-12 15:04:30 +05:30
Sidharth VinodandGitHub be83fa2e08 Merge pull request #248 from mermaid-js/dependabot/npm_and_yarn/develop/husky-7.0.1
Bump husky from 6.0.0 to 7.0.1
2021-07-12 15:04:17 +05:30
Sidharth VinodandGitHub 19c0ddca94 Merge pull request #246 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-preprocess-4.7.4
Bump svelte-preprocess from 4.7.3 to 4.7.4
2021-07-12 15:03:52 +05:30
dependabot[bot]andGitHub 3533564c00 Bump husky from 6.0.0 to 7.0.1
Bumps [husky](https://github.com/typicode/husky) from 6.0.0 to 7.0.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v6.0.0...v7.0.1)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-09 13:02:54 +00:00
dependabot[bot]andGitHub 4585fd2994 Bump svelte-preprocess from 4.7.3 to 4.7.4
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.7.3 to 4.7.4.
- [Release notes](https://github.com/sveltejs/svelte-preprocess/releases)
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/commits)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-09 13:02:33 +00:00
dependabot[bot]andGitHub 425bd40805 Bump @typescript-eslint/eslint-plugin from 4.28.1 to 4.28.2
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.28.1 to 4.28.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-09 13:02:17 +00:00
Sidharth VinodandGitHub 411f7e9d70 Merge pull request #238 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-2.3.2
Bump prettier from 2.3.1 to 2.3.2
2021-07-07 00:34:52 +05:30
Sidharth VinodandGitHub 79850eccef Merge pull request #239 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.28.1
Bump @typescript-eslint/eslint-plugin from 4.28.0 to 4.28.1
2021-07-07 00:34:40 +05:30
Sidharth VinodandGitHub 7792d26d53 Merge pull request #241 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.3.5
Bump typescript from 4.3.4 to 4.3.5
2021-07-07 00:34:28 +05:30
dependabot[bot]andGitHub 3a8bc1d5ea Bump typescript from 4.3.4 to 4.3.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.4...v4.3.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 13:03:05 +00:00
dependabot[bot]andGitHub 7309aa6c42 Bump @typescript-eslint/eslint-plugin from 4.28.0 to 4.28.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.28.0 to 4.28.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 13:02:40 +00:00
dependabot[bot]andGitHub d8d994581f Bump prettier from 2.3.1 to 2.3.2
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 13:01:54 +00:00
Sidharth VinodandGitHub b3537d5dbe Merge pull request #237 from mermaid-js/develop
Develop
2021-06-28 14:53:00 +05:30
Sidharth Vinod fdcb1b7f1b Update mermaid to 8.11.0 2021-06-28 14:45:33 +05:30
Sidharth Vinod a2b212f6e4 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
2021-06-28 14:42:49 +05:30
Sidharth Vinod 282d039076 Merge branch 'master' into develop
* master:
2021-06-28 14:42:42 +05:30
Sidharth VinodandGitHub 030df21e4d Merge pull request #236 from mermaid-js/develop
Develop
2021-06-26 20:46:38 +05:30
Sidharth VinodandGitHub cb2806b572 Merge pull request #231 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.28.0
Bump @typescript-eslint/eslint-plugin from 4.27.0 to 4.28.0
2021-06-26 20:46:09 +05:30
Sidharth VinodandGitHub f287a643ce Merge pull request #232 from mermaid-js/develop
Develop
2021-06-26 20:45:46 +05:30
dependabot[bot]andGitHub cd8894a27b Bump @typescript-eslint/eslint-plugin from 4.27.0 to 4.28.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.27.0 to 4.28.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-26 15:12:04 +00:00
Sidharth VinodandGitHub 13d1a6099a Merge pull request #230 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.28.0
Bump @typescript-eslint/parser from 4.27.0 to 4.28.0
2021-06-26 20:39:16 +05:30
Sidharth VinodandGitHub 0d7ea7f4f3 Merge pull request #235 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.38.3
Bump svelte from 3.38.2 to 3.38.3
2021-06-26 20:38:53 +05:30
dependabot[bot]andGitHub 39cdaff57b Bump svelte from 3.38.2 to 3.38.3
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.38.2 to 3.38.3.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.38.2...v3.38.3)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-26 05:52:01 +00:00
Sidharth VinodandGitHub 31ae188af3 Merge pull request #234 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-7.6.0
Bump cypress from 7.5.0 to 7.6.0
2021-06-26 11:21:12 +05:30
Sidharth VinodandGitHub 8cde5eb23e Merge pull request #233 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-plugin-svelte-2.3.1
Bump prettier-plugin-svelte from 2.3.0 to 2.3.1
2021-06-26 11:21:05 +05:30
dependabot[bot]andGitHub 7400507689 Bump cypress from 7.5.0 to 7.6.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v7.5.0...v7.6.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 15:01:21 +00:00
dependabot[bot]andGitHub 3bd1ea8c2e Bump prettier-plugin-svelte from 2.3.0 to 2.3.1
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 15:00:58 +00:00
Sidharth VinodandGitHub ef9395fd0e Merge pull request #229 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-2.2.4
Bump tailwindcss from 2.2.2 to 2.2.4
2021-06-25 20:28:57 +05:30
Sidharth VinodandGitHub f5503f88a7 Merge pull request #228 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-7.29.0
Bump eslint from 7.28.0 to 7.29.0
2021-06-25 20:28:51 +05:30
Sidharth VinodandGitHub 74d47a38b1 Merge pull request #227 from mermaid-js/dependabot/npm_and_yarn/develop/mocha-9.0.1
Bump mocha from 9.0.0 to 9.0.1
2021-06-25 20:28:45 +05:30
dependabot[bot]andGitHub f2606d7341 Bump @typescript-eslint/parser from 4.27.0 to 4.28.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.27.0 to 4.28.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 13:04:17 +00:00
dependabot[bot]andGitHub 1cc3478512 Bump tailwindcss from 2.2.2 to 2.2.4
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.2.2...v2.2.4)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 13:03:45 +00:00
dependabot[bot]andGitHub 5e6231e3f9 Bump eslint from 7.28.0 to 7.29.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.28.0 to 7.29.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.28.0...v7.29.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 13:03:20 +00:00
dependabot[bot]andGitHub 775c5765a3 Bump mocha from 9.0.0 to 9.0.1
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.0.0...v9.0.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 13:02:58 +00:00
Sidharth VinodandGitHub f05ccf497d Merge pull request #222 from mermaid-js/develop
Release
2021-06-19 09:45:22 +05:30
Sidharth Vinod 5472528ce0 update monaco 2021-06-18 23:06:29 +05:30
Sidharth Vinod 2b358ccd80 Update Monaco 2021-06-18 23:04:45 +05:30
Sidharth Vinod 39b2ebde32 Dependency update 2021-06-18 22:53:30 +05:30
Sidharth VinodandGitHub e8fad2b91c Merge pull request #218 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.13.4
Bump eslint-plugin-tailwindcss from 1.13.2 to 1.13.4
2021-06-18 22:36:13 +05:30
Sidharth VinodandGitHub f337d16caf Merge pull request #221 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-2.2.0
Bump tailwindcss from 2.1.4 to 2.2.0
2021-06-18 22:36:02 +05:30
Sidharth VinodandGitHub 5773558e84 Merge pull request #219 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.3.4
Bump typescript from 4.3.2 to 4.3.4
2021-06-18 22:35:34 +05:30
Sidharth VinodandGitHub 8fe4b7f536 Merge pull request #217 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.27.0
Bump @typescript-eslint/parser from 4.26.1 to 4.27.0
2021-06-18 22:35:18 +05:30
dependabot[bot]andGitHub 765ed2f012 Bump tailwindcss from 2.1.4 to 2.2.0
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.1.4 to 2.2.0.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.1.4...v2.2.0)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 13:03:09 +00:00
dependabot[bot]andGitHub 63c23b9e0b Bump typescript from 4.3.2 to 4.3.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.2 to 4.3.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.2...v4.3.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 13:02:51 +00:00
dependabot[bot]andGitHub 0288392a61 Bump eslint-plugin-tailwindcss from 1.13.2 to 1.13.4
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.13.2 to 1.13.4.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.13.2...v1.13.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 13:02:37 +00:00
dependabot[bot]andGitHub 21072d343c Bump @typescript-eslint/parser from 4.26.1 to 4.27.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.26.1 to 4.27.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.27.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 13:02:28 +00:00
Sidharth Vinod 9801dd606d fix(gist): warnings 2021-06-15 21:26:27 +05:30
Sidharth Vinod b762d1a44a Merge branch 'master' into gists
* master: (28 commits)
  fix: SecurityLevel
  Trigger an alert when securityLevel is stripped
  Only strip securityLevel option when state is loaded from URL
  Fix lint issues
  Update monaco
  Bump tslib from 2.2.0 to 2.3.0
  Bump monaco-editor from 0.24.0 to 0.25.0
  Bump eslint from 7.27.0 to 7.28.0
  Bump cssnano from 5.0.5 to 5.0.6
  Bump postcss from 8.3.0 to 8.3.2
  Bump eslint-plugin-tailwindcss from 1.9.1 to 1.13.2
  Bump cypress from 7.4.0 to 7.5.0
  Handle <img> tag support in graphs
  Force securityLevel option to 'strict' by default to mitigate XSS attacks
  Bump mocha from 8.4.0 to 9.0.0
  Bump @typescript-eslint/eslint-plugin from 4.26.0 to 4.26.1
  Bump prettier from 2.3.0 to 2.3.1
  Bump @typescript-eslint/parser from 4.26.0 to 4.26.1
  Bump normalize-url from 4.5.0 to 4.5.1
  Fix typo in grammer
  ...
2021-06-15 21:20:28 +05:30
Sidharth VinodandGitHub 1324242337 Merge pull request #216 from mermaid-js/develop
Develop
2021-06-15 21:17:05 +05:30
Sidharth Vinod af64307067 fix: SecurityLevel 2021-06-15 20:54:09 +05:30
Sidharth VinodandGitHub be6931d0ca Merge pull request #209 from Morreski/develop
Mitigate XSS vulnerability and allow img tags to be correctly handled in output SVG.
2021-06-15 13:02:33 +05:30
a907674539 Trigger an alert when securityLevel is stripped
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2021-06-15 09:15:47 +02:00
Morreski fbe2f127b8 Only strip securityLevel option when state is loaded from URL 2021-06-14 22:38:44 +02:00
Sidharth VinodandGitHub 81a5181877 Merge pull request #215 from mermaid-js/develop
Develop
2021-06-12 11:19:50 +05:30
Sidharth Vinod 3848f9d618 Fix lint issues 2021-06-12 11:13:44 +05:30
Sidharth Vinod 4f52a37e1d Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
  Bump normalize-url from 4.5.0 to 4.5.1
  Fix typo in grammer
  Fix CVE
2021-06-12 11:00:48 +05:30
Sidharth Vinod 6c8c0f20c8 Update monaco 2021-06-12 10:59:44 +05:30
Sidharth VinodandGitHub 570d5c79a8 Merge pull request #213 from mermaid-js/dependabot/npm_and_yarn/develop/monaco-editor-0.25.0
Bump monaco-editor from 0.24.0 to 0.25.0
2021-06-12 10:55:06 +05:30
Sidharth VinodandGitHub 5548625536 Merge pull request #214 from mermaid-js/dependabot/npm_and_yarn/develop/tslib-2.3.0
Bump tslib from 2.2.0 to 2.3.0
2021-06-12 10:54:49 +05:30
Sidharth VinodandGitHub bb2f5b46a8 Merge pull request #212 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-7.28.0
Bump eslint from 7.27.0 to 7.28.0
2021-06-12 10:54:36 +05:30
dependabot[bot]andGitHub 559feacae0 Bump tslib from 2.2.0 to 2.3.0
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.2.0...2.3.0)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-12 05:14:48 +00:00
dependabot[bot]andGitHub ecc514816c Bump monaco-editor from 0.24.0 to 0.25.0
Bumps [monaco-editor](https://github.com/Microsoft/monaco-editor) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/Microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Microsoft/monaco-editor/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-12 05:14:43 +00:00
dependabot[bot]andGitHub 8d2d6a83ae Bump eslint from 7.27.0 to 7.28.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.27.0 to 7.28.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.27.0...v7.28.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-12 05:14:31 +00:00
Sidharth VinodandGitHub 9ca183e654 Merge pull request #210 from mermaid-js/dependabot/npm_and_yarn/develop/cssnano-5.0.6
Bump cssnano from 5.0.5 to 5.0.6
2021-06-12 10:42:35 +05:30
Sidharth VinodandGitHub f65dba35c4 Merge pull request #207 from mermaid-js/dependabot/npm_and_yarn/develop/postcss-8.3.2
Bump postcss from 8.3.0 to 8.3.2
2021-06-12 10:42:26 +05:30
dependabot[bot]andGitHub 65a1e067ab Bump cssnano from 5.0.5 to 5.0.6
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.5 to 5.0.6.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.5...cssnano@5.0.6)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-12 05:01:04 +00:00
dependabot[bot]andGitHub 14bfbb1607 Bump postcss from 8.3.0 to 8.3.2
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.0 to 8.3.2.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.0...8.3.2)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-12 05:00:57 +00:00
Sidharth VinodandGitHub 49a812c43f Merge pull request #211 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.13.2
Bump eslint-plugin-tailwindcss from 1.9.1 to 1.13.2
2021-06-12 10:29:36 +05:30
Sidharth VinodandGitHub 45010e17d2 Merge pull request #203 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.26.1
Bump @typescript-eslint/eslint-plugin from 4.26.0 to 4.26.1
2021-06-12 10:29:17 +05:30
Sidharth VinodandGitHub 60f553f9eb Merge pull request #202 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-7.5.0
Bump cypress from 7.4.0 to 7.5.0
2021-06-12 10:29:04 +05:30
dependabot[bot]andGitHub cdf9ccd3c9 Bump eslint-plugin-tailwindcss from 1.9.1 to 1.13.2
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.9.1 to 1.13.2.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.9.1...v1.13.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 09:17:02 +00:00
dependabot[bot]andGitHub 566c696be8 Bump cypress from 7.4.0 to 7.5.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v7.4.0...v7.5.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 09:16:50 +00:00
Sidharth VinodandGitHub abde98bd5f Merge pull request #200 from mermaid-js/dependabot/npm_and_yarn/normalize-url-4.5.1
Bump normalize-url from 4.5.0 to 4.5.1
2021-06-11 14:46:12 +05:30
Sidharth VinodandGitHub 5c9afbc1ed Merge pull request #205 from mermaid-js/dependabot/npm_and_yarn/develop/mocha-9.0.0
Bump mocha from 8.4.0 to 9.0.0
2021-06-11 14:45:06 +05:30
Morreski cec1dc4df9 Handle <img> tag support in graphs 2021-06-11 11:13:13 +02:00
Morreski 1096d10cb4 Force securityLevel option to 'strict' by default to mitigate XSS attacks 2021-06-11 11:13:03 +02:00
dependabot[bot]andGitHub d5ecf60c84 Bump mocha from 8.4.0 to 9.0.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v9.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 08:05:16 +00:00
dependabot[bot]andGitHub 4d48a14100 Bump @typescript-eslint/eslint-plugin from 4.26.0 to 4.26.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.26.0 to 4.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 08:03:53 +00:00
Sidharth VinodandGitHub d751945e94 Merge pull request #204 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.26.1
Bump @typescript-eslint/parser from 4.26.0 to 4.26.1
2021-06-11 13:31:26 +05:30
Sidharth VinodandGitHub aa74eaff95 Merge pull request #206 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-2.3.1
Bump prettier from 2.3.0 to 2.3.1
2021-06-11 13:31:13 +05:30
dependabot[bot]andGitHub 35bf065120 Bump prettier from 2.3.0 to 2.3.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.0...2.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 05:05:32 +00:00
dependabot[bot]andGitHub 0604c27b56 Bump @typescript-eslint/parser from 4.26.0 to 4.26.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.26.0 to 4.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 05:04:56 +00:00
dependabot[bot]andGitHub 956d5d0684 Bump normalize-url from 4.5.0 to 4.5.1
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 16:35:13 +00:00
Sidharth VinodandGitHub 4cba8bdb72 Merge pull request #199 from Yukaii/bugfix/fix-grammer-typo
Fix grammer typo
2021-06-09 11:51:38 +05:30
Yukai HuangandGitHub 09f4b4f35e Fix typo in grammer 2021-06-08 21:06:31 +08:00
Sidharth Vinod c751fc3c01 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
  Update SRI
  Release 8.10.2
  Release 8.10.2
  Update README.md
  Migrate to GHCR
  Create docker-publish.yml
2021-06-08 11:40:46 +05:30
Sidharth Vinod 65ab28d03b Fix CVE 2021-06-08 11:40:36 +05:30
Sidharth Vinod f4d6ca8c92 Cypress regex fix 2021-06-06 12:27:10 +05:30
Sidharth VinodandGitHub 86953aadc7 Merge pull request #198 from mermaid-js/develop
Release 8.10.2
2021-06-06 12:09:57 +05:30
Sidharth Vinod 876b419c04 Update SRI 2021-06-06 12:02:49 +05:30
Sidharth Vinod 8bb611c50c Release 8.10.2 2021-06-06 11:59:16 +05:30
Sidharth Vinod 13286ff4d1 Release 8.10.2 2021-06-06 11:58:07 +05:30
Sidharth Vinod 88f9c3b6ea Gist URL 2021-06-05 17:35:44 +05:30
Sidharth Vinod 29ffa1a0a4 Fix base path 2021-06-05 16:31:22 +05:30
Sidharth Vinod 103f02bb90 Fix tests 2021-06-05 16:26:37 +05:30
Sidharth VinodandGitHub a6db07a4c1 Merge pull request #197 from mermaid-js/develop
Develop
2021-06-05 16:14:54 +05:30
Sidharth VinodandGitHub 8d8ae6a366 Merge pull request #105 from Thiht/master
Create docker-publish.yml
2021-06-05 16:09:34 +05:30
Sidharth VinodandGitHub e81e09ab23 Merge branch 'develop' into master 2021-06-05 16:09:21 +05:30
Sidharth Vinod bf8160e31e Fix gist loading and code not updating issue 2021-06-05 15:55:59 +05:30
Sidharth Vinod 5961c7d451 Fix loading issue 2021-06-05 15:44:26 +05:30
Sidharth Vinod cc3f4fabc2 Loading Gist 2021-06-05 15:31:22 +05:30
Sidharth Vinod aed37c19c7 More tests 2021-06-05 12:18:59 +05:30
Sidharth Vinod 43bac28b30 Format names 2021-06-05 12:13:19 +05:30
Sidharth Vinod ed2057312a Fix test 2021-06-05 11:57:39 +05:30
Sidharth Vinod fdff260f7f Show git revision history 2021-06-05 11:52:13 +05:30
Sidharth Vinod f5878feaa5 Fix file name 2021-06-05 02:53:35 +05:30
Sidharth Vinod aef1afe3f4 Update file names 2021-06-05 02:48:06 +05:30
Sidharth Vinod f2cf3e8111 Fix types 2021-06-05 02:27:42 +05:30
Sidharth Vinod 32351ab24e Load data from urls 2021-06-05 02:25:12 +05:30
Sidharth Vinod bd3b39a2c5 Merge branch 'master' into gists
* master: (338 commits)
  Update build image version
  Update dependencies
  Remove test run on push
  Update dependencies
  Fix docker build issue
  Bump typescript from 4.2.4 to 4.3.2
  Bump autoprefixer from 10.2.5 to 10.2.6
  Enable recording
  Bump tailwindcss from 2.1.2 to 2.1.4
  Bump @macfja/svelte-persistent-store from 1.1.0 to 1.1.1
  Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.26.0
  Bump eslint-plugin-tailwindcss from 1.8.0 to 1.9.1
  Disable lint
  Fix snapshot
  Fix editor
  Touchup
  Bump prettier from 2.2.1 to 2.3.0
  Test
  Delete docs
  Fix snapshot
  ...
2021-06-05 00:44:55 +05:30
Sidharth VinodandGitHub e286fb2fb7 Update README.md 2021-06-05 00:41:44 +05:30
Sidharth VinodandGitHub 3097161aa8 Migrate to GHCR 2021-06-05 00:27:41 +05:30
Sidharth Vinod b222e37457 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
  Update dependencies
  Remove test run on push
  Update dependencies
  Fix docker build issue
  Bump typescript from 4.2.4 to 4.3.2
  Bump autoprefixer from 10.2.5 to 10.2.6
  Enable recording
  Bump tailwindcss from 2.1.2 to 2.1.4
  Bump @macfja/svelte-persistent-store from 1.1.0 to 1.1.1
  Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.26.0
  Bump eslint-plugin-tailwindcss from 1.8.0 to 1.9.1
  Disable lint
  Fix snapshot
  Fix editor
  Touchup
  Bump prettier from 2.2.1 to 2.3.0
  Bump prettier-plugin-svelte from 2.2.0 to 2.3.0
2021-06-04 23:57:55 +05:30
Sidharth Vinod 0d5240dfef Update build image version 2021-06-04 23:54:14 +05:30
Sidharth VinodandGitHub 09c3fbb13c Merge pull request #186 from mermaid-js/develop
Develop
2021-06-04 20:49:37 +05:30
Sidharth Vinod dd66ed095b Update dependencies 2021-06-04 20:33:36 +05:30
Sidharth Vinod d7308f019b Remove test run on push 2021-06-04 20:30:31 +05:30
Sidharth Vinod 634403dac7 Update dependencies 2021-06-04 20:25:40 +05:30
Sidharth Vinod 3bfc932ff7 Merge branch 'develop' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'develop' of https://github.com/mermaid-js/mermaid-live-editor:
  Bump typescript from 4.2.4 to 4.3.2
  Bump autoprefixer from 10.2.5 to 10.2.6
  Bump tailwindcss from 2.1.2 to 2.1.4
  Bump @macfja/svelte-persistent-store from 1.1.0 to 1.1.1
  Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.26.0
  Bump eslint-plugin-tailwindcss from 1.8.0 to 1.9.1
2021-06-04 20:07:54 +05:30
Sidharth Vinod 16e22b52a2 Fix docker build issue 2021-06-04 20:07:48 +05:30
Sidharth VinodandGitHub 7773252302 Merge pull request #188 from mermaid-js/dependabot/npm_and_yarn/develop/autoprefixer-10.2.6
Bump autoprefixer from 10.2.5 to 10.2.6
2021-06-04 19:05:31 +05:30
Sidharth VinodandGitHub d59859abc6 Merge pull request #190 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.3.2
Bump typescript from 4.2.4 to 4.3.2
2021-06-04 19:05:08 +05:30
dependabot[bot]andGitHub 2702f7b045 Bump typescript from 4.2.4 to 4.3.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 12:46:27 +00:00
dependabot[bot]andGitHub d392347bc0 Bump autoprefixer from 10.2.5 to 10.2.6
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.5 to 10.2.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.2.5...10.2.6)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 12:46:07 +00:00
Sidharth VinodandGitHub 38aecc2a3e Merge pull request #183 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.26.0
Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.26.0
2021-06-04 18:14:20 +05:30
Sidharth VinodandGitHub a549c4021d Merge pull request #184 from mermaid-js/dependabot/npm_and_yarn/develop/macfja/svelte-persistent-store-1.1.1
Bump @macfja/svelte-persistent-store from 1.1.0 to 1.1.1
2021-06-04 18:14:09 +05:30
Sidharth VinodandGitHub d4d7fd351b Merge pull request #185 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-2.1.4
Bump tailwindcss from 2.1.2 to 2.1.4
2021-06-04 18:13:55 +05:30
Sidharth VinodandGitHub d5548805d0 Merge pull request #181 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.9.1
Bump eslint-plugin-tailwindcss from 1.8.0 to 1.9.1
2021-06-04 18:13:31 +05:30
Sidharth Vinod 708effa0b0 Enable recording 2021-06-04 11:30:34 +05:30
dependabot[bot]andGitHub afeb08fa39 Bump tailwindcss from 2.1.2 to 2.1.4
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.1.2 to 2.1.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.1.2...v2.1.4)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 05:04:55 +00:00
dependabot[bot]andGitHub 3df6b6d3f6 Bump @macfja/svelte-persistent-store from 1.1.0 to 1.1.1
Bumps [@macfja/svelte-persistent-store](https://github.com/macfja/svelte-persistent-store) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/macfja/svelte-persistent-store/releases)
- [Changelog](https://github.com/MacFJA/svelte-persistent-store/blob/main/CHANGELOG.md)
- [Commits](https://github.com/macfja/svelte-persistent-store/compare/1.1.0...1.1.1)

---
updated-dependencies:
- dependency-name: "@macfja/svelte-persistent-store"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 05:04:34 +00:00
dependabot[bot]andGitHub 298ca8cc6a Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.26.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.1 to 4.26.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 05:04:13 +00:00
dependabot[bot]andGitHub 6c06c72614 Bump eslint-plugin-tailwindcss from 1.8.0 to 1.9.1
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.8.0 to 1.9.1.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.8.0...v1.9.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 05:03:21 +00:00
Sidharth VinodandGitHub b431571662 Merge pull request #179 from mermaid-js/develop
Develop
2021-06-03 12:52:41 +05:30
Sidharth Vinod 4d6a2478ab Disable lint 2021-06-03 12:29:56 +05:30
Sidharth Vinod 1064f3ce81 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
2021-06-03 12:27:02 +05:30
Sidharth Vinod 8db133e240 Fix snapshot 2021-06-03 12:08:43 +05:30
Sidharth Vinod 4cba7c86d5 Fix editor 2021-06-03 11:54:08 +05:30
Sidharth VinodandGitHub 6622cb3968 Merge pull request #178 from mermaid-js/develop
Develop
2021-06-03 02:08:05 +05:30
Sidharth VinodandGitHub 84b0db4dbc Merge pull request #163 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-2.3.0
Bump prettier from 2.2.1 to 2.3.0
2021-06-03 02:07:46 +05:30
Sidharth Vinod 4c4427a4b9 Touchup 2021-06-03 02:03:43 +05:30
dependabot[bot]andGitHub c6d0e3d4b3 Bump prettier from 2.2.1 to 2.3.0
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 20:28:58 +00:00
Sidharth VinodandGitHub c4796f7dd7 Merge pull request #164 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-plugin-svelte-2.3.0
Bump prettier-plugin-svelte from 2.2.0 to 2.3.0
2021-06-03 01:55:34 +05:30
Sidharth VinodandGitHub 1e787a5c16 Merge pull request #176 from mermaid-js/develop
Develop
2021-06-03 01:51:03 +05:30
Sidharth VinodandGitHub 0bc637f606 Merge pull request #177 from sidharthv96/master
Beta release
2021-06-03 01:48:43 +05:30
Sidharth VinodandGitHub bb70e37492 Merge pull request #60 from sidharthv96/develop
Develop
2021-06-03 01:45:53 +05:30
Sidharth Vinod e09d2f93f8 Test 2021-06-03 01:43:14 +05:30
Sidharth Vinod 66061ef8e0 Delete docs 2021-06-03 01:40:10 +05:30
Sidharth Vinod e13e09de25 Fix snapshot 2021-06-03 01:37:09 +05:30
Sidharth Vinod 3931ebbfc2 Fix deleting 2021-06-03 01:25:32 +05:30
Sidharth Vinod 893144d16f Test Beta 2021-06-03 01:18:33 +05:30
Sidharth Vinod e44fad0e85 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
  Release  2.0.67
  Fix editor
  Release  2.0.66
2021-06-03 01:10:25 +05:30
github-actions 7055b6e8ee Release 2.0.67 2021-06-02 19:33:11 +00:00
Sidharth Vinod 44ef76f086 Fix editor 2021-06-03 01:00:48 +05:30
Sidharth Vinod 411bbcf5e5 beta 2021-06-03 00:53:30 +05:30
Sidharth Vinod 025c524012 Test build 2021-06-03 00:50:06 +05:30
Sidharth Vinod 446e1c49c7 Merge branch 'develop' of github.com:sidharthv96/mermaid-live-editor into develop
* 'develop' of github.com:sidharthv96/mermaid-live-editor:
  Release  2.0.64
2021-06-03 00:47:03 +05:30
Sidharth Vinod 742cef3870 xx 2021-06-03 00:46:57 +05:30
Sidharth VinodandGitHub 8b681530cd Merge branch 'master' into develop 2021-06-03 00:45:54 +05:30
Sidharth Vinod 8c3951a5e1 Merge branch 'master' into develop
* master:
  Release  2.0.63
  Release  2.0.62
2021-06-03 00:44:54 +05:30
Sidharth Vinod cdbf3f150e dis 2021-06-03 00:40:28 +05:30
github-actions 1bd5b00a66 Release 2.0.64 2021-06-02 19:07:43 +00:00
Sidharth Vinod 6fc5a8f696 Test 2021-06-03 00:37:34 +05:30
Sidharth Vinod 2ae15aa74e Merge branch 'master' of github.com:sidharthv96/mermaid-live-editor
* 'master' of github.com:sidharthv96/mermaid-live-editor:
  Release  2.0.63
  Release  2.0.62
  Fix SVG Export
  Test hook
2021-06-03 00:36:48 +05:30
Sidharth Vinod 998cc45b01 test 2021-06-03 00:28:06 +05:30
Sidharth Vinod a9dcc95f8c push to pages 2021-06-03 00:25:19 +05:30
Sidharth Vinod 0b7f1a8e4e test 2021-06-03 00:23:55 +05:30
dependabot[bot]andGitHub 8ba1651135 Bump prettier-plugin-svelte from 2.2.0 to 2.3.0
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v2.2.0...v2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 18:20:27 +00:00
github-actions 12d997fc61 Release 2.0.66 2021-06-02 18:13:20 +00:00
github-actions ba6db70e96 Release 2.0.63 2021-06-02 13:32:23 +00:00
github-actions 77cf436225 Release 2.0.62 2021-06-02 01:20:37 +00:00
Sidharth Vinod 6708615c48 Load data from gists 2021-03-01 00:25:31 +05:30
Thibaut RousseauandGitHub 28181f7872 Create docker-publish.yml 2020-11-21 13:04:17 +01:00
7239 changed files with 7228 additions and 300164 deletions
+47
View File
@@ -0,0 +1,47 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
// 'plugin:@typescript-eslint/recommended-requiring-type-checking',
'prettier'
],
plugins: ['svelte3', 'tailwindcss', '@typescript-eslint'],
ignorePatterns: [
'docs/*',
'*.cjs',
'*.md',
'snapshots.js',
'svelte.config.js',
'renovate.json',
'package.json',
'tsconfig.json'
],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
settings: {
'svelte3/typescript': () => require('typescript')
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 2019,
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
extraFileExtensions: ['.svelte']
},
env: {
browser: true,
es2017: true,
node: true
},
rules: {
'@typescript-eslint/ban-ts-comment': [
'error',
{
'ts-ignore': 'allow-with-description'
}
],
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off'
}
};
+41
View File
@@ -0,0 +1,41 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Link to Live Editor:
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
+19
View File
@@ -0,0 +1,19 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+7
View File
@@ -0,0 +1,7 @@
name: 'Mermaid CodeQL config'
paths:
- src
paths-ignore:
- node_modules
- '**/*.spec.js'
+8
View File
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
target-branch: 'develop'
schedule:
interval: 'weekly'
day: 'friday'
+17
View File
@@ -0,0 +1,17 @@
## :bookmark_tabs: Summary
Brief description about the content of your PR:
Resolves #<your issue id here>
## :straight_ruler: Design Decisions
Describe the way your implementation works or what design decisions you made if applicable:
### :clipboard: Tasks
Make sure you
- [ ] :book: have read the [contribution guidelines](https://github.com/mermaid-js/mermaid/blob/master/CONTRIBUTING.md)
- [ ] :computer: have added unit/e2e tests (if appropriate)
- [ ] :bookmark: targeted `develop` branch
+68
View File
@@ -0,0 +1,68 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: 'CodeQL'
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: '36 1 * * 2'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: ['javascript']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
config-file: ./.github/codeql/config.yml
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v1
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
+45
View File
@@ -0,0 +1,45 @@
name: Cypress Tests
on:
pull_request:
branches:
- master
- develop
jobs:
cypress-run:
runs-on: ubuntu-latest
container: cypress/browsers:node14.16.0-chrome90-ff88
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/cache@v2
id: yarn-and-build-cache
with:
path: |
~/.cache/Cypress
build
node_modules
key: ${{ runner.os }}-node_modules-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node_modules-build-
- name: Lint
run: |
yarn install
yarn run lint
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v2
with:
build: yarn build
start: yarn preview
wait-on: 'http://localhost:3000'
record: true
headless: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
+51
View File
@@ -0,0 +1,51 @@
name: Deploy Live Editor
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Checkout
uses: actions/checkout@v2
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Build & Deploy
run: |
npm i -g yarn
export DEPLOY=true
[ "$GITHUB_EVENT_NAME" == "pull_request" ] && export BETA=true && rm -rf docs/beta/
[ "$GITHUB_EVENT_NAME" != "pull_request" ] && rm -rf docs/_app/
yarn install
yarn run lint
version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2)
yarn build
cd bin
./fix-path
cd ..
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
keep_files: true
+69
View File
@@ -0,0 +1,69 @@
name: Docker
on:
push:
# Publish `master` as Docker `latest` image.
branches:
- master
# Publish `v1.2.3` tags as releases.
tags:
- v*
# Run tests for all PRs to master and develop.
pull_request:
branches:
- master
- develop
env:
IMAGE_NAME: mermaid-live-editor
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: |
docker build . --file Dockerfile
push:
# Ensure test job passes before pushing image.
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v2
- name: Build image
run: docker build . --file Dockerfile --tag $IMAGE_NAME
- name: Log into registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push image
run: |
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
# Strip git ref prefix from version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
# Strip "v" prefix from tag name
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# Use Docker `latest` tag convention
[ "$VERSION" == "master" ] && VERSION=latest
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
+17
View File
@@ -0,0 +1,17 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: '0 0 * * 4'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
exempt-issue-labels: 'retained'
exempt-pr-labels: 'retained'
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days'
stale-pr-message: 'This pr is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days'
+13
View File
@@ -0,0 +1,13 @@
node_modules/
coverage/
.cache/
build/
yarn-error.log
.npmrc
.DS_Store
/.svelte-kit
/build
/functions
/snapshots.js
/cypress/videos
/cypress/screenshots
+1
View File
@@ -0,0 +1 @@
_
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn pre-commit
+1
View File
@@ -0,0 +1 @@
engine-strict=true
+6
View File
@@ -0,0 +1,6 @@
docs/**
.svelte-kit/**
static/**
build/**
node_modules/**
snapshots.js
+8
View File
@@ -0,0 +1,8 @@
{
"singleQuote": true,
"svelteSortOrder": "options-scripts-markup-styles",
"svelteBracketNewLine": false,
"useTabs": true,
"trailingComma": "none",
"printWidth": 100
}
+46
View File
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the maintainers. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
+16
View File
@@ -0,0 +1,16 @@
# Two-stage docker container for mermaid-js/mermaid-live-editor
# Build : docker build -t mermaid-js/mermaid-live-editor .
# Run : docker run --name mermaid-live-editor --publish 8080:80 mermaid-js/mermaid-live-editor
# Start : docker start mermaid-live-editor
# Use webbrowser : http://localhost:8080
# Stop : press ctrl + c
# or
# docker stop mermaid-live-editor
FROM node:14.17.0 as mermaid-live-editor-builder
COPY --chown=node:node . /home
WORKDIR /home
RUN yarn install
RUN yarn build
FROM nginx:alpine as mermaid-live-editor-runner
COPY --from=mermaid-live-editor-builder --chown=nginx:nginx /home/docs /usr/share/nginx/html
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 - 2021 Knut Sveidqvist
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+52
View File
@@ -0,0 +1,52 @@
[![Mermaid Live Editor](https://img.shields.io/endpoint?url=https://dashboard.cypress.io/badge/detailed/2ckppp/master&style=flat&logo=cypress)](https://dashboard.cypress.io/projects/2ckppp/runs) [![Join our Slack!](https://img.shields.io/static/v1?message=join%20chat&color=9cf&logo=slack&label=slack)](https://join.slack.com/t/mermaid-talk/shared_invite/enQtNzc4NDIyNzk4OTAyLWVhYjQxOTI2OTg4YmE1ZmJkY2Y4MTU3ODliYmIwOTY3NDJlYjA0YjIyZTdkMDMyZTUwOGI0NjEzYmEwODcwOTE)
# Contributors are welcome!
If you want to speed up the progress for mermaid-live-editor, join the slack channel and contact knsv.
# mermaid-live-editor
Edit, preview and share mermaid charts/diagrams.
## Features
- Edit and preview flowcharts, sequence diagrams, gantt diagrams in real time.
- Save the result as a svg
- Get a link to a viewer of the diagram so that you can share it with others.
- Get a link to edit the diagram so that someone else can tweak it and send a new link back
## Live demo
You can try out a live version [here](https://mermaid-js.github.io/mermaid-live-editor/).
## Docker
```bash
docker run --publish 8000:80 ghcr.io/mermaid-js/mermaid-live-editor
```
Then open http://localhost:8000
## Setup
[Volta](https://volta.sh) is used for managing node and yarn versions.
This project is set up using [Yarn](https://classic.yarnpkg.com/en/docs/getting-started):
```
yarn install
```
## Development
```
yarn dev -- --open
```
This app is created with Svelte Kit.
## Release
When a PR is created targeting master, it will be built and deployed as a beta in http://mermaid-js.github.io/mermaid-live-editor/beta
Once the PR is merged, it will automatically be released.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
#menu-toggle.svelte-qevfgi:checked+#menu.svelte-qevfgi{display:block}header.svelte-qevfgi.svelte-qevfgi{z-index:10000}.icon.svelte-1qkpo3v{transition-duration:.5s}.isOpen.svelte-1qkpo3v{transform:rotate(90deg)}#resizeHandler.svelte-ub8fux{cursor:col-resize;padding:0 2px}#resizeHandler.svelte-ub8fux:after{background-color:#ccc;content:"";height:100%;margin-left:-1px;position:absolute;top:0;width:2px}#resizeHandler.svelte-ub8fux:hover:after{background-color:#818cf8;margin-left:-2px;width:4px}@media screen and (max-width:768px){#resizeHandler.svelte-ub8fux{display:none}}
@@ -1 +0,0 @@
#menu-toggle.svelte-1163kmr:checked+#menu.svelte-1163kmr{display:block}.navbar.svelte-1163kmr.svelte-1163kmr{z-index:10000}.icon.svelte-1qkpo3v{transition-duration:.5s}.isOpen.svelte-1qkpo3v{transform:rotate(90deg)}#resizeHandler.svelte-1fge7im{cursor:col-resize;padding:0 2px}#resizeHandler.svelte-1fge7im:after{background-color:hsla(var(--b3));content:"";height:100%;margin-left:-1px;position:absolute;top:0;transition-duration:.2s;width:2px}#resizeHandler.svelte-1fge7im:hover:after{background-color:hsla(var(--p));margin-left:-2px;width:4px}
@@ -1 +0,0 @@
#menu-toggle.svelte-qevfgi:checked+#menu.svelte-qevfgi{display:block}header.svelte-qevfgi.svelte-qevfgi{z-index:10000}.icon.svelte-1qkpo3v{transition-duration:.5s}.isOpen.svelte-1qkpo3v{transform:rotate(90deg)}#resizeHandler.svelte-ub8fux{cursor:col-resize;padding:0 2px}#resizeHandler.svelte-ub8fux:after{background-color:#ccc;content:"";height:100%;margin-left:-1px;position:absolute;top:0;width:2px}#resizeHandler.svelte-ub8fux:hover:after{background-color:#818cf8;margin-left:-2px;width:4px}@media screen and (max-width:768px){#resizeHandler.svelte-ub8fux{display:none}}
-1
View File
@@ -1 +0,0 @@
#svelte-announcer.svelte-1pdgbjn{clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;left:0;overflow:hidden;position:absolute;top:0;white-space:nowrap;width:1px}
-1
View File
@@ -1 +0,0 @@
#svelte-announcer.svelte-1pdgbjn{clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;left:0;overflow:hidden;position:absolute;top:0;white-space:nowrap;width:1px}
-1
View File
@@ -1 +0,0 @@
#view.svelte-5ndy2s{border:1px #8b0000;flex:1}.error.svelte-5ndy2s,.outOfSync.svelte-5ndy2s{opacity:.5}
-1
View File
@@ -1 +0,0 @@
#view.svelte-7vvt6c{border:1px #8b0000;flex:1}.error.svelte-7vvt6c,.outOfSync.svelte-7vvt6c{opacity:.5}
-1
View File
@@ -1 +0,0 @@
#view.svelte-5ndy2s{border:1px darkred;flex:1}.error.svelte-5ndy2s,.outOfSync.svelte-5ndy2s{opacity:.5}
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(t){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{},i=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),i.forEach((function(n){e(t,n,a[n])}))}return t}var n={trackingId:null,debug:!1,anonymizeIp:!1,customDimensions:{},resetCustomDimensionsOnPage:[],setCustomDimensionsToPage:!0},a={};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=!1,u=r(e),d=u.instanceName,p=u.instancePrefix;return{name:"google-analytics",config:t({},n,e),initialize:function(e){var n=e.config,i=e.instance;if(!n.trackingId)throw new Error("No GA trackingId defined");var r,c,s,u,g,f,v,m=n.customScriptSrc||"https://www.google-analytics.com/analytics.js";if(o(m)&&(r=window,c=document,s="script",u=m,g="ga",r.GoogleAnalyticsObject=g,r.ga=r.ga||function(){(r.ga.q=r.ga.q||[]).push(arguments)},r.ga.l=1*new Date,f=c.createElement(s),v=c.getElementsByTagName(s)[0],f.async=1,f.src=u,v.parentNode.insertBefore(f,v)),!a[d]){var y=t({cookieDomain:n.domain||"auto",siteSpeedSampleRate:n.siteSpeedSampleRate||1,sampleRate:n.sampleRate||100,allowLinker:!0},n.cookieConfig);if(d&&(y.name=d),ga("create",n.trackingId,y),n.debug&&(ga("".concat(p,"set"),"sendHitTask",null),window.ga_debug={trace:!0}),n.anonymizeIp&&ga("".concat(p,"set"),"anonymizeIp",!0),n.tasks){["customTask","previewTask","checkProtocolTask","validationTask","checkStorageTask","historyImportTask","samplerTask","buildHitTask","sendHitTask","timingTask","displayFeaturesTask"].forEach((function(e){if(n.tasks.hasOwnProperty(e)){var t=n.tasks[e];"function"==typeof t?ga(n.tasks[e]):null===t&&ga("".concat(p,"set"),e,t)}}))}var k=(i.user()||{}).traits||{};if(Object.keys(k).length){var h=l(k,n);ga("".concat(p,"set"),h)}a[d]=!0}},page:function(e){var n=e.payload,a=e.config,r=e.instance,c=n.properties,l=a.resetCustomDimensionsOnPage,u=a.customDimensions,f=r.getState("context.campaign");if(!o()){if(l&&l.length){var d=l.reduce((function(e,t){return u[t]&&(e[u[t]]=null),e}),{});Object.keys(d).length&&ga("".concat(p,"set"),d)}var v=c.path||document.location.pathname,m={page:v,title:c.title,location:c.url},y={page:v,title:c.title};c.referrer!==document.referrer&&(y.referrer=c.referrer);var k=t({},m,s(f),g(c,a,p));ga("".concat(p,"set"),y),i&&delete k.location,ga("".concat(p,"send"),"pageview",k),i=!0}},track:function(e){var t=e.payload,n=e.config,a=e.instance,i=t.properties,o=t.event,r=i.label,s=i.value;c({hitType:"event",event:o,label:r,category:i.category||"All",value:s,nonInteraction:i.nonInteraction,campaign:a.getState("context.campaign")},n,t)},identify:function(e){var t=e.payload,n=e.config;f(t.userId,t.traits,n)},loaded:function(){return!!window.gaplugins}}}function o(e){return e?!function(e){var t=document.querySelectorAll("script[src]");return!!Object.keys(t).filter((function(n){return(t[n].src||"")===e})).length}(e):"undefined"==typeof ga}function r(e){var t=e.instanceName;return{instancePrefix:t?"".concat(t,"."):"",instanceName:t}}function c(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0;if(!o()){var i=r(n),c=i.instancePrefix,l={hitType:e.hitType||"event",eventAction:e.event,eventLabel:e.label,eventCategory:e.category||"All",nonInteraction:void 0!==e.nonInteraction&&!!e.nonInteraction};e.value&&(l.eventValue=d(e.value));var u=s(e),f=g(a.properties,n,c),p=t({},l,u,f);return ga("".concat(c,"send"),"event",p),p}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={},n=e.name,a=e.source,i=e.medium,o=e.content,r=e.keyword;return n&&(t.campaignName=n),a&&(t.campaignSource=a),i&&(t.campaignMedium=i),o&&(t.campaignContent=o),r&&(t.campaignKeyword=r),t}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.customDimensions;return Object.keys(n).reduce((function(t,a){var i=n[a],o=u(e,a)||e[a];return"boolean"==typeof o&&(o=o.toString()),o||0===o?(t[i]=o,t):t}),{})}function u(e,t,n,a,i){for(t=t.split?t.split("."):t,a=0;a<t.length;a++)e=e?e[t[a]]:i;return e===i?n:e}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=l(e,t);return Object.keys(a).length?t.setCustomDimensionsToPage?(ga("".concat(n,"set"),a),{}):a:{}}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!o()){var a=r(n),i=a.instancePrefix;if(e&&ga("".concat(i,"set"),"userId",e),Object.keys(t).length){var c=l(t,n);ga("".concat(i,"set"),c)}}}function d(e){return!e||e<0?0:Math.round(e)}var p=i,v=i,m=void 0,y=void 0,k=c,h=f;export default p;export{h as identify,v as init,m as initialize,y as page,k as track};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{C as s}from"./vendor-1c68e392.js";const a=s({loading:!1}),o=async(s,o)=>{a.set({loading:!0,message:s});const e=await o;return a.set({loading:!1}),e};export{o as i,a as l};
-1
View File
@@ -1 +0,0 @@
import{C as a}from"./vendor-267efa65.js";const s=a({loading:!1}),o=async(a,o)=>{s.set({loading:!0,message:a});const e=await o;return s.set({loading:!1}),e};export{o as i,s as l};
-1
View File
@@ -1 +0,0 @@
import{C as s}from"./vendor-8d42b2c7.js";const a=s({loading:!1}),o=async(s,o)=>{a.set({loading:!0,message:s});const n=await o;return a.set({loading:!1}),n};export{o as i,a as l};
-1
View File
@@ -1 +0,0 @@
import{C as s}from"./vendor-105bcc23.js";const a=s({loading:!1}),o=async(s,o)=>{a.set({loading:!0,message:s});const n=await o;return a.set({loading:!1}),n};export{o as i,a as l};
-1
View File
@@ -1 +0,0 @@
import{C as s}from"./vendor-559fd8dc.js";const a=s({loading:!1}),o=async(s,o)=>{a.set({loading:!0,message:s});const n=await o;return a.set({loading:!1}),n};export{o as i,a as l};
-1
View File
@@ -1 +0,0 @@
import{C as a}from"./vendor-5a84ff68.js";const s=a({loading:!1}),o=async(a,o)=>{s.set({loading:!0,message:a});const n=await o;return s.set({loading:!1}),n};export{o as i,s as l};
-1
View File
@@ -1 +0,0 @@
import{C as a}from"./vendor-a49b420c.js";const s=a({loading:!1}),o=async(a,o)=>{s.set({loading:!0,message:a});const n=await o;return s.set({loading:!1}),n};export{o as i,s as l};
-1
View File
@@ -1 +0,0 @@
let e="";function a(s){e=s.base,s.assets}export{e as b,a as s};
-1
View File
@@ -1 +0,0 @@
let a="",e="";function t(s){a=s.base,e=s.assets||a}export{e as a,a as b,t as s};
-1
View File
@@ -1 +0,0 @@
let s="",a="/.";function e(e){({base:s,assets:a}=e)}export{s as b,e as s};
-1
View File
@@ -1 +0,0 @@
let e="";function a(s){e=s.base,s.assets}export{e as b,a as s};
-1
View File
@@ -1 +0,0 @@
const a="modulepreload",i={},u="/mermaid-live-editor/_app/",d=function(s,n){return!n||n.length===0?s():Promise.all(n.map(e=>{if(e=`${u}${e}`,e in i)return;i[e]=!0;const r=e.endsWith(".css"),o=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${o}`))return;const t=document.createElement("link");if(t.rel=r?"stylesheet":a,r||(t.as="script",t.crossOrigin=""),t.href=e,document.head.appendChild(t),r)return new Promise((l,c)=>{t.addEventListener("load",l),t.addEventListener("error",c)})})).then(()=>s())};export{d as _};
-1
View File
@@ -1 +0,0 @@
import{E as b,s as y,F as E,G as S,H as $}from"./index-b06f7db9.js";const a=[];function q(n,c){return{subscribe:w(n,c).subscribe}}function w(n,c=b){let i;const e=new Set;function o(s){if(y(n,s)&&(n=s,i)){const u=!a.length;for(const t of e)t[1](),a.push(t,n);if(u){for(let t=0;t<a.length;t+=2)a[t][0](a[t+1]);a.length=0}}}function f(s){o(s(n))}function r(s,u=b){const t=[s,u];return e.add(t),e.size===1&&(i=c(o)||b),s(n),()=>{e.delete(t),e.size===0&&(i(),i=null)}}return{set:o,update:f,subscribe:r}}function z(n,c,i){const e=!Array.isArray(n),o=e?[n]:n,f=c.length<2;return q(i,r=>{let s=!1;const u=[];let t=0,d=b;const m=()=>{if(t)return;d();const l=c(e?u[0]:u,r);f?r(l):d=$(l)?l:b},_=o.map((l,h)=>E(l,g=>{u[h]=g,t&=~(1<<h),s&&m()},()=>{t|=1<<h}));return s=!0,m(),function(){S(_),d()}})}const k="modulepreload",p={},C="/mermaid-live-editor/_app/",A=function(c,i){return!i||i.length===0?c():Promise.all(i.map(e=>{if(e=`${C}${e}`,e in p)return;p[e]=!0;const o=e.endsWith(".css"),f=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${f}`))return;const r=document.createElement("link");if(r.rel=o?"stylesheet":k,o||(r.as="script",r.crossOrigin=""),r.href=e,document.head.appendChild(r),o)return new Promise((s,u)=>{r.addEventListener("load",s),r.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>c())};export{A as _,z as d,w};
-1
View File
@@ -1 +0,0 @@
let e;const r={},t=function(t,n){if(!n||0===n.length)return t();if(void 0===e){const r=document.createElement("link").relList;e=r&&r.supports&&r.supports("modulepreload")?"modulepreload":"preload"}return Promise.all(n.map((t=>{if((t=`/mermaid-live-editor/_app/${t}`)in r)return;r[t]=!0;const n=t.endsWith(".css"),o=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${o}`))return;const s=document.createElement("link");return s.rel=n?"stylesheet":e,n||(s.as="script",s.crossOrigin=""),s.href=t,document.head.appendChild(s),n?new Promise(((e,r)=>{s.addEventListener("load",e),s.addEventListener("error",r)})):void 0}))).then((()=>t()))};export{t as _};
-1
View File
@@ -1 +0,0 @@
let e;const r={},t=function(t,n){if(!n)return t();if(void 0===e){const r=document.createElement("link").relList;e=r&&r.supports&&r.supports("modulepreload")?"modulepreload":"preload"}return Promise.all(n.map((t=>{if(t in r)return;r[t]=!0;const n=t.endsWith(".css"),o=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${o}`))return;const s=document.createElement("link");return s.rel=n?"stylesheet":e,n||(s.as="script",s.crossOrigin=""),s.href=t,document.head.appendChild(s),n?new Promise(((e,r)=>{s.addEventListener("load",e),s.addEventListener("error",r)})):void 0}))).then((()=>t()))};export{t as _};
-1
View File
@@ -1 +0,0 @@
import{E as b,s as y,F as E,G as S,H as $}from"./index-3ccfa173.js";const a=[];function q(n,c){return{subscribe:w(n,c).subscribe}}function w(n,c=b){let i;const e=new Set;function o(s){if(y(n,s)&&(n=s,i)){const u=!a.length;for(const t of e)t[1](),a.push(t,n);if(u){for(let t=0;t<a.length;t+=2)a[t][0](a[t+1]);a.length=0}}}function f(s){o(s(n))}function r(s,u=b){const t=[s,u];return e.add(t),e.size===1&&(i=c(o)||b),s(n),()=>{e.delete(t),e.size===0&&(i(),i=null)}}return{set:o,update:f,subscribe:r}}function z(n,c,i){const e=!Array.isArray(n),o=e?[n]:n,f=c.length<2;return q(i,r=>{let s=!1;const u=[];let t=0,d=b;const m=()=>{if(t)return;d();const l=c(e?u[0]:u,r);f?r(l):d=$(l)?l:b},_=o.map((l,h)=>E(l,g=>{u[h]=g,t&=~(1<<h),s&&m()},()=>{t|=1<<h}));return s=!0,m(),function(){S(_),d()}})}const k="modulepreload",p={},C="/mermaid-live-editor/_app/",A=function(c,i){return!i||i.length===0?c():Promise.all(i.map(e=>{if(e=`${C}${e}`,e in p)return;p[e]=!0;const o=e.endsWith(".css"),f=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${f}`))return;const r=document.createElement("link");if(r.rel=o?"stylesheet":k,o||(r.as="script",r.crossOrigin=""),r.href=e,document.head.appendChild(r),o)return new Promise((s,u)=>{r.addEventListener("load",s),r.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>c())};export{A as _,z as d,w};
-1
View File
@@ -1 +0,0 @@
let i;function r(t){i=t}export{r as i,i as r};
-1
View File
@@ -1 +0,0 @@
let t;function e(r){t=r.router}export{e as i,t as r};
-1
View File
@@ -1 +0,0 @@
let t;function e(r){t=r.router}export{e as i,t as r};
-1
View File
@@ -1 +0,0 @@
let t;function a(a){t=a}export{a as i,t as r};
-1
View File
@@ -1 +0,0 @@
let t;function n(i){t=i.client}export{t as c,n as i};
-18
View File
@@ -1,18 +0,0 @@
var S=Object.defineProperty,b=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var u=(t,e,s)=>e in t?S(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,i=(t,e)=>{for(var s in e||(e={}))v.call(e,s)&&u(t,s,e[s]);if(d)for(var s of d(e))C.call(e,s)&&u(t,s,e[s]);return t},o=(t,e)=>b(t,k(e));import{C as m,J as L,K as O,L as _,M as N,N as l,O as T}from"./vendor-77f1dd11.js";import{_ as g}from"./preload-helper-1db36302.js";const D={loading:!1},f=m(D),B=async(t,e)=>{f.set({loading:!0,message:t});const s=await e;return f.set({loading:!1}),s};let n;const G=async()=>{if(!n)try{const{Analytics:t}=await g(()=>import("./analytics.browser.es-32014803.js"),[]),e=await g(()=>import("./analytics-plugin-ga.browser.es-1cdb0512.js"),[]);n=t({app:"mermaid-live-editor",plugins:[e.init({trackingId:"UA-153180559-1"})]})}catch{console.info("Analytics blocked ;)")}},J=t=>t.replace(/^\s*%%.*\n/g,`
`).trimStart().split(" ")[0];let p;const w=t=>{n&&(clearTimeout(p),p=setTimeout(function(){const e=J(t);console.debug("ga:","send","event","render",e),n.track("render",{graphType:e})},5e3))},A={code:`graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]
`,mermaid:JSON.stringify({theme:"default"},null,2),updateEditor:!1,autoSync:!0,updateDiagram:!0},E=`graph TD
A[Loading URL failed. We can try to figure out why.] -->|Decode JSON| B(Please check the console to see the JSON and error details.)
B --> C{Is the JSON correct?}
C -->|Yes| D(Please Click here to Raise an issue in github.<br/>Including the broken link in the issue <br/> will speed up the fix.)
C -->|No| E{Did someone <br/>send you this link?}
E -->|Yes| F[Ask them to send <br/>you the complete link]
E -->|No| G{Did you copy <br/> the complete URL?}
G --> |Yes| D
G --> |"No :("| H(Try using the Timeline tab in History <br/>from same browser you used to create the diagram.)
click D href "https://github.com/mermaid-js/mermaid-live-editor/issues/new?assignees=&labels=bug&template=bug_report.md&title=Broken%20link" "Raise issue"`,a=L(m(A),O(),"codeStore"),R=_([a],([t],e)=>{e(N(JSON.stringify(t),!0))}),U=t=>{let e;try{const s=T(t);console.log(`Trying to load state: ${s}`),e=JSON.parse(s);const r=typeof e.mermaid=="string"?JSON.parse(e.mermaid):e.mermaid;r.securityLevel&&r.securityLevel!=="strict"&&confirm(`Removing "securityLevel":"${r.securityLevel}" from the config for safety.
Click Cancel if you trust the source of this Diagram.`)&&delete r.securityLevel,e.mermaid=JSON.stringify(r,null,2)}catch(s){e=l(a),t&&(console.error("Init error",s),e.code=E)}y(o(i({},e),{updateEditor:!0}))},y=t=>{a.update(e=>i(i({},e),t))};let h=!1;const F=(t,e,s=!1)=>{if(w(t),(t.match(/\n/g)||"").length+1>50&&!h&&l(a).autoSync){const c=confirm("Long diagram detected. Turn off Auto Sync? Click the sync logo to manually sync.");h=!0,c&&y({autoSync:!1})}a.update(c=>o(i({},c),{code:t,updateEditor:e,updateDiagram:s}))},Y=(t,e)=>{a.update(s=>o(i({},s),{mermaid:t,updateEditor:e}))},$=t=>{a.update(e=>{const s=JSON.parse(e.mermaid);return(!s.theme||["dark","default"].includes(s.theme))&&(s.theme=t?"dark":"default"),o(i({},e),{mermaid:JSON.stringify(s,null,2),updateEditor:!0})})},x=()=>{R.subscribe(t=>{history.replaceState(void 0,void 0,`#${t}`)})},H=()=>JSON.stringify(l(a));export{n as a,R as b,a as c,Y as d,A as e,y as f,H as g,x as h,B as i,G as j,U as k,f as l,$ as t,F as u};
-18
View File
@@ -1,18 +0,0 @@
var b=Object.defineProperty,k=Object.defineProperties;var v=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var m=(e,t,s)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,a=(e,t)=>{for(var s in t||(t={}))L.call(t,s)&&m(e,s,t[s]);if(u)for(var s of u(t))_.call(t,s)&&m(e,s,t[s]);return e},o=(e,t)=>k(e,v(t));import{D as p,L as C,M as T,N as O,O as w,P as D,Q as N,R as A,T as E,U as z,V as c}from"./vendor-54c63849.js";import{_ as f}from"./preload-helper-1db36302.js";const J={loading:!1},g=p(J),H=async(e,t)=>{g.set({loading:!0,message:e});const s=await t;return g.set({loading:!1}),s};let l;const M=async()=>{if(!l)try{const{Analytics:e}=await f(()=>import("./analytics.browser.es-3a37d114.js"),[]),t=await f(()=>import("./analytics-plugin-ga.browser.es-1cdb0512.js"),[]);l=e({app:"mermaid-live-editor",plugins:[t.init({trackingId:"UA-153180559-1"})]})}catch{console.info("Analytics blocked ;)")}},R=e=>e.replace(/^\s*%%.*\n/g,`
`).trimStart().split(" ")[0];let y;const j=e=>{l&&(clearTimeout(y),y=setTimeout(function(){const t=R(e);console.debug("ga:","send","event","render",t),l.track("render",{graphType:t})},5e3))},P={serialize:e=>D(e,!0),deserialize:e=>N(e)},U={serialize:e=>{const t=new TextEncoder().encode(e),s=T(t,{level:9});return C(s,!0)},deserialize:e=>{const t=O(e);return w(t,{to:"string"})}},d={base64:P,pako:U},I=e=>{const t=JSON.stringify(e),s="pako",n=d[s].serialize(t);return`${s}:${n}`},B=e=>{let t,s;if(e.includes(":")){let r;if([r,s]=e.split(":"),r in d)t=r;else throw new Error(`Unknown serde type: ${r}`)}else t="base64",s=e;const n=d[t].deserialize(s);return JSON.parse(n)},G={code:`graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]
`,mermaid:JSON.stringify({theme:"default"},null,2),updateEditor:!1,autoSync:!0,updateDiagram:!0},$=`graph TD
A[Loading URL failed. We can try to figure out why.] -->|Decode JSON| B(Please check the console to see the JSON and error details.)
B --> C{Is the JSON correct?}
C -->|Yes| D(Please Click here to Raise an issue in github.<br/>Including the broken link in the issue <br/> will speed up the fix.)
C -->|No| E{Did someone <br/>send you this link?}
E -->|Yes| F[Ask them to send <br/>you the complete link]
E -->|No| G{Did you copy <br/> the complete URL?}
G --> |Yes| D
G --> |"No :("| H(Try using the Timeline tab in History <br/>from same browser you used to create the diagram.)
click D href "https://github.com/mermaid-js/mermaid-live-editor/issues/new?assignees=&labels=bug&template=bug_report.md&title=Broken%20link" "Raise issue"`,i=A(p(G),E(),"codeStore"),x=z([i],([e],t)=>{t(I(e))}),Q=e=>{let t;console.log("Loading",e);try{t=B(e);const s=typeof t.mermaid=="string"?JSON.parse(t.mermaid):t.mermaid;s.securityLevel&&s.securityLevel!=="strict"&&confirm(`Removing "securityLevel":"${s.securityLevel}" from the config for safety.
Click Cancel if you trust the source of this Diagram.`)&&delete s.securityLevel,t.mermaid=JSON.stringify(s,null,2)}catch(s){t=c(i),e&&(console.error("Init error",s),t.code=$)}h(o(a({},t),{updateEditor:!0}))},h=e=>{i.update(t=>a(a({},t),e))};let S=!1;const W=(e,t,s=!1)=>{if(j(e),(e.match(/\n/g)||"").length+1>50&&!S&&c(i).autoSync){const r=confirm("Long diagram detected. Turn off Auto Sync? Click the sync logo to manually sync.");S=!0,r&&h({autoSync:!1})}i.update(r=>o(a({},r),{code:e,updateEditor:t,updateDiagram:s}))},q=(e,t)=>{i.update(s=>o(a({},s),{mermaid:e,updateEditor:t}))},K=e=>{i.update(t=>{const s=JSON.parse(t.mermaid);return(!s.theme||["dark","default"].includes(s.theme))&&(s.theme=e?"dark":"default"),o(a({},t),{mermaid:JSON.stringify(s,null,2),updateEditor:!0})})},X=()=>{x.subscribe(e=>{history.replaceState(void 0,void 0,`#${e}`)})},Z=()=>JSON.stringify(c(i));export{l as a,q as b,i as c,G as d,h as e,X as f,Z as g,M as h,H as i,Q as j,g as l,U as p,x as s,K as t,W as u};
-1
View File
@@ -1 +0,0 @@
var e=Object.defineProperty,t=Object.defineProperties,a=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,i=(t,a,r)=>a in t?e(t,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[a]=r,n=(e,t)=>{for(var a in t||(t={}))o.call(t,a)&&i(e,a,t[a]);if(r)for(var a of r(t))s.call(t,a)&&i(e,a,t[a]);return e},c=(e,r)=>t(e,a(r));import{C as l,J as d,K as m,L as p,M as u,N as y,O as g}from"./vendor-58c10135.js";import{_ as f}from"./preload-helper-1db36302.js";const h=l({loading:!1}),O=async(e,t)=>{h.set({loading:!0,message:e});const a=await t;return h.set({loading:!1}),a};let b;const v=async()=>{if(!b)try{const{Analytics:e}=await f((()=>import("./analytics.browser.es-afad5c8e.js")),[]),t=await f((()=>import("./analytics-plugin-ga.browser.es-1cdb0512.js")),[]);b=e({app:"mermaid-live-editor",plugins:[t.init({trackingId:"UA-153180559-1"})]})}catch{console.info("Analytics blocked ;)")}};let S;const j={code:"graph TD\n A[Christmas] --\x3e|Get money| B(Go shopping)\n B --\x3e C{Let me think}\n C --\x3e|One| D[Laptop]\n C --\x3e|Two| E[iPhone]\n C --\x3e|Three| F[fa:fa-car Car]\n ",mermaid:JSON.stringify({theme:"default"},null,2),updateEditor:!1,autoSync:!0,updateDiagram:!0},E=d(l(j),m(),"codeStore"),L=p([E],(([e],t)=>{t(u(JSON.stringify(e),!0))})),_=e=>{let t;try{const a=g(e);console.log(`Trying to load state: ${a}`),t=JSON.parse(a);const r="string"==typeof t.mermaid?JSON.parse(t.mermaid):t.mermaid;r.securityLevel&&"strict"!==r.securityLevel&&confirm(`Removing "securityLevel":"${r.securityLevel}" from the config for safety.\nClick Cancel if you trust the source of this Diagram.`)&&delete r.securityLevel,t.mermaid=JSON.stringify(r,null,2)}catch(a){e&&console.error("Init error",a),t=y(E),console.log(t)}w(c(n({},t),{updateEditor:!0}))},w=e=>{E.update((t=>n(n({},t),e)))};let C=!1;const T=(e,t,a=!1)=>{var r;r=e,b&&(clearTimeout(S),S=setTimeout((function(){const e=r.replace(/^\s*%%.*\n/g,"\n").trimStart().split(" ")[0];console.debug("ga:","send","event","render",e),b.track("render",{graphType:e})}),5e3));if((e.match(/\n/g)||"").length+1>50&&!C&&y(E).autoSync){const e=confirm("Long diagram detected. Turn off Auto Sync? Click the sync logo to manually sync.");C=!0,e&&w({autoSync:!1})}E.update((r=>c(n({},r),{code:e,updateEditor:t,updateDiagram:a})))},k=(e,t)=>{E.update((a=>c(n({},a),{mermaid:e,updateEditor:t})))},J=e=>{E.update((t=>{const a=JSON.parse(t.mermaid);return a.theme&&!["dark","default"].includes(a.theme)||(a.theme=e?"dark":"default"),c(n({},t),{mermaid:JSON.stringify(a,null,2),updateEditor:!0})}))},N=()=>{L.subscribe((e=>{history.replaceState(void 0,void 0,`#${e}`)}))},D=()=>JSON.stringify(y(E));export{b as a,L as b,E as c,k as d,j as e,w as f,D as g,N as h,O as i,v as j,_ as k,h as l,J as t,T as u};

Some files were not shown because too many files have changed in this diff Show More