Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(codemirror): syntax highlighting throwing error (#11134)

Nimar09984361e125
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index cb33645b1d..cc9c96ccc8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -398,8 +398,8 @@ importers:
specifier: workspace:*
version: link:../packages/shared
'@lezer/highlight':
- specifier: ^1.2.1
- version: 1.2.1
+ specifier: ^1.2.3
+ version: 1.2.3
'@modelcontextprotocol/sdk':
specifier: ^1.24.3
version: 1.24.3(@cfworker/[email protected])([email protected])
@@ -572,8 +572,8 @@ importers:
specifier: ^4.23.7
version: 4.23.7(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])
'@uiw/react-codemirror':
- specifier: ^4.25.3
+ specifier: ^4.25.4
ai:
specifier: ^3.4.9
@@ -3178,15 +3178,9 @@ packages:
peerDependencies:
'@langchain/core': '>=0.2.21 <0.4.0'
- '@lezer/[email protected]':
- resolution: {integrity: sha512-w7ojc8ejBqr2REPsWxJjrMFsA/ysDCFICn8zEOR9mrqzOu2amhITYuLD8ag6XZf0CFXDrhKqw7+tW8cX66NaDA==}
-
resolution: {integrity: sha512-DVeMRoGrgn/k45oQNu189BoW4SZwgZFzJ1+1TV5j2NJ/KFC83oa/enRqZSGshyeMk5cPWMhsKs9nx+8o0unwGg==}
- '@lezer/[email protected]':
- resolution: {integrity: sha512-Z5duk4RN/3zuVO7Jq0pGLJ3qynpxUVsh7IbUbGj88+uV2ApSAn6kWg2au3iJb+0Zi7kKtqffIESgNcRXWZWmSA==}
-
resolution: {integrity: sha512-qXdH7UqTvGfdVBINrgKhDsVTJTxactNNxLk7+UMwZhU13lMHaOBlJe9Vqp907ya56Y3+ed2tlqzys7jDkTmW0g==}
@@ -6539,8 +6533,8 @@ packages:
resolution: {integrity: sha512-BmxxndzEWhE4TIEEMBs8lP3MBWN3jFPs/p6gPm/wkv02o41hI6cq9AuSmGAaTTHPtA1FTi2jBre4A9rm5ZmX+Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-F1doRyD50CWScwGHG2bBUtUpwnOv/zqSnzkZqJcX5YAHQx6Z1CuX8jdnFMH6qktRrPU1tfpNYftTWu3QIoHiMA==}
+ resolution: {integrity: sha512-YzNwkm0AbPv1EXhCHYR5v0nqfemG2jEB0Z3Att4rBYqKrlG7AA9Rhjc3IyBaOzsBu18wtrp9/+uhTyu7TXSRng==}
peerDependencies:
'@codemirror/autocomplete': '>=6.0.0'
'@codemirror/commands': '>=6.0.0'
@@ -6557,8 +6551,8 @@ packages:
'@codemirror/state': '>=6.0.0'
'@codemirror/view': '>=6.0.0'
- resolution: {integrity: sha512-1wtBZTXPIp8u6F/xjHvsUAYlEeF5Dic4xZBnqJyLzv7o7GjGYEUfSz9Z7bo9aK9GAx2uojG/AuBMfhA4uhvIVQ==}
+ resolution: {integrity: sha512-ipO067oyfUw+DVaXhQCxkB0ZD9b7RnY+ByrprSYSKCHaULvJ3sqWYC/Zen6zVQ8/XC4o5EPBfatGiX20kC7XGA==}
peerDependencies:
'@babel/runtime': '>=7.11.0'
'@codemirror/state': '>=6.0.0'
@@ -16667,7 +16661,7 @@ snapshots:
'@codemirror/state': 6.5.2
'@codemirror/view': 6.38.8
'@lezer/common': 1.4.0
- '@lezer/highlight': 1.2.1
+ '@lezer/highlight': 1.2.3
'@lezer/lr': 1.4.4
style-mod: 4.1.3
@@ -17870,14 +17864,8 @@ snapshots:
'@langchain/core': 0.3.58([email protected]([email protected]))
js-tiktoken: 1.0.21
- '@lezer/[email protected]': {}
-
'@lezer/[email protected]': {}
- '@lezer/[email protected]':
- dependencies:
- '@lezer/common': 1.2.3
-
dependencies:
'@lezer/common': 1.4.0
@@ -17885,7 +17873,7 @@ snapshots:
dependencies:
'@lezer/common': 1.4.0
- '@lezer/highlight': 1.2.1
+ '@lezer/highlight': 1.2.3
'@lezer/lr': 1.4.4
@@ -22097,7 +22085,7 @@ snapshots:
'@typescript-eslint/types': 8.48.1
eslint-visitor-keys: 4.2.1
- '@uiw/[email protected](@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected]))(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':
+ '@uiw/[email protected](@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected]))(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':
dependencies:
'@codemirror/autocomplete': 6.17.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])
'@codemirror/commands': 6.10.0
@@ -22113,14 +22101,14 @@ snapshots:
'@codemirror/state': 6.5.2
'@codemirror/view': 6.38.8
dependencies:
'@babel/runtime': 7.28.4
'@codemirror/commands': 6.10.0
'@codemirror/state': 6.5.2
'@codemirror/theme-one-dark': 6.1.2
'@codemirror/view': 6.38.8
- '@uiw/codemirror-extensions-basic-setup': 4.25.3(@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected]))(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])
+ '@uiw/codemirror-extensions-basic-setup': 4.25.4(@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected]))(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])
codemirror: 6.0.1(@lezer/[email protected])
react: 19.2.3
react-dom: 19.2.3([email protected])
diff --git a/web/package.json b/web/package.json
index b25b004ca4..bbc7fec7cf 100644
--- a/web/package.json
+++ b/web/package.json
@@ -42,7 +42,7 @@
"@langchain/core": "^0.3.58",
"@langfuse/ee": "workspace:*",
"@langfuse/shared": "workspace:*",
- "@lezer/highlight": "^1.2.1",
+ "@lezer/highlight": "^1.2.3",
"@modelcontextprotocol/sdk": "^1.24.3",
"@mui/material": "^7.3.1",
"@mui/x-tree-view": "^8.17.0",
@@ -100,7 +100,7 @@
"@trpc/react-query": "^11.4.4",
"@trpc/server": "^11.4.4",
"@uiw/codemirror-themes": "^4.23.7",
- "@uiw/react-codemirror": "^4.25.3",
+ "@uiw/react-codemirror": "^4.25.4",
"ai": "^3.4.9",
"bcryptjs": "^2.4.3",
"bullmq": "^5.34.10",