Andrew Kaiser

Results 147 comments of Andrew Kaiser

found a related issue that appears to have been closed https://github.com/denoland/deno/issues/10482 and the relevant pr that supposedly fixed this behavior https://github.com/denoland/deno/pull/10499

I second this behavior as odd. I ran into this with my own script, which had a simple `--allow-run=mpv` permission, but I would need to allow running any subprocess if...

the same thing appears to happen when the process exits unexpectedly, though I am having a harder time reproing that

Just a thought, nodejs has an [experimental loaders](https://nodejs.org/docs/latest/api/esm.html#esm_experimental_loaders) feature. Why not model the public compiler api after this? Deno shouldnt care about supporting any other languages, instead it should expect...

alright. I ended up just reimplementing the `getCookie` logic myself, which is pretty straight forward. If supporting `set-cookie` is out of the scope of std, then thats fine since I...

@jsejcksn oh you are right! I think I have been assuming the limit arg works differently for a while now :sweat_smile: thanks for the tip

```ts function parse_resonse_cookies(response: Response) { const cookies: {[key:string]: string} = {} for (const [key, value] of response.headers.entries()) { if (key === 'set-cookie') { const kv_pairs = value .split(/;[ ]*/) .map(cookie_str...

[edit] it seems like `ctx.font = ` is not a supported api at all in the current version. Setting font to anything, including fonts available to the system looks like:...

oh if this is already supported thats fantastic. I am looking at the code now https://github.com/DjDeveloperr/deno-canvas/blob/master/src/types.ts#L1065, what should the descriptors field be?

ah, I figured it out: ```ts canvas.loadFont(fontBuffer, { family: 'Comic Sans', style: 'normal', weight: 'normal', variant: 'normal' }) ``` it probably wouldnt hurt to make the type signatures more specific...