Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coveralls

Package Overview
Dependencies
Maintainers
1
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.0.0 to 2.0.1

6

bin/coveralls.js

@@ -20,3 +20,5 @@ #!/usr/bin/env node

console.log(input);
var postData = convertLcovToCoveralls(input);
var libDir = process.argv[2] || 'lib';
var postData = convertLcovToCoveralls(input, libDir);
sendToCoveralls(postData, function(err, response, body){

@@ -34,1 +36,3 @@ if (err){

};

@@ -24,6 +24,11 @@ var TRAVIS_JOB_ID = process.env.TRAVIS_JOB_ID || 'unknown';

var convertLcovToCoveralls = function(input, filepath){
filepath = filepath || 'lib';
console.log("in: ", filepath);
if (filepath[0] !== '/'){
filepath = process.cwd() + '/' + filepath;
}
console.log("now: ", filepath);
if (filepath[filepath.length - 1] !== '/'){
filepath = filepath + '/';
}
console.log("abs: ", filepath);
var parsed = lcovParse(input);

@@ -30,0 +35,0 @@ var postJson = {

2

package.json

@@ -5,3 +5,3 @@ {

"keywords" : ["coverage", "coveralls"],
"version": "2.0.0",
"version": "2.0.1",
"bugs": {

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

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