@lambdatest/smartui-cli 4.1.58 → 4.1.59

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.
Files changed (2) hide show
  1. package/dist/index.cjs +4 -3
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -452,6 +452,7 @@ var constants_default = {
452
452
  "iPad 10.2 (2019)": { os: "ios", viewport: { width: 810, height: 1080 } },
453
453
  "iPad 10.2 (2020)": { os: "ios", viewport: { width: 834, height: 1194 } },
454
454
  "iPad 10.2 (2021)": { os: "ios", viewport: { width: 810, height: 1080 } },
455
+ "iPad (9th generation)": { os: "ios", viewport: { width: 810, height: 1080 } },
455
456
  "iPad 9.7 (2017)": { os: "ios", viewport: { width: 768, height: 1024 } },
456
457
  "iPad Air (2019)": { os: "ios", viewport: { width: 834, height: 1112 } },
457
458
  "iPad Air (2020)": { os: "ios", viewport: { width: 820, height: 1180 } },
@@ -3124,7 +3125,7 @@ var authExec_default = (ctx) => {
3124
3125
  };
3125
3126
 
3126
3127
  // package.json
3127
- var version = "4.1.58";
3128
+ var version = "4.1.59";
3128
3129
  var package_default = {
3129
3130
  name: "@lambdatest/smartui-cli",
3130
3131
  version,
@@ -4320,7 +4321,7 @@ var git_default = (ctx) => {
4320
4321
  commitId: gitInfo.commit_id.slice(0, 6) || "",
4321
4322
  commitMessage: gitInfo.commit_body || "",
4322
4323
  commitAuthor: gitInfo.commit_author || "",
4323
- githubURL: githubURL ? githubURL : ctx.env.GIT_URL ? ctx.env.GIT_URL : `${constants_default.GITHUB_API_HOST}/repos/${process.env.GITHUB_REPOSITORY}/statuses/${gitInfo.commit_id}`,
4324
+ githubURL: githubURL ? githubURL : ctx.env.GIT_URL ? ctx.env.GIT_URL : process.env.GITHUB_REPOSITORY ? `${constants_default.GITHUB_API_HOST}/repos/${process.env.GITHUB_REPOSITORY}/statuses/${gitInfo.commit_id}` : "",
4324
4325
  baselineBranch: ctx.options.baselineBranch || ctx.env.BASELINE_BRANCH || ""
4325
4326
  };
4326
4327
  } else {
@@ -4340,7 +4341,7 @@ var git_default = (ctx) => {
4340
4341
  commitId: res[0] || "",
4341
4342
  commitMessage: res[2] || "",
4342
4343
  commitAuthor: res[7] || "",
4343
- githubURL: githubURL ? githubURL : ctx.env.GIT_URL ? ctx.env.GIT_URL : `${constants_default.GITHUB_API_HOST}/repos/${process.env.GITHUB_REPOSITORY}/statuses/${res[1]}`,
4344
+ githubURL: githubURL ? githubURL : ctx.env.GIT_URL ? ctx.env.GIT_URL : process.env.GITHUB_REPOSITORY ? `${constants_default.GITHUB_API_HOST}/repos/${process.env.GITHUB_REPOSITORY}/statuses/${res[1]}` : "",
4344
4345
  baselineBranch: ctx.options.baselineBranch || ctx.env.BASELINE_BRANCH || ""
4345
4346
  };
4346
4347
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdatest/smartui-cli",
3
- "version": "4.1.58",
3
+ "version": "4.1.59",
4
4
  "description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
5
5
  "files": [
6
6
  "dist/**/*"