Rich Harris

Results 788 comments of Rich Harris

Can you create a repro?

Thank you! The performance is very dependent on the inputs. If I try shorter strings, this PR makes things much slower: https://jsbench.me/9zlv6vfa6c/2. I'm not sure if there's a way to...

Support for different services (GitHub, GitLab and BitBucket) is [hardcoded in at the moment](https://github.com/Rich-Harris/degit/blob/a3d99ff66356332b89222925a54565d0047d0ec3/bin/index.js#L76-L90). Unfortunately it's not quite as straightforward as just allowing any repo URL, since the archive URL...

Don't really understand how this happened but it should be fixed in 2.8.2

This seems like a good idea — would you be interested in submitting a PR?

Would it be enough if it used the existing conventions? i.e. if the majority of existing keys used double quotes, use double quotes for new keys; if the majority of...

Ha, interesting — the code generation is one of the things I plan to change! It's using [astring](https://github.com/davidbonnet/astring) at the moment, which is excellent, but there are a few things...

It's by design. For the use case that this library is intended for, there's no point in serializing values with less than 100% fidelity