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

crawler-ninja

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crawler-ninja - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

9

lib/http/http-request.js

@@ -66,2 +66,7 @@

// For HTTPS requests
// Some old servers do not support recent TSL version
options.secureOptions = require('constants').SSL_OP_NO_TLSv1_2;
options.rejectUnauthorized = false;
var requestArgs = ['uri','url','qs','method','headers','body','form','json','multipart','followRedirect',

@@ -73,4 +78,6 @@ 'followAllRedirects', 'maxRedirects','encoding','pool','timeout','proxy','auth','oauth','strictSSL',

var start = new Date();
request.get(_.pick.apply(this,[options].concat(requestArgs)), function(error,response) {
var ops = _.pick.apply(this,[options].concat(requestArgs));
request.get(ops, function(error,response) {
var end = new Date() - start;

@@ -77,0 +84,0 @@ if (error) {

2

package.json
{
"name": "crawler-ninja",
"version": "0.2.2",
"version": "0.2.3",
"description": "A web crawler made for the SEO based on plugins. Please wait or contribute ... still in beta",

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

@@ -14,3 +14,3 @@ var assert = require("assert");

describe('Memory leaks', function() {
describe.skip('Memory leaks', function() {

@@ -38,3 +38,3 @@ before(function(done) {

});
it.skip('should crawl a big site without memory leaks', function(done) {
it('should crawl a big site without memory leaks', function(done) {
this.timeout(3000000);

@@ -41,0 +41,0 @@ /*

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