From 8e8073424d15bf9e68f297fe91813adb0d4c1a45 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com> Date: Thu, 24 Oct 2024 22:07:33 +0530 Subject: [PATCH] fix: syntax highlighting in editor views Pin `@codemirror/view` to `v6.25.1`. --- packages/hoppscotch-common/package.json | 2 +- pnpm-lock.yaml | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/hoppscotch-common/package.json b/packages/hoppscotch-common/package.json index 570516956..b54015e5d 100644 --- a/packages/hoppscotch-common/package.json +++ b/packages/hoppscotch-common/package.json @@ -33,7 +33,7 @@ "@codemirror/merge": "6.7.2", "@codemirror/search": "6.5.6", "@codemirror/state": "6.4.1", - "@codemirror/view": "6.34.1", + "@codemirror/view": "6.25.1", "@hoppscotch/codemirror-lang-graphql": "workspace:^", "@hoppscotch/data": "workspace:^", "@hoppscotch/httpsnippet": "3.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 18e24f6ca..e78b004fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -446,7 +446,7 @@ importers: version: 10.1.0(openapi-types@12.1.3) '@codemirror/autocomplete': specifier: 6.18.1 - version: 6.18.1(@codemirror/language@6.10.1)(@codemirror/state@6.4.1)(@codemirror/view@6.34.1)(@lezer/common@1.2.1) + version: 6.18.1(@codemirror/language@6.10.1)(@codemirror/state@6.4.1)(@codemirror/view@6.25.1)(@lezer/common@1.2.1) '@codemirror/commands': specifier: 6.7.0 version: 6.7.0 @@ -478,8 +478,8 @@ importers: specifier: 6.4.1 version: 6.4.1 '@codemirror/view': - specifier: 6.34.1 - version: 6.34.1 + specifier: 6.25.1 + version: 6.25.1 '@hoppscotch/codemirror-lang-graphql': specifier: workspace:^ version: link:../codemirror-lang-graphql @@ -13819,11 +13819,11 @@ snapshots: dependencies: vue: 3.5.12(typescript@5.6.3) - '@codemirror/autocomplete@6.18.1(@codemirror/language@6.10.1)(@codemirror/state@6.4.1)(@codemirror/view@6.34.1)(@lezer/common@1.2.1)': + '@codemirror/autocomplete@6.18.1(@codemirror/language@6.10.1)(@codemirror/state@6.4.1)(@codemirror/view@6.25.1)(@lezer/common@1.2.1)': dependencies: '@codemirror/language': 6.10.1 '@codemirror/state': 6.4.1 - '@codemirror/view': 6.34.1 + '@codemirror/view': 6.25.1 '@lezer/common': 1.2.1 '@codemirror/commands@6.7.0': @@ -13835,11 +13835,11 @@ snapshots: '@codemirror/lang-javascript@6.2.2': dependencies: - '@codemirror/autocomplete': 6.18.1(@codemirror/language@6.10.1)(@codemirror/state@6.4.1)(@codemirror/view@6.34.1)(@lezer/common@1.2.1) + '@codemirror/autocomplete': 6.18.1(@codemirror/language@6.10.1)(@codemirror/state@6.4.1)(@codemirror/view@6.25.1)(@lezer/common@1.2.1) '@codemirror/language': 6.10.1 '@codemirror/lint': 6.8.2 '@codemirror/state': 6.4.1 - '@codemirror/view': 6.34.1 + '@codemirror/view': 6.25.1 '@lezer/common': 1.2.1 '@lezer/javascript': 1.4.16 @@ -13850,10 +13850,10 @@ snapshots: '@codemirror/lang-xml@6.1.0': dependencies: - '@codemirror/autocomplete': 6.18.1(@codemirror/language@6.10.1)(@codemirror/state@6.4.1)(@codemirror/view@6.34.1)(@lezer/common@1.2.1) + '@codemirror/autocomplete': 6.18.1(@codemirror/language@6.10.1)(@codemirror/state@6.4.1)(@codemirror/view@6.25.1)(@lezer/common@1.2.1) '@codemirror/language': 6.10.1 '@codemirror/state': 6.4.1 - '@codemirror/view': 6.34.1 + '@codemirror/view': 6.25.1 '@lezer/common': 1.2.1 '@lezer/xml': 1.0.5 @@ -13873,21 +13873,21 @@ snapshots: '@codemirror/lint@6.8.2': dependencies: '@codemirror/state': 6.4.1 - '@codemirror/view': 6.34.1 + '@codemirror/view': 6.25.1 crelt: 1.0.6 '@codemirror/merge@6.7.2': dependencies: '@codemirror/language': 6.10.1 '@codemirror/state': 6.4.1 - '@codemirror/view': 6.34.1 + '@codemirror/view': 6.25.1 '@lezer/highlight': 1.2.0 style-mod: 4.1.2 '@codemirror/search@6.5.6': dependencies: '@codemirror/state': 6.4.1 - '@codemirror/view': 6.34.1 + '@codemirror/view': 6.25.1 crelt: 1.0.6 '@codemirror/state@6.4.1': {}