diff --git a/package.json b/package.json index 5566661a..0e7f05b5 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "dependencies": { "@shikijs/core": "^1.1.7", "@shikijs/monaco": "^1.1.7", - "@volar/monaco": "^1.11.1", + "@volar/monaco": "^2.0.0", "@vue/language-service": "^1.8.27", "@webcontainer/api": "^1.1.9", "birpc": "^0.2.17", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5bba9b44..c8886916 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,8 +22,8 @@ dependencies: specifier: ^1.1.7 version: 1.1.7 '@volar/monaco': - specifier: ^1.11.1 - version: 1.11.1 + specifier: ^2.0.0 + version: 2.1.1 '@vue/language-service': specifier: ^1.8.27 version: 1.8.27(typescript@5.4.2) @@ -3515,6 +3515,12 @@ packages: dependencies: '@volar/source-map': 1.11.1 + /@volar/language-core@2.1.1: + resolution: {integrity: sha512-oVbZcj97+5zlowkHMSJMt3aaAFuFyhXeXoOEHcqGECxFvw1TPCNnMM9vxhqNpoiNeWKHvggoq9WCk/HzJHtP8A==} + dependencies: + '@volar/source-map': 2.1.1 + dev: false + /@volar/language-service@1.11.1: resolution: {integrity: sha512-dKo8z1UzQRPHnlXxwfONGrasS1wEWXMoLQiohZ8KgWqZALbekZCwdGImLZD4DeFGNjk3HTTdfeCzo3KjwohjEQ==} dependencies: @@ -3525,10 +3531,22 @@ packages: vscode-uri: 3.0.8 dev: false - /@volar/monaco@1.11.1: - resolution: {integrity: sha512-abxU5R/H4pV06iE/y8b5g3x3b2EvmqXbBQdI+t+sqdTxU/HU09qpumc/J0Z/RKeMba+d55u/e/Ko8i98PcNi5Q==} + /@volar/language-service@2.1.1: + resolution: {integrity: sha512-57eqnIV8v5tWZHmuI0MXB4g9E8bex1bVBssPLJkBbNksmD37a7/LCJQ8YZciBHVf/E+SjTP5pb8rRD15qKgjgw==} dependencies: - '@volar/language-service': 1.11.1 + '@volar/language-core': 2.1.1 + vscode-languageserver-protocol: 3.17.5 + vscode-languageserver-textdocument: 1.0.11 + vscode-uri: 3.0.8 + dev: false + + /@volar/monaco@2.1.1: + resolution: {integrity: sha512-rpIjm132U7Qlhovzyxtehh1LRjv5znVwF4q6I8K1p2eAcU5GFIrMBD7Nwo8sdQoY0fTpVmA1dMEdX796qchnBw==} + dependencies: + '@volar/language-service': 2.1.1 + '@volar/typescript': 2.1.1 + monaco-languageserver-types: 0.3.3 + monaco-types: 0.1.0 vscode-uri: 3.0.8 dev: false @@ -3537,12 +3555,25 @@ packages: dependencies: muggle-string: 0.3.1 + /@volar/source-map@2.1.1: + resolution: {integrity: sha512-OOtxrEWB2eZ+tnCy5JwDkcCPGlN3+ioNNzkywXE9k4XA7p4cN36frR7QPAOksvd7RXKUGHzSjq6XrYnTPa4z4Q==} + dependencies: + muggle-string: 0.4.1 + dev: false + /@volar/typescript@1.11.1: resolution: {integrity: sha512-iU+t2mas/4lYierSnoFOeRFQUhAEMgsFuQxoxvwn5EdQopw43j+J27a4lt9LMInx1gLJBC6qL14WYGlgymaSMQ==} dependencies: '@volar/language-core': 1.11.1 path-browserify: 1.0.1 + /@volar/typescript@2.1.1: + resolution: {integrity: sha512-5K41AWvFZCMMKZCx8bbFvbkyiKHr0s9k8P0M1FVXLX/9HYHzK5C9B8cX4uhATSehAytFIRnR4fTXVQtWp/Yzag==} + dependencies: + '@volar/language-core': 2.1.1 + path-browserify: 1.0.1 + dev: false + /@vscode/emmet-helper@2.9.2: resolution: {integrity: sha512-MaGuyW+fa13q3aYsluKqclmh62Hgp0BpKIqS66fCxfOaBcVQ1OnMQxRRgQUYnCkxFISAQlkJ0qWWPyXjro1Qrg==} dependencies: @@ -7872,6 +7903,14 @@ packages: resolution: {integrity: sha512-ADwtLIIww+9FKybWscd7OCfm9odsFYHImBRI1v9AviGce55QY8raT+9ihH8jX/E/e6QVSGM+pKj4jSUSRmALNQ==} dev: false + /monaco-languageserver-types@0.3.3: + resolution: {integrity: sha512-4uJ6XaVwVamOQ1SXfBGusAqL4fTn7ZJzaybEinr2U5ZX7AKSjsbXWlu0X3Ah+hyefn+85+Ca7GZwbI87g55C8Q==} + dependencies: + monaco-types: 0.1.0 + vscode-languageserver-protocol: 3.17.5 + vscode-uri: 3.0.8 + dev: false + /monaco-textmate@3.0.1(onigasm@2.2.5): resolution: {integrity: sha512-ZxxY3OsqUczYP1sGqo97tu+CJmMBwuSW+dL0WEBdDhOZ5G1zntw72hvBc68ZQAirosWvbDKgN1dL5k173QtFww==} peerDependencies: @@ -7881,6 +7920,10 @@ packages: onigasm: 2.2.5 dev: false + /monaco-types@0.1.0: + resolution: {integrity: sha512-aWK7SN9hAqNYi0WosPoMjenMeXJjwCxDibOqWffyQ/qXdzB/86xshGQobRferfmNz7BSNQ8GB0MD0oby9/5fTQ==} + dev: false + /mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -7904,6 +7947,10 @@ packages: /muggle-string@0.3.1: resolution: {integrity: sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==} + /muggle-string@0.4.1: + resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} + dev: false + /nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}