Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-23 | feat(npm): support bare specifiers from package.json in more subcommands and ↵ | David Sherret | |
language server (#17891) | |||
2023-02-22 | refactor: use deno_graph for npm specifiers (#17858) | David Sherret | |
This changes npm specifiers to be handled by deno_graph and resolved to an npm package name and version when the specifier is encountered. It also slightly changes how npm specifier resolution occurs—previously it would collect all the npm specifiers and resolve them all at once, but now it resolves them on the fly as they are encountered in the module graph. https://github.com/denoland/deno_graph/pull/232 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-02-22 | fix(ext/ffi): Fix re-ref'ing UnsafeCallback (#17704) | Aapo Alasuutari | |
2023-02-22 | feat(ext/ffi): Replace pointer integers with v8::External objects (#16889) | Aapo Alasuutari | |
2023-02-22 | Revert "feat: Deprecate Deno.run API in favor of Deno.Command (#17630)" (#17875) | Ryan Dahl | |
Deno.Command needs to be stabilized first and allow people to upgrade to it before we can deprecate Deno.run. Otherwise lint will suddenly fail with deprecated errors without giving people a chance to update. | |||
2023-02-21 | chore: remove base64 encoding code from typescript snapshot (#17862) | David Sherret | |
This code is no longer used because we use swc for this now. | |||
2023-02-21 | fix(npm): improve peer dependency resolution (#17835) | David Sherret | |
This PR fixes peer dependency resolution to only resolve peers based on the current graph traversal path. Previously, it would resolve a peers by looking at a graph node's ancestors, which is not correct because graph nodes are shared by different resolutions. It also stores more information about peer dependency resolution in the lockfile. | |||
2023-02-16 | feat: Deprecate Deno.run API in favor of Deno.Command (#17630) | Bartek Iwańczuk | |
2023-02-15 | refactor: use deno_graph's semver and npm structs (#17791) | David Sherret | |
2023-02-15 | feat(flash): add 2nd param to handler to get remote address (#17633) | Leo Kettmeir | |
Closes #17583 | |||
2023-02-14 | feat: stabilize Deno.osUptime() (#17554) | Bartek Iwańczuk | |
This commit stabilizes "Deno.osUptime()" API. The "--unstable" flag is no longer required to use this API. | |||
2023-02-14 | chore(build): don't compress TSC snapshot in debug build (#17772) | Bartek Iwańczuk | |
Compressing the TSC snapshot in debug build took ~45s on M1 MacBook Pro; without compression it took ~1s. Thus we're not not using compressed snapshot, trading off a lot of build time for some startup time in debug build. | |||
2023-02-13 | feat: Stabilize Deno.Command API (#17628) | Bartek Iwańczuk | |
This commit stabilizes "Deno.Command" API with all its related APIs. "--unstable" flag is no longer required to use this API. | |||
2023-02-12 | fix: add WouldBlock error (#17339) | Leo Kettmeir | |
2023-02-11 | feat: add signal option to Deno.resolveDns (#17384) | Leo Kettmeir | |
Closes #14406 | |||
2023-02-11 | feat: add more variants to Deno.build.os (#17340) | Leo Kettmeir | |
Closes #14799 | |||
2023-02-10 | fix(dts): make Deno.Command accept readonly prop in options.args (#17718) | Kamil Ogórek | |
2023-02-09 | refactor: deno_graph 0.43 upgrade (#17692) | David Sherret | |
2023-02-05 | refactor: rename `deno` specifiers to `internal` (#17655) | Leo Kettmeir | |
2023-01-30 | chore: update webgpu (#17534) | Leo Kettmeir | |
2023-01-28 | docs: fix typos in `WriteFileOptions`'s JSDoc (#17507) | RA80533 | |
2023-01-27 | chore: upgrade to Rust 1.67 (#17548) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-01-25 | fix: remove leftover Deno.spawn references (#17524) | David Sherret | |
2023-01-25 | feat: Add sync APIs for "Deno.permissions" (#17019) | Asher Gomez | |
This commit adds sync versions of async APIs to "Deno.permissions" namespace. Following APIs were added: - "Deno.permissions.querySync" - "Deno.permissions.requestSync" - "Deno.permissions.revokeSync" | |||
2023-01-24 | feat: allow first arg in test step to be a function (#17096) | Leo Kettmeir | |
2023-01-24 | feat: support node built-in module imports (#17264) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2023-01-24 | feat(runtime/command): make stdin default to inherit for spawn() (#17334) | Leo Kettmeir | |
Closes #17230 | |||
2023-01-24 | refactor(deno_graph): remove unused Resolved::Ok#kind usage (#17504) | David Sherret | |
See https://github.com/denoland/deno_graph/pull/205 for more details. | |||
2023-01-20 | feat: Stabilize Deno.Listener.ref/unref (#17477) | Bartek Iwańczuk | |
2023-01-19 | feat(runtime): add bigint to seek typings (#17314) | Leo Kettmeir | |
2023-01-15 | chore: update std submodule and its imports (#17408) | Asher Gomez | |
2023-01-14 | refactor(tsc): do not store some typescript declaration file text in ↵ | David Sherret | |
multiple places (#17410) | |||
2023-01-12 | feat: allow passing a ReadableStream to Deno.writeFile/Deno.writeTextFile ↵ | Leo Kettmeir | |
(#17329) Closes #13229 | |||
2023-01-10 | fix(npm): allow to read package.json if permissions are granted (#17209) | Bartek Iwańczuk | |
This commit changes signature of "deno_core::ModuleLoader::resolve" to pass an enum indicating whether or not we're resolving a specifier for dynamic import. Additionally "CliModuleLoader" was changes to store both "parent permissions" (or "root permissions") as well as "dynamic permissions" that allow to check for permissions in top-level module load an dynamic imports. Then all code paths that have anything to do with Node/npm compat are now checking for permissions which are passed from module loader instance associated with given worker. | |||
2023-01-09 | feat(runtime/os): add `Deno.env.has()` (#17315) | Leo Kettmeir | |
2023-01-08 | feat(core): allow specifying name and dependencies of an Extension (#17301) | Leo Kettmeir | |
2023-01-08 | feat(ext/ffi): structs by value (#15060) | Dj | |
Adds support for passing and returning structs as buffers to FFI. This does not implement fastapi support for structs. Needed for certain system APIs such as AppKit on macOS. | |||
2023-01-05 | refactor(cli): clean up clones (#17268) | Geert-Jan Zwiers | |
2023-01-04 | chore(cli,ext,rt): remove some unnecessary `clone` or `malloc` (#17261) | Yiyu Lin | |
2023-01-03 | fix(declaration): change `Deno.open` example to not use `Deno.close(rid)` ↵ | David Sherret | |
(#17218) | |||
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-12-27 | feat(unstable): Add "Deno.osUptime()" API (#17179) | Kamil Ogórek | |
This PR adds support for `Deno.osUptime` which reports number of seconds since os was booted. It will allow us to be compatible with Node's `os.uptime` - https://nodejs.org/api/os.html#osuptime Partially based on https://docs.rs/uptime_lib/latest/src/uptime_lib/lib.rs.html | |||
2022-12-17 | chore: update to Rust 1.66.0 (#17078) | linbingquan | |
2022-12-15 | fix: re-add Response.json static method (#17061) | Leo Kettmeir | |
Same as #16040 | |||
2022-12-15 | Revert "feat(ops): Fast zero copy string arguments (#16777)" (#17063) | Bartek Iwańczuk | |
This reverts commit 9b2b8df927ac23cfa99016a684179f2a3198ba2e. Closes https://github.com/dsherret/ts-morph/issues/1372 Closes https://github.com/denoland/deno/issues/16979 | |||
2022-12-14 | fix: upgrade to TS 4.9.4 (#17048) | David Sherret | |
2022-12-13 | docs: use example & default tags (#17032) | Leo Kettmeir | |
2022-12-13 | feat: support `createNew` in `Deno.writeFile` (#17023) | Leo Kettmeir | |
2022-12-13 | fix: default to `"inherit"` for `Deno.Command#spawn()`'s `stdout` & `stderr` ↵ | Leo Kettmeir | |
(#17025) | |||
2022-12-09 | fix: respect the `--quiet` flag in more cases (#16998) | David Sherret | |