Yoshiya Hinosawa
Yoshiya Hinosawa
> I think we just need to be consistent in std, because we have both names format and stringify which do the same task. How would you differentiate between the...
`compare` performs standard comparison. `compareBuild` performs non standard comparison, including build metadata. I think it's clearer to have a separate API for non standard one.
I don't like `matcher: "version"` idea either. Semver spec only defines [one ordering](https://semver.org/#spec-item-11) and `matcher: "version"` is non standard interpretation of semver order. Semver spec also says the below: >...
We should probably `delete` undefined keys before passing them to `assertEquals`
Thanks for the input. It looks like we also need to fix `expect().toStrictEqual()` > If undefined values are allowed, what would be the equivalent of npm expect strictEquals in deno...
`printf` just sounds familiar and looks good to keep. Only providing `sprintf` without providing `printf` feels strange to me.
> Alternatively, we can have printf() use console.log() instead of Deno.stdout for greater compatibility with other runtimes. I don't think it's good idea to use `console.log` for `printf` as it...
> Move std/fmt/bytes.ts to std/bytes Not sure about this, but it feels a bit confusing to me. The APIs in `std/bytes` operate with `Uint8Array`s, but `std/fmt/bytes` works with byte numbers,...
Google Chrome supports ANSI escape code in the console. Maybe this is not specific to terminal
> Months ago I was looking for a function to add colors to the terminal. I looked first in cli and then in console. I couldn't find anything and thought...