Socket
Socket
Sign inDemoInstall

@cloudant/cloudant

Package Overview
Dependencies
73
Maintainers
5
Versions
183
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.5-SNAPSHOT.3 to 4.2.5-SNAPSHOT.4

4

CHANGES.md

@@ -0,1 +1,5 @@

# Unreleased
- [FIXED] Stopped constant token auto renewal in the absence of a cookie
header Max-Age
# 4.2.4 (2020-03-02)

@@ -2,0 +6,0 @@ - [FIXED] Pinned Nano to version 8.1 to resolve issue with extending upstream

2

lib/tokens/TokenManager.js

@@ -38,3 +38,3 @@ // Copyright © 2019 IBM Corp. All rights reserved.

debug(`Renewing token in ${delayMSecs} milliseconds.`);
setTimeout(this._autoRenew.bind(this), delayMSecs).unref();
setTimeout(this._autoRenew.bind(this, defaultMaxAgeSecs), delayMSecs).unref();
}).catch((error) => {

@@ -41,0 +41,0 @@ debug(`Failed to auto renew token - ${error}. Retrying in 60 seconds.`);

@@ -10,3 +10,3 @@ {

},
"version": "4.2.5-SNAPSHOT.3",
"version": "4.2.5-SNAPSHOT.4",
"author": {

@@ -13,0 +13,0 @@ "name": "IBM Cloudant",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc