summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-07fix(core): opAsync leaks a promise on type error (#15795)Aapo Alasuutari
2022-09-07feat(ext/ffi): Implement FFI fast-call trampoline with Dynasmrt (#15305)Arnau Orriols
2022-09-07test: fix bad resource fixture (#15792)Nayeem Rahman
2022-09-06perf(runtime): short-circuit `queue_async_op` for Poll::Ready (#15773)Divy Srivastava
2022-09-06fix(cli): Fix panic when providing invalid urls to --reload (#15784)Alexander Sage
2022-09-06fix(core): Register external references for imports to the SnapshotCreator ↵Giovanny Gutiérrez
(#15621) Several functions used for handling of dynamic imports and "import.meta" object were not registered as external references and caused V8 to crash during snapshotting. These functions are now registered as external refs and aborts are no longer happening.
2022-09-06fix(watch): ignore unload errors on drop (#15782)Nayeem Rahman
2022-09-06refactor(npm): reorganize remapping built-in Node modules to remote URLs ↵Bartek Iwańczuk
(#15755) Changes how built-in Node modules are mapped to polyfills from "deno_std". Instead of intertwining this logic into Node resolution logic, we map them to "NodeResolution::BuiltIn" which are remapped to "deno_std" URLs in ProcState.
2022-09-06fix(npm): conditional exports in npm: specifiers (#15778)Bartek Iwańczuk
2022-09-05chore: fix flaky stdout_write_all test (#15772)David Sherret
2022-09-05perf(runtime): flatten arguments for write_file ops (#15776)Divy Srivastava
2022-09-05refactor: cleanup Node compatibility code (#15766)Bartek Iwańczuk
- move errors related to Node compat from cli/node/errors.rs to "ext/node" crate - remove dependency on "node_resolver" crate - make some of structures private to the "cli/node" module
2022-09-05feat(ext/ffi): Support bool FFI type (#15754)Aapo Alasuutari
2022-09-04fix(cli): allow using file resource synchronously while being used async ↵David Sherret
(#15747)
2022-09-05fix(ops): use qualified borrow in op macro (#15769)sigmaSd
Fix https://github.com/denoland/deno/issues/15764 Use RefCell::borrow instead of state.borrow to avoid clash with std::borrow::Borrow
2022-09-04fix(bench): make sure bytes/response is equal (#15763)Divy Srivastava
2022-09-03BREAKING(unstable): remove --compat mode (#15678)Bartek Iwańczuk
This commit removes "compat" mode. We shipped support for "npm:" specifier support in v1.25 and that is preferred way to interact with Node code that we will iterate and improve upon.
2022-09-03fix(npm): add more context to errors when file doesn't exist (#15749)Bartek Iwańczuk
2022-09-03feat(info): add information about npm modules cache (#15750)Bartek Iwańczuk
2022-09-03chore: update devcontainer configuration (#15751)Bartek Iwańczuk
2022-09-02refactor: move JsError formatting to deno_runtime (#15345)Christian Dürr
This takes the existing `fmt_error` module from cli and puts it as a public module into `deno_runtime`.
2022-09-02refactor(test): grab runTests() and runBenchmarks() from __bootstrap (#15420)Nayeem Rahman
2022-09-02fix(npm): respect `latest` dist tag for getting current version (#15746)David Sherret
2022-09-02fix(init): suppress info logs when using quiet mode (#15741)Geert-Jan Zwiers
2022-09-02fix(ext/timers): create primordial `eval` (#15110)Garcia
2022-09-02fix(npm): correct exact matching of pre-release versions (#15745)David Sherret
2022-09-02refactor: extract out check code from emit (#15729)David Sherret
Closes #15535
2022-09-02feat(serde_v8): Support StringObject as unit enum variant (#15715)Jakub Łabor
2022-09-02fix(cli/repl): await Promise.any([])... (#15623)Jason
2022-09-02fix(repl): don't terminate on unhandled error events (#15548)Nayeem Rahman
2022-09-02chore: forward v1.25.1 release commit to main (#15735)denobot
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
2022-09-01refactor(core): Move optional callbacks from `JsRuntimeState` to ↵Andreu Botella
`ContextState` (#15599) The `JsRuntimeState` struct stores a number of JS callbacks that are used either in the event loop or when interacting with V8. Some of these callback fields are vectors of callbacks, and therefore could plausibly store at least one callback per realm. However, some of those fields are `Option<v8::Global<v8::Function>>`, which would make the callbacks set by a realm override the one that might have been set by a different realm. As it turns out, all of the current such optional callbacks (`js_promise_reject_cb`, `js_format_exception_cb` and `js_wasm_streaming_cb`) are only used from inside a realm, and therefore this change makes it so such callbacks can only be set from inside a realm, and will only affect that realm.
2022-09-01fix(serde_v8): no panic on reading large text file (#15494)Geert-Jan Zwiers
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2022-09-01fix(ext/ffi): Fix pointer types (#15730)Aapo Alasuutari
2022-09-01fix(npm): ignore npm cache directory creation errors (#15728)David Sherret
2022-09-01fix(npm): ignore the unstable error in the lsp (#15727)David Sherret
2022-09-01fix(npm): better node version and version requirement compatibility (#15714)David Sherret
2022-09-01fix(ext/flash): retry write failures (#15591)Divy Srivastava
2022-09-01feat(serde_v8): Serialize integers as BigInt (#15692)Jakub Łabor
2022-09-01perf(ext/web): flatten op arguments for text_encoding (#15723)Divy Srivastava
2022-09-01fix(serde_v8): update bytes::Bytes layout assumptions (#15718)Divy Srivastava
2022-09-01chore(serde_v8): take mutable reference in `ToV8::to_v8` (#15707)Divy Srivastava
2022-09-01feat(ops): support `v8::FastApiCallbackOptions` (#15721)Divy Srivastava
2022-09-01fix(check): --remote and --no-remote should be mutually exclusive (#14964)Geert-Jan Zwiers
2022-08-31chore: upgrade httparse to 1.8 (#15699)Bartek Iwańczuk
2022-08-31fix(npm): translate CJS to ESM with name clashes for files and dirs (#15697)Bartek Iwańczuk
2022-08-30fix(fmt): add the file path to the panic messages when formatting is ↵David Sherret
unstable (#15693)
2022-08-30fix(npm): prefer importing esm from esm (#15676)David Sherret
2022-08-30fix(npm): skip extracting pax_global_header from tarballs (#15677)Bartek Iwańczuk
2022-08-30fix(docs): add missing categories (#15684)Leo Kettmeir