Andy Edwards

Results 783 comments of Andy Edwards

@motdotla actually I'm pretty sure matching nested command substitutions is completely impossible with JS regexes. An expression of that form isn't within the grammatical class of regular languages and definitely...

Okay I'll read up on bash syntax and see if I can write up a comprehensive matcher for it Is it also intended to support windows shell commands? Maybe I...

I don't know when I'll really get around to it either but here's a bit of code I experimented with to support a subset of Bash syntax, to give you...

Here's an example of a nasty edge case: ``` foo bar $(baz qux "hello $(world "blah ( )" \) blah)" \) 'foo)bar' $baz) blah ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ```

@cbodin would there be any problem with doing it this way? Does the previous object url have to be revoked before the next one is created? ```ts export function useObjectUrl(object?:...

Thanks for the tip, I figured there wasn't much public documentation of this. Yes, I have more than 10 entry points, one per utility function so that I don't have...

Okay, here's my package: https://www.npmjs.com/package/@jcoreio/utils?activeTab=code Unlike many packages you'll see, I'm including CJS, ESM, source and declaration maps for both, and original source files in the published package, so that...

@andrewbranch if it still bails out anywhere after your changes, could you at least make it log where and why it bailed out? (if tsgo doesn't already, I haven't tried...

Oh I see, do you mean if there are too many dependencies for all auto imports to fit in memory at once it will dynamically look things up? I assumed...

A long time ago I made an auto import server that worked with Flow, and maybe I was accidentally hanging onto something I shouldn't, but I was surprised how high...