percy-client
Advanced tools
Comparing version 3.0.10 to 3.0.11
@@ -92,2 +92,4 @@ 'use strict'; | ||
return 'probo'; | ||
} else if (this._env.BITBUCKET_BUILD_NUMBER) { | ||
return 'bitbucket'; | ||
} | ||
@@ -222,2 +224,4 @@ | ||
return this._env.COMMIT_REF; | ||
case 'bitbucket': | ||
return this._env.BITBUCKET_COMMIT; | ||
} | ||
@@ -283,2 +287,5 @@ | ||
break; | ||
case 'bitbucket': | ||
result = this._env.BITBUCKET_BRANCH; | ||
break; | ||
} | ||
@@ -338,2 +345,4 @@ | ||
break; | ||
case 'bitbucket': | ||
return this._env.BITBUCKET_PR_ID || null; | ||
} | ||
@@ -382,2 +391,4 @@ return null; | ||
return this._env.BUILD_ID; | ||
case 'bitbucket': | ||
return this._env.BITBUCKET_BUILD_NUMBER; | ||
} | ||
@@ -384,0 +395,0 @@ return null; |
{ | ||
"name": "percy-client", | ||
"version": "3.0.10", | ||
"version": "3.0.11", | ||
"description": "JavaScript API client library for Percy (https://percy.io).", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
Sorry, the diff of this file is too big to display
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
2547669
74723