Forced an update of @lezer/xml to 1.0.5 (via resolutions) and same issue.
For good measure, I’ve also updated all the CodeMirror dependencies to the latest versions.
yarn list --pattern 'lezer|codemirror'
yarn list v1.18.0
├─ @codemirror/autocomplete@6.13.0
├─ @codemirror/commands@6.3.3
├─ @codemirror/lang-angular@0.1.3
├─ @codemirror/lang-cpp@6.0.2
├─ @codemirror/lang-css@6.2.1
├─ @codemirror/lang-html@6.4.8
├─ @codemirror/lang-java@6.0.1
├─ @codemirror/lang-javascript@6.2.2
├─ @codemirror/lang-json@6.0.1
├─ @codemirror/lang-less@6.0.2
├─ @codemirror/lang-liquid@6.2.1
├─ @codemirror/lang-markdown@6.2.4
├─ @codemirror/lang-php@6.0.1
├─ @codemirror/lang-python@6.1.4
├─ @codemirror/lang-rust@6.0.1
├─ @codemirror/lang-sass@6.0.2
├─ @codemirror/lang-sql@6.6.1
├─ @codemirror/lang-vue@0.1.3
├─ @codemirror/lang-wast@6.0.2
├─ @codemirror/lang-xml@6.1.0
├─ @codemirror/lang-yaml@6.0.0
├─ @codemirror/language-data@6.4.1
├─ @codemirror/language@6.10.1
├─ @codemirror/legacy-modes@6.3.3
├─ @codemirror/lint@6.5.0
├─ @codemirror/search@6.5.6
├─ @codemirror/state@6.4.1
├─ @codemirror/theme-one-dark@6.1.2
├─ @codemirror/view@6.25.1
├─ @lezer/common@1.2.1
├─ @lezer/cpp@1.1.2
├─ @lezer/css@1.1.8
├─ @lezer/highlight@1.2.0
├─ @lezer/html@1.3.9
├─ @lezer/java@1.1.1
├─ @lezer/javascript@1.4.13
├─ @lezer/json@1.0.2
├─ @lezer/lr@1.4.0
├─ @lezer/markdown@1.2.0
├─ @lezer/php@1.0.2
├─ @lezer/python@1.1.11
├─ @lezer/rust@1.0.2
├─ @lezer/sass@1.0.4
├─ @lezer/xml@1.0.5
├─ @lezer/yaml@1.0.2
├─ codemirror@6.0.1
I’d love to upgrade yarn or switch to npm, but that’s just not possible in this project.
Given the packages are all up to date, is there anything else that might cause this or a further way to debug?