-
-
Notifications
You must be signed in to change notification settings - Fork 456
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
Regression introduced in 9.1.1: parse cannot read back stringify when using bracket-seperator mode #398
Comments
// @scottenock |
Thanks @sindresorhus - taking a look 💪 |
Hi @sindresorhus + @dubzzz - I managed to take a look at this and have determined that @dubzzz , in your example you are using
Note that your example will still work and be Idempotent if you specify an
Also note that in both
If you're happy with my findings @sindresorhus I think we can close this out 💪 |
Well in such a case you have an issue for an input being: const original = { key: ['|'] }; More precisely how to handle something like: const original = { key: [[...Array(256)].map((_, i) => String.fromCodePoint(i)).join('')] }; |
Happy new year everyone! 🥳 @dubzzz I'm not sure what you mean with that example? |
Not sure if it was an expected impact of #392, but it seems it introduced a regression in 9.1.1.
The following piece of code does not behave the same in 9.1.0 and 9.1.1. In the later the
parse
function cannot read back itself.Here are the output we get for each version:
The text was updated successfully, but these errors were encountered: