feat: updating to use yaml #147
Loading…
Reference in a new issue
No description provided.
Delete branch "sakulstra/feat/yaml"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
use yaml instead of js-yaml as requested in #145
@jonschlinkert are you sure
yamlis smaller thanjs-yaml(for some reason bundlephobia is broken for yaml and vscode showing bigger package size, might be wrong due to shaking though)yamlseems to behave slightly different as you can see in the two failing tests.@jonschlinkert with #148 applied tests are passing.
I'm not at all sure about that lol. Thank you for doing this and for bringing it to my attention. I was initially under the impression that
yamlwould be smaller, sincejs-yamlwas massively bloated the last time I checked. They included all of their tests, test fixtures, browser code, etc. in the published package. Now that you have seen both, what is your recommendation?edit: and also, thank you for taking the time to do this, and apologies for making you jump through hoops. I promise we'll get this merged and published as soon as we settle on which library to use.
Would in fact go with
yaml- seems more solid to me.@jonschlinkert any chance of getting this merged? 😅
@jonschlinkert ping 😅
@jonschlinkert 😿 - quite a lot of ppl are using this library (1M downloads per week). Would be really good if this could be merged anytime soon.
@jonschlinkert ping on this, let me know if anything prevents merging.
It no longer is. It shows yaml at 102.6 kB and js-yaml at 39 kB.
@sakulstra Thank you for your contributions.
@jonschlinkert Understandably you may have had to make other priorities. Would you be so kind to make @sakulstra a maintainer of this project? This nice library needs to keep up with the time.
I am surprised that there is no TypeScript support (#105, #107, #181 and others).
@pedzed Thanks, but I have no interest in maintaining this project at this point. Eventually we only need a very small portion of it's capabilities, so we have sth like:
which covers all our needs.
@sakulstra Yeah, sometimes a small function may suffice, rendering a dependency such as this redundant. Thanks for your snippet, I will keep it in mind. I would go for the
yamllibrary though, rather thanjs-yaml.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.