Socket
Socket
Sign inDemoInstall

nano

Package Overview
Dependencies
Maintainers
7
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nano - npm Package Compare versions

Comparing version 9.0.0 to 9.0.1

6

lib/nano.js

@@ -23,2 +23,4 @@ // Licensed under the Apache License, Version 2.0 (the 'License'); you may not

const AGENT_DEFAULTS = { keepAlive: true, maxSockets: 50, keepAliveMsecs: 30000 }
const defaultHttpAgent = new http.Agent(AGENT_DEFAULTS)
const defaultHttpsAgent = new https.Agent(AGENT_DEFAULTS)
const ChangesReader = require('./changesreader.js')

@@ -335,4 +337,4 @@

}
req.httpAgent = cfg.requestDefaults.agent || new http.Agent(AGENT_DEFAULTS)
req.httpsAgent = cfg.requestDefaults.agent || new https.Agent(AGENT_DEFAULTS)
req.httpAgent = cfg.requestDefaults.agent || defaultHttpAgent
req.httpsAgent = cfg.requestDefaults.agent || defaultHttpsAgent

@@ -339,0 +341,0 @@ // actually do the HTTP request

@@ -7,3 +7,3 @@ {

"repository": "http://github.com/apache/couchdb-nano",
"version": "9.0.0",
"version": "9.0.1",
"author": "Apache CouchDB <dev@couchdb.apache.org> (http://couchdb.apache.org)",

@@ -10,0 +10,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc