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

hubspot

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubspot - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

9

lib/client.js

@@ -96,3 +96,3 @@ var request = require('request');

if (!id || typeof(id) === "function") { return cb(new Error("id parameter must be provided.")); }
var call = {

@@ -123,3 +123,3 @@ method: 'GET',

if (typeof appId === "function") { cb = appId; appId = null; }
var call = {

@@ -159,3 +159,2 @@ method: 'GET',

console.log(call);
request(call, handleResponse(cb));

@@ -167,3 +166,3 @@ }

if (err) { return cb(err); }
if (typeof data === 'string') {

@@ -174,4 +173,2 @@ try {

} catch (e) {
console.log(e);
console.log('error parsing response');
return cb(new Error(data)); // sometimes errors are returned as strings.

@@ -178,0 +175,0 @@ }

{
"name": "hubspot",
"version": "0.0.4",
"version": "0.0.5",
"description": "A node wrapper for the HubSpot API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,3 +7,3 @@ # node-hubspot

npm install node-hubspot
npm install hubspot

@@ -21,2 +21,2 @@ ## use

console.log(res);
});
});
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