[PR #3008] [MERGED] fix: non-prettified output on large JSON objects #4185

Closed
opened 2026-03-17 01:44:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3008
Author: @liyasthomas
Created: 4/20/2023
Status: Merged
Merged: 4/21/2023
Merged by: @AndrewBastin

Base: mainHead: fix-2877


📝 Commits (1)

  • f192dc4 fix: update lossless-json to latest - fixed #2877 response not prettified

📊 Changes

2 files changed (+13 additions, -13 deletions)

View changed files

📝 packages/hoppscotch-common/package.json (+1 -1)
📝 pnpm-lock.yaml (+12 -12)

📄 Description

Closes #2877

Description

This PR fixes an issue with package lossless-json on v1.0.5 where LJSON.parse() was producing non-prettified output on large JSON objects. Upgraded to v2.0.8 which includes the fix for this issue.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional info

Fix was suggested by @jaysoni-ash42 on https://github.com/hoppscotch/hoppscotch/issues/2877#issuecomment-1514635577.

  • Tested locally to verify the fix

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/3008 **Author:** [@liyasthomas](https://github.com/liyasthomas) **Created:** 4/20/2023 **Status:** ✅ Merged **Merged:** 4/21/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `fix-2877` --- ### 📝 Commits (1) - [`f192dc4`](https://github.com/hoppscotch/hoppscotch/commit/f192dc4726583fe3ece7f1fa0740f4d569329c7e) fix: update lossless-json to latest - fixed #2877 response not prettified ### 📊 Changes **2 files changed** (+13 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+12 -12) </details> ### 📄 Description Closes #2877 ### Description This PR fixes an issue with package `lossless-json` on v1.0.5 where `LJSON.parse()` was producing non-prettified output on large JSON objects. Upgraded to v2.0.8 which includes the fix for this issue. ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [ ] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed ### Additional info Fix was suggested by @jaysoni-ash42 on https://github.com/hoppscotch/hoppscotch/issues/2877#issuecomment-1514635577. - [x] Tested locally to verify the fix --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:44:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4185
No description provided.