circle-github-bot
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -20,3 +20,3 @@ "use strict"; | ||
// IEnvironment fields that must be defined or an Error is thrown. | ||
var REQUIRED_ENV = ["buildUrl", "home", "repo", "sha1", "username"]; | ||
var REQUIRED_ENV = ["buildUrl", "repo", "sha1", "username"]; | ||
// Synchronously execute command and return trimmed stdout as string | ||
@@ -46,3 +46,2 @@ function exec(command, options) { | ||
githubDomain: githubDomain, | ||
home: process.env.HOME, | ||
prNumber: prNumber, | ||
@@ -61,3 +60,3 @@ repo: process.env.CIRCLE_PROJECT_REPONAME, | ||
Bot.prototype.artifactUrl = function (artifactPath) { | ||
return this.env.buildUrl + "/artifacts/0/" + this.env.home + "/project/" + artifactPath; | ||
return this.env.buildUrl + "/artifacts/0/" + artifactPath; | ||
}; | ||
@@ -64,0 +63,0 @@ /** Render an HTML link to the path with the given text. */ |
{ | ||
"name": "circle-github-bot", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "CircleCI comments on github", | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"files": ["dist"], | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
@@ -9,0 +11,0 @@ "build": "tsc -p src", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
6
20997
144