Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-17 | fix(core): poll async ops eagerly (#12385) | Bert Belder | |
Currently all async ops are polled lazily, which means that op initialization code is postponed until control is yielded to the event loop. This has some weird consequences, e.g. ```js let listener = Deno.listen(...); let conn_promise = listener.accept(); listener.close(); // `BadResource` is thrown. A reasonable error would be `Interrupted`. let conn = await conn_promise; ``` JavaScript promises are expected to be eagerly evaluated. This patch makes ops actually do that. | |||
2021-10-17 | chore(cli/tests): fix flaky fs watcher tests (#12385) | Bert Belder | |
On OS X, the watcher sometimes witnesses the creation of it's own root directory. Creating that directory using a sync op instead of an async op sidesteps the issue. | |||
2021-10-16 | fix: fmt should not remove parens around sequence expressions (#12461) | David Sherret | |
2021-10-14 | fix(cli): re-enable allowSyntheticDefaultImports for tsc (#12435) | Kitson Kelly | |
Fixes #12434 | |||
2021-10-14 | fix(cli/tests): move worker test assertions out of message handlers (#12439) | Nayeem Rahman | |
2021-10-14 | fix(console): fix display of primitive wrapper objects (#12425) | Kenta Moriuchi | |
2021-10-13 | fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) | Nayeem Rahman | |
2021-10-13 | chore: test for bundling export specifier with alias (#12421) | David Sherret | |
2021-10-13 | chore: fix flaky steps_invalid_usage tests (#12422) | David Sherret | |
2021-10-13 | 1.15.1 | David Sherret | |
2021-10-12 | fix: bundler should have a hygiene pass (#12418) | David Sherret | |
2021-10-12 | fix: --no-check not properly handling code nested in TS expressions (#12416) | David Sherret | |
2021-10-12 | 1.15.0 | Satya Rohith | |
2021-10-12 | chore: bump crate version for 1.15.0 (#12406) | Satya Rohith | |
2021-10-12 | chore: upgrade crates based on deno ast 0.3 (#12403) | David Sherret | |
2021-10-12 | feat(ext/crypto): implement deriveKey (#12117) | Divy Srivastava | |
2021-10-12 | fix(lsp): lint diagnostics respect config file (#12338) | Bartek Iwańczuk | |
This commit fixes problem with LSP where diagnostics coming from "deno lint" don't respect configuration file. LSP was changed to store "Option<ConfigFile>", "Option<LintConfig>" and "Option<FmtConfig>" on "Inner"; as well as storing "Option<LintConfig>" and "Option<FmtConfig>" on "StateSnapshot". Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-10-11 | perf(webidl): inline ResponseInit converter (#12285) | Aaron O'Mullan | |
2021-10-11 | feat(compat): pin specific version of std/node (#12396) | Bartek Iwańczuk | |
2021-10-11 | fix(runtime): Declare `Window.self` and `DedicatedWorkerGlobalScope.name` ↵ | Andreu Botella | |
with `util.writable()` (#12378) `Window`'s `self` property and `DedicatedWorkerGlobalScope`'s `name` property are defined as Web IDL read-only attributes with the `[Replaceable]` extended attribute, meaning that their setter will redefine the property as a data property with the set value, rather than changing some internal state. Deno currently defines them as read-only data properties instead. Given that Web IDL requires all attributes to be accessor properties rather than data properties, but Deno exposes almost all of those properties as either read-only or writable data properties, it makes sense to expose `[Replaceable]` properties as writable as well – as is already the case with `WindowOrWorkerGlobalScope`'s `performance` property. | |||
2021-10-11 | fix(http): don't expose body on GET/HEAD requests (#12260) | Luca Casonato | |
GET/HEAD requests can't have bodies according to `fetch` spec. This commit changes the HTTP server to hide request bodies for requests with GET or HEAD methods. | |||
2021-10-11 | feat: provide ops details for ops sanitizer failures (#12188) | Casper Beyer | |
2021-10-11 | feat(ext/crypto): implement AES-CBC encryption & decryption (#12123) | Divy Srivastava | |
* initial stuff * stuff * merge stuff * cleanup * fmt * length * update lockfile * decrypt * fixy * clippy hello? * hmm * fixs * fix lint * add AesCbcParams * fixes * fixy * lockfile fixy * fix dumb assertions * re run CI * rerun CI * rerun CI | |||
2021-10-11 | feat(unstable/test): imperative test steps API (#12190) | David Sherret | |
2021-10-11 | feat(runtime): improve error messages of runtime fs (#11984) | Feng Yu | |
This commit annotates errors returned from FS Deno APIs to include paths that were passed to the API calls. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-10-11 | fix(ext/ffi): types for nonblocking FFI (#12345) | Divy Srivastava | |
2021-10-11 | refactor: integrate deno_graph into CLI (#12369) | Kitson Kelly | |
2021-10-10 | refactor(metrics): move to core (#12386) | Aaron O'Mullan | |
Avoids overhead of wrapping ops (and allocs when inspecting async-op futures) | |||
2021-10-10 | bench(deno_common): track void ops (#12389) | Aaron O'Mullan | |
To track overhead through the entire CLI opcall stack (metrics included, etc...) | |||
2021-10-10 | feat: Show the URL of streaming WASM modules in stack traces (#12268) | Andreu Botella | |
WebAssembly modules compiled through `WebAssembly.compile()` and similar non-streaming APIs don't have a URL associated to them, because they have been compiled from a buffer source. In stack traces, V8 will use a URL such as `wasm://wasm/d1c677ea`, with a hash of the module. However, wasm modules compiled through streaming APIs, like `WebAssembly.compileStreaming()`, do have a known URL, which can be obtained from the `Response` object passed into the streaming APIs. And as per the developer-facing display conventions in the WebAssembly Web API spec, this URL should be used in stack traces. This change implements that. | |||
2021-10-10 | feat: Stabilize Deno.kill and Deno.Process.kill (#12375) | Ryan Dahl | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-10-10 | test: remove duplicate import (#12374) | Feng Yu | |
2021-10-10 | feat: stabilize Deno.resolveDns (#12368) | Satya Rohith | |
2021-10-10 | feat(ext/net): relevant errors for resolveDns (#12370) | Satya Rohith | |
2021-10-08 | feat(ext/crypto): implement deriveBits for ECDH (p256) (#11873) | Divy Srivastava | |
2021-10-08 | feat(compat): inject Node globals in REPL (#12352) | Bartek Iwańczuk | |
2021-10-08 | feat(runtime): allow passing extensions via Worker options (#12362) | Aaron O'Mullan | |
2021-10-08 | fix(ext/ffi): missing "buffer" type definitions (#12371) | Divy Srivastava | |
2021-10-07 | tests: make worker test deterministic (#12361) | Nayeem Rahman | |
2021-10-07 | feat(core): cleaner opcall stack traces (#12358) | Aaron O'Mullan | |
2021-10-07 | fix(runtime): don't equate SIGINT to SIGKILL on Windows (#12356) | Bert Belder | |
2021-10-06 | Revert "fix(cli): ensure empty lines don't count towards coverage (#11957)" ↵ | Bartek Iwańczuk | |
(#12348) This reverts commit d5b38a992933db5cb2d0221e9d82af191022dad5. | |||
2021-10-06 | feat(compat): inject Node globals (#12342) | Bartek Iwańczuk | |
This commit adds automatic injection of Node globals when "--compat" flag is present. This is done by executing "https://deno.land/std/node/global.ts" as a "side module", before main module is executed. This commit makes "--compat" required to be used with "--unstable" flag, as some of Node globals require unstable Deno APIs. | |||
2021-10-06 | feat(ext/crypto): export spki for RSA (#12114) | Divy Srivastava | |
2021-10-06 | fix(cli): ensure empty lines don't count towards coverage (#11957) | Casper Beyer | |
2021-10-05 | Remove some unused benchmarks (#12315) | Ryan Dahl | |
2021-10-06 | feat(compat): add support for node: prefixed built-ins (#12337) | Bartek Iwańczuk | |
Adds support for "node:" prefix for Node built-ins in "--compat" mode. As per https://nodejs.org/api/esm.html#esm_node_imports | |||
2021-10-05 | feat(lint): add support for --watch flag (#11983) | CGQAQ | |
2021-10-05 | refactor(runtime): Worker bootstrap options (#12299) | Aaron O'Mullan | |
2021-10-05 | chore: various op cleanup (#12329) | Leo K | |