You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Only a few levels are printed in pretty mode. It's caused by broken _extend function, which ignores depth settings, therefore the hardcoded depth with value 2 is applied.
Here is the code which tries to assign opts (which includes dept: Infinite) to ctx, but it doesn't and ctx remains untouched. Below the default 2 is assigned to ctx.depth which limits output to three levels.
The text was updated successfully, but these errors were encountered:
Describe the bug
Only a few levels are printed in pretty mode. It's caused by broken
_extend
function, which ignoresdepth
settings, therefore the hardcoded depth with value 2 is applied.To Reproduce
Try to log an object with 3+ depth - only 3 levels are pretty printed, the deeper levels are represented with
[object Object]
stringhttps://codepen.io/jakubhruby/pen/OJYgzbR?editors=1111
Expected behavior
Full depth object is printed.
Screenshots
Here is the code which tries to assign
opts
(which includesdept: Infinite
) toctx
, but it doesn't andctx
remains untouched. Below the default2
is assigned toctx.depth
which limits output to three levels.The text was updated successfully, but these errors were encountered: