Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-06 | fix(build): don't export all symbols to dynamic symbol table (#16171) | Divy Srivastava | |
Currently, we use `-rdynamic` for exporting Node API symbols to the symbol table. `-rdynamic` will export *all* symbols, that means previously unused functions will not be optimized away introducing a lot of binary bloat. This patch uses `-exported_symbol` and `--export-dynamic-symbol` link flags (not as universal as `-rdynamic`) to only mark Node API symbols to be put in the dynamic symbol table. | |||
2022-10-05 | fix(node): add dns/promises and stream/consumers (#16169) | David Sherret | |
2022-10-05 | feat(npm): implement Node API (#13633) | Divy Srivastava | |
This PR implements the NAPI for loading native modules into Deno. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: DjDeveloper <43033058+DjDeveloperr@users.noreply.github.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2022-10-05 | fix(ext/cache): prevent cache insert if body is not fully written (#16138) | Marcos Casagrande | |
2022-10-05 | fix(ext/flash): Avoid sending Content-Length when status code is 204 (#15901) | ayame113 | |
Currently Content-Length is sent when the status code is 204. However, according to the spec, this should not be sent. Modify the if statement below to prevent the Content-Length from being sent. | |||
2022-10-04 | refactor: remove old Node compat code (#16142) | Bartek Iwańczuk | |
This code was introduced in 808f797633ba82c0e9198481ddd742284a03cb9c and was needed for "compat mode". Since "compat mode" was removed in v1.26, this code is no longer needed. | |||
2022-10-04 | perf(ext/fetch): consume body using ops (#16038) | Marcos Casagrande | |
This commit adds a fast path to `Request` and `Response` that make consuming request bodies much faster when using `Body#text`, `Body#arrayBuffer`, and `Body#blob`, if the body is a FastStream. Because the response bodies for `fetch` are FastStream, this speeds up consuming `fetch` response bodies significantly. | |||
2022-10-04 | chore: remove 'fix_exotic_specifier' test (#16143) | Bartek Iwańczuk | |
It's a test that's been flaky for a week, and after offline discussion, we're no longer sure what it's testing. | |||
2022-10-04 | fix(ext/crypto): interoperable import/export (#16153) | Filip Skokan | |
This PR updates RSA key import/export to a state which is interoperable with other implementations. For RSA the only OID in and out is `rsaEncryption`. For EC the only OID in and out is `id-ecpublickey` (fixed in #16152). see https://github.com/w3c/webcrypto/issues/307#issuecomment-995813032 see https://github.com/w3c/webcrypto/issues/307 see https://github.com/w3c/webcrypto/pull/305 see https://github.com/nodejs/node/pull/42816 | |||
2022-10-04 | fix(ext/crypto): ecdh spki key import/export roundtrip (#16152) | Filip Skokan | |
2022-10-03 | fix(ext/crypto): deriveBits for ECDH not taking length into account (#16128) | Aurélien Bertron | |
Fixes #16047 | |||
2022-10-03 | feat(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-03 | fix(npm): better error is version is specified after subpath (#16131) | Bartek Iwańczuk | |
2022-10-03 | fix(npm): panic on invalid package name (#16123) | Bartek Iwańczuk | |
2022-10-03 | docs(fs): add default info of `OpenOptions` (#16104) | Hirotaka Tagawa / wafuwafu13 | |
2022-10-03 | chore(ext/cache): make helper functions public (#16117) | Satya Rohith | |
2022-10-03 | fix(ext/cache): close resource on error (#16129) | Marcos Casagrande | |
2022-10-03 | fix(ext/crypto): fix importKey error when leading zeroes (#16009) | 李瑞丰 | |
Co-authored-by: Jason <m.jason.liu@outlook.com> | |||
2022-10-02 | fix(ext/cache): acquire reader lock before async op (#16126) | Marcos Casagrande | |
2022-10-01 | fix(npm): handle json files in require (#16125) | Bartek Iwańczuk | |
2022-10-01 | lsp: 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-01 | perf: 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-30 | test(cli): add test cases (#16091) | skanehira | |
Fixes: https://github.com/denoland/deno/issues/16090 | |||
2022-09-29 | fix(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-29 | refactor(cli): use shared sys kind parser in flags.rs (#16087) | Yoshiya Hinosawa | |
2022-09-29 | chore(ext/flash): Enabling disabled windows tests (#16081) | ayame113 | |
2022-09-29 | 1.26.0 | denobot | |
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-09-28 | chore: improve JSDoc for built-in APIs (#16048) | Kitson Kelly | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-09-28 | fix(ext/flash): reregister socket on partial read on Windows (#16076) | Divy Srivastava | |
2022-09-28 | chore: fix flaky integration::lint::compact (#16075) | David Sherret | |
2022-09-28 | feat(ext/flash): add `reuseport` option on Linux (#16022) | Divy Srivastava | |
2022-09-28 | feat(npm): functionality to support child_process.fork (#15891) | David Sherret | |
2022-09-28 | feat(lint): add --compact flag for terse output (#15926) | Brenley Dueck | |
2022-09-28 | feat(core): add Deno.core.setPromiseHooks (#15475) | Guilherme Bernal | |
2022-09-28 | feat: Stabilize Deno.hostname() API (#15932) | Bartek Iwańczuk | |
2022-09-28 | feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797) | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-09-28 | feat: add --allow-sys permission flag (#16028) | Yoshiya Hinosawa | |
2022-09-28 | feat: implement Web Cache API (#15829) | Satya Rohith | |
2022-09-27 | fix(npm): use ntfs junctions in node_modules folder on Windows (#16061) | David Sherret | |
2022-09-27 | feat: Stabilize Deno.refTimer() and Deno.unrefTimer() APIs (#16036) | Bartek Iwańczuk | |
2022-09-27 | fix(cli/bench): strace numeric format (#16055) | Marcos Casagrande | |
2022-09-27 | fix(cli/vendor): handle assert type json during vendoring (#16059) | Sylvain Cau | |
2022-09-27 | fix(ext/fetch): blob url (#16057) | Satya Rohith | |
Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2022-09-27 | feat(ext/crypto): add x25519 and Ed25519 CFRG curves (#14119) | Divy Srivastava | |
2022-09-27 | fix: TypeScript 4.8 update (#16040) | Kitson Kelly | |
2022-09-26 | chore: use Rust 1.64.0 (#16035) | Mathias Lafeldt | |
2022-09-26 | perf(ext/fetch): use content-length in InnerBody.consume (#15925) | Marcos Casagrande | |
This fast path prevents repeated allocations when receiving a fetch body with a known size. Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2022-09-26 | fix(fmt): keep type args in type queries and keep empty array expr element's ↵ | David Sherret | |
trailing comma (#16034) | |||
2022-09-26 | fix(ext/console): fix error when logging a proxied Date (#16018) | 李瑞丰 | |
2022-09-26 | perf(ext/console): break on iterableLimit & better sparse array handling ↵ | Marcos Casagrande | |
(#15935) |