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

Deep option causes infinite recursion on indirectly circular objects #2

Closed
nathanfdunn opened this issue May 5, 2016 · 1 comment
Closed

Comments

@nathanfdunn
Copy link
Contributor

nathanfdunn commented May 5, 2016

var sortKeys = require('sort-keys');
var obj = {};
obj.nested = {original: obj};
sortKeys(obj, {deep: true});            //stack overflow
sindresorhus pushed a commit that referenced this issue May 18, 2016
Fixes issues detailed in issues #2 and #3.

Closes #4
sindresorhus pushed a commit that referenced this issue May 18, 2016
Fixes issues detailed in issues #2 and #3.

Closes #4
@sindresorhus
Copy link
Owner

Fixed by b698b51.

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

No branches or pull requests

2 participants