New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

coveralls

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coveralls - npm Package Compare versions

Comparing version 2.11.7 to 2.11.8

3

lib/convertLcovToCoveralls.js

@@ -57,2 +57,5 @@ var TRAVIS_JOB_ID = process.env.TRAVIS_JOB_ID || 'unknown';

}
if (options.parallel) {
postJson.parallel = options.parallel;
}
if (options.service_pull_request) {

@@ -59,0 +62,0 @@ postJson.service_pull_request = options.service_pull_request;

@@ -93,2 +93,6 @@ var fs = require('fs');

if (process.env.COVERALLS_PARALLEL) {
options.parallel = true;
}
// try to get the repo token as an environment variable

@@ -95,0 +99,0 @@ if (process.env.COVERALLS_REPO_TOKEN) {

2

package.json

@@ -8,3 +8,3 @@ {

],
"version": "2.11.7",
"version": "2.11.8",
"bugs": {

@@ -11,0 +11,0 @@ "url": "https://github.com/nickmerwin/node-coveralls/issues"

@@ -7,3 +7,3 @@ #node-coveralls

Supported CI services: [travis-ci](https://travis-ci.org/), [codeship](https://www.codeship.io/), [circleci](https://circleci.com/), [jenkins](http://jenkins-ci.org/)
Supported CI services: [travis-ci](https://travis-ci.org/), [codeship](https://www.codeship.io/), [circleci](https://circleci.com/), [jenkins](http://jenkins-ci.org/), [Gitlab CI](http://gitlab.com/)

@@ -35,2 +35,3 @@ ##Installation:

build system's date/time if you don't set it.)
* COVERALLS_PARALLEL (more info here: https://coveralls.zendesk.com/hc/en-us/articles/203484329)

@@ -37,0 +38,0 @@ ### [Mocha](http://mochajs.org/) + [Blanket.js](https://github.com/alex-seville/blanket)

@@ -33,3 +33,4 @@ var convertLcovToCoveralls = require('../index').convertLcovToCoveralls;

process.env.CI_PULL_REQUEST = "https://github.com/fake/fake/pulls/123";
process.env.COVERALLS_PARALLEL = "true";
getOptions(function(err, options){

@@ -43,2 +44,3 @@ var lcovpath = __dirname + "/../fixtures/onefile.lcov";

output.service_pull_request.should.equal("123");
output.parallel.should.equal(true);
//output.git.should.equal("GIT_HASH");

@@ -45,0 +47,0 @@ done();

@@ -115,2 +115,5 @@ var should = require('should');

});
it ("should set paralell if env var set", function(done){
testParallel(getOptions, done);
});
it ("should set service_name if it exists", function(done){

@@ -227,2 +230,10 @@ testServiceName(getOptions, done);

var testParallel = function(sut, done){
process.env.COVERALLS_PARALLEL = "true";
sut(function(err, options){
options.parallel.should.equal(true);
done();
});
};
var testRepoTokenDetection = function(sut, done) {

@@ -229,0 +240,0 @@ var fs = require('fs');

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc