Last 12 weeks · 12 commits
2 of 6 standards met
Repository: sveltejs/devalue. Description: Gets the job done when JSON.stringify can't Stars: 2701, Forks: 78. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Homepage: https://svelte.dev/repl/138d70def7a748ce9eda736ef1c71239 Latest release: v5.6.3 (1w ago). Open PRs: 6, open issues: 23. Last activity: 1w ago. Community health: 50%. Top contributors: Rich-Harris, github-actions[bot], elliott-with-the-longest-name-on-github, gtm-nayan, danielroe, ivanhofer, LorisSigrist, GauBen, TooTallNate, Conduitry and others.
JavaScript
This PR exports . Access to the error class is useful for type narrowing when access to 's property is needed. Also helpful if other errors might be thrown in the same scope. I added a dumb test just to check the presence of the export. I can remove it if you think it's unnecessary. Thanks!