Alexandru Mărășteanu
Alexandru Mărășteanu
Oh, did they finally decide to fix Node? Jokes aside, how would that work? I.e. supporting CommonJS and ESM at the same time.
I didn't know about that, and I'm even more confused today than I was yesterday: I thought the way to do it was .mjs?
So let me get this straight: first there was CJS, then AMD showed up for whatever reason, then that evolved into UMD. Now we have ESM. Browsers don't mind .js,...
Is there any documentation about this?
Incidentally we ran into this sort of issue with Python recently and ended up doing something like: ``` fmt = '%%%dd' % (width) return fmt % (val) ``` which doesn't...
Hey Kévin, thanks for your input. I'd appreciate some clarifications about this change.
Oh, I see. This has been asked before (i.e. supporting relaxed, strict modes) and while I agree to the idea, I'm against such approaches where the (undocumented) internals get exposed....
See also https://github.com/alexei/sprintf.js/pull/165
It's possible I didn't understand your use case. TBH I don't even know what `SError` and `VError` are. But if you want it to not raise on missing argument, you...
> What is the inconvenience of exposing the parser? Probably none, if you do it intentionally. That is not the case with this library.