question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Throw error on circular references

See original GitHub issue

Currently the library does not throw error when parsing circual references.

Example:

const circular = {
   a : "value"
}
circular.a = circular
JSON.stringify(circular) //throws error
const circular = {
   a : "value"
}
circular.a = circular
qs.stringify(circular) //freezes computer 😣

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ljharbcommented, Jan 28, 2021

No, please leave them all open - whatever solution we go with, I’ll update all three PRs to have it as part of landing.

1reaction
ljharbcommented, Jan 28, 2021

Ok please stop creating extra PRs tho - each PR is a permanent ref on the repo, so how i have 3 PRs to keep in sync 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove or allow a circular reference - Microsoft Support
If you can't find the error, click the Formulas tab, click the arrow next to Error Checking, point to Circular References, and then...
Read more >
How to Fix the Excel Circular Reference Error? - Simon Sez IT
In this guide, learn how to find and fix the Excel circular reference error. Als learn, how to properly use circular references in...
Read more >
Circular reference in Excel: how to find, enable, use, or remove
To check your Excel workbook for circular references, perform the following steps: Go to the Formulas tab, click the arrow next to Error...
Read more >
How To Find and Remove Circular References in Excel - Indeed
The error message appears in a dialog box in the middle of your screen. It offers a simple definition of a circular reference,...
Read more >
How to Find Circular References in Excel (+ How to Fix Them)
1. Go to the Formulas tab. 2. Click the Error Checking button. 3. Hover over Circular Reference. 4. Check the status bar. Read...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found