@argos-ci/cypress 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/support.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  } from "@argos-ci/util/browser";
12
12
 
13
13
  // package.json
14
- var version = "4.0.5";
14
+ var version = "5.0.0";
15
15
 
16
16
  // src/shared.ts
17
17
  var NAME_PREFIX = "argos/";
package/dist/task.cjs CHANGED
@@ -63,7 +63,7 @@ function registerArgosTask(on, config, options) {
63
63
  return { path: details.path };
64
64
  }
65
65
  const argosScreenshotsDir = await getScreenshotsDirectory();
66
- if (details.name.startsWith(NAME_PREFIX)) {
66
+ if (details.name?.startsWith(NAME_PREFIX)) {
67
67
  const newPath2 = (0, import_node_path.join)(
68
68
  argosScreenshotsDir,
69
69
  details.name.slice(NAME_PREFIX.length) + (0, import_node_path.extname)(details.path)
package/dist/task.js CHANGED
@@ -29,7 +29,7 @@ function registerArgosTask(on, config, options) {
29
29
  return { path: details.path };
30
30
  }
31
31
  const argosScreenshotsDir = await getScreenshotsDirectory();
32
- if (details.name.startsWith(NAME_PREFIX)) {
32
+ if (details.name?.startsWith(NAME_PREFIX)) {
33
33
  const newPath2 = join(
34
34
  argosScreenshotsDir,
35
35
  details.name.slice(NAME_PREFIX.length) + extname(details.path)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/cypress",
3
3
  "description": "Cypress SDK for visual testing with Argos.",
4
- "version": "5.0.0",
4
+ "version": "5.0.1",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -67,5 +67,5 @@
67
67
  "check-format": "prettier --check --ignore-unknown --ignore-path=../../.gitignore --ignore-path=../../.prettierignore .",
68
68
  "lint": "eslint ."
69
69
  },
70
- "gitHead": "e1fae6c3e23967e703e761afce0ec037e07245b6"
70
+ "gitHead": "1504eec02534235dc749f470150c37fc3beac1c0"
71
71
  }