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
When stringifying an object containing multiple references to the same object which have been serialised as strings, the anchor mechanism seems to get confused.
Describe the bug
When stringifying an object containing multiple references to the same object which have been serialised as strings, the anchor mechanism seems to get confused.
To Reproduce
Expected behaviour
yaml.stringify
should not throw an Error.Versions (please complete the following information):
yaml
: 2.0.0-6Additional context
yaml
1.x stringifies this as two strings without an anchor.The text was updated successfully, but these errors were encountered: