Socket
Socket
Sign inDemoInstall

heroku-client

Package Overview
Dependencies
14
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.9.0 to 1.9.1

.package.json.un~

2

lib/request.js

@@ -92,3 +92,3 @@ 'use strict';

defaultRequestOptions = {
auth: ':' + this.options.token,
auth: this.options.auth || ':' + this.options.token,
method: this.options.method || 'GET',

@@ -95,0 +95,0 @@ headers: headers

{
"name": "heroku-client",
"version": "1.9.0",
"version": "1.9.1",
"description": "A wrapper for the Heroku v3 API",

@@ -5,0 +5,0 @@ "main": "./lib/heroku.js",

@@ -179,2 +179,9 @@ 'use strict';

it('uses auth if provided explicitly', function(done) {
makeRequest('/apps', { auth: 'user:pass'}, function() {
expect(https.request.mostRecentCall.args[0].auth).toEqual('user:pass');
done();
});
});
it('GETs by default', function(done) {

@@ -181,0 +188,0 @@ makeRequest('/apps', {}, function() {

Sorry, the diff of this file is not supported yet

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