New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

heroku

Package Overview
Dependencies
Maintainers
1
Versions
507
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heroku - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

heroku-0.0.2.tgz

9

lib/heroku.js

@@ -18,7 +18,9 @@ (function() {

Heroku.prototype.request = function(opts, fn) {
var expects, headers, query, req;
var auth, expects, headers, query, req;
expects = opts.expects || 200;
auth = new Buffer(":" + this.key).toString("base64");
headers = {
"X-Heroku-API-Version": "3",
"Accept": "application/json"
"Accept": "application/json",
"Authorization": "Basic " + auth,
"X-Heroku-API-Version": "3"
};

@@ -29,3 +31,2 @@ opts = {

path: opts.path,
auth: ":" + this.key,
headers: headers

@@ -32,0 +33,0 @@ };

{
"name": "heroku",
"description": "Heroku API bindings for node.",
"version": "0.0.1",
"version": "0.0.2",
"homepage": "http://github.com/toots/node-heroku",

@@ -6,0 +6,0 @@ "author": "Romain Beauxis <toots@rastageeks.org",

Sorry, the diff of this file is not supported yet

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