{"_id":"@cgxqd/monaco-editor","_rev":"14-700feb1ab8f8901ef77fa8c0e0368a23","time":{"created":"2023-03-24T13:31:01.298Z","0.0.1":"2023-03-23T08:20:23.384Z","modified":"2023-03-28T15:03:26.196Z","0.0.2":"2023-03-23T10:02:02.162Z","0.0.3":"2023-03-23T10:03:17.184Z","0.0.4":"2023-03-24T13:31:01.575Z","0.0.5":"2023-03-24T13:31:10.304Z","0.0.6":"2023-03-24T13:31:20.072Z","0.0.7":"2023-03-24T13:31:30.880Z","0.0.9":"2023-03-24T13:35:35.732Z","0.0.10":"2023-03-24T14:05:39.733Z","0.0.11":"2023-03-27T13:07:33.228Z","0.0.12":"2023-03-28T15:03:25.993Z"},"name":"@cgxqd/monaco-editor","dist-tags":{"latest":"0.0.12"},"versions":{"0.0.4":{"name":"@cgxqd/monaco-editor","version":"0.0.4","description":"在线编辑器","type":"module","main":"dist/index.cjs.js","module":"dist/index.js","unpkg":"dist/index.global.js","jsdelivr":"dist/index.global.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs.js"}},"typings":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","publish":"npm version patch && npm publish --access=public"},"repository":{"type":"git","url":"git+https://github.com/cgxqd/monaco-editor.git"},"keywords":[],"author":{"name":"cgxqd"},"license":"ISC","bugs":{"url":"https://github.com/cgxqd/monaco-editor/issues"},"homepage":"https://github.com/cgxqd/monaco-editor#readme","devDependencies":{"@swc/core":"^1.3.42","tsup":"^6.7.0","typescript":"^5.0.2"},"dependencies":{"monaco-editor":"^0.36.1"},"gitHead":"d3eb303fcc6be2af1e61864f7d24a223e2c540f3","_id":"@cgxqd/monaco-editor@0.0.4","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-W/iE3vthLzu1lohC+6gSBlJp1mcIJyZCPKA7pFOBfbCfxJqxXbJY7RnK1ovcWRD90gJMEIynhkUMoqbacq4u1Q==","shasum":"a004bfbbe5bb3f698dad8fdf97be7a3e5a6c3a0e","tarball":"https://registry.npmjs.org/@cgxqd/monaco-editor/-/monaco-editor-0.0.4.tgz","fileCount":8,"unpackedSize":3705381,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEsT3/gQ1/g6fvLphZFWjxbj2wmuynHqchmhXkRTMr9nAiB/eBKcgPigAmeB1MSLv8djfFTQ6wrHYyxXSslkzfk1gw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHaYVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXMA//RkWSvBjgujSl/mpGCkDFGpf5Gmk8yXwWQRLYrPT97QZ2S0Kz\r\nJyOb9mL4lQV8h9uUdLuKGV7EQBI3hb2RycOBZULKe16rfBwKEGKjmOA/bdAj\r\nnB96sp1S2DyTkIRzP7xMu1lFEvY01x7YzenZbr/f91mlm65G9pI6kNLLXNFT\r\ngS6MFjLy0c1hAx7i5PUPgOnTMNdhzBsHJv2TuUV3XDSAH7IYZoh/SbDOIGqS\r\nr69xQQbEf8O/UU+zxQ98HQ53XCnBF+A3gOMk7RDCUCK+n9ylpHNNJIIFPyzS\r\nfVHquYMZP1mP5w83sMUTX/YfbvJX/Bm0eRlj01EfN1/2IBhVRUcm7IVMln/w\r\nPRaWGStuf+SeRyYjEiMW90R7AeTyvOWHTcdX634OwYPbzic2xau5TZeiLu9a\r\n2dHNjFBlMr606pq2U+RCetDu3aSjUt3lsuFjbDFFSBMklb203aYm8EFD4jFc\r\nk2j7APpXZPxcztWjDXb+wviJlD9BKYxyQPcEHM+Z/bNMaJF3tt7qpJXjyUnC\r\nUQ98gFMlod1hz6jhtqfTqPu4tACBMnFokrAW97Zj3Jvgb3zZ24RDcXbi+KoW\r\n403OnA9VrgnMUew3slE8QQoJwTGolpYU9E0O1l2UjGqo4kcmKTRz/eVzA5zS\r\ntasyqyR0pw7g7K336Vy2DPKP43d7AnjvoUA=\r\n=tyNG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cgxqd","email":"1661269978@qq.com"},"directories":{},"maintainers":[{"name":"cgxqd","email":"1661269978@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/monaco-editor_0.0.4_1679664661382_0.870404712624002"},"_hasShrinkwrap":false},"0.0.5":{"name":"@cgxqd/monaco-editor","version":"0.0.5","description":"在线编辑器","type":"module","main":"dist/index.cjs.js","module":"dist/index.js","unpkg":"dist/index.global.js","jsdelivr":"dist/index.global.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs.js"}},"typings":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","publish":"npm version patch && npm publish --access=public"},"repository":{"type":"git","url":"git+https://github.com/cgxqd/monaco-editor.git"},"keywords":[],"author":{"name":"cgxqd"},"license":"ISC","bugs":{"url":"https://github.com/cgxqd/monaco-editor/issues"},"homepage":"https://github.com/cgxqd/monaco-editor#readme","devDependencies":{"@swc/core":"^1.3.42","tsup":"^6.7.0","typescript":"^5.0.2"},"dependencies":{"monaco-editor":"^0.36.1"},"gitHead":"3208c670d87e86f4ed147d835ec1ce5807060e9e","_id":"@cgxqd/monaco-editor@0.0.5","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-0XYTsx0xvc7XWbezbFw6E8jGK2oXtxfjnOw6ZVBv9xKvB63O9kdjM5Av2jD4r2k6R10MD5+eEV043il/ubLlPg==","shasum":"c1d174b1f040d895eab3c989d5c43e2622819707","tarball":"https://registry.npmjs.org/@cgxqd/monaco-editor/-/monaco-editor-0.0.5.tgz","fileCount":8,"unpackedSize":3705381,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDB6l/q7NhimQRD7XACBzGrCYztavo4qx7m+jRyZ0oDAiEAt68p9tCdZOzsOdG2id/8poOf5waCHfND8ONly4i8li4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHaYeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqlog//XT3tAj5XhSb5xoFnzICK5tYzHibhWsc0QrA2BqKZaTShhaiH\r\n0OjiTR/hvzUy6qcZTL+ORqh3M6mlil/tpdFo7o7t88xMlVDnF3Z8Cp1yUgnW\r\nKQaxBTMAf+gy7L2r5tJgpXSc1YhdtP6AR0yCwl/21tzc6CVT1hD/VVeoemuN\r\nAe1MvIaRJJU6Rnrs1Vd5Rl5ie8B8WuGSyDRHbBLzwwXwDFiYg1Mm6sC+8O+m\r\nGcfEPSmmoF34/YHtsA8AcO0gZa8+IlTKamVIrKBa6LErzf8W2pts0CCOnW4O\r\nnx6V+Koh7cAPe/J/Kw8y4r9uXcgswBN6g6AcQosOjigJLK6+wai8da5yiepZ\r\ntdf29njpw2rqtqVzh7K2SxqR1xJ7DS0hGhLtLDKFcIDwyWT9W8eaMQNhCfpl\r\n4aMZt7c/KQVm+hPYEd7+WuCE59TPYRvGs+fudq/7JxGKzZL+2mEOX0ea6cWT\r\nrYdtmM3NsBrW0M29/XgtZajYkxFW9/e0nhsm9BmLvbKnRisocLN6x4XSu5ZU\r\nqdaQgPfmJBcCAucUF4Hfwvs6mV9XnXlUNoJ5IuOkN6PduHVOgGEJNXzV8ZQr\r\nDJEqc5Hn79fgUAGSlyh3A61YyllQwgqdlmIdUIR73QplAPsWfHNlfMzfMk1f\r\nhXWTxVTLU4UDracSks8MbcjjJCvShoDOuTE=\r\n=8e83\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cgxqd","email":"1661269978@qq.com"},"directories":{},"maintainers":[{"name":"cgxqd","email":"1661269978@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/monaco-editor_0.0.5_1679664670109_0.6674488358257848"},"_hasShrinkwrap":false},"0.0.6":{"name":"@cgxqd/monaco-editor","version":"0.0.6","description":"在线编辑器","type":"module","main":"dist/index.cjs.js","module":"dist/index.js","unpkg":"dist/index.global.js","jsdelivr":"dist/index.global.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs.js"}},"typings":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","publish":"npm version patch && npm publish --access=public"},"repository":{"type":"git","url":"git+https://github.com/cgxqd/monaco-editor.git"},"keywords":[],"author":{"name":"cgxqd"},"license":"ISC","bugs":{"url":"https://github.com/cgxqd/monaco-editor/issues"},"homepage":"https://github.com/cgxqd/monaco-editor#readme","devDependencies":{"@swc/core":"^1.3.42","tsup":"^6.7.0","typescript":"^5.0.2"},"dependencies":{"monaco-editor":"^0.36.1"},"gitHead":"d802a14d2c35e60af95bb32c0b5f75c9a0ecf2d2","_id":"@cgxqd/monaco-editor@0.0.6","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-unjp6kYi3w+TjU7HA5X53XhctZfjZYxiJqYbXXEvFiXN6pEh2KOdKbtlr4DSrOhiwgJPfQ5VZ1280i/DJJ7M0g==","shasum":"12409c8fdaff86e2f183773c5631631ff487812a","tarball":"https://registry.npmjs.org/@cgxqd/monaco-editor/-/monaco-editor-0.0.6.tgz","fileCount":8,"unpackedSize":3705381,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID7CixnmAteO19cNoNmm7pgiTyHz86Kr9K5L3acyY7a5AiAynzG1YwqJDATDiGkRPIh5utSYNCDcsycKOK9qCGWsNA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHaYoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBwg//VujP04z9wvU4xn0mxojuW4bFNZqhSiqV3Fo81/rBE0wfkEFA\r\nW1ctNtAsNfv7ziZLktLLVq3OVF3gEUbridxlBrjOxa8koQxBU06Sm1THTD29\r\nO2/x7HlSu+DliNTpqPrUHcEiCewGZkyc9NKAds6kaQH/YUFw3+aONA6KVqiC\r\nlMRGjwKIA/pD+fT6FJKqNGqVokwvcvzzfo2G+x18zeczDaJwuuxOL3kdk969\r\nzzAqZLyrwcObWcLrxSrihxijButs5WItUuCPdbuh66C4N6eFZIqq6tpdLYKi\r\nc3TpkTLnt15diZgvBZffHjaCyTEgWmqM9vXdfXbpdchbNd7lCcIfCqI9EWyS\r\nOq+d+4OEnBFEQUqA8HDdvwd7UawukCod+O0dCwEn2C13/VKcALYM0YM+jVxB\r\nUP0hnc/sehNTvVyC2g1rzIl9YuNt4vQUnzFBBvNh59C29b8b2mpu3kz672MS\r\n7k03uP3iSPLarXwhtZ3GX/ckT8eb/8Fwh4rl96l5hOh3klG7LEFX5g0OWnUg\r\nAylERQdzEqHYhqpO7iKmAIrn8eunB5mQwHsA2765BNkGL0/sJzxFTixS4ko0\r\nl1w9/evNrj5lWZccAVZb6PXzYERqBsxneNX6Ncn0fGNanzulxOXFPFmlituc\r\nTLUf9lCujSRiOVTyUHqJfT22wDNhnQ0u3HE=\r\n=/mkH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cgxqd","email":"1661269978@qq.com"},"directories":{},"maintainers":[{"name":"cgxqd","email":"1661269978@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/monaco-editor_0.0.6_1679664679806_0.4764583013198451"},"_hasShrinkwrap":false},"0.0.7":{"name":"@cgxqd/monaco-editor","version":"0.0.7","description":"在线编辑器","type":"module","main":"dist/index.cjs.js","module":"dist/index.js","unpkg":"dist/index.global.js","jsdelivr":"dist/index.global.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs.js"}},"typings":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","publish":"npm version patch && npm publish --access=public"},"repository":{"type":"git","url":"git+https://github.com/cgxqd/monaco-editor.git"},"keywords":[],"author":{"name":"cgxqd"},"license":"ISC","bugs":{"url":"https://github.com/cgxqd/monaco-editor/issues"},"homepage":"https://github.com/cgxqd/monaco-editor#readme","devDependencies":{"@swc/core":"^1.3.42","tsup":"^6.7.0","typescript":"^5.0.2"},"dependencies":{"monaco-editor":"^0.36.1"},"gitHead":"85f4cd15889ecd6705e3d6e2ca83eb33c0280fbc","_id":"@cgxqd/monaco-editor@0.0.7","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ehHk+0e2EM1dyYkvepxFkP5m4gBSZv3PJcn0dwRzdawW5jjilfDLjXd+P8F6X5I00JYATq9YlX3rJQ/1xUlXog==","shasum":"651c69bdfa7b5c480750112c03de69b330dadd96","tarball":"https://registry.npmjs.org/@cgxqd/monaco-editor/-/monaco-editor-0.0.7.tgz","fileCount":8,"unpackedSize":3705381,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMDWnNHp3SbSeNoNVuUc0lmZz2TmZh14LTGaaJlle8UAIgBEnQs54mClqZY5DhF/EUeGX1Q9zdz7gZvlgnAlXBKKA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHaYyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo81g/8DuCxyeMhVCS+zJwFIdQWKgYDKYaki3Z0hG60Wm/3jUemuSxb\r\nAOFy1Y8ipiy43fv1bY5qb8GSg/atiF6Kti/PFE/K923Mp7CVxNVivC8FlW0G\r\nkXg0htaSLPHZeCbDTtdYVdLdbvHZ+QJVUiPYGeCX+t9g9WhiTra1cpFwFE0e\r\nFivTQ0Z+fw+dWcG74kIcLipNycTPqV9gfyi8mqSZRKxcCOY/bsIX2VV+fr3G\r\nOx/Oj35f+LJarsFG1sCGL3qoz3hTnEMQXa0g+m5mH5yJbNYxpgztieTFpDnH\r\nFDJ/XoVB4xmz2RwAGUi/ycd4iaIYswjRPUa6QmMKkEM5Gq7kDnk9epEeFCZi\r\nCuR6mX7PdsTa+jEGyRwQ/Nb4eKEyASYKronWAiSZvVt4MNZvbiXFmOaNKLws\r\nxVFkZuEDrCQPw8+Ay5O7uXU5cenSRYKIoDZamicFT9z+jv3aTJTx1cBVOxRR\r\ntmM1Rs+t/t1Sm0dduuT0KB71PnpFINiR7B4dA+IsuO4FmZOPDe34vfzfaP6g\r\nXhQ8H1B/VQyAGjC/wCr2qlxrkr9Xm7o8jBJ2Cc9tiU/w13QxiHerTY5hJ3Rh\r\nAh8C7cm31BziDRjJvICXRz3Jr5xfjMkoC0W0yk7yK7jrTbWv53aF8Y08UWQf\r\nVBcQvhq7BfKZRj5YZTyGunei5JiVIwadDf0=\r\n=urNo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cgxqd","email":"1661269978@qq.com"},"directories":{},"maintainers":[{"name":"cgxqd","email":"1661269978@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/monaco-editor_0.0.7_1679664690586_0.8273309378837559"},"_hasShrinkwrap":false},"0.0.9":{"name":"@cgxqd/monaco-editor","version":"0.0.9","description":"在线编辑器","type":"module","main":"dist/index.cjs.js","module":"dist/index.js","unpkg":"dist/index.global.js","jsdelivr":"dist/index.global.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs.js"}},"typings":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","deploy:npm":"npm version patch && npm publish --access=public"},"repository":{"type":"git","url":"git+https://github.com/cgxqd/monaco-editor.git"},"keywords":[],"author":{"name":"cgxqd"},"license":"ISC","bugs":{"url":"https://github.com/cgxqd/monaco-editor/issues"},"homepage":"https://github.com/cgxqd/monaco-editor#readme","devDependencies":{"@swc/core":"^1.3.42","tsup":"^6.7.0","typescript":"^5.0.2"},"dependencies":{"monaco-editor":"^0.36.1"},"gitHead":"0dfdea8c9b9d382f025e13fa5b2225cfc62c5537","_id":"@cgxqd/monaco-editor@0.0.9","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-AuoFRrmg1YVgYDLT68AErZbmS54yhiJSCY2bE5GOArgdoZW3B6GHdJiSwLGp2Gq5IDTkJVbguBNTEesf2jWUTA==","shasum":"70f1a66d7eb9ef9bf78bbf44f3977aff1141f2c5","tarball":"https://registry.npmjs.org/@cgxqd/monaco-editor/-/monaco-editor-0.0.9.tgz","fileCount":8,"unpackedSize":3705384,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAucI7mZmcglUw9plwgoMqupEHaz8Ys5sqRYf2dYJ6cqAiEAghLmFSRypq9Fdb6IUVVQl1Fuy4bE7vvIoTP64WqLW/U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHacnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUkw//eNHsSx5tpNvaSOJM1yhplVbWZqmWVkp/LFL6uAJbC52yOeJc\r\nR6Yf2zpdjlX3Ti6eKpOeSdOSQXPBob6d87wm1+BqTHj6vBn/Io3gI+FOmncp\r\n2QkcmnFp58at2dt4YPELqMMatHyXEQvhgNjyijDt4Br9sU00VEZc3KsmHKXC\r\not2YGOuD0QCaLR9E9oVEqr+qPCshPjHUVHTWzTJU81yQi4Y7NJmIqMTAD7tX\r\n4k2QuOU0WoJBWzaY/Q2ajzWw7x4+pKo9Mt9RzRir3LIilBEFpVChCRKeU5Nc\r\nkRQ0owaynKrtCaCY/ubKxTeiQ7rICrYH159AYH2uSTfFfs+EHRcdhHW1YEgh\r\nMlHlFu+wQk6toBWNs4OelVW7T9LhgJf6IK28Ih31H0PC72jtI9Fr88jNIhdJ\r\n08m9FCUyFdV1kR9I1qSsGnGbXDmG3Q/igf2suwexwjwDTub23gTVxMPpfeFG\r\nkoeWsMnXjTSbK6SjliU9nHVntAGYmT0AJBgd5WoDD5o9PZAccdNFEAW1U3Cm\r\n7BUoJ41ZSeInSNcUOzQHo4CEeVgeTW6ckpGLqSU/pcs5Bf6a1kkeEZ7S13lk\r\n4/GYEh1J8PR/uuyrGuGk9qPL4zip2zPKs5WMJhu0K1SUKIV2Mn79ewtvVG7x\r\n/9YSSW0MeXkGo69xmy7oxyZw0Z8AtLCO5zI=\r\n=Eum3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cgxqd","email":"1661269978@qq.com"},"directories":{},"maintainers":[{"name":"cgxqd","email":"1661269978@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/monaco-editor_0.0.9_1679664935485_0.7522634227685006"},"_hasShrinkwrap":false},"0.0.10":{"name":"@cgxqd/monaco-editor","version":"0.0.10","description":"在线编辑器","type":"module","main":"dist/index.cjs.js","module":"dist/index.js","unpkg":"dist/index.global.js","jsdelivr":"dist/index.global.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs.js"}},"typings":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","release:version":"npm version patch && npm publish --access=public"},"repository":{"type":"git","url":"git+https://github.com/cgxqd/monaco-editor.git"},"keywords":[],"author":{"name":"cgxqd"},"license":"ISC","bugs":{"url":"https://github.com/cgxqd/monaco-editor/issues"},"homepage":"https://github.com/cgxqd/monaco-editor#readme","devDependencies":{"@swc/core":"^1.3.42","tsup":"^6.7.0","typescript":"^5.0.2"},"dependencies":{"monaco-editor":"^0.36.1"},"gitHead":"405ed9438ffa0ccd8383d9d756427517d2c2887c","_id":"@cgxqd/monaco-editor@0.0.10","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-yeLdgSAnGUOpiIYOJ058m2X5425tsNhAQ3WUQQLXiSpgaAOcjgASNUtdqhoL8t/JpozNErVM3ljiC/Oe0fVJoA==","shasum":"1583a005c56e848428a4d66cd0b19337999b3f7b","tarball":"https://registry.npmjs.org/@cgxqd/monaco-editor/-/monaco-editor-0.0.10.tgz","fileCount":8,"unpackedSize":3705434,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvjeqb4W80dTa7wL1djK6YWdjKLNXvOEM/hX64gX5RiAIgdf65Py2QAocoxsySpOYoW73sSSA5k6DfLKzwHV7CZnc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHa4zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJYRAAkZJgrJnfEoeunB4bS9BFpSJ3aAKg5tAmZmIS81I54ltQkhOV\r\nqdNQkQVBnOOJvdSdoklr09NsqlZI6w6WRMY8FwhT9/Hjvv/y79TVtK48UY4E\r\n8cbx5sZgl4ZfSvx3vgeWSMsoODp8UNuGfgwJGrM8gYO0SpPzEL6VjA9ZqGsU\r\noEMWzIhevZzF+Rp1BTPuPeICqPrPe179iQLdAGmgRTO59pXFcc2+PfBTgA15\r\nbVEB/Y7XfawY0SYsNbr9A/6tbFg5HcE06Dhw/Oph3LdoeBOn/Lp/JSADnhv1\r\nUcBevyfejiU6iwHHPNSHiGlc8X+S+betT0og5Afo/thV2RtqgI1ngwrpf/ti\r\nUmsGEmLftS2CINRg6qwZqEL+XtZfbHwoYJ1//d0nLGO0UwRFomSgEqVGOq/d\r\nMzJ3tpe9670fJBZ2NsXHa47+RTf0zXadi1gXx6C2TAtdkxxBAZIoQ8E0w/mp\r\nQV0BMr6QTTzeYLW2ym3r9/vABZaHEr0YOM/tQuh4MVgaGEkPmj2JqfrcrIxG\r\nsJqOqeE2+Fy7f6JaIaV+JAUYO2Ea2tS5UMjUi/Ui2LPMMPowc0HdgWNyMRVN\r\nQFYaowKRjeR5dpEIJuY03IcZHYPu4w88ilOoza5EA6PI71CF/NZPEAphVjoG\r\nv+f5Fy7UQx7mTht3q+NJx332pGYF14j/gcc=\r\n=oR2L\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cgxqd","email":"1661269978@qq.com"},"directories":{},"maintainers":[{"name":"cgxqd","email":"1661269978@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/monaco-editor_0.0.10_1679666739438_0.9372708676880313"},"_hasShrinkwrap":false},"0.0.11":{"name":"@cgxqd/monaco-editor","version":"0.0.11","description":"在线编辑器","type":"module","main":"dist/index.cjs.js","module":"dist/index.js","unpkg":"dist/index.global.js","jsdelivr":"dist/index.global.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs.js"}},"typings":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npm run build:monaco && npm run build:worker","build:monaco":"tsup --config scripts/monaco.config.ts","build:worker":"tsup --config scripts/worker.config.ts","release:version":"npm version patch && npm publish --access=public"},"repository":{"type":"git","url":"git+https://github.com/cgxqd/monaco-editor.git"},"keywords":["monaco-editor"],"author":{"name":"cgxqd"},"license":"ISC","bugs":{"url":"https://github.com/cgxqd/monaco-editor/issues"},"homepage":"https://cgxqd.github.io/monaco-editor","devDependencies":{"@swc/core":"^1.3.42","tsup":"^6.7.0","typescript":"^5.0.2"},"dependencies":{"monaco-editor":"^0.36.1"},"gitHead":"370eaaf2d7f2b9ba9b5a4e1ed1f18a984b3d2280","_id":"@cgxqd/monaco-editor@0.0.11","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-1Cmr1KR393E8ChBkCh0TY7EvmmYvso0AdITflQtoWByzk86PhDDhike5fvl3u1e5xf6jdGa0mj+LGhXFCp8YMw==","shasum":"47c574bfd6c7e7f865792860691a58fc5e1e7d0a","tarball":"https://registry.npmjs.org/@cgxqd/monaco-editor/-/monaco-editor-0.0.11.tgz","fileCount":12,"unpackedSize":10666844,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCio5X/XPLF8845hJZOQiKZbB7MUCFJtEzQ6ZfR2YtwKgIgN91YG7ElrRAZErgMR8PUujrAAZegysccoMUaxF96du8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIZUVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAGA//XyLRnqP5HczXg5ByTmgqLUqbLKFOTx0oyRlizujBP4UDN4+F\r\nEzVrwyjDuovtVfSQ4phV19qcPQz9/v7zb7k5/yt5trCPJc6cnT28e16UJF30\r\nrXUJmNvdqCQdvl7/iOgLJqGZQCkbTYJtegIpL86yWFmdQJyDaID5n9HX7/54\r\nn57wgDREAtCvfEhPuxvsH2rAagQU7c9P5yQoqDtydCJoeJcC0GGICBkPJdfB\r\nDUhT1hSG3yeWVNJQeZ9A+tUydEUzsz/P2Bs9DhhX7Q4iKiD4Dg3KeFbVHIip\r\no65P7HegDIGisT50FWa+aPHQ9bBarpJWgIqjQQ2OcRxkraIKxVCvIWsRlYE2\r\nRBzxwkKa/Tiuf26fEbxvdP2GqIy1+y1zeL21h0PgUAjLSxDmtEHZyKnXU6NF\r\nBHsAhVnWvVrNsIqvKE3Z0LDb+SFlBomROMIoWis/onulkXYb9NH43CfcWFn7\r\nXKTtE8lxTGAGqwav0Hl2xmu9iHJmG2c4RUHLiYad/PTjOwIhPbw8fApiPkBB\r\nHA+yTQgXX4NU6rY3f0jjSO8JhhYQ1vUGN790u3o5ZMYh+tVf+Oz4L8uCUcre\r\nsjWiYSjD5AYdnmnRSwklXyFBKo3n+OGOBTpjT6sOoqkjLQG++lTXeJNKQ9GB\r\ndlk/J2o45C1Y6W/coJEKOfuOc37yHxqG9NY=\r\n=PkfL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cgxqd","email":"1661269978@qq.com"},"directories":{},"maintainers":[{"name":"cgxqd","email":"1661269978@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/monaco-editor_0.0.11_1679922452969_0.9438266831019708"},"_hasShrinkwrap":false},"0.0.12":{"name":"@cgxqd/monaco-editor","version":"0.0.12","description":"在线编辑器","type":"module","main":"dist/index.cjs.js","module":"dist/index.js","unpkg":"dist/index.global.js","jsdelivr":"dist/index.global.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs.js"}},"typings":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npm run build:monaco && npm run build:worker","build:monaco":"tsup --config scripts/monaco.config.ts","build:worker":"tsup --config scripts/worker.config.ts","release:version":"npm version patch && npm publish --access=public"},"repository":{"type":"git","url":"git+https://github.com/cgxqd/monaco-editor.git"},"keywords":["monaco-editor"],"author":{"name":"cgxqd"},"license":"ISC","bugs":{"url":"https://github.com/cgxqd/monaco-editor/issues"},"homepage":"https://cgxqd.github.io/monaco-editor","devDependencies":{"@swc/core":"^1.3.42","tsup":"^6.7.0","typescript":"^5.0.2"},"dependencies":{"monaco-editor":"^0.36.1"},"gitHead":"c06cd95d80796049f3b014615b61338a007e4e03","_id":"@cgxqd/monaco-editor@0.0.12","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-JdHjERqbRcNuTrfQuyBdxl9Y4MS0+czEJYBknDAuGyAZ2B8pwwo6VSSOtAklZGxKuUplLJJ3U64t65NxSDye6w==","shasum":"de6260613c54d5b436a1d9bf0216e27a4df5ba6c","tarball":"https://registry.npmjs.org/@cgxqd/monaco-editor/-/monaco-editor-0.0.12.tgz","fileCount":12,"unpackedSize":10668965,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCI6G7s1APdNIyL9xM110AieOQfPyJaTjsNlU2hlupUFQIhANqplyo9B33VEtyyu1AwSJRtZwKvVa+5Duq7FBv3cL0C"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIwG+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrybg/+MNuoCojFOAy3e0sW3G1rroJK3BbzuU/b+BpzFSqGGkiQEd52\r\nX6NTRHYcoVJ6k3hoC1Uc9TB+6vXDmyBT7IiEdlPzv88qy4xEn+6gh0kionhb\r\n38QfQZz+wwSjz0mivJny4hQc2QWmRoucIyFJBp0nufGUAljIT4Zy/yA9LklE\r\nJkU24fQP9TpOZphNMlJzPPOVWcYVVZGV1p/guARInf1FXUWqokdZXFlVybc2\r\ngUwXgUvrrcuDNv+UcRW71ugot19Fmme4PNU27C8YL4pDSTUrrJXtNL0YgnAY\r\nWHn7tSshkIZC3UGdw7czkauSe31g+oNepta4PrQl9kaNLFn4/nZejJFVLc3f\r\n53w+B7n5rkQR0Gk2d2syux0l08QhJgynF+ZWmLTiotk0hZ1VEV35yU1nY3Cj\r\nNHCNCVv+SUELSPxuzM7N+drWU8p5XL++n4AhuhFbljsougAj/7e2lpBzTa91\r\nZALUB/goTKYCvId62V4OdZRatpUu6XHmPkzTtNFgdZpVyuUBn/yYz0bicVbz\r\n9zHAjrKu4+PPv1luR8ukBU+S3cSiymCCi+mZ0UQ2HAzIy4KOEFOswvko4KQu\r\nQ8eRwfbuHH6XsBX4PZ0rIvaGwjL7cRAQra9GOCdCjKVv22TTCl2PVDu319/6\r\ntzimyhSPI3bJ/7L8J7IL495V269xfhYW2f0=\r\n=fn22\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cgxqd","email":"1661269978@qq.com"},"directories":{},"maintainers":[{"name":"cgxqd","email":"1661269978@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/monaco-editor_0.0.12_1680015805688_0.5098637289388317"},"_hasShrinkwrap":false}},"maintainers":[{"name":"cgxqd","email":"1661269978@qq.com"}],"description":"在线编辑器","homepage":"https://cgxqd.github.io/monaco-editor","keywords":["monaco-editor"],"repository":{"type":"git","url":"git+https://github.com/cgxqd/monaco-editor.git"},"author":{"name":"cgxqd"},"bugs":{"url":"https://github.com/cgxqd/monaco-editor/issues"},"license":"ISC","readme":"# @cgxqd/monaco-editor\r\n\r\n![npm](https://img.shields.io/npm/v/@cgxqd/monaco-editor)\r\n![npm](https://img.shields.io/npm/dt/@cgxqd/ctable)\r\n![NPM](https://img.shields.io/npm/l/@cgxqd/monaco-editor)\r\n\r\n[Monaco Editor](https://github.com/Microsoft/monaco-editor) 是为 VS Code 提供支持的代码编辑器。\r\n\r\n## 环境支持\r\n\r\n@cgxqd/monaco-editor 可以在支持 ES2015 和 ResizeObserver 的浏览器上运行。 如果您确实需要支持旧版本的浏览器，请自行添加 Babel 和相应的 Polyfill 。\r\n\r\n由于 [monaco-editor 停止对 IE 的支持 #1790](https://github.com/microsoft/monaco-editor/issues/1790)，@cgxqd/monaco-editor 也不再支持 IE 浏览器。\r\n\r\n## 安装\r\n\r\n### 使用包管理器\r\n\r\n```bash\r\n# 选择一个你喜欢的包管理器\r\n\r\n# NPM\r\n$ npm install @cgxqd/monaco-editor --save\r\n\r\n# Yarn\r\n$ yarn add @cgxqd/monaco-editor\r\n\r\n# pnpm\r\n$ pnpm install @cgxqd/monaco-editor\r\n```\r\n\r\n### 浏览器直接引入\r\n\r\n我们建议您使用 CDN 引入，直接通过浏览器的 HTML 标签导入 @cgxqd/monaco-editor，然后就可以使用全局变量 monaco 了。\r\n\r\n根据不同的 CDN 提供商有不同的引入方式， 我们在这里以 unpkg 和 jsDelivr 举例。 你也可以使用其它的 CDN 供应商。\r\n\r\nunpkg\r\n\r\n```html\r\n<head>\r\n\t<!-- Import style -->\r\n\t<link\r\n\t\trel=\"stylesheet\"\r\n\t\thref=\"https://unpkg.com/@cgxqd/monaco-editor/dist/index.css\"\r\n\t/>\r\n\t<!-- Import @cgxqd/monaco-editor -->\r\n\t<script src=\"https://unpkg.com/@cgxqd/monaco-editor\"></script>\r\n</head>\r\n```\r\n\r\njsDelivr\r\n\r\n```html\r\n<head>\r\n\t<!-- Import style -->\r\n\t<link\r\n\t\trel=\"stylesheet\"\r\n\t\thref=\"https://cdn.jsdelivr.net/npm/@cgxqd/monaco-editor/dist/index.css\"\r\n\t/>\r\n\t<!-- jsDelivr + Github 加速 -->\r\n\t<!-- <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/gh/cgxqd/monaco-editor/dist/index.css\" /> -->\r\n\r\n\t<!-- Import @cgxqd/monaco-editor -->\r\n\t<script src=\"https://cdn.jsdelivr.net/npm/@cgxqd/monaco-editor\"></script>\r\n\t<!-- jsDelivr + Github 加速 -->\r\n\t<!-- <script src=\"https://cdn.jsdelivr.net/gh/cgxqd/monaco-editor/dist/index.global.js\"></script> -->\r\n</head>\r\n```\r\n\r\n## api\r\n\r\n### monaco.initWorkerUrl(basePath, languages) 初始化 Worker\r\n\r\n> 注意：initWorkerUrl 方法需要 await 异步等待后执行 editor.create api\r\n\r\n```\r\ndeclare const initWorkerUrl: (basePath?: string, languages?: languages) => Promise<void>;\r\n```\r\n\r\n-   basePath `string`：CDN 前缀地址\r\n-   languages `(ts|css|json|html)[]`: 加载对应语言的 worker\r\n-   -   editor language 为 `typescript` | `javascript`时, languages 需要包含 `ts`\r\n-   -   editor language 为 `css` | `scss` | `less`时，languages 需要包含 `css`\r\n-   -   editor language 为 `json`时，languages 需要包含 `json`\r\n-   -   editor language 为 `html` | `handlebars` | `razor`时，languages 需要包含 `html`\r\n\r\n## 项目中使用\r\n\r\n### CDN\r\n\r\n```js\r\n// 引入样式\r\nimport \"https://cdn.jsdelivr.net/npm/@cgxqd/monaco-editor/dist/index.css\";\r\n\r\nfunction loadScript(url, name) {\r\n\t// 需要自己实现\r\n}\r\n\r\nconst basePath = \"https://cdn.jsdelivr.net/npm/@cgxqd/monaco-editor\";\r\n\r\nconst { editor, initWorkerUrl } = await loadScript(basePath, \"monaco\");\r\n\r\n// 设置 monaco worker 地址\r\nawait initWorkerUrl(basePath, [\"html\"]);\r\n\r\n// 创建编辑器\r\neditor.create(document.querySelector(\"body\"), {\r\n\tvalue: \"\",\r\n\tlanguage: \"html\",\r\n\ttheme: \"vs-dark\",\r\n\tautomaticLayout: true,\r\n});\r\n```\r\n\r\n### ESM\r\n\r\n```js\r\nimport { editor, initWorkerUrl } from \"@cgxqd/monaco-editor\";\r\nimport \"@cgxqd/monaco-editor/dist/index.css\";\r\n\r\nconst basePath = \"https://cdn.jsdelivr.net/npm/@cgxqd/monaco-editor\";\r\n// 设置 monaco worker 地址\r\nawait initWorkerUrl(basePath, [\"ts\"]);\r\n// 创建编辑器\r\neditor.create(document.querySelector(\"body\"), {\r\n\tvalue: \"\",\r\n\tlanguage: \"javascript\",\r\n\ttheme: \"vs-dark\",\r\n\tautomaticLayout: true,\r\n});\r\n```\r\n","readmeFilename":"README.md"}