Socket
Socket
Sign inDemoInstall

heroku-client

Package Overview
Dependencies
Maintainers
1
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 1.1.2 to 1.2.0

4

lib/heroku.js

@@ -9,2 +9,6 @@ var Request = require('./request');

Heroku.createClient = function createClient (options) {
return new Heroku(options);
}
Heroku.configure = function configure (config) {

@@ -11,0 +15,0 @@ if (config.cache && !process.env.HEROKU_CLIENT_ENCRYPTION_SECRET) {

2

package.json
{
"name": "heroku-client",
"version": "1.1.2",
"version": "1.2.0",
"description": "A wrapper for the Heroku v3 API",

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

@@ -12,2 +12,7 @@ var Heroku = require('../../lib/heroku'),

it('can create a client with .createClient', function() {
heroku = Heroku.createClient({ token: '12345' })
expect(heroku.constructor.name).toEqual('Heroku');
});
it('passes its method into the request', function() {

@@ -14,0 +19,0 @@ heroku.apps().create({}, function() {

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