Eemeli Aro

Results 571 comments of Eemeli Aro

To disable scalar conversions, you should use `schema: 'failsafe'`; that'll ensure that your result only contains maps, sequences, and strings. The sort of schema validation that you're looking for isn't...

To effectively disable aliases, use `maxAliasCount: 0`. I recommend consulting the docs for more options: https://eemeli.org/yaml/ I am aware of JSON Schema, the issue is in how to use it...

Yes, but as I said above: > The tricky part is enabling smart support for scalar types, such that a plain true could be parsed as either a boolean or...

The `parse()` method does not retain any of the formatting information of the source, only the data. If that's important to you, `parseDocument()` retains a bit more, but not everything....

Historical reasons, pretty much. We've been using `make-plural` since 2014, and at least Chrome's `Intl.PluralRules` implementation was buggy up until about 2019. A PR dropping the dependency would be interesting...

This might be a duplicate of #951?

This is not solved by #3312. A project's `media/projects/[slug]/` directory should be wiped clean when a repo URL is changed.

One alternative that could also work is being more exact about how the JSON string is generated from the resolved numerical value, i.e. something like "decimal form, with no trailing...