Comparing version 12.4.1 to 12.5.0
@@ -35,7 +35,7 @@ "use strict"; | ||
const cacheDir = state.getCacheDir(); | ||
const currentVersion = util.pkgVersion(); | ||
const checkedInBinaryVersion = util.pkgVersion(); | ||
let deletedBinary = false; | ||
return fs.readdirAsync(cacheDir).then(versions => { | ||
return Bluebird.all(versions.map(version => { | ||
if (version !== currentVersion) { | ||
if (version !== checkedInBinaryVersion) { | ||
deletedBinary = true; | ||
@@ -48,3 +48,3 @@ const versionDir = join(cacheDir, version); | ||
if (deletedBinary) { | ||
logger.always(`Deleted all binary caches except for the ${currentVersion} binary cache.`); | ||
logger.always(`Deleted all binary caches except for the ${checkedInBinaryVersion} binary cache.`); | ||
} else { | ||
@@ -51,0 +51,0 @@ logger.always(`No binary caches found to prune.`); |
{ | ||
"name": "cypress", | ||
"version": "12.4.1", | ||
"version": "12.5.0", | ||
"main": "index.js", | ||
@@ -121,4 +121,4 @@ "scripts": { | ||
"commitBranch": "develop", | ||
"commitSha": "e0320f7e047b2115fa32cad9ecb720ca624cfe86", | ||
"commitDate": "2023-01-26T22:20:47.000Z", | ||
"commitSha": "a3858d7d59e7299feb047e0f9444c27f71b3bed0", | ||
"commitDate": "2023-01-31T19:18:27.000Z", | ||
"stable": true | ||
@@ -125,0 +125,0 @@ }, |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5468626
18