diff --git a/packages/ui/package.json b/packages/ui/package.json index 902aff0595db3..ead7b32714c21 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -72,7 +72,7 @@ "@vueuse/core": "^11.1.0", "ansi-to-html": "^0.7.2", "birpc": "0.2.19", - "codemirror": "^5.65.18", + "codemirror": "^6.0.1", "codemirror-theme-vars": "^0.1.2", "d3-graph-controller": "^3.0.11", "floating-vue": "^5.2.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d3b82e70b34d6..e9b5225fe2ab6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -741,8 +741,8 @@ importers: specifier: 0.2.19 version: 0.2.19 codemirror: - specifier: ^5.65.18 - version: 5.65.18 + specifier: ^6.0.1 + version: 6.0.1(@lezer/common@1.2.3) codemirror-theme-vars: specifier: ^0.1.2 version: 0.1.2 @@ -1233,7 +1233,7 @@ importers: version: 2.4.6 happy-dom: specifier: latest - version: 15.7.4 + version: 15.8.3 istanbul-lib-coverage: specifier: ^3.2.0 version: 3.2.0 @@ -1260,7 +1260,7 @@ importers: version: 3.5.12(typescript@5.6.3) webdriverio: specifier: latest - version: 9.2.1 + version: 9.2.8 test/dts-fixture: devDependencies: @@ -1357,7 +1357,7 @@ importers: version: 9.3.3 happy-dom: specifier: latest - version: 15.7.4 + version: 15.8.3 vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1390,7 +1390,7 @@ importers: version: link:../../packages/vitest webdriverio: specifier: latest - version: 9.2.1 + version: 9.2.8 test/workspaces: devDependencies: @@ -2325,6 +2325,32 @@ packages: bundledDependencies: - is-unicode-supported + '@codemirror/autocomplete@6.18.2': + resolution: {integrity: sha512-wJGylKtMFR/Ds6Gh01+OovXE/pncPiKZNNBKuC39pKnH+XK5d9+WsNqcrdxPjFPFTigRBqse0rfxw9UxrfyhPg==} + peerDependencies: + '@codemirror/language': ^6.0.0 + '@codemirror/state': ^6.0.0 + '@codemirror/view': ^6.0.0 + '@lezer/common': ^1.0.0 + + '@codemirror/commands@6.7.1': + resolution: {integrity: sha512-llTrboQYw5H4THfhN4U3qCnSZ1SOJ60ohhz+SzU0ADGtwlc533DtklQP0vSFaQuCPDn3BPpOd1GbbnUtwNjsrw==} + + '@codemirror/language@6.10.3': + resolution: {integrity: sha512-kDqEU5sCP55Oabl6E7m5N+vZRoc0iWqgDVhEKifcHzPzjqCegcO4amfrYVL9PmPZpl4G0yjkpTpUO/Ui8CzO8A==} + + '@codemirror/lint@6.8.2': + resolution: {integrity: sha512-PDFG5DjHxSEjOXk9TQYYVjZDqlZTFaDBfhQixHnQOEVDDNHUbEh/hstAjcQJaA6FQdZTD1hquXTK0rVBLADR1g==} + + '@codemirror/search@6.5.7': + resolution: {integrity: sha512-6+iLsXvITWKHYlkgHPCs/qiX4dNzn8N78YfhOFvPtPYCkuXqZq10rAfsUMhOq7O/1VjJqdXRflyExlfVcu/9VQ==} + + '@codemirror/state@6.4.1': + resolution: {integrity: sha512-QkEyUiLhsJoZkbumGZlswmAhA7CBU02Wrz7zvH4SrcifbsqwlXShVXg65f3v/ts57W3dqyamEriMhij1Z3Zz4A==} + + '@codemirror/view@6.34.1': + resolution: {integrity: sha512-t1zK/l9UiRqwUNPm+pdIT0qzJlzuVckbTEMVNFhfWkGiBQClstzg+78vedCvLSX0xJEZ6lwZbPpnljL7L6iwMQ==} + '@docsearch/css@3.6.2': resolution: {integrity: sha512-vKNZepO2j7MrYBTZIGXvlUOIR+v9KRf70FApRgovWrj3GTs1EITz/Xb0AOlm1xsQBp16clVZj1SY/qaOJbQtZw==} @@ -3104,6 +3130,15 @@ packages: resolution: {integrity: sha512-f5DRIOZf7wxogefH03RjMPMdBF7ADTWUMoOs9kaJo06EfwF+aFhMZMDZxHg/Xe12hptN9xoZjGso2fdjapBRIA==} engines: {node: '>=10'} + '@lezer/common@1.2.3': + resolution: {integrity: sha512-w7ojc8ejBqr2REPsWxJjrMFsA/ysDCFICn8zEOR9mrqzOu2amhITYuLD8ag6XZf0CFXDrhKqw7+tW8cX66NaDA==} + + '@lezer/highlight@1.2.1': + resolution: {integrity: sha512-Z5duk4RN/3zuVO7Jq0pGLJ3qynpxUVsh7IbUbGj88+uV2ApSAn6kWg2au3iJb+0Zi7kKtqffIESgNcRXWZWmSA==} + + '@lezer/lr@1.4.2': + resolution: {integrity: sha512-pu0K1jCIdnQ12aWNaAVU5bzi7Bd1w54J3ECgANPmYLtQKP0HBj2cE/5coBD66MT10xbtIuUr7tg0Shbsvk0mDA==} + '@lit-labs/ssr-dom-shim@1.1.2': resolution: {integrity: sha512-jnOD+/+dSrfTWYfSXBXlo5l5f0q1UuJo3tkbMDCYA2lKUYq79jaxqtGEvnRoh049nt1vdo1+45RinipU6FGY2g==} @@ -4231,8 +4266,8 @@ packages: resolution: {integrity: sha512-rHCSmrhdJf7FlidcQPDvRKRPLYjklbrdxQa6J20BxHifTO4h2v23Wrq4OqqYIcq23gf9LpZvCA/PAMiET/QdVg==} engines: {node: ^16.13 || >=18} - '@wdio/config@9.1.3': - resolution: {integrity: sha512-fozjb5Jl26QqQoZ2lJc8uZwzK2iKKmIfNIdNvx5JmQt78ybShiPuWWgu/EcHYDvAiZwH76K59R1Gp4lNmmEDew==} + '@wdio/config@9.2.8': + resolution: {integrity: sha512-EGMmBPGJbz6RmgMjebRWkWu3fGyeTIRcusF4UA4f2tiUEKY8nbzUO/ZyDjVQNR+YVB40q0jcqAqpszYRrIzzeg==} engines: {node: '>=18.20.0'} '@wdio/logger@8.28.0': @@ -4253,8 +4288,8 @@ packages: '@wdio/protocols@8.40.3': resolution: {integrity: sha512-wK7+eyrB3TAei8RwbdkcyoNk2dPu+mduMBOdPJjp8jf/mavd15nIUXLID1zA+w5m1Qt1DsT1NbvaeO9+aJQ33A==} - '@wdio/protocols@9.2.0': - resolution: {integrity: sha512-lSdKCwLtqMxSIW+cl8au21GlNkvmLNGgyuGYdV/lFdWflmMYH1zusruM6Km6Kpv2VUlWySjjGknYhe7XVTOeMw==} + '@wdio/protocols@9.2.2': + resolution: {integrity: sha512-0GMUSHCbYm+J+rnRU6XPtaUgVCRICsiH6W5zCXpePm3wLlbmg/mvZ+4OnNErssbpIOulZuAmC2jNmut2AEfWSw==} '@wdio/repl@8.24.12': resolution: {integrity: sha512-321F3sWafnlw93uRTSjEBVuvWCxTkWNDs7ektQS15drrroL3TMeFOynu4rDrIz0jXD9Vas0HCD2Tq/P0uxFLdw==} @@ -4276,8 +4311,8 @@ packages: resolution: {integrity: sha512-ALftLri1BdsRuPrQkuW3evBNdOA5n4IkuoegOw6UE2z+R0f1YI5fHGSHNRWLnhtbOECbGyHXXqzbSxCEb+o+MA==} engines: {node: ^16.13 || >=18} - '@wdio/types@9.1.3': - resolution: {integrity: sha512-oQrzLQBqn/+HXSJJo01NEfeKhzwuDdic7L8PDNxv5ySKezvmLDYVboQfoSDRtpAdfAZCcxuU9L4Jw7iTf6WV3g==} + '@wdio/types@9.2.2': + resolution: {integrity: sha512-nHZ9Ne9iRQFJ1TOYKUn4Fza69IshTTzk6RYmSZ51ImGs9uMZu0+S0Jm9REdly+VLN3FzxG6g2QSe0/F3uNVPdw==} engines: {node: '>=18.20.0'} '@wdio/utils@8.32.2': @@ -4288,8 +4323,8 @@ packages: resolution: {integrity: sha512-+TWfV6h+4f8gs7QiYUAWbWEylpZudQ+xkJPN34tRzPJK6dOBYEnIT/j6+1m3j39m1WPDehyYxIf1wCsrGKBxNQ==} engines: {node: ^16.13 || >=18} - '@wdio/utils@9.1.3': - resolution: {integrity: sha512-dYeOzq9MTh8jYRZhzo/DYyn+cKrhw7h0/5hgyXkbyk/wHwF/uLjhATPmfaCr9+MARSEdiF7wwU8iRy/V0jfsLg==} + '@wdio/utils@9.2.8': + resolution: {integrity: sha512-rKm5FXkpsCyeqh8tdirtRUHvgNytWNMiaVKdctsvKOJvqnDVPAAQcz9Wmgo7bSwoLwtSHcDaRoxY7olV7J4QnA==} engines: {node: '>=18.20.0'} '@yeger/debounce@2.0.10': @@ -4841,8 +4876,8 @@ packages: codemirror-theme-vars@0.1.2: resolution: {integrity: sha512-WTau8X2q58b0SOAY9DO+iQVw8JKVEgyQIqArp2D732tcc+pobbMta3bnVMdQdmgwuvNrOFFr6HoxPRoQOgooFA==} - codemirror@5.65.18: - resolution: {integrity: sha512-Gaz4gHnkbHMGgahNt3CA5HBk5lLQBqmD/pBgeB4kQU6OedZmqMBjlRF0LSrp2tJ4wlLNPm2FfaUd1pDy0mdlpA==} + codemirror@6.0.1: + resolution: {integrity: sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==} color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -4992,6 +5027,9 @@ packages: resolution: {integrity: sha512-piICUB6ei4IlTv1+653yq5+KoqfBYmj9bw6LqXoOneTMDXk5nM1qt12mFW1caG3LlJXEKW1Bp0WggEmIfQB34g==} engines: {node: '>= 14'} + crelt@1.0.6: + resolution: {integrity: sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==} + cross-fetch@4.0.0: resolution: {integrity: sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==} @@ -6171,6 +6209,10 @@ packages: resolution: {integrity: sha512-r1vadDYGMtsHAAsqhDuk4IpPvr6N8MGKy5ntBo7tSdim+pWDxus2PNqOcOt8LuDZ4t3KJHE+gCuzupcx/GKnyQ==} engines: {node: '>=18.0.0'} + happy-dom@15.8.3: + resolution: {integrity: sha512-YR9nUWN/T2bH7pPLEYMhTp4DQExPH+mC4KulJDgimCb+FY3Er0Vp6SOOcBXrNfMTri3lAk9uSZqUTG2hgZOYwg==} + engines: {node: '>=18.0.0'} + has-bigints@1.0.2: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} @@ -8503,6 +8545,9 @@ packages: strnum@1.0.5: resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==} + style-mod@4.1.2: + resolution: {integrity: sha512-wnD1HyVqpJUI2+eKZ+eo1UwghftP6yuFheBqqe+bWCotBjC2K1YnteJILRMs3SM4V/0dLEW1SC27MWP5y+mwmw==} + subpackage@file:test/config/fixtures/conditions-subpackage: resolution: {directory: test/config/fixtures/conditions-subpackage, type: directory} @@ -9299,6 +9344,9 @@ packages: typescript: optional: true + w3c-keyname@2.2.8: + resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==} + w3c-xmlserializer@5.0.0: resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} engines: {node: '>=18'} @@ -9331,8 +9379,8 @@ packages: resolution: {integrity: sha512-jkslwUvOmqhFfc1E21Tz48NgYD8ykiR+09iWZlVLtx3P43k4jOfS+CfasvQ+6hJiVck+N5dXjYfg6zDjpkIFRw==} engines: {node: ^16.13 || >=18} - webdriver@9.2.0: - resolution: {integrity: sha512-UrhuHSLq4m3OgncvX75vShfl5w3gmjAy8LvLb6/L6V+a+xcqMRelFx/DQ72Mr84F4m8Li6wjtebrOH1t9V/uOQ==} + webdriver@9.2.8: + resolution: {integrity: sha512-40NtUC1zME9tPHNfZv6ETSE3+aE75qZuKjbVAA0gj02AkO1Nl3yJmf5RLdaLLfIQ2WlrbRP1g8KXlkiiVCmakg==} engines: {node: '>=18.20.0'} webdriverio@8.32.2: @@ -9353,8 +9401,8 @@ packages: devtools: optional: true - webdriverio@9.2.1: - resolution: {integrity: sha512-AI7xzqTmFiU7oAx4fpEF1U1MA7smhCPVDeM0gxPqG5qWepzib3WDX2SsRtcmhdVW+vLJ3m4bf8rAXxZ2M1msWA==} + webdriverio@9.2.8: + resolution: {integrity: sha512-LQa7DlwatyWc0WmBqdklrSzi43SLdva5q5CUFOIXtzhdngsjsqv9w2TxZnlyo2BTf/f/BbQ1L4FgiWADuTAZ/w==} engines: {node: '>=18.20.0'} peerDependencies: puppeteer-core: ^22.3.0 @@ -10866,6 +10914,49 @@ snapshots: picocolors: 1.1.1 sisteransi: 1.0.5 + '@codemirror/autocomplete@6.18.2(@codemirror/language@6.10.3)(@codemirror/state@6.4.1)(@codemirror/view@6.34.1)(@lezer/common@1.2.3)': + dependencies: + '@codemirror/language': 6.10.3 + '@codemirror/state': 6.4.1 + '@codemirror/view': 6.34.1 + '@lezer/common': 1.2.3 + + '@codemirror/commands@6.7.1': + dependencies: + '@codemirror/language': 6.10.3 + '@codemirror/state': 6.4.1 + '@codemirror/view': 6.34.1 + '@lezer/common': 1.2.3 + + '@codemirror/language@6.10.3': + dependencies: + '@codemirror/state': 6.4.1 + '@codemirror/view': 6.34.1 + '@lezer/common': 1.2.3 + '@lezer/highlight': 1.2.1 + '@lezer/lr': 1.4.2 + style-mod: 4.1.2 + + '@codemirror/lint@6.8.2': + dependencies: + '@codemirror/state': 6.4.1 + '@codemirror/view': 6.34.1 + crelt: 1.0.6 + + '@codemirror/search@6.5.7': + dependencies: + '@codemirror/state': 6.4.1 + '@codemirror/view': 6.34.1 + crelt: 1.0.6 + + '@codemirror/state@6.4.1': {} + + '@codemirror/view@6.34.1': + dependencies: + '@codemirror/state': 6.4.1 + style-mod: 4.1.2 + w3c-keyname: 2.2.8 + '@docsearch/css@3.6.2': {} '@docsearch/js@3.6.2(@algolia/client-search@4.20.0)(@types/react@18.2.79)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(search-insights@2.9.0)': @@ -11404,6 +11495,16 @@ snapshots: string-argv: 0.3.2 type-detect: 4.0.8 + '@lezer/common@1.2.3': {} + + '@lezer/highlight@1.2.1': + dependencies: + '@lezer/common': 1.2.3 + + '@lezer/lr@1.4.2': + dependencies: + '@lezer/common': 1.2.3 + '@lit-labs/ssr-dom-shim@1.1.2': {} '@lit/reactive-element@2.0.1': @@ -12202,7 +12303,7 @@ snapshots: '@types/yauzl@2.10.3': dependencies: - '@types/node': 20.14.15 + '@types/node': 22.8.1 optional: true '@typescript-eslint/eslint-plugin@8.10.0(@typescript-eslint/parser@8.10.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)': @@ -12757,11 +12858,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@wdio/config@9.1.3': + '@wdio/config@9.2.8': dependencies: '@wdio/logger': 9.1.3 - '@wdio/types': 9.1.3 - '@wdio/utils': 9.1.3 + '@wdio/types': 9.2.2 + '@wdio/utils': 9.2.8 decamelize: 6.0.0 deepmerge-ts: 7.1.0 glob: 10.4.1 @@ -12794,7 +12895,7 @@ snapshots: '@wdio/protocols@8.40.3': {} - '@wdio/protocols@9.2.0': {} + '@wdio/protocols@9.2.2': {} '@wdio/repl@8.24.12': dependencies: @@ -12816,7 +12917,7 @@ snapshots: dependencies: '@types/node': 22.8.1 - '@wdio/types@9.1.3': + '@wdio/types@9.2.2': dependencies: '@types/node': 20.14.15 @@ -12856,11 +12957,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@wdio/utils@9.1.3': + '@wdio/utils@9.2.8': dependencies: '@puppeteer/browsers': 2.3.1 '@wdio/logger': 9.1.3 - '@wdio/types': 9.1.3 + '@wdio/types': 9.2.2 decamelize: 6.0.0 deepmerge-ts: 7.1.0 edgedriver: 5.6.1 @@ -13526,7 +13627,17 @@ snapshots: codemirror-theme-vars@0.1.2: {} - codemirror@5.65.18: {} + codemirror@6.0.1(@lezer/common@1.2.3): + dependencies: + '@codemirror/autocomplete': 6.18.2(@codemirror/language@6.10.3)(@codemirror/state@6.4.1)(@codemirror/view@6.34.1)(@lezer/common@1.2.3) + '@codemirror/commands': 6.7.1 + '@codemirror/language': 6.10.3 + '@codemirror/lint': 6.8.2 + '@codemirror/search': 6.5.7 + '@codemirror/state': 6.4.1 + '@codemirror/view': 6.34.1 + transitivePeerDependencies: + - '@lezer/common' color-convert@1.9.3: dependencies: @@ -13665,6 +13776,8 @@ snapshots: crc-32: 1.2.2 readable-stream: 4.1.0 + crelt@1.0.6: {} + cross-fetch@4.0.0: dependencies: node-fetch: 2.7.0 @@ -15218,6 +15331,12 @@ snapshots: webidl-conversions: 7.0.0 whatwg-mimetype: 3.0.0 + happy-dom@15.8.3: + dependencies: + entities: 4.5.0 + webidl-conversions: 7.0.0 + whatwg-mimetype: 3.0.0 + has-bigints@1.0.2: {} has-flag@3.0.0: {} @@ -17911,6 +18030,8 @@ snapshots: strnum@1.0.5: {} + style-mod@4.1.2: {} + subpackage@file:test/config/fixtures/conditions-subpackage: {} superagent@8.1.2: @@ -18778,6 +18899,8 @@ snapshots: optionalDependencies: typescript: 5.6.3 + w3c-keyname@2.2.8: {} + w3c-xmlserializer@5.0.0: dependencies: xml-name-validator: 5.0.0 @@ -18844,15 +18967,15 @@ snapshots: - supports-color - utf-8-validate - webdriver@9.2.0: + webdriver@9.2.8: dependencies: '@types/node': 20.14.15 '@types/ws': 8.5.12 - '@wdio/config': 9.1.3 + '@wdio/config': 9.2.8 '@wdio/logger': 9.1.3 - '@wdio/protocols': 9.2.0 - '@wdio/types': 9.1.3 - '@wdio/utils': 9.1.3 + '@wdio/protocols': 9.2.2 + '@wdio/types': 9.2.2 + '@wdio/utils': 9.2.8 deepmerge-ts: 7.1.0 ws: 8.18.0 transitivePeerDependencies: @@ -18926,16 +19049,16 @@ snapshots: - supports-color - utf-8-validate - webdriverio@9.2.1: + webdriverio@9.2.8: dependencies: '@types/node': 20.14.15 '@types/sinonjs__fake-timers': 8.1.5(patch_hash=ggdsr7nrdrzokhhihsihc2hdja) - '@wdio/config': 9.1.3 + '@wdio/config': 9.2.8 '@wdio/logger': 9.1.3 - '@wdio/protocols': 9.2.0 + '@wdio/protocols': 9.2.2 '@wdio/repl': 9.0.8 - '@wdio/types': 9.1.3 - '@wdio/utils': 9.1.3 + '@wdio/types': 9.2.2 + '@wdio/utils': 9.2.8 archiver: 7.0.1 aria-query: 5.3.0 cheerio: 1.0.0 @@ -18954,7 +19077,7 @@ snapshots: rgb2hex: 0.2.5 serialize-error: 11.0.3 urlpattern-polyfill: 10.0.0 - webdriver: 9.2.0 + webdriver: 9.2.8 transitivePeerDependencies: - bufferutil - supports-color