@puppeteer/browsers
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -58,3 +58,3 @@ "use strict"; | ||
const browserRoot = cache.browserRoot(options.browser); | ||
const archivePath = path_1.default.join(browserRoot, fileName); | ||
const archivePath = path_1.default.join(browserRoot, `${options.buildId}-${fileName}`); | ||
if (!(0, fs_1.existsSync)(browserRoot)) { | ||
@@ -61,0 +61,0 @@ await (0, promises_1.mkdir)(browserRoot, { recursive: true }); |
@@ -52,3 +52,3 @@ /** | ||
const browserRoot = cache.browserRoot(options.browser); | ||
const archivePath = path.join(browserRoot, fileName); | ||
const archivePath = path.join(browserRoot, `${options.buildId}-${fileName}`); | ||
if (!existsSync(browserRoot)) { | ||
@@ -55,0 +55,0 @@ await mkdir(browserRoot, { recursive: true }); |
{ | ||
"name": "@puppeteer/browsers", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Download and launch browsers", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -129,3 +129,3 @@ /** | ||
const browserRoot = cache.browserRoot(options.browser); | ||
const archivePath = path.join(browserRoot, fileName); | ||
const archivePath = path.join(browserRoot, `${options.buildId}-${fileName}`); | ||
if (!existsSync(browserRoot)) { | ||
@@ -132,0 +132,0 @@ await mkdir(browserRoot, {recursive: true}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
402089