summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-03fix(ext/crypto): curve25519 import export (#16140)Filip Skokan
2022-10-03feat(unstable): add support for npm specifier cli arguments for 'deno cache' ↵Bartek Iwańczuk
(#16141) This commit adds support for npm specifier in "deno cache" subcommand. ``` $ deno cache --unstable npm:vite npm:chalk https://deno.land/std/http/file_server.ts ``` Besides downloading requested npm package(s), it will also download necessary code from "std/node/".
2022-10-03fix(npm): better error is version is specified after subpath (#16131)Bartek Iwańczuk
2022-10-03fix(npm): panic on invalid package name (#16123)Bartek Iwańczuk
2022-10-03docs(fs): add default info of `OpenOptions` (#16104)Hirotaka Tagawa / wafuwafu13
2022-10-03refactor(ext/fetch): avoid extra headers copy in .clone (#16130)Marcos Casagrande
2022-10-03chore(serde_v8): Use SeqAccess in MapObjectAccess to avoid intermediate ↵Jakub Łabor
allocation (#16137) Existing implementation builds an intermediate vector of object keys when deserializing using `MapObjectAccess`. This logic is already handled by `SeqAccess` which can be used directly by `MapObjectAccess`.
2022-10-03chore(ext/cache): make helper functions public (#16117)Satya Rohith
2022-10-03fix(ext/cache): close resource on error (#16129)Marcos Casagrande
2022-10-03fix(ext/crypto): fix importKey error when leading zeroes (#16009)李瑞丰
Co-authored-by: Jason <m.jason.liu@outlook.com>
2022-10-02fix(serde_v8): serialize objects with numeric keys correctly (#15946)Darshan Sen
Signed-off-by: Darshan Sen <raisinten@gmail.com>
2022-10-02fix(serde_v8): Implement MapAccess for StructAccess (#15962)Jakub Łabor
`StructAccess` implements` serde::de::SeqAccess` instead of `serde::de::MapAccess` thus interpreting structs as sequences.
2022-10-02fix(ext/cache): acquire reader lock before async op (#16126)Marcos Casagrande
2022-10-01fix(npm): handle json files in require (#16125)Bartek Iwańczuk
2022-10-01lsp: use deno:/asset instead of deno:asset (#16023)sigmaSd
Make offering "virtual documents" via the lsp easier to parse. `deno:` can be ambiguous to parse by editors (can conflict with linux paths) Neovim recently landed a PR https://github.com/neovim/neovim/pull/19797 that allows it to parse `scheme:/` this PR should make deno lsp work correctly in neovim
2022-10-01perf: node cjs & esm analysis cache (#16097)David Sherret
This commit adds a cache for CJS and ESM analysis that is backed by an SQLite file. The connection to the DB is lazily created on first use, so shouldn't have impact on the startup time. Benched with running Vite Deno v1.26: ``` $ deno task dev Warning deno task is unstable and may drastically change in the future Task dev deno run -A --unstable --node-modules-dir npm:vite VITE v3.1.4 ready in 961 ms ➜ Local: http://localhost:5173/ ➜ Network: use --host to expose ``` This branch: ``` ../deno/target/release/deno task dev Warning deno task is unstable and may drastically change in the future Task dev deno run -A --unstable --node-modules-dir npm:vite VITE v3.1.4 ready in 330 ms ➜ Local: http://localhost:5173/ ➜ Network: use --host to expose ``` Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-09-30test(cli): add test cases (#16091)skanehira
Fixes: https://github.com/denoland/deno/issues/16090
2022-09-30fix(ext/crypto): use correct handle for public keys (#16099)Colin Ihrig
When storing public and private keys in the key store, use a different handle for each key so that they can be looked up in the future. Refs: https://github.com/denoland/deno/pull/14119 Refs: https://github.com/denoland/deno_std/issues/2631
2022-09-30refactor(ext/http): remove op_http_read (#16096)Luca Casonato
We can use Resource::read_return & op_read instead. This allows HTTP request bodies to participate in FastStream. To make this work, `readableStreamForRid` required a change to allow non auto-closing resources to be handled. This required some minor changes in our FastStream paths in ext/http and ext/flash.
2022-09-30fix(runtime): no FastStream for unrefable streams (#16095)Luca Casonato
2022-09-29fix(ext/fetch): `Body#bodyUsed` for static body (#16080)Marcos Casagrande
This fixes a bug where `Body#bodyUsed` incorrectly returns `false` for a body that has actually already been consumed, after `Body#body` is called.
2022-09-29refactor(cli): use shared sys kind parser in flags.rs (#16087)Yoshiya Hinosawa
2022-09-29fix: move Deno.hostname() from denoNsUnstable to denoNs (#16086)TrickyPi
2022-09-29refactor(ext/cache): remove extra headers iteration in cache.put (#16078)Agustin Casagrande
2022-09-29chore(ext/flash): Enabling disabled windows tests (#16081)ayame113
2022-09-291.26.0denobot
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-09-28chore: improve JSDoc for built-in APIs (#16048)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-09-28fix(ext/flash): reregister socket on partial read on Windows (#16076)Divy Srivastava
2022-09-28chore: fix flaky integration::lint::compact (#16075)David Sherret
2022-09-28feat(ext/flash): add `reuseport` option on Linux (#16022)Divy Srivastava
2022-09-28feat(npm): functionality to support child_process.fork (#15891)David Sherret
2022-09-28feat(lint): add --compact flag for terse output (#15926)Brenley Dueck
2022-09-28chore(wpt): ignore some flaky tests (#16073)Bartek Iwańczuk
2022-09-28feat(core): add Deno.core.setPromiseHooks (#15475)Guilherme Bernal
2022-09-28feat: Stabilize Deno.hostname() API (#15932)Bartek Iwańczuk
2022-09-28feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797)Luca Casonato
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-09-28feat: add --allow-sys permission flag (#16028)Yoshiya Hinosawa
2022-09-28feat: implement Web Cache API (#15829)Satya Rohith
2022-09-28refactor(runtime): don't use destructuring assignment in JS code (#16050)Bartek Iwańczuk
2022-09-27fix(npm): use ntfs junctions in node_modules folder on Windows (#16061)David Sherret
2022-09-27chore(wpt): add ability to ignore a test file (#16056)Bartek Iwańczuk
2022-09-27feat: Add requesting API name to permission prompt (#15936)Bartek Iwańczuk
Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com>
2022-09-27feat: Stabilize Deno.refTimer() and Deno.unrefTimer() APIs (#16036)Bartek Iwańczuk
2022-09-27fix(cli/bench): strace numeric format (#16055)Marcos Casagrande
2022-09-27fix(cli/vendor): handle assert type json during vendoring (#16059)Sylvain Cau
2022-09-27fix(ext/fetch): blob url (#16057)Satya Rohith
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-09-27Revert "perf(cli): use -O3 instead of -Oz (#15952)" (#16053)Bartek Iwańczuk
This reverts commit 06c77a30f9c00a562ff2a34b96fe828e0d29a33f.
2022-09-27feat(ext/crypto): add x25519 and Ed25519 CFRG curves (#14119)Divy Srivastava
2022-09-27fix(runtime): refresh perm prompt 3 lines instead of 4 (#16049)Yoshiya Hinosawa
2022-09-27fix: TypeScript 4.8 update (#16040)Kitson Kelly