Andreu Botella
Andreu Botella
In JS, code execution is always tied to some realm (or "context" in V8 terminology), which provides a global object and a set of built-ins (`Object`, `Array`, `Error`, etc.) which...
This is one proposal to support async ops in realms, that does not need the promise ring to be moved to Rust (see #14396). I will also submit another PR...
The `JsRuntime::create_realm` method, introduced, in #14019, made it possible to create V8 contexts that had the same set of extensions and ops loaded, and it has since been used to...
Depends on denoland/rusty_v8#959.
Currently, the `deno_bindgen` macro only records the exported function signatures and changes them to `extern "C"`, with the type mapping to Deno's FFI types happening on `cli.ts`. This works fine...
This rule would be useful to catch cases like this, in which you might expect an imported module's top-level code to be eval'd at the position of its import declaration,...
Unicode has some bidirectional override characters. They are meant to be used to help properly display words in languages with a particular directionality within a text in the opposite directionality...
The monkeypatched versions of `Array[Symbol.hasInstance]` and `Array.isArray` defined in `src/api.ts` will throw when passed `null` or `undefined`. This is problematic because those monkeypatched versions pollute the global namespace, and can...
As I was looking into refactoring some code in Deno's implementation of the wasm web APIs, I noticed that the spec calls into fetch's ["extract a MIME type"](https://fetch.spec.whatwg.org/#concept-header-extract-mime-type) algorithm, and...
TypeScript 4.0 was released yesterday, and it incorporates a number of additions, some of which Sucrase does not support: ## [Labeled tuple elements](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-0.html#labeled-tuple-elements) ```ts type Range = [start: number, end:...