🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@npmcli/agent

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/agent - npm Package Compare versions

Comparing version
5.0.1
to
5.0.2
+10
-0
lib/agents.js

@@ -164,2 +164,12 @@ 'use strict'

keepSocketAlive (socket) {
const keepAlive = super.keepSocketAlive(socket)
if (keepAlive && this.#timeouts.idle) {
socket.setTimeout(this.#timeouts.idle)
}
return keepAlive
}
addRequest (request, options) {

@@ -166,0 +176,0 @@ const proxy = this.#getProxy(options)

+3
-3
{
"name": "@npmcli/agent",
"version": "5.0.1",
"version": "5.0.2",
"description": "the http/https agent used by the npm cli",

@@ -32,3 +32,3 @@ "main": "lib/index.js",

"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "5.1.0",
"version": "5.1.1",
"publish": "true",

@@ -46,3 +46,3 @@ "updateNpm": false

"@npmcli/eslint-config": "^7.0.0",
"@npmcli/template-oss": "5.1.0",
"@npmcli/template-oss": "5.1.1",
"ip-address": "^10.1.0",

@@ -49,0 +49,0 @@ "minipass-fetch": "^6.0.0",