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

gdata-js

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gdata-js - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

19

gdata.js

@@ -7,4 +7,2 @@ var EventEmitter = require('events').EventEmitter;

var URL = require('url');
var oauthBase = 'https://accounts.google.com/o/oauth2';

@@ -24,3 +22,12 @@

httpsRes.on('data', function (data) {
callback(null, JSON.parse(data.toString()));
var res;
try {
res = JSON.parse(data.toString());
} catch(err) {
return callback({
err: err,
res: data
});
}
callback(null, res);
});

@@ -99,3 +106,3 @@ } else {

return token;
}
};

@@ -137,4 +144,4 @@ client.getFeed = function (url, params, callback) {

return callback(null, body);
})
}
});
};

@@ -141,0 +148,0 @@ function doRequest(url, params, callback) {

{
"name": "gdata-js",
"description": "Simple OAuth 2.0 GData API client",
"version": "3.0.0",
"version": "3.0.1",
"author": "Simon Murtha-Smith <simon@murtha-smith.com>",

@@ -6,0 +6,0 @@ "keywords": ["google", "gdata"],

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