We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since the lib claims to be able to "Hash any Javascript primitive or object", from my point of view, circular structures should also be supported.
Instead, it throws a "Maximum call stack size exceeded" error...
Example code:
var hashAnything = require("hash-anything") let circular = { "foo": "bar" } circular.myself = circular hashAnything.md5(circular)
Tip: flatted should be used to stringify circular structures
The text was updated successfully, but these errors were encountered:
Thanks for the feedback. Feel free to create a PR for this. However, flatted wont help. hash-anything does not stringify the object before hashing.
hash-anything
Sorry, something went wrong.
No branches or pull requests
Since the lib claims to be able to "Hash any Javascript primitive or object", from my point of view, circular structures should also be supported.
Instead, it throws a "Maximum call stack size exceeded" error...
Example code:
Tip: flatted should be used to stringify circular structures
The text was updated successfully, but these errors were encountered: