-
-
Notifications
You must be signed in to change notification settings - Fork 776
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Wrong column on duplicated mapping key
exception
#452
Comments
rlidwka
added a commit
that referenced
this issue
Dec 11, 2020
Fixed in b1cc0e9 (currently in dev branch, gonna be released as js-yaml 4 later). |
This was referenced Mar 11, 2021
This was referenced Mar 18, 2021
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
On this file containing 164 bytes:
This exception:
Column should be 1.
Column calculation appears to be based on offset in some buffer (in this case the distance to the end of the file) rather than the parser position, modulo sign and off-by-one:
Bytes from start of duplicate to end of file: 54
safeLoad()
"js-yaml": "3.12.0",
See also #243 for links to a related, but fixed issue.
The text was updated successfully, but these errors were encountered: