Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-06-26 | perf(ext/node): improve `Buffer.from(buffer)` (#24352) | ud2 | |
Benchmark code from #24341. ```shellsession $ deno run --allow-hrtime bench.mjs 6479.111583 $ target/release/deno run --allow-hrtime bench.mjs 962.753875 $ node bench.mjs 855.174875 ``` | |||
2024-06-26 | Revert "perf: improve Buffer.from(buf) by 29x" (#24351) | David Sherret | |
https://github.com/denoland/deno/pull/24341#discussion_r1655247367 Reverts denoland/deno#24341 | |||
2024-06-26 | perf: optimize Buffer.from("base64") for forgiving-base64 conforming input ↵ | Divy Srivastava | |
(#24346) | |||
2024-06-26 | perf: improve Buffer.from(buf) by 29x (#24341) | Divy Srivastava | |
2024-06-25 | fix(node): add missing readline/promises module (#24336) | Bartek Iwańczuk | |
Fixes https://github.com/jsr-io/jsr-npm/issues/91 | |||
2024-06-25 | feat: add module.parent (#24333) | snek | |
This field is deprecated but still used by the ecosystem, so let's just support it. | |||
2024-06-25 | fix(ext/node): ignore stream error during enqueue (#24243) | Satya Rohith | |
2024-06-24 | fix(ext/node): rewrite crypto.Hash (#24302) | Luca Casonato | |
Changes in this PR: - Added new fixed size hash algorithms (blake2b512, blake2s256, sha512-224, sha512-256, sha3-224, sha3-256, sha3-384, sha3-512, sm3) - Added variable size hash algorithms (the concept), with the algorithms shake128 and shake256 - Use cppgc instead of resources for the hasher - Enable Node's crypto.Hash tests and fix found bugs | |||
2024-06-24 | fix(ext/node): use primordials in `ext/node/polyfills/_fs/_fs_dir.ts` (#24319) | Asher Gomez | |
Towards #24236 --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> Co-authored-by: Satya Rohith <me@satyarohith.com> | |||
2024-06-24 | fix(ext/node): use primordials in `ext/node/polyfills/_fs/_fs_cp.js` (#24320) | Asher Gomez | |
Towards #24236 | |||
2024-06-24 | fix(ext/node): use primordials in `ext/node/polyfills/timers.ts` (#24311) | Asher Gomez | |
Towards #24236 | |||
2024-06-24 | fix(ext/node): use primordials in `ext/node/polyfills/testing.ts` (#24310) | Asher Gomez | |
Towards #24236 | |||
2024-06-23 | chore: use sha1 crate, not sha-1 (#24306) | Luca Casonato | |
2024-06-21 | fix(ext/node): add ServerResponse#appendHeader (#24216) | Divy Srivastava | |
2024-06-21 | Revert `#[cppgc] &mut T` usage (#24304) | Divy Srivastava | |
2024-06-21 | fix(ext/node): don't panic on invalid utf-8 in pem (#24303) | Luca Casonato | |
2024-06-21 | chore(ext/node): cleanup zlib state ops (#24300) | Divy Srivastava | |
2024-06-21 | chore(ext/node): cleanup net blocklist ops (#24299) | Divy Srivastava | |
2024-06-21 | fix(ext/node): use primordials in `ext/node/polyfills/string_decoder.ts` ↵ | Asher Gomez | |
(#24296) | |||
2024-06-21 | fix: upgrade deno_core to 0.291.0 (#24297) | Divy Srivastava | |
2024-06-20 | refactor(ext): remove use of `brotli::ffi` (#24214) | ud2 | |
2024-06-20 | fix(ext/node): use primordials in `ext/node/polyfills/_brotli.js` (#24235) | Asher Gomez | |
Towards #24236 | |||
2024-06-20 | fix(ext/node): use primordials in `ext/node/polyfills/_process/` (#24282) | Asher Gomez | |
2024-06-20 | fix(ext/node): use primordials in `ext/node/polyfills/_http_common.ts` (#24281) | Asher Gomez | |
2024-06-20 | fix(ext/node): use cppgc for node:zlib (#24267) | Divy Srivastava | |
2024-06-19 | fix: more node-api fixes (#24220) | snek | |
- add fallback impls of external string apis which always copy. after upstream changes to rusty_v8 we can support non-copying api as well. - `napi_get_buffer_data` needs to work on all TypedArray instances. - Fixes: https://github.com/denoland/deno/issues/24209 - `target_defaults.default_configuration` is used by some modules to find the corresponding node file from node-gyp - `node_api_get_module_filename` expects the filename to be a `file:` url. | |||
2024-06-19 | chore: forward v1.44.4 release commit to main (#24271) | denobot | |
This is the release commit being forwarded back to main for 1.44.4 Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com> | |||
2024-06-19 | Revert "chore: upgrade to reqwest 0.12.4 and rustls 0.22 (#24056)" (#24262) | Bartek Iwańczuk | |
This reverts commit fb31eaa9ca59f6daaee0210d5cd206185c7041b9. Reverting because users reported spurious errors when downloading dependencies - https://github.com/denoland/deno/issues/24260. Closes https://github.com/denoland/deno/issues/24260 | |||
2024-06-19 | fix(ext/node): use primordials in `ext/node/polyfills/_utils.ts` (#24253) | Asher Gomez | |
2024-06-19 | fix(ext/node): Add Dirent.path and Dirent.parentPath (#24257) | Divy Srivastava | |
2024-06-19 | chore: forward v1.44.3 release commit to main (#24256) | denobot | |
This is the release commit being forwarded back to main for 1.44.3 Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2024-06-18 | perf(node): ensure cjs wrapper module has deterministic output (#24248) | David Sherret | |
2024-06-18 | fix(ext/node): make process.versions own property (#24240) | Divy Srivastava | |
2024-06-18 | feat(ext/node): add BlockList & SocketAddress classes (#24229) | Satya Rohith | |
Closes https://github.com/denoland/deno/issues/24059 | |||
2024-06-15 | fix(ext/node): better support for `node:diagnostics_channel` module (#24088) | Bartek Iwańczuk | |
Closes https://github.com/denoland/deno/issues/24060 | |||
2024-06-14 | chore: upgrade to rust 1.79 (#24207) | Satya Rohith | |
2024-06-14 | fix(ext/node): `server.close()` does graceful shutdown (#24184) | Divy Srivastava | |
2024-06-13 | chore: upgrade to reqwest 0.12.4 and rustls 0.22 (#24056) | Bartek Iwańczuk | |
This commit updates Deno to use `reqwest` at 0.12.4 and `rustls` at 0.22. Other related crates were updated as well to match versions accepted by `reqwest` and `rustls`. Note: we are not using the latest available `rustls` yet, but this upgrade was non-trivial already, so a bump to 0.23 for `rustls` will be done in a separate commit. Closes #23370 --------- Signed-off-by: Ryan Dahl <ry@tinyclouds.org> Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
2024-06-13 | chore(ext/node): remove old vm ops (#24187) | Divy Srivastava | |
Unused; before the recent rewrite of node:vm | |||
2024-06-13 | chore: forward v1.44.2 release commit to main (#24194) | denobot | |
Co-authored-by: nathanwhit <nathanwhit@users.noreply.github.com> | |||
2024-06-12 | fix(ext/node): fix vm memory usage and context initialization (#23976) | Divy Srivastava | |
Fixes https://github.com/denoland/deno/issues/22441 Fixes https://github.com/denoland/deno/issues/23913 Fixes https://github.com/denoland/deno/issues/23852 Fixes https://github.com/denoland/deno/issues/23917 | |||
2024-06-11 | chore: upgrade deno_core (#24146) | Divy Srivastava | |
With changes for https://github.com/denoland/deno_core/pull/778 | |||
2024-06-11 | chore: sync up Node.js test files for v20.11.1 (#24066) | Bartek Iwańczuk | |
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2024-06-11 | fix(ext/node): ServerResponse header array handling (#24149) | Luca Casonato | |
Previously res.setHeader("foo", ["bar", "baz"]) added a single header with a value of `bar,baz`. Really this should add two separate headers. This is visible in `set-cookie` for example. | |||
2024-06-10 | fix: Rewrite Node-API (#24101) | snek | |
Phase 1 node-api rewrite | |||
2024-06-10 | fix(ext/node): send data frame with end_stream flag on _final call (#24147) | Satya Rohith | |
2024-06-08 | fix(check): attempt to resolve types from pkg before `@types` pkg (#24152) | David Sherret | |
I've been meaning to fix this for ages, but I finally ran into it here: https://github.com/dsherret/ts-ast-viewer/actions/runs/9432038675/job/25981325408 We need to resolve the `@types` package as a fallback instead of eagerly resolving it. | |||
2024-06-09 | fix(ext/node): add crypto and zlib constants (#24151) | Luca Casonato | |
2024-06-09 | fix(ext/net): make node:http2 work with DENO_FUTURE=1 (#24144) | Bartek Iwańczuk | |
2024-06-08 | fix(ext/node): lossy UTF-8 read node_modules files (#24140) | Luca Casonato | |
Previously various reads of files in `node_modules` would error on invalid UTF-8. These were cases involving: - reading package.json from Rust - reading package.json from JS - reading CommonJS files from JS - reading CommonJS files from Rust (for ESM translation) - reading ESM files from Rust |