Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

heroku-client

Package Overview
Dependencies
Maintainers
4
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heroku-client - npm Package Compare versions

Comparing version 3.0.0-beta2 to 3.0.0-beta3

8

lib/request.js

@@ -146,3 +146,3 @@ 'use strict'

if (!this.retries) this.retries = 0
if (this.retries >= 7 || !this.isRetryAllowed(error)) return this.reject(error)
if (this.retries >= 4 || !this.isRetryAllowed(error)) return this.reject(error)
let noise = Math.random() * 100

@@ -243,3 +243,7 @@ setTimeout(() => this.request(), (1 << this.retries) * 1000 + noise)

err.statusCode = res.statusCode
err.body = this.parseBody(buffer)
try {
err.body = this.parseBody(buffer)
} catch (e) {
err.body = buffer
}

@@ -246,0 +250,0 @@ this.reject(err)

{
"name": "heroku-client",
"description": "A wrapper for the Heroku v3 API",
"version": "3.0.0-beta2",
"version": "3.0.0-beta3",
"author": "Jeff Dickey",

@@ -6,0 +6,0 @@ "bugs": {

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