Socket
Socket
Sign inDemoInstall

cypress

Package Overview
Dependencies
Maintainers
14
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress - npm Package Compare versions

Comparing version 12.4.1 to 12.5.0

6

lib/tasks/cache.js

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc