Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-02 | fix(ext/node): Add `fs.lutimes` / `fs.lutimesSync` (#23172) | Nathan Whitaker | |
Part of #18218 - Adds `fs.lutimes` and `fs.lutimesSync` to our node polyfills. To do this I added methods to the `FileSystem` trait + ops to expose the functionality to JS. - Exports `fs._toUnixTimestamp`. Node exposes an internal util `toUnixTimestamp` from the fs module to be used by unit tests (so we need it for the unit test to pass unmodified). It's weird because it's only supposed to be used internally but it's still publicly accessible - Matches up error handling and timestamp handling for fs.futimes and fs.utimes with node - Enables the node_compat utimes test - this exercises futimes, lutimes, and utimes. | |||
2024-07-02 | fix(compile): prevent setting unstable feature twice (#24381) | HasanAlrimawi | |
Prevent panic when enabling a feature that is already enabled by removing duplicate features. Closes #22015 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2024-07-03 | refactor(jupyter): move ZeroMQ server to a separate thread (#24373) | Bartek Iwańczuk | |
Moves the ZeroMQ messaging server to a separate thread. This will allow to run blocking JS code and maintain communication with the notebook frontend. Towards https://github.com/denoland/deno/pull/23592 Towards https://github.com/denoland/deno/pull/24250 Closes https://github.com/denoland/deno/issues/23617 | |||
2024-07-02 | feat(cli): Add `--frozen` flag to error out if lockfile is out of date (#24355) | Nathan Whitaker | |
Closes #18296. Adds a `--frozen` (alias `--frozen-lockfile`) flag that errors out if the lockfile is out of date. This is useful for running in CI (where an out of date lockfile is usually a mistake) or to prevent accidental changes in dependencies.  | |||
2024-07-02 | fix(ext/web): use primordials of ES2024 ArrayBuffer transfer (#24396) | Kenta Moriuchi | |
Ref: https://github.com/denoland/deno_core/issues/135 | |||
2024-07-02 | feat(ext/web): add `Blob.prototype.bytes()` (#24148) | Kenta Moriuchi | |
2024-07-02 | chore: upgrade to reqwest 0.12.4 and rustls 0.22 (#24388) | Bartek Iwańczuk | |
Reland of https://github.com/denoland/deno/pull/24056 that doesn't suffer from the problem that was discovered in https://github.com/denoland/deno/pull/24261. It uses upgraded `hyper` and `hyper-util` that fixed the previous problem in https://github.com/hyperium/hyper/pull/3691. | |||
2024-07-02 | fix(compile): atomically write compile output (#24378) | Heyang Zhou | |
Atomically write `deno compile` output file so we won't get a partially written ELF/PE file, and prevents corrupting running processes. | |||
2024-07-01 | feat: upgrade deno_core (#24364) | snek | |
- Symbol.asyncDispose no longer needs to be polyfilled - assorted updates for cppgc api changes | |||
2024-07-02 | fix(ext/node): add Symbol.toStringTag to KeyObject instances (#24377) | Filip Skokan | |
As per https://github.com/nodejs/node/pull/46043, this adds Symbol.toStringTag getter to KeyObject. | |||
2024-07-01 | fix(windows): check USERPROFILE env var for finding home directory (#24384) | David Sherret | |
2024-07-01 | fix(lsp): use CliLockfile (#24387) | Bartek Iwańczuk | |
The build broke in https://github.com/denoland/deno/pull/24365. | |||
2024-07-01 | fix(lsp): respect lockfile redirects entries for resolution (#24365) | Nayeem Rahman | |
2024-07-01 | BREAKING(unstable/ffi): remove callback reentrant flag (#24367) | Divy Srivastava | |
Closes https://github.com/denoland/deno/issues/22947 This option is no longer needed as fast calls are now allowed to re-enter the isolate | |||
2024-06-28 | refactor(cli): Create wrapper around `deno_lockfile::Lockfile` (#24366) | Nathan Whitaker | |
As suggested in https://github.com/denoland/deno/pull/24355#discussion_r1657875422. I wasn't able to hide the mutex stuff as much as I'd like (ended up just adding an escape hatch `inner()` method that locks the inner mutex), because you can't return references to the inner fields through a mutex. This is mostly motivated by the frozen lockfile changes | |||
2024-06-28 | fix(lsp): don't use global cache paths for scope allocation (#24353) | Nayeem Rahman | |
2024-06-28 | chore: update deno_doc (#24308) | Leo Kettmeir | |
2024-06-27 | fix(ext/node): make next tick queue resilient to `Array.prototype` tampering ↵ | ud2 | |
(#24361) Closes #24358. | |||
2024-06-26 | feat(lsp): ts language service scopes (#24345) | Nayeem Rahman | |
2024-06-27 | fix(ext/node): discover .npmrc in user's homedir (#24021) | Bartek Iwańczuk | |
This commit adds discovery of `.npmrc` files in user's homedir. This is not a perfect fix as it doesn't merge multiple `.npmrc` files together as per https://github.com/denoland/deno/issues/23954 but allows to fallback if no `.npmrc` file is discovered in the project root. | |||
2024-06-26 | refactor: move PackageJson to deno_config (#24348) | David Sherret | |
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-26 | refactor: bump deno_graph to 0.79 (#24337) | David Sherret | |
No fixes in this to my knowledge. Just an upgrade. The functionality here will be used in a different PR. | |||
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/websocket): drop connection when close frame not ack (#24301) | Divy Srivastava | |
Fixes #24292 | |||
2024-06-25 | fix(ext/node): ignore stream error during enqueue (#24243) | Satya Rohith | |
2024-06-25 | test(node_compat): enable more stream-writable tests (#24328) | 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 | docs(cli): remove trailing slash from `import.meta.dirname` expected output ↵ | Asher Gomez | |
(#24295) | |||
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 | perf(ext/websocket): avoid global interceptor overhead (#24284) | Divy Srivastava | |