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

heroku-client

Package Overview
Dependencies
Maintainers
3
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 2.2.0 to 2.2.1

14

lib/heroku.js
'use strict';
var Request = require('./request');
var extend = require('util')._extend;

@@ -26,11 +27,6 @@ module.exports = Heroku;

// merge headers
if (options.headers && this.options.headers) {
for (key in this.options.headers) {
if (this.options.headers.hasOwnProperty(key)) {
if (!options.headers.hasOwnProperty(key)) {
options[key] = this.options.headers[key];
}
}
}
}
console.dir(options.headers);
console.dir(this.options.headers);
options.headers = extend(extend({}, this.options.headers), options.headers);
console.dir(options.headers);
for (key in this.options) {

@@ -37,0 +33,0 @@ if (this.options.hasOwnProperty(key)) {

{
"name": "heroku-client",
"description": "A wrapper for the Heroku v3 API",
"version": "2.2.0",
"version": "2.2.1",
"author": "Jonathan Clem",

@@ -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