1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/tests
Yoshiya Hinosawa d59599fc18
fix(ext/node): fix dns.lookup result ordering (#26264)
partially unblocks #25470

This PR aligns the resolution of `localhost` hostname to Node.js
behavior.

In Node.js `dns.lookup("localhost", (_, addr) => console.log(addr))`
prints ipv6 address `::1`, but it prints ipv4 address `127.0.0.1` in
Deno. That difference causes some errors in the work of enabling
`createConnection` option in `http.request` (#25470). This PR fixes the
issue by aligning `dns.lookup` behavior to Node.js.

This PR also changes the following behaviors (resolving TODOs):
- `http.createServer` now listens on ipv6 address `[::]` by default on
linux/mac
- `net.createServer` now listens on ipv6 address `[::]` by default on
linux/mac

These changes are also alignments to Node.js behaviors.
2024-10-16 20:58:44 +09:00
..
config chore: use @std prefix for internal module specifiers (#24543) 2024-07-25 10:26:54 +10:00
ffi feat: suggest deno install --entrypoint instead of deno cache (#25228) 2024-09-18 19:55:50 +00:00
integration chore: upgrade to rust 1.81.0 (#26261) 2024-10-15 21:40:07 +05:30
napi fix: node-api function call should use preamble (#26297) 2024-10-16 10:30:19 +00:00
node_compat fix(ext/node): implement TCP.setNoDelay (#26263) 2024-10-15 14:47:12 +05:30
registry feat(npm): support --allow-scripts on deno run (and deno add, deno test, etc) (#26075) 2024-10-12 12:14:32 -07:00
specs fix(cli): consolidate pkg parser for install & remove (#26298) 2024-10-16 09:20:41 +00:00
testdata fix: do not panic running remote cjs module (#26259) 2024-10-15 03:57:31 +00:00
unit fix(console/ext/repl): support using parseFloat() (#25900) 2024-10-14 15:04:18 -07:00
unit_node fix(ext/node): fix dns.lookup result ordering (#26264) 2024-10-16 20:58:44 +09:00
util chore: update std submodule (#25595) 2024-09-12 22:32:09 +10:00
wpt fix: disable same-origin.html WPT (#26067) 2024-10-08 06:15:28 -07:00
Cargo.toml feat: improve lockfile v4 to store normalized version constraints and be more terse (#25247) 2024-08-28 14:17:47 -04:00
lib.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
README.md chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00

Deno Integration Tests