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

hubot-googledrive-search

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-googledrive-search - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

package.json
{
"name": "hubot-googledrive-search",
"version": "3.0.1",
"version": "3.0.2",
"description": "Google drive search for hubot!",

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

@@ -60,4 +60,6 @@ // Description:

auth.validateToken(robot.brain, function(err, resp) {
auth.validateToken(function(err, resp) {
if (err) {
console.log(err);
cb({

@@ -120,6 +122,8 @@ err: err,

// Export robot functions
var initialBrainLoad = true;
module.exports = function(robot) {
auth = new HubotGoogleAuth('HUBOT_DRIVE', CLIENT_ID, CLIENT_SECRET, REDIRECT_URL, SCOPES, robot.brain);
// wait for brain to load otherwise brain values will be null
robot.brain.on('loaded', function() {
auth = new HubotGoogleAuth('HUBOT_DRIVE', CLIENT_ID, CLIENT_SECRET, REDIRECT_URL, SCOPES, robot.brain);
});

@@ -126,0 +130,0 @@ robot.respond(/drive(\s+set)?\s+code\s+([^\s]+)/i, {

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