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 bug with "Circular Structure" error #23905

Merged
merged 4 commits into from Feb 10, 2022
Merged

Fix bug with "Circular Structure" error #23905

merged 4 commits into from Feb 10, 2022

Commits on Apr 12, 2021

  1. Fix bug with "Circular Structure" error

    Since `-1` is truthy, every JSON.stringify error is mistaken to be `circular structure`. This commit fixes that behaviour, so that other errors like `Do not know how to serialize Bigint` (see blitz-js/babel-plugin-superjson-next#63) aren't swallowed.
    Skn0tt committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    1061dc6 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. Add integration test

    This may be thought of as being a pretty contrived example, but it's exactly what happened in blitz-js/babel-plugin-superjson-next#63.
    Skn0tt committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    4ecefb7 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. Merge branch 'canary' into patch-1

    # Conflicts:
    #	packages/next/pages/_document.tsx
    ijjk committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    1138a3b View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Configuration menu
    Copy the full SHA
    ab71b53 View commit details
    Browse the repository at this point in the history