Gets the job done when JSON.stringify can't
latest non vulnerable version
6 years ago
latest version published
6 months ago
Known vulnerabilities in the devalue package. This does not include vulnerabilities belonging to this package’s dependencies.Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
devalue is a JSON.stringify, but handles cyclical references, repeated references, undefined, regular expressions, dates, Map and Set.
Affected versions of this package are vulnerable to Cross-site Scripting (XSS). It does not properly mitigate against unsafe characters in serialized regular expressions.
How to fix Cross-site Scripting (XSS)?