@web-master/node-web-crawler
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -1,2 +0,2 @@ | ||
import { ScrapeConfig, ScrapeOptionElement, ScrapeOptionList, CrawlLinkOptions, CrawlConfig } from '../interfaces'; | ||
import { ScrapeConfig, ScrapeOptionElement, ScrapeOptionList, CrawlConfig, CrawlLinkOptions } from '../interfaces'; | ||
declare const getConfigType: (config: any) => "default" | "puppeteer"; | ||
@@ -3,0 +3,0 @@ declare const isScrapeConfig: (config: any) => config is ScrapeConfig; |
@@ -28,5 +28,5 @@ "use strict"; | ||
const isCrawlLinkOptions = (options) => { | ||
return typeof options === 'object' && typeof options.url === 'string'; | ||
return typeof options.url === 'string'; | ||
}; | ||
exports.isCrawlLinkOptions = isCrawlLinkOptions; | ||
//# sourceMappingURL=index.js.map |
import crawl from './dist/packages/node-web-crawler/lib/index'; | ||
import { | ||
ScrapeConfig, | ||
ScrapeOptions, | ||
ScrapeOptionElement, | ||
ScrapeOptionList, | ||
CrawlConfig, | ||
@@ -9,4 +13,8 @@ CrawlLinkOptions, | ||
export { | ||
ScrapeConfig, | ||
ScrapeOptions, | ||
ScrapeOptionElement, | ||
ScrapeOptionList, | ||
CrawlConfig, | ||
CrawlLinkOptions, | ||
}; |
{ | ||
"name": "@web-master/node-web-crawler", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Crawl web as easy as possible", | ||
@@ -36,3 +36,3 @@ "repository": "git@github.com:saltyshiomix/web-master.git", | ||
"dependencies": { | ||
"@web-master/node-web-scraper": "^0.7.0" | ||
"@web-master/node-web-scraper": "^0.7.1" | ||
}, | ||
@@ -55,3 +55,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "34db4a9751fbf0d382295f6717e8a1772411e258" | ||
"gitHead": "221ae57e666691ae3665bb769dc56bf0f10cd500" | ||
} |
Sorry, the diff of this file is not supported yet
14770
169