Comparing version 1.0.2 to 1.0.3
@@ -5,3 +5,3 @@ const request = require('request'); | ||
function checkIP(ip){ | ||
var fortObj = { isBlacklisted: false, title: "Malicious Host"}; | ||
var fortObj = { isBlacklisted: false, title: "Not malicious"}; | ||
var promise = new Promise(function(resolve, reject) { | ||
@@ -26,3 +26,3 @@ | ||
function checkDomain(domain){ | ||
var fortObj = { isBlacklisted: false, title: "Malicious Host"}; | ||
var fortObj = { isBlacklisted: false, title: "Not malicious"}; | ||
var promise = new Promise(function(resolve, reject) { | ||
@@ -29,0 +29,0 @@ |
{ | ||
"name": "fortiguard", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Custom Fortiguard simple API", | ||
@@ -11,3 +11,3 @@ "main": "fortiguard.js", | ||
"type": "git", | ||
"url": "git+https://github.com/carlospolop/fortiguard_api.git" | ||
"url": "git+https://github.com/carlospolop-node-apis/node-fortiguard.git" | ||
}, | ||
@@ -26,5 +26,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/carlospolop/fortiguard_api/issues" | ||
"url": "https://github.com/carlospolop-node-apis/node-fortiguard/issues" | ||
}, | ||
"homepage": "https://github.com/carlospolop/fortiguard_api#readme", | ||
"homepage": "https://github.com/carlospolop-node-apis/node-fortiguard#readme", | ||
"dependencies": { | ||
@@ -31,0 +31,0 @@ "request": "^2.85.0" |
@@ -1,4 +0,4 @@ | ||
# Node Fortiguard Api | ||
# Node Fortiguard | ||
This is a very easy implementation in node to check for malicious IPs and domains in [fortiguard](https://fortiguard.com) | ||
Check in Node for malicious IPs and domains in [fortiguard](https://fortiguard.com) | ||
@@ -34,4 +34,4 @@ ## Install | ||
{ isBlacklisted: true, title: 'Malicious Websites' } | ||
{ isBlacklisted: false, title: 'Malicious Host' } | ||
{ isBlacklisted: false, title: 'Not malicious' } | ||
*/ | ||
``` |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
1
3169
3
37