coveralls
Advanced tools
Comparing version 3.0.6 to 3.0.7
@@ -82,2 +82,3 @@ var fs = require('fs'); | ||
options.service_job_id = process.env.CI_BUILD_ID; | ||
options.service_pull_request = process.env.CI_MERGE_REQUEST_IID; | ||
git_commit = process.env.CI_BUILD_REF; | ||
@@ -84,0 +85,0 @@ git_branch = process.env.CI_BUILD_REF_NAME; |
@@ -8,3 +8,3 @@ { | ||
], | ||
"version": "3.0.6", | ||
"version": "3.0.7", | ||
"bugs": { | ||
@@ -11,0 +11,0 @@ "url": "https://github.com/nickmerwin/node-coveralls/issues" |
@@ -440,5 +440,7 @@ var should = require('should'); | ||
process.env.CI_BUILD_REF_NAME = "feature"; | ||
process.env.CI_MERGE_REQUEST_IID = "1"; | ||
sut(function(err, options){ | ||
options.service_name.should.equal("gitlab-ci"); | ||
options.service_job_id.should.equal("1234"); | ||
options.service_pull_request.should.equal("1"); | ||
options.git.should.eql({ head: | ||
@@ -499,3 +501,3 @@ { id: 'e3e3e3e3e3e3e3e3e', | ||
var testSemaphore = function(sut, done) { | ||
@@ -502,0 +504,0 @@ process.env.SEMAPHORE = true; |
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
80224
1836
199