codecov
Advanced tools
Comparing version 3.8.1 to 3.8.2
@@ -1,14 +0,20 @@ | ||
### 3.8.1 | ||
## 3.8.2 | ||
#### Fixes | ||
### Fixes | ||
- # Add coverage-final.json as a possible coverage file during file lookup | ||
## 3.8.1 | ||
### Fixes | ||
- [#246](https://github.com/codecov/codecov-node/pull/246) Revert "Bump teeny-request from 6.0.1 to 7.0.0" | ||
### 3.8.0 | ||
## 3.8.0 | ||
#### Features | ||
### Features | ||
- [#160](https://github.com/codecov/codecov-node/pull/160) Add Github Actions support | ||
#### Fixes | ||
### Fixes | ||
@@ -50,47 +56,47 @@ - [#173](https://github.com/codecov/codecov-node/pull/173) Fix broken gcov command | ||
### 3.7.2 | ||
## 3.7.2 | ||
- Fix issue with network and file finding | ||
### 3.7.1 | ||
## 3.7.1 | ||
- Move to execFileSync and security fixes | ||
### 3.7.0 | ||
## 3.7.0 | ||
- Remove the X-Amz-Acl: public-read header | ||
### 3.6.4 | ||
## 3.6.4 | ||
- Fix Cirrus CI | ||
### 3.6.3 | ||
## 3.6.3 | ||
- Fix for AWS Codebuild & package updates | ||
### 3.6.2 | ||
## 3.6.2 | ||
- Command line args sanitized fix | ||
### 3.6.1 | ||
## 3.6.1 | ||
- Fix for Semaphore | ||
### 3.6.0 | ||
## 3.6.0 | ||
- Added AWS CodeBuild and Semaphore2 | ||
### 3.5.0 | ||
## 3.5.0 | ||
- Added TeamCity support | ||
### 3.4.0 | ||
## 3.4.0 | ||
- Added Heroku CI support | ||
### 3.3.0 | ||
## 3.3.0 | ||
- Added pipe with `--pipe`, `-l` | ||
### 3.2.0 | ||
## 3.2.0 | ||
@@ -100,48 +106,48 @@ - Added azure pipelines | ||
### 3.1.0 | ||
## 3.1.0 | ||
- Custom yaml file. Allow codecov token from yml file. | ||
### 3.0.4 | ||
## 3.0.4 | ||
- Security fixes | ||
### 3.0.3 | ||
## 3.0.3 | ||
- Support non-git/hg root dirs | ||
### 3.0.2 | ||
## 3.0.2 | ||
- Security fixes | ||
### 3.0.1 | ||
## 3.0.1 | ||
- Security fixes | ||
### 3.0.0 | ||
## 3.0.0 | ||
- No longer supports node v0.12 because of new version of request | ||
### 2.3.0 | ||
## 2.3.0 | ||
- Added support for Windows. Updated dependencies. | ||
### 2.2.0 | ||
## 2.2.0 | ||
- Support for Jenkins Blue Ocean. Clean reports after upload. Fix for Gitlab. | ||
### 2.1.0 | ||
## 2.1.0 | ||
- Flags supported http://docs.codecov.io/docs/flags | ||
### 2.0.2 | ||
## 2.0.2 | ||
- Display correct version number in console. | ||
### 2.0.1 | ||
## 2.0.1 | ||
- Publish as latest instead of next. | ||
### 2.0.0 | ||
## 2.0.0 | ||
- No longer supports node v0.10 because of the execSync. |
@@ -25,13 +25,14 @@ var fs = require('fs') | ||
'-name *coverage.* ' + | ||
'-or -name nosetests.xml ' + | ||
'-or -name jacoco*.xml ' + | ||
'-or -name *.gcov ' + | ||
'-or -name *.lcov ' + | ||
'-or -name *.lst ' + | ||
'-or -name clover.xml ' + | ||
'-or -name report.xml ' + | ||
'-or -name cobertura.xml ' + | ||
'-or -name coverage-final.json ' + | ||
'-or -name gcov.info ' + | ||
'-or -name jacoco*.xml ' + | ||
'-or -name lcov.info ' + | ||
'-or -name luacov.report.out ' + | ||
'-or -name lcov.info ' + | ||
'-or -name *.lcov ' + | ||
'-or -name gcov.info ' + | ||
'-or -name *.gcov ' + | ||
'-or -name *.lst ' + | ||
'-or -name nosetests.xml ' + | ||
'-or -name report.xml ' + | ||
') ' + | ||
@@ -148,3 +149,3 @@ '-not -name *.sh ' + | ||
var sendToCodecovV2 = function( | ||
var sendToCodecovV2 = function ( | ||
codecov_endpoint, | ||
@@ -169,3 +170,3 @@ query, | ||
}, | ||
function(err, response) { | ||
function (err, response) { | ||
if (err || response.statusCode !== 200) { | ||
@@ -185,3 +186,3 @@ console.log(' ' + (err || response.body)) | ||
var sendToCodecovV4 = function( | ||
var sendToCodecovV4 = function ( | ||
codecov_endpoint, | ||
@@ -206,3 +207,3 @@ query, | ||
}, | ||
function(err, response, result) { | ||
function (err, response, result) { | ||
if (err) { | ||
@@ -227,3 +228,3 @@ sendToCodecovV2( | ||
}, | ||
function(err) { | ||
function (err) { | ||
if (err) { | ||
@@ -249,3 +250,3 @@ sendToCodecovV2( | ||
var upload = function(args, on_success, on_failure) { | ||
var upload = function (args, on_success, on_failure) { | ||
// Build query | ||
@@ -284,3 +285,3 @@ var codecov_endpoint = | ||
query.yaml = [yamlFile, '.codecov.yml'].reduce(function(result, file) { | ||
query.yaml = [yamlFile, '.codecov.yml'].reduce(function (result, file) { | ||
return ( | ||
@@ -393,3 +394,3 @@ result || | ||
.split(' ') | ||
.map(function(p) { | ||
.map(function (p) { | ||
return "-not -path '" + p + "'" | ||
@@ -401,3 +402,3 @@ }) | ||
.split(' ') | ||
.map(function(p) { | ||
.map(function (p) { | ||
return '^| findstr /i /v ' + p | ||
@@ -506,6 +507,3 @@ }) | ||
} | ||
_files = execFileSync('find', _findArgs) | ||
.toString() | ||
.trim() | ||
.split('\n') | ||
_files = execFileSync('find', _findArgs).toString().trim().split('\n') | ||
} else { | ||
@@ -563,3 +561,3 @@ // @TODO support for a root directory | ||
upload, | ||
function() { | ||
function () { | ||
// remove files after Uploading | ||
@@ -577,3 +575,3 @@ if (args.options.clear) { | ||
}, | ||
on_failure || function() {} | ||
on_failure || function () {} | ||
) | ||
@@ -580,0 +578,0 @@ } |
{ | ||
"name": "codecov", | ||
"version": "3.8.1", | ||
"version": "3.8.2", | ||
"description": "Uploading report to Codecov: https://codecov.io", | ||
@@ -36,4 +36,4 @@ "main": "index.js", | ||
"ignore-walk": "3.0.3", | ||
"js-yaml": "3.14.0", | ||
"teeny-request": "6.0.1", | ||
"js-yaml": "3.14.1", | ||
"teeny-request": "7.0.1", | ||
"urlgrey": "0.4.4" | ||
@@ -43,8 +43,8 @@ }, | ||
"eslint": "^7.7.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"husky": "4.3.0", | ||
"eslint-config-prettier": "^7.0.0", | ||
"husky": "6.0.0", | ||
"jest": "^26.4.1", | ||
"lint-staged": "10.4.0", | ||
"lint-staged": "10.5.4", | ||
"mock-fs": "4.13.0", | ||
"prettier": "2.1.2" | ||
"prettier": "2.2.1" | ||
}, | ||
@@ -51,0 +51,0 @@ "husky": { |
@@ -88,3 +88,3 @@ # Codecov NodeJS Uploader | ||
nyc npm test | ||
nyc report --reporter=text-lcov > coverage.lcov | ||
nyc report --reporter=lcov | ||
./node_modules/.bin/codecov | ||
@@ -91,0 +91,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 32 instances in 1 package
83114
2084
331
+ Addedhttps-proxy-agent@5.0.1(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedteeny-request@7.0.1(transitive)
+ Addeduuid@8.3.2(transitive)
- Removedagent-base@5.1.1(transitive)
- Removedhttps-proxy-agent@4.0.0(transitive)
- Removedjs-yaml@3.14.0(transitive)
- Removedteeny-request@6.0.1(transitive)
- Removeduuid@3.4.0(transitive)
Updatedjs-yaml@3.14.1
Updatedteeny-request@7.0.1