puppeteer-chromium-resolver
Advanced tools
Comparing version 19.0.0 to 19.1.0
@@ -415,3 +415,4 @@ const path = require('path'); | ||
const getStatsPath = () => { | ||
const statsPath = path.resolve(__dirname, '../.stats.json'); | ||
const homePath = os.homedir(); | ||
const statsPath = path.resolve(homePath, '.pcr-stats.json'); | ||
return statsPath; | ||
@@ -485,4 +486,5 @@ }; | ||
PCR.getStats = getStats; | ||
PCR.getStatsPath = getStatsPath; | ||
PCR.createBrowserFetcher = createBrowserFetcher; | ||
module.exports = PCR; |
{ | ||
"name": "puppeteer-chromium-resolver", | ||
"version": "19.0.0", | ||
"version": "19.1.0", | ||
"description": "Tool to resolve puppeteer and chromium faster, detect local installed chromium, download chromium with custom mirror host, cache chromium revision out of node_modules, test chromium headless being launchable.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
21284
428