Socket
Socket
Sign inDemoInstall

google-search

Package Overview
Dependencies
4
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

18

lib/google-search.js

@@ -0,6 +1,6 @@

'use strict';
const https = require('https');
const _ = require('underscore');
const url = require('url');
var https = require('https'),
_ = require('underscore'),
url = require('url');
var GoogleSearch = function(options) {

@@ -30,7 +30,3 @@ if (!options) options = {};

GoogleSearch.prototype.build = function(options, callback) {
options = _.defaults(options, {
fileType: "pdf"
});
//this._doRequest(this._generateUrl(options), callback);
this._generateUrl(options);
this._doRequest(this._generateUrl(options), callback);
};

@@ -49,4 +45,2 @@

});
console.log(this.config);
console.log(urlFormatted);
return url.parse(urlFormatted);

@@ -80,2 +74,2 @@ };

module.exports = GoogleSearch;
module.exports = GoogleSearch;
{
"name": "google-search",
"description": "node.js client for google search API",
"version": "0.0.3",
"version": "0.0.4",
"homepage": "http://github.com/aykutyaman/google-search",

@@ -9,8 +9,8 @@ "author": "Aykut Yaman <yaman.ayk@gmail.com>",

"type": "git",
"url": "http://github.com/aykutyaman/google-search.git"
"url": "http://github.com/aykutyaman/google-search.git"
},
"dependencies": {
"underscore": "1.3.3",
"underscore": "1.3.3",
"url": "0.7.9"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc