simplecrawler
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -199,3 +199,3 @@ /* | ||
} else { | ||
throw new Error("Cache storage of resource (%s) blocked by file: %s", queueObject.url, currentPath); | ||
throw new Error(`Cache storage of resource (${queueObject.url}) blocked by file: ${currentPath}`); | ||
} | ||
@@ -202,0 +202,0 @@ } |
@@ -269,3 +269,3 @@ /** | ||
if (typeof expires !== "number") { | ||
expires = (new Date(expires)).getTime(); | ||
expires = new Date(expires).getTime(); | ||
} | ||
@@ -355,3 +355,3 @@ | ||
if (this.expires > 0) { | ||
string += "Expires=" + (new Date(this.expires)).toGMTString() + "; "; | ||
string += "Expires=" + new Date(this.expires).toGMTString() + "; "; | ||
} | ||
@@ -358,0 +358,0 @@ |
{ | ||
"name": "simplecrawler", | ||
"description": "Very straightforward, event driven web crawler. Features a flexible queue interface and a basic cache mechanism with extensible backend.", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"homepage": "https://github.com/simplecrawler/simplecrawler", | ||
@@ -39,4 +39,4 @@ "author": "Christopher Giffard <christopher.giffard@cgiffard.com>", | ||
"dependencies": { | ||
"async": "^3.0.1", | ||
"iconv-lite": "^0.4.24", | ||
"async": "^3.1.0", | ||
"iconv-lite": "^0.5.0", | ||
"robots-parser": "^2.1.1", | ||
@@ -47,8 +47,8 @@ "urijs": "^1.19.1" | ||
"chai": "^4.2.0", | ||
"eslint": "^5.16.0", | ||
"jsdoc-to-markdown": "^5.0.0", | ||
"mocha": "^6.1.4" | ||
"eslint": "^6.5.1", | ||
"jsdoc-to-markdown": "^5.0.1", | ||
"mocha": "^7.0.1" | ||
}, | ||
"engines": { | ||
"node": ">=6.13.0" | ||
"node": ">=8" | ||
}, | ||
@@ -55,0 +55,0 @@ "files": [ |
@@ -1171,5 +1171,5 @@ # Simple web crawler for node.js | ||
- 6.x | ||
- 8.x | ||
- 10.x | ||
- 12.x | ||
@@ -1176,0 +1176,0 @@ ## Current Maintainers |
175237
+ Addediconv-lite@0.5.2(transitive)
- Removediconv-lite@0.4.24(transitive)
Updatedasync@^3.1.0
Updatediconv-lite@^0.5.0