Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: graphql page crashing and broken syntax highlighting #3488

Merged
merged 1 commit into from Nov 2, 2023

Conversation

amk-dev
Copy link
Contributor

@amk-dev amk-dev commented Nov 2, 2023

Before

Our graphql page was crashing and syntax highlighting was not working properly. The error was due to having multiple versions of @lezer/highlight package being installed. hoppscotch-ui uses ^1.0.0 and hoppscotch-common uses ^1.1.6

After

We can fix the problem by bumping @lezer/highlight to 1.1.6, but since @lezer/highlight is an unused dependency in hoppscotch-ui, we decided to remove it.

@amk-dev amk-dev changed the title fix: bump @lezer/highlight package in hoppscotch-ui fix: graphql page crashing and broken syntax highlighting Nov 2, 2023
@anwarulislam
Copy link
Member

@amk-dev I think we can remove @lazer/highlight from hoppscotch-ui package as it is not being used there.

@amk-dev
Copy link
Contributor Author

amk-dev commented Nov 2, 2023

@amk-dev I think we can remove @lazer/highlight from hoppscotch-ui package as it is not being used there.

Ohh, we can do that then. i think there are also other packages that are not used in there. we can remove them also. but may be on a seprate PR.

@AndrewBastin AndrewBastin merged commit 1929480 into release/2023.8.3 Nov 2, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants