Skip to content

Drop third argument of YAMLMap.prototype.toJS() - #725

Merged
eemeli merged 2 commits into
mainfrom
map-tojs
Sep 21, 2026
Merged

eemeli merged 2 commits into
mainfrom
map-tojs

Conversation

@eemeli

@eemeli eemeli commented Sep 21, 2026

Copy link
Copy Markdown
Owner

This is a follow-up to #722, removing a feature that I'm not aware of having any actual use any more, and so it's only adding complexity: The third Type argument of the YAMLMap toJS() method is dropped, so it will only return Maps and Objects.

Technically this is a breaking change, but I would be surprised if anyone was actually affected.

@eemeli
eemeli merged commit 2a50329 into main Sep 21, 2026
20 checks passed
@eemeli
eemeli deleted the map-tojs branch September 21, 2026 19:29
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

Successfully merging this pull request may close these issues.

1 participant