Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sorry for this not being separate PRs, I initially wanted to fix more about the library and figured all the fixes would interconflict anyways so this would be saner. Then I realized the problem is that this library is built on an ancient pre-1.0 version of fluent.js that itself was a complete trash fire code wise so I kind of gave up midway fixing more.
Frankly this library would be better served being re-ported from the current TypeScript or Rust implementations since dear god this old JS implementation is awful but I don't really have the motivation to do such an undertaking, so...
This PR still contains some useful fixes/improvements though that I could use so I figured I'd still submit it.
The individual commits have the individual changes, so look at those.
Should be no backwards compatibility breakages (there is an
[Obsolete]
now though).