Skip to content

Conversation

@fisker
Copy link
Contributor

@fisker fisker commented Mar 20, 2025

  • Move all error related logic to JSONError
  • Lazy evaluate codeFrame and rawCodeFrame (with cache)
  • Add JSONError.cause
  • Update examples in readme.md and index.d.ts

Logic change is in the first commit.

@fisker fisker marked this pull request as ready for review March 20, 2025 14:31
@sindresorhus sindresorhus merged commit 703bb87 into sindresorhus:main Mar 21, 2025
3 checks passed
@fisker fisker deleted the json-error-cause branch March 21, 2025 08:21
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.

2 participants