1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-05 13:59:01 -05:00

add note about _isNpmAgent

This commit is contained in:
Yoshiya Hinosawa 2024-11-12 20:23:35 +09:00
parent bc44ae696d
commit b276d38671
No known key found for this signature in database
GPG key ID: 9017DB4559488785

View file

@ -1201,6 +1201,8 @@ export class Socket extends Duplex {
_host: string | null = null;
// deno-lint-ignore no-explicit-any
_parent: any = null;
// The flag for detecting if it's called in @npmcli/agent
// See discussions in https://github.com/denoland/deno/pull/25470 for more details.
_isNpmAgent = false;
autoSelectFamilyAttemptedAddresses: AddressInfo[] | undefined = undefined;