{"versions":{"0.1.0":{"name":"codemirror-lang-mermaid","author":{"name":"Nathan Vaughn","email":"inspirnathan@gmail.com"},"version":"0.1.0","description":"Mermaid language support for CodeMirror","scripts":{"test":"mocha test/test.js","prepare":"rollup -c"},"keywords":["codemirror","mermaid","lezer"],"type":"module","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","sideEffects":false,"dependencies":{"@codemirror/language":"^6.0.0","@lezer/highlight":"^1.0.0","@lezer/lr":"^1.0.0"},"devDependencies":{"@lezer/generator":"^1.0.0","mocha":"^9.0.1","rollup":"^2.60.2","rollup-plugin-dts":"^4.0.1","rollup-plugin-ts":"^3.0.2","typescript":"^4.3.4"},"license":"MIT","gitHead":"077719f0abf07f1eca44fd2102c1e86852ccd9fd","_id":"codemirror-lang-mermaid@0.1.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-+Rh+ph+lcXc+knG0CuvdKvM0QFziIn77kKC+i6LhQpk3BdCCxmK03dpl8qCinbhjidKvm+mcSshXkT5HebqdTw==","shasum":"ca88be7912d0d4fc72570948970de6985331efdd","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/codemirror-lang-mermaid/-/codemirror-lang-mermaid-0.1.0.tgz","fileCount":20,"unpackedSize":165965,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+8j+ndYRx3aJkBwW64bakJES1whHvNFgddRwmaNKD+AiA09a883rkBBDSTTk9qod20h+oXZZk86GZor6KGPLWNRQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4EiAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWhQ//ReccPgSpk/iNVdyht+H6E9qeOQtFlaMtF2pqx8yFTcwCWs5m\r\nNJrDNmhewRUeXKyJobUVlKyJvIDl8+bkpikZrNqptZ4ZcRkJCpMVeVfI54C+\r\nJCYD/WJUHxVnLKQk43sS8Qk2VeSIezSWIacCYG4yHwobVkqI3RSKcIiXDoJa\r\nojdc/cvkIDysYXwtKBZ34439cmdYTlajB1PrR7NqVnU/TJMRXLGSaBt3ixFJ\r\nNfVB4+Ua++51c8/wSjfJWmIhiizjmCthYIpYXI6KFR7RCbFTj1AQ6Z1JmnzE\r\nvxPQI6DfJzFBdsF9FD5Ovom1lkkYMSwYr6ELL+fzVQmlsaVe6CPnBIHZrA61\r\nWeSe+5pYJS90bbfYAyT1hT+WeAo4hoaQ+fqAxBhGoQ27s1ouDBlXQerbjeU7\r\ny3qr2rQykX9eZlVTnJdJksHobE0eJsT7NmLZci8UbA2PmMIaKS5nI6CFBopy\r\ndj5U5X09WmJF2CrR/hp3RIjphUMx5SWRFYGnaYzUcuTjZtccKitzjzLPz+mV\r\n4tL23NYRR31IttY/mqvPUsmQ9q9dBOzSjP+H4UMx006uQWmnNi0GtuLmqHcj\r\nIb4eEj/rDLEJw0LPCXcmvMIt1fSaQ4XlFd5TSQN/g16fccWVGRqDARpBabo5\r\nQRSNsdOHG1TsZhKJCce8706TICvFGKp9Lfk=\r\n=eI8l\r\n-----END PGP SIGNATURE-----\r\n","size":144049},"_npmUser":{"name":"anonymous","email":"nathanrvaughn@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nathanrvaughn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codemirror-lang-mermaid_0.1.0_1675643008592_0.20624374154111202"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-06T00:23:28.961Z","publish_time":1675643008961,"contributors":[]},"0.1.1":{"name":"codemirror-lang-mermaid","author":{"name":"Nathan Vaughn","email":"inspirnathan@gmail.com"},"version":"0.1.1","description":"Mermaid language support for CodeMirror","scripts":{"test":"mocha test/test.js","prepare":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/inspirnathan/codemirror-lang-mermaid.git"},"keywords":["codemirror","mermaid","lezer"],"type":"module","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","sideEffects":false,"dependencies":{"@codemirror/language":"^6.0.0","@lezer/highlight":"^1.0.0","@lezer/lr":"^1.0.0"},"devDependencies":{"@lezer/generator":"^1.0.0","mocha":"^9.0.1","rollup":"^2.60.2","rollup-plugin-dts":"^4.0.1","rollup-plugin-ts":"^3.0.2","typescript":"^4.3.4"},"license":"MIT","gitHead":"6cebd0e462a790cff5b7dfac694ae8eee4ba1ca7","bugs":{"url":"https://github.com/inspirnathan/codemirror-lang-mermaid/issues"},"homepage":"https://github.com/inspirnathan/codemirror-lang-mermaid#readme","_id":"codemirror-lang-mermaid@0.1.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-q7gjC8GhdKmSaJ6FgtJ/bBCgVUeWx3gm6hxbVc7zQZeZs4eGV6pH6NTkVR52ZUWn3Th3Fel2MvjfFBmgABNWbg==","shasum":"a1aa44d8d22842df922d6b1ecc26a71408b3e71e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/codemirror-lang-mermaid/-/codemirror-lang-mermaid-0.1.1.tgz","fileCount":20,"unpackedSize":170065,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6JrXf3TNvJ7rCrPIrm4AoCDv8RhdZuJVrFuOLwhV9dAiEAtokf3pBHp/WFTtkzPI5tc5BP31eqi9Wi5UU6rb2/w2c="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8pzyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrdYA/+LtWGPxQz/B+GcuERfSuQGP44zTGWa8TQFx4Xl14NBWLuZT2g\r\nyQqdmC4UVo4Tg6t6oqZIGuRIWBcLseAulKw1RShcZF9PNB0nWQDgBixtxX/O\r\nn68cEMSiHFCUbjSHWtlnxE0+OJWXCpUx13+HKi1Gn8wD8Fc66Y3K3GGesGDX\r\nwqp3peDZy3tqwfGLnD6yceFDncsIm5jMgKAQD3jsSZGbqQSyBRya7UsLm2M9\r\nikXpA8qyGdBbkzN0O/j53Epk1NPQ+YLCmhoMRgn+Wo4MH7NUn3zg4ITR9vFX\r\n+kzTnkg28JzSs7xqJ9IaRznVih4RgK931cCpbPWmOf9FNEejl8anVPI+vshn\r\nXcdVzc+Vd7AYHdwA3OYKupa162Vg3Zi9TIKYKJ7Vn06ixz7HQqorneTGsip6\r\nTCm/0dw//ui4Oda7Nlhgo0yKBsYLsewYLaTK5DtMnn59ISXav/nATRyGhfxx\r\ngmcCp9iwhuPSOR7PHTNwTnO95iX+jxt904NWvd3iQOzktrkaEqqfw0crX6XM\r\nwk6Ao16lojFk5KrtAFGgkR6GrGOY7/6qfxKb9tkXKdoQRXFnSwiNw1sds1rU\r\nC/eSA/L/+DqD49k/PCcVl4ViJ0Ahsz7M6cAr1Q0f07CobkLNlSfTZhAEJHUd\r\nG+f1Pt0gqgIY/yaLVSyICkgWu1xRs+PIeG4=\r\n=GYET\r\n-----END PGP SIGNATURE-----\r\n","size":144817},"_npmUser":{"name":"anonymous","email":"nathanrvaughn@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nathanrvaughn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codemirror-lang-mermaid_0.1.1_1676844273821_0.6661828762383177"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-19T22:04:34.058Z","publish_time":1676844274058,"contributors":[]},"0.2.0":{"name":"codemirror-lang-mermaid","author":{"name":"Nathan Vaughn","email":"inspirnathan@gmail.com"},"version":"0.2.0","description":"Mermaid language support for CodeMirror","scripts":{"test":"mocha test/test.js","prepare":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/inspirnathan/codemirror-lang-mermaid.git"},"keywords":["codemirror","mermaid","lezer"],"type":"module","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","sideEffects":false,"dependencies":{"@codemirror/language":"^6.0.0","@lezer/highlight":"^1.0.0","@lezer/lr":"^1.0.0"},"devDependencies":{"@lezer/generator":"^1.0.0","mocha":"^9.0.1","rollup":"^2.60.2","rollup-plugin-dts":"^4.0.1","rollup-plugin-ts":"^3.0.2","typescript":"^4.3.4"},"license":"MIT","gitHead":"7a63e1696a637949965623006beef3e382448ddd","bugs":{"url":"https://github.com/inspirnathan/codemirror-lang-mermaid/issues"},"homepage":"https://github.com/inspirnathan/codemirror-lang-mermaid#readme","_id":"codemirror-lang-mermaid@0.2.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-8bEEVT+qflcbHHGKLtAeOYtkX4FSUl8jSE75KUsBmR2NdH0BxAKxBH9OJQix73uAdJ1Cw04NGGUnnjyxBBQZFg==","shasum":"498439e34df5d889ec11b722658530153482ac33","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/codemirror-lang-mermaid/-/codemirror-lang-mermaid-0.2.0.tgz","fileCount":35,"unpackedSize":184732,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2QSTp7U979Ras8HiP+EKWAAtQUHbwHR1n9dkHBi0wHAiAwUlTOsykJeIfXOwnwsRkCXJ0a64FQNfFSpUQkln3QXA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9BL8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+qQ/+LGWG5mZ/a3K8atbOB/b9IkJF2MmTV3bVgx24pQao5NPKUeUx\r\nPi/u8V2ltWR0zou86zc25ksCH14KDUNaOFMxJiH9uRHvQpUvXlxBPfQ3rZPL\r\nAHnyttScbYdO0jhEGRO3NTwxQOQMHQvhyHZi9EtXzkxfQzj2/W1K73jwb0St\r\noLosOQoH07eEBxc60/x6TTSMkgsAqV1vDpXo+t5u9F39EG6XmbsobwrRAd+J\r\np8C8y9NHC5Zd46BmzT0BehNHZs3ZSmzOHF5wgBB8Nu7hskf9Ryo9NSuIktcS\r\nnaDdzHrKr52yLYxzI7Z/XoyPAYwECBAzo4yKX6pqZPyGjyvnZg1vtc7sTtJ0\r\n7kEZfiODfpgLB9Cp/R6KyVsmMLR+Uhi1B8E7aXz74TuSGxSmQ4frvff2Abx6\r\ntVt6aylIXh4Uc+3Kak9/n3ih8e9m61Fe8zAVnX48IlgzK0cXt097uhNXNfMX\r\nEaudsXOid1DLUUkXA60V68GB5+5LqqBBHO1nEY+sVeGbK/LupMb9O3i7yZdM\r\nWnVgpHsTr2rHNKo8PUpvU+XefrrEJq+oTiqLCczULd6S/vE8K3DPApZzCY7W\r\n8DWF4PG9Ss7eJePVeRQQCTSyP7Et19BQoZ9g4CiSLlkX5a0akXSmZMFDg2ND\r\nEtRrrPSH1/gDfIg6ILS3/LnXqeWJyfzQVyY=\r\n=zVny\r\n-----END PGP SIGNATURE-----\r\n","size":147822},"_npmUser":{"name":"anonymous","email":"nathanrvaughn@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nathanrvaughn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codemirror-lang-mermaid_0.2.0_1676940027932_0.04109308651925292"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-21T00:40:28.177Z","publish_time":1676940028177,"contributors":[]},"0.2.1":{"name":"codemirror-lang-mermaid","author":{"name":"Nathan Vaughn","email":"inspirnathan@gmail.com"},"version":"0.2.1","description":"Mermaid language support for CodeMirror","scripts":{"test":"mocha test/test.js","prepare":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/inspirnathan/codemirror-lang-mermaid.git"},"keywords":["codemirror","mermaid","lezer"],"type":"module","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","sideEffects":false,"dependencies":{"@codemirror/language":"^6.0.0","@lezer/highlight":"^1.0.0","@lezer/lr":"^1.0.0"},"devDependencies":{"@lezer/generator":"^1.0.0","mocha":"^9.0.1","rollup":"^2.60.2","rollup-plugin-dts":"^4.0.1","rollup-plugin-ts":"^3.0.2","typescript":"^4.3.4"},"license":"MIT","gitHead":"95c09b86bdd9689261c11819f3ce2327481b20df","bugs":{"url":"https://github.com/inspirnathan/codemirror-lang-mermaid/issues"},"homepage":"https://github.com/inspirnathan/codemirror-lang-mermaid#readme","_id":"codemirror-lang-mermaid@0.2.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-OQNL6UNsVEGjz8sjelxpnc+28cI/2EuwKisc6rF9rvf/u0GrVUlOIGfWQlusSi+u4kiFW4UU/yf9pKaGkv/s0Q==","shasum":"704f0190e61f0ce19113a2761591234ee9f3ec91","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/codemirror-lang-mermaid/-/codemirror-lang-mermaid-0.2.1.tgz","fileCount":35,"unpackedSize":185097,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGtKCRfvsyjz26ndcE51gEAw9Negb5ILiP7On+0iGScPAiBzYzwLb5qKcosY7ukgRztCZrfH+u3LFmxK4Uy5zp3aVA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9BdHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRDA/9FH6ub2BGsdO9e6n4JqDQ6zvdF8CY3+T0vc0uY99ZTibvlsd8\r\nsbNVjA3PN6iPNa9mrJvSHMvPC91LJUr1/V1PFvkSFlmTuEfUxed9TVwKzuHn\r\nJZ9sgwNzdh4rxp9xOlys0n2zwbPxorbVsaq8HQs6KOL86gaCO/GGjxXwwntW\r\nzmxxE4pjRkuc2BJao36o+XHpjp3Xmr41DrQCXL+sBwCFxEqWvrO4drFfD+UA\r\n+2mBL8wKEQqGH9aHm4qy95ojOfsfkEPLE2czYvMLs8FunBZdpBrD8k9d+CIH\r\nMiLAxROwqY69OmPna0b1vdFOo3nUa1Ioi0yiXQXhMoIzc+noNI6Zx8SxM+V0\r\n7fKqqJgU8l5U0sUEKuNkExh7/6SXM0GQ7RMAKOWwzaDdF0d1DHLD+uJFV6Ht\r\n9VwwnrEm2u0ibsAFaKIjMczAFMS0+wSUW8aCJIJVEn2x2eAttGwJg7J7GNnb\r\n8EEkPgIJ3a6hQMWaMC/AvOzoyUwXheioGDgOQ9I5hHMGnLi8VRY+iB5IvVPL\r\nN5JE+c9lk9amcFoxXgn+SevyJG1aow+lN5zd6N5wKds1lT4f5UiQ231946db\r\nlO0iSvGOimV0gVrPmibXL4Yd+wAtiOJ5PcbID8NSw182+1yPAj0n3almD9d2\r\nBMeTabEw/+bPEcJ45GxEOEfxH7rqzEqPjoc=\r\n=RO77\r\n-----END PGP SIGNATURE-----\r\n","size":147929},"_npmUser":{"name":"anonymous","email":"nathanrvaughn@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nathanrvaughn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codemirror-lang-mermaid_0.2.1_1676941127053_0.9025673099306675"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-21T00:58:47.309Z","publish_time":1676941127309,"contributors":[]},"0.2.2":{"name":"codemirror-lang-mermaid","author":{"name":"Nathan Vaughn","email":"inspirnathan@gmail.com"},"version":"0.2.2","description":"Mermaid language support for CodeMirror","scripts":{"test":"mocha test/test.js","prepare":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/inspirnathan/codemirror-lang-mermaid.git"},"keywords":["codemirror","mermaid","lezer"],"type":"module","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","sideEffects":false,"dependencies":{"@codemirror/language":"^6.0.0","@lezer/highlight":"^1.0.0","@lezer/lr":"^1.0.0"},"devDependencies":{"@lezer/generator":"^1.0.0","mocha":"^9.0.1","rollup":"^2.60.2","rollup-plugin-dts":"^4.0.1","rollup-plugin-ts":"^3.0.2","typescript":"^4.3.4"},"license":"MIT","gitHead":"7578418b5689bc83c0152b2c8c788c7613677c20","bugs":{"url":"https://github.com/inspirnathan/codemirror-lang-mermaid/issues"},"homepage":"https://github.com/inspirnathan/codemirror-lang-mermaid#readme","_id":"codemirror-lang-mermaid@0.2.2","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-AqSzkQgfWsjBbifio3dy/zDj6WXEw4g52Mq6bltIWLMWryWWRMpFwjQSlHtCGOol1FENYObUF5KI4ofiv8bjXA==","shasum":"f7f6622c08f6ac459a7ce11632f9b5097b3da106","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/codemirror-lang-mermaid/-/codemirror-lang-mermaid-0.2.2.tgz","fileCount":35,"unpackedSize":186061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0kfAuKUMiW8kjHOUZ7h/g8ar5yY54poH8mqNMTjys0wIhAKiMboJG/wEjkcEQuOADfBByQNg+1Es/C1hWNhhgkAWk"}],"size":148082},"_npmUser":{"name":"anonymous","email":"nathanrvaughn@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nathanrvaughn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codemirror-lang-mermaid_0.2.2_1687824446350_0.016873569354018958"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-27T00:07:26.568Z","publish_time":1687824446568,"_source_registry_name":"default","contributors":[]},"0.3.0":{"name":"codemirror-lang-mermaid","author":{"name":"Nathan Vaughn","email":"inspirnathan@gmail.com"},"version":"0.3.0","description":"Mermaid language support for CodeMirror","scripts":{"test":"mocha test/test.js","prepare":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/inspirnathan/codemirror-lang-mermaid.git"},"keywords":["codemirror","mermaid","lezer"],"type":"module","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","sideEffects":false,"dependencies":{"@codemirror/language":"^6.0.0","@lezer/highlight":"^1.0.0","@lezer/lr":"^1.0.0"},"devDependencies":{"@lezer/generator":"^1.0.0","mocha":"^9.0.1","rollup":"^2.60.2","rollup-plugin-dts":"^4.0.1","rollup-plugin-ts":"^3.0.2","typescript":"^4.3.4"},"license":"MIT","gitHead":"34ecc303f589383f749496dd985546e1e52bbf04","bugs":{"url":"https://github.com/inspirnathan/codemirror-lang-mermaid/issues"},"homepage":"https://github.com/inspirnathan/codemirror-lang-mermaid#readme","_id":"codemirror-lang-mermaid@0.3.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-Hh1SyCRfUKZg/pEq/FoKDAD+YPHwYXqa25RJCFmuPGP4ZmGEOR3Af5wfZMIDY+HGxlSmCLCj4yI7tBJHHaDT0A==","shasum":"ccae1dffea241d1dd10209cceee38526791c7ea0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/codemirror-lang-mermaid/-/codemirror-lang-mermaid-0.3.0.tgz","fileCount":41,"unpackedSize":237181,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuRHS1BDiDcp8HR2swSd/vLMrAfY8GZDfwBoaTPDnZBAiBfSJGH1Li35j7Zp6gAy83e62rbsGflo5v+IdmwDK9cEg=="}],"size":163153},"_npmUser":{"name":"anonymous","email":"nathanrvaughn@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nathanrvaughn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codemirror-lang-mermaid_0.3.0_1689375979593_0.9363156501200294"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-14T23:06:19.875Z","publish_time":1689375979875,"_source_registry_name":"default","contributors":[]},"0.4.0":{"name":"codemirror-lang-mermaid","author":{"name":"Nathan Vaughn","email":"inspirnathan@gmail.com"},"version":"0.4.0","description":"Mermaid language support for CodeMirror","scripts":{"test":"mocha test/test.js","prepare":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/inspirnathan/codemirror-lang-mermaid.git"},"keywords":["codemirror","mermaid","lezer"],"type":"module","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","sideEffects":false,"dependencies":{"@codemirror/language":"^6.0.0","@lezer/highlight":"^1.0.0","@lezer/lr":"^1.0.0"},"devDependencies":{"@lezer/generator":"^1.0.0","mocha":"^9.0.1","rollup":"^2.60.2","rollup-plugin-dts":"^4.0.1","rollup-plugin-ts":"^3.0.2","typescript":"^4.3.4"},"license":"MIT","gitHead":"f82f707bc09216ef4727e33e88fcfc413d24b4d6","bugs":{"url":"https://github.com/inspirnathan/codemirror-lang-mermaid/issues"},"homepage":"https://github.com/inspirnathan/codemirror-lang-mermaid#readme","_id":"codemirror-lang-mermaid@0.4.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-oI8jyLMMNzns5d2ys0bxfIsdu9YroI96iUCLfw5DFQuEMDgPIlPeh97fv/iyuvO8UFz78UaHf9MYDJ8KnAw0Zw==","shasum":"e04899f2a890ac88b39f81c4f9a51bfb2cca0db0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/codemirror-lang-mermaid/-/codemirror-lang-mermaid-0.4.0.tgz","fileCount":55,"unpackedSize":380267,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC7afbgG/QhnIaWZXyhAEmoIHzEDe22LMXtbPqLtWK5wAiEA5BK5nbnLvzCRsEgvSrY7sKcbsEI3ugG8ugnA9z5iopQ="}],"size":262358},"_npmUser":{"name":"anonymous","email":"nathanrvaughn@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nathanrvaughn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codemirror-lang-mermaid_0.4.0_1691356096374_0.9070611487897493"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-06T21:08:16.624Z","publish_time":1691356096624,"_source_registry_name":"default","contributors":[]},"0.4.1":{"name":"codemirror-lang-mermaid","author":{"name":"Nathan Vaughn","email":"inspirnathan@gmail.com"},"version":"0.4.1","description":"Mermaid language support for CodeMirror","scripts":{"test":"mocha test/test.js","prepare":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/inspirnathan/codemirror-lang-mermaid.git"},"keywords":["codemirror","mermaid","lezer"],"type":"module","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","sideEffects":false,"dependencies":{"@codemirror/language":"^6.9.0","@lezer/highlight":"^1.1.6","@lezer/lr":"^1.3.10"},"devDependencies":{"@lezer/generator":"^1.5.0","mocha":"^9.0.1","rollup":"^2.60.2","rollup-plugin-dts":"^4.0.1","rollup-plugin-ts":"^3.0.2","typescript":"^4.3.4"},"license":"MIT","gitHead":"f908057eb71d46aae6c8669eacb1e4f8395520a1","bugs":{"url":"https://github.com/inspirnathan/codemirror-lang-mermaid/issues"},"homepage":"https://github.com/inspirnathan/codemirror-lang-mermaid#readme","_id":"codemirror-lang-mermaid@0.4.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-HK72UU5blf+tAzLXfB/ytfH6GAL20uU/Bl8AGcFjmcj0Yw22hot6FzZrd6Dgrs34Z6iUKjQBsHCmWDuig2a5YQ==","shasum":"7b4b35a4337141f1c56c3d8bff1d9008daa53eab","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/codemirror-lang-mermaid/-/codemirror-lang-mermaid-0.4.1.tgz","fileCount":56,"unpackedSize":384664,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqLpWriaBv1fx3dmFtshqB74il+owH5d5ak/5ZZpHy6AiBBsgduZn/nJrHkd3JEbmH/xVffeZY5Y84wVbqwANlJUw=="}],"size":263731},"_npmUser":{"name":"anonymous","email":"nathanrvaughn@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nathanrvaughn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codemirror-lang-mermaid_0.4.1_1692770947633_0.800948944115331"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-23T06:09:07.828Z","publish_time":1692770947828,"_source_registry_name":"default","contributors":[]},"0.5.0":{"name":"codemirror-lang-mermaid","author":{"name":"Nathan Vaughn","email":"inspirnathan@gmail.com"},"version":"0.5.0","description":"Mermaid language support for CodeMirror","scripts":{"test":"mocha test/test.js","prepare":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/inspirnathan/codemirror-lang-mermaid.git"},"keywords":["codemirror","mermaid","lezer"],"type":"module","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","sideEffects":false,"dependencies":{"@codemirror/language":"^6.9.0","@lezer/highlight":"^1.1.6","@lezer/lr":"^1.3.10"},"devDependencies":{"@lezer/generator":"^1.5.0","mocha":"^9.0.1","rollup":"^2.60.2","rollup-plugin-dts":"^4.0.1","rollup-plugin-ts":"^3.0.2","typescript":"^4.3.4"},"license":"MIT","gitHead":"845468584fe7251ef25aec6404b6491ba72dde16","bugs":{"url":"https://github.com/inspirnathan/codemirror-lang-mermaid/issues"},"homepage":"https://github.com/inspirnathan/codemirror-lang-mermaid#readme","_id":"codemirror-lang-mermaid@0.5.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Taw/2gPCyNArQJCxIP/HSUif+3zrvD+6Ugt7KJZ2dUKou/8r3ZhcfG8krNTZfV2iu8AuGnymKuo7bLPFyqsh/A==","shasum":"7e31bd474128febf6296d72412e85d86a9a493eb","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/codemirror-lang-mermaid/-/codemirror-lang-mermaid-0.5.0.tgz","fileCount":70,"unpackedSize":1430810,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDC+x/2MpfQWf6+ED12aAvK2H73gBuoZKrN1lAB9zjQSQIgOpVtRCVhRG2Aeoc9dkxeoFIZLk5IPynfM2ndCIHmnWQ="}],"size":893756},"_npmUser":{"name":"anonymous","email":"nathanrvaughn@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nathanrvaughn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codemirror-lang-mermaid_0.5.0_1694668631773_0.09548414445994591"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-14T05:17:11.949Z","publish_time":1694668631949,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.5.0"},"name":"codemirror-lang-mermaid","time":{"created":"2023-02-06T00:24:02.278Z","modified":"2023-09-14T05:19:08.825Z","0.1.0":"2023-02-06T00:23:28.961Z","0.1.1":"2023-02-19T22:04:34.058Z","0.2.0":"2023-02-21T00:40:28.177Z","0.2.1":"2023-02-21T00:58:47.309Z","0.2.2":"2023-06-27T00:07:26.568Z","0.3.0":"2023-07-14T23:06:19.875Z","0.4.0":"2023-08-06T21:08:16.624Z","0.4.1":"2023-08-23T06:09:07.828Z","0.5.0":"2023-09-14T05:17:11.949Z"},"readme":"# codemirror-lang-mermaid\n\nThis package implements Mermaid language support for the CodeMirror code editor. Get syntax highlighting for Mermaid diagrams!\n\n## Getting Started\n\nInstall the package:\n```\nnpm install codemirror-lang-mermaid\n```\n\nExample usage:\n```js\nimport { basicSetup, EditorView } from 'codemirror';\nimport { mermaid, mindmapTags } from 'codemirror-lang-mermaid';\nimport { HighlightStyle, syntaxHighlighting } from '@codemirror/language';\n\nconst myHighlightStyle = HighlightStyle.define([\n  { tag: mindmapTags.diagramName, color: '#9650c8' },\n  { tag: mindmapTags.lineText1, color: '#ce9178' },\n  { tag: mindmapTags.lineText2, color: 'green' },\n  { tag: mindmapTags.lineText3, color: 'red' },\n  { tag: mindmapTags.lineText4, color: 'magenta' },\n  { tag: mindmapTags.lineText5, color: '#569cd6' },\n]);\n\nnew EditorView({\n  doc: `mindmap\n  root((mindmap))\n    Origins\n      Long history\n      ::icon(fa fa-book)\n      Popularisation\n        British popular psychology author Tony Buzan\n    Research\n      On effectiveness<br/>and features\n      On Automatic creation\n        Uses\n            Creative techniques\n            Strategic planning\n            Argument mapping\n    Tools\n      Pen and paper\n      Mermaid\n`,\n  extensions: [basicSetup, mermaid(), syntaxHighlighting(myHighlightStyle)],\n  parent: document.body,\n});\n```\n\nIf you run this code in the browser, you should get syntax highlighting!\n\n![Mermaid mindmap syntax highlighting](https://raw.githubusercontent.com/inspirnathan/codemirror-lang-mermaid/main/.github/mindmap-syntax-highlighting.png)\n\n## Supported Diagrams\n[Mermaid](https://mermaid.js.org/intro/) contains many different types of diagrams. Each diagram need its own [Lezer](https://lezer.codemirror.net/) grammar file. I'm currently working on building a grammar for each diagram. The following diagrams are supported so far.\n\n- [mindmaps](https://mermaid.js.org/syntax/mindmap.html)\n- [pie charts](https://mermaid.js.org/syntax/pie.html)\n- [flowcharts](https://mermaid.js.org/syntax/flowchart.html)\n- [sequence diagrams](https://mermaid.js.org/syntax/sequenceDiagram.html)\n- [user journeys](https://mermaid.js.org/syntax/userJourney.html)\n- [requirement diagrams](https://mermaid.js.org/syntax/requirementDiagram.html)\n- [gantt charts](https://mermaid.js.org/syntax/gantt.html)\n\n## Supported Tags\nCodeMirror supports a long list of [tags](https://lezer.codemirror.net/docs/ref/#highlight.tags) that are suitable for handling syntax highlighting in a variety of languages. Some common tags include `name`, `variableName`, `lineComment`, `string`, and `number`.\n\nCodeMirror also supports the ability to create [custom tags](https://lezer.codemirror.net/docs/ref/#highlight.Tag). Custom tags are useful for styling tokens from a grammar that may not have a suitable tag available to us from CodeMirror.\n\nYou can choose to style the syntax highlighting based on either the custom tag I have defined or its corresponding parent tag (if it has one). Please see the [tags file](https://github.com/inspirnathan/codemirror-lang-mermaid/blob/main/src/tags/index.ts) for a list of all custom tags I have defined and their corresponding parent tags.\n\n### Syntax Highlighting with Custom Tags\nBelow is an example of using custom tags to highlight tokens in a pie chart Mermaid diagram.\n\n```js\nimport { basicSetup, EditorView } from 'codemirror';\nimport { mermaid, pieTags } from 'codemirror-lang-mermaid';\nimport { HighlightStyle, syntaxHighlighting } from '@codemirror/language';\n\nconst myHighlightStyle = HighlightStyle.define([\n  { tag: pieTags.diagramName, color: '#9650c8' },\n  { tag: pieTags.lineComment, color: '#ce9178' },\n  { tag: pieTags.number, color: 'green' },\n  { tag: pieTags.showData, color: 'blue' },\n  { tag: pieTags.string, color: 'magenta' },\n  { tag: pieTags.title, color: '#569cd6' },\n  { tag: pieTags.titleText, color: 'red' },\n]);\n\nnew EditorView({\n  doc: `pie showData\n    title Preferred Pizza Toppings\n    \"Cheese\" : 300\n    \"Pepperoni\" : 290\n    \"Mushroom\" : 100\n    \"Pineapple\" : 10`,\n  extensions: [basicSetup, mermaid(), syntaxHighlighting(myHighlightStyle)],\n  parent: document.body,\n});\n```\n\nRunning this code in the browser should result in the following syntax highlighting.\n\n![Mermaid pie chart syntax highlighting with custom tags](https://raw.githubusercontent.com/inspirnathan/codemirror-lang-mermaid/main/.github/pie-chart-syntax-highlighting-custom-tags.png)\n\n### Syntax Highlighting with Parent Tags\nBelow is an example of using parent tags (defined by CodeMirror) to highlight tokens in a pie chart Mermaid diagram instead of using custom tags (defined by me).\n\n```js\nimport { basicSetup, EditorView } from 'codemirror';\nimport { mermaid } from 'codemirror-lang-mermaid';\nimport { HighlightStyle, syntaxHighlighting } from '@codemirror/language';\nimport { tags as t } from '@lezer/highlight';\n\nconst myHighlightStyle = HighlightStyle.define([\n  { tag: t.typeName, color: '#9650c8' }, // parent tag of pieTags.diagramName\n  { tag: t.lineComment, color: '#ce9178' }, // parent tag of pieTags.lineComment\n  { tag: t.number, color: 'green' }, // parent tag of pieTags.number\n  { tag: t.keyword, color: '#569cd6' }, // parent tag of pieTags.showData and pieTags.title\n  { tag: t.string, color: 'magenta' }, // parent tag of pieTags.string and pieTags.titleText\n]);\n\nnew EditorView({\n  doc: `pie showData\n    title Preferred Pizza Toppings\n    \"Cheese\" : 300\n    \"Pepperoni\" : 290\n    \"Mushroom\" : 100\n    \"Pineapple\" : 10`,\n  extensions: [basicSetup, mermaid(), syntaxHighlighting(myHighlightStyle)],\n  parent: document.body,\n});\n```\n\nRunning this code in the browser should result in the following syntax highlighting.\n\n![Mermaid pie chart syntax highlighting with parent tags](https://raw.githubusercontent.com/inspirnathan/codemirror-lang-mermaid/main/.github/pie-chart-syntax-highlighting-parent-tags.png)\n\n### When to use Custom Tags vs Parent Tags\nIt's up to your preference! Though, I personally prefer custom tags 🙂. As stated previously, each Mermaid diagram requires its own Lezer grammar file, which essentially means each diagram uses its own \"language.\" The language used in Mermaid diagrams is very different than typical programming languages and therefore will have tokens that don't have a corresponding match in CodeMirror's list of [tags](https://lezer.codemirror.net/docs/ref/#highlight.tags).\n\nThe custom tags in the `codemirror-lang-mermaid` package provide a bit more control of what tokens get syntax highlighting. Notice that in the pie chart example above, `t.string` is both the parent of `pieTags.string` and `pieTags.titleText`. I created two custom tags to style the `TitleText` token differently than the `String` tokens. However, if your app already has a color theme and you don't want the overhead of custom tags, then continue using the parent tags.\n\nDo note that not all custom tags have parent tags (i.e. most of the mindmap tags) which means you'll still need to use custom tags for those tokens. The mindmap diagram has special syntax highlighting that changes depending on how many indentions there are on each line.\n\n## Extensions\nThe `codemirror-lang-mermaid` package provides support for the following extension:\n\n- [foldByIndent](https://github.com/inspirnathan/codemirror-lang-mermaid/blob/main/src/extensions/index.ts)\n\nBy enabling the `foldByIndent` extension, the CodeMirror editor will add code folding support across all Mermaid diagrams. [Code folding](https://en.wikipedia.org/wiki/Code_folding) is a common feature in text editors and IDEs that let you hide (\"fold\") parts of a document. This can help make the document easier to read or manage. \n\nExample usage:\n```js\nimport { basicSetup, EditorView } from 'codemirror';\nimport { mermaid, mindmapTags } from 'codemirror-lang-mermaid';\nimport { HighlightStyle, syntaxHighlighting } from '@codemirror/language';\n\nconst myHighlightStyle = HighlightStyle.define([\n  { tag: mindmapTags.diagramName, color: '#9650c8' },\n  { tag: mindmapTags.lineText1, color: '#ce9178' },\n  { tag: mindmapTags.lineText2, color: 'green' },\n  { tag: mindmapTags.lineText3, color: 'red' },\n  { tag: mindmapTags.lineText4, color: 'magenta' },\n  { tag: mindmapTags.lineText5, color: '#569cd6' },\n]);\n\nnew EditorView({\n  doc: `mindmap\n  root((mindmap))\n    Origins\n      Long history\n      ::icon(fa fa-book)\n      Popularisation\n        British popular psychology author Tony Buzan\n    Research\n      On effectiveness<br/>and features\n      On Automatic creation\n        Uses\n            Creative techniques\n            Strategic planning\n            Argument mapping\n    Tools\n      Pen and paper\n      Mermaid\n`,\n  extensions: [basicSetup, mermaid(), syntaxHighlighting(myHighlightStyle), foldByIndent()],\n  parent: document.body,\n});\n```\n\nBy adding `foldByIndent` to your list of extensions, code folding by indents will be enabled. Keep in mind that this example is using the `basicSetup` extension, provided by CodeMirror, which adds arrows on all lines that provide code folding support. The `foldByIndent` extension will fold code based on the number of indents on the current line and the number of indents on the following lines.\n\n![Mindmap diagram with code folding enabled](https://raw.githubusercontent.com/inspirnathan/codemirror-lang-mermaid/main/.github/mindmap-code-folding.gif)","users":{}}