1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-19 04:16:00 -05:00
denoland-deno/tests
Yoshiya Hinosawa 2091691164
fix(ext/node): apply @npmcli/agent workaround to npm-check-updates (#27639)
See the comment
https://github.com/denoland/deno/pull/25470#issuecomment-2435077722 for
the reason why we do this workaround to make `make-fetch-happen` work in
Deno

This PR applies the same workaround to `npm-check-updates` package.
`npm-check-updates` internally uses
[`npm-registry-fetch`](https://www.npmjs.com/package/npm-registry-fetch)
which uses
[`make-fetch-happen`](https://www.npmjs.com/package/make-fetch-happen)
(the problematic package) for making http request to npm registry.

The detection of `make-fetch-happen` doesn't work for
`npm-check-updates` because we use call stack at `net.Socket`
constructor to check if it's called from `make-fetch-happen`, but
`npm-check-updates` bundles its dependency and the check doesn't work.

This PR adds the check of `npm-check-updates` string in call stack in
net.Socket constructor to trigger the workaroud.

closes #27629
2025-01-13 18:11:26 +09:00
..
config chore: use @std prefix for internal module specifiers (#24543) 2024-07-25 10:26:54 +10:00
ffi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
integration fix(lsp/check): don't resolve unknown media types to a .js extension (#27631) 2025-01-11 03:26:01 +00:00
napi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
node_compat test(ext/node): disable flaky dgram tests (#27549) 2025-01-06 23:18:45 +01:00
registry fix(ext/node): apply @npmcli/agent workaround to npm-check-updates (#27639) 2025-01-13 18:11:26 +09:00
specs fix(ext/node): apply @npmcli/agent workaround to npm-check-updates (#27639) 2025-01-13 18:11:26 +09:00
testdata fix(lsp): use verbatim specifier for URL auto-imports (#27605) 2025-01-09 17:54:14 +00:00
unit fix(ext/websocket): Fix close code without reason (#27578) 2025-01-08 20:07:47 +05:30
unit_node feat(node/fs): Add a chmod method to the FileHandle class (#27522) 2025-01-07 14:58:14 +01:00
util fix(lsp): css preprocessor formatting (#27526) 2025-01-02 13:31:47 +00:00
wpt chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
Cargo.toml chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
lib.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
README.md chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00

Deno Integration Tests