cypress 12.4.0 → 12.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,11 +32,11 @@ const clear = () => {
32
32
  };
33
33
  const prune = () => {
34
34
  const cacheDir = state.getCacheDir();
35
- const currentVersion = util.pkgVersion();
35
+ const checkedInBinaryVersion = util.pkgVersion();
36
36
  let deletedBinary = false;
37
37
  return fs.readdirAsync(cacheDir).then(versions => {
38
38
  return Bluebird.all(versions.map(version => {
39
- if (version !== currentVersion) {
39
+ if (version !== checkedInBinaryVersion) {
40
40
  deletedBinary = true;
41
41
  const versionDir = join(cacheDir, version);
42
42
  return fs.removeAsync(versionDir);
@@ -44,7 +44,7 @@ const prune = () => {
44
44
  }));
45
45
  }).then(() => {
46
46
  if (deletedBinary) {
47
- logger.always(`Deleted all binary caches except for the ${currentVersion} binary cache.`);
47
+ logger.always(`Deleted all binary caches except for the ${checkedInBinaryVersion} binary cache.`);
48
48
  } else {
49
49
  logger.always(`No binary caches found to prune.`);
50
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "12.4.0",
3
+ "version": "12.5.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
@@ -118,8 +118,8 @@
118
118
  },
119
119
  "buildInfo": {
120
120
  "commitBranch": "develop",
121
- "commitSha": "094e3d03cc9f379965a7f0fb09a9e1cf44992014",
122
- "commitDate": "2023-01-24T16:02:45.000Z",
121
+ "commitSha": "a3858d7d59e7299feb047e0f9444c27f71b3bed0",
122
+ "commitDate": "2023-01-31T19:18:27.000Z",
123
123
  "stable": true
124
124
  },
125
125
  "description": "Cypress is a next generation front end testing tool built for the modern web",