James Browning

Results 45 issues of James Browning

So at present with cyclic modules particularly those involving subclassing we can often have a nasty issue appear in that due to a cycle during `extends` the superclass may not...

(This partially follows [this comment](https://github.com/tc39/proposal-compartments/pull/71#discussion_r924029800) however it covers wider concerns and possible solutions). So the new proposal introduces `Module` which allows for customizing import behaviour with JS hooks. Additionally one...

In the current proposal, the `globalThis` object is created automatically and can only be extended by attaching properties to it. However actual global objects may be exotic, the most obvious...

Basically this issue is about whether to treat `do`-expressions as block like therefore allowing control flow or whether they should behave like IIFE's and disallow control flow that affects anything...

Often it makes sense for a protocol to have optional fields that can be omitted entirely (but considered when they're used) but still included conceptually as part of the protocol....

Given generator's (two-way) coroutine design was designed in order to enable custom runners it would be good to have some runner built on top of `IdleValue` that can simplify writing....

**Prettier 3.2.5** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuc0DOMAEBbCATAVwBs5MBeTAQwHdKBLLO7ABwgCcYAKAAz0pkpJ4ADxgB6AFaUAbpTRg2dZjAA0AHSiYtmSFDQQSAOiIQA5pzUgASgFUAcpYCUAbg3cXIFSAjK66ZKCUbGwQ1AAKQQhoyCCURLQAntFeAEZslGAA1nAwAMqU2HAAMnRQcMgAZnFocKnpWTm5zBmlpsgwbAS1IDXYdO2d3XDCzHCKhbBxACpjUEF0cNFIVUQ1XmitJACKBBDwldXdEmjCuZtwO3vly4deAI678GEhzEuxaAC0ZXB4P54gHXoRFaAGEINhsJQYnEiP8NlBTCQAIIwDp0FIEJ5jEplA6rboACxg2CIAHUCQxFs0wHBclEGHRpAwEjEwGhkiBpF0AJJQX6wXIKJQwJF83IwBIkPFrEDMEI1UnpZgxOWLMbScpeUo1DjPSimSHS7rNNg6mIS0byRTKf5y0owUl0PAwAnIAAcAAYvGw4A86D69QaoTd8V4BClHc7XUgAExeAg1KaUFJLFYyuDYFI-X54IqUBEEfVwABi7EhqNa0MxEBAAF9a0A) **Input:** ```ts const module = await import(`data:text/javascript, console.log("RUN"); `); ``` **Output:** ```jsx const module = await (`data:text/javascript, console.log("RUN"); `); ``` **Expected output:** ```jsx const module =...

type:bug
lang:javascript

Currently DOM permits a lot of trees that couldn't be represented in HTML or are semantically invalid. For example this tree couldn't be represented in HTML but can be constructed...

It would be nice if addition to the existing overloads we had an overload for `.takeUntil` that accepted an `AbortSignal`. An example of usage: ```js import chokidar from "chokidar"; const...

possible future enhancement

So on `Subscriber` we have `.addTeardown` which adds a convenient way to ensure teardown happens even if the subscriber is already closed. It's not clear to me why though this...