Socket
Socket
Sign inDemoInstall

check-domain

Package Overview
Dependencies
96
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

9

index.js

@@ -407,3 +407,7 @@ var events = require('events');

var response = semrushResponse.split("\r\n")[1].split(";");
var result = semrushResponse.split("\r\n");
if (result.length < 2) {
return emptySemrush();
}
var response = result[1].split(";");
return {

@@ -418,4 +422,3 @@ rank : response[1],

};
}

@@ -422,0 +425,0 @@

{
"name": "check-domain",
"version": "1.1.0",
"version": "1.1.1",
"description": "A simple component to check the status of a domain (whois, availability, expired, TrustFlow, number of indexed pages, ...)",

@@ -5,0 +5,0 @@ "repository": {

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

it('Check ip & dns for an existing domain', function(done) {
it.only('Check ip & dns for an existing domain', function(done) {
this.timeout(20000);
checkDomain({domain : "google.be"}, function(error, result) {
//console.log(result);
console.log(result);
assert(result.isAlive);

@@ -14,0 +14,0 @@ assert(result.isDNSFound);

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