Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: codecov/codecov-node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.1
Choose a base ref
...
head repository: codecov/codecov-node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.0.2
Choose a head ref
  • 3 commits
  • 3 files changed
  • 3 contributors

Commits on May 8, 2018

  1. Stop outputting upload-token in logs (#97)

    Instead of dumping `query` object directly, output a selected set of values (don't output the upload_token)
    
    Introduced in 4be4171
    
    Closes #94
    victorb authored and eddiemoore committed May 8, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1114b03 View commit details
  2. v3.0.2

    Ed Moore committed May 8, 2018
    Copy the full SHA
    31926f7 View commit details
  3. Updated readme

    eddiemoore authored May 8, 2018
    1
    Copy the full SHA
    a19efbe View commit details
Showing with 12 additions and 9 deletions.
  1. +2 −0 README.md
  2. +6 −1 lib/codecov.js
  3. +4 −8 package.json
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -92,3 +92,5 @@ nyc report --reporter=text-lcov > coverage.lcov
- v2.2.0 Support for Jenkins Blue Ocean. Clean reports after upload. Fix for Gitlab.
- v2.3.0 Added support for Windows. Updated dependencies.
- v3.0.0 No longer supports node v0.12 because of new version of request
- v3.0.1 Security fixes
- v3.0.2 Security fixes
7 changes: 6 additions & 1 deletion lib/codecov.js
Original file line number Diff line number Diff line change
@@ -261,7 +261,12 @@ var upload = function(args, on_success, on_failure){

console.log("==> Configuration: ");
console.log(" Endpoint: " + codecov_endpoint);
console.log(query);
// Don't output `query` directly as it contains the upload token
console.log({
commit: query.commit,
branch: query.branch,
package: query.package
});

var upload = "";

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
{
"name": "codecov",
"version": "3.0.1",
"version": "3.0.2",
"description": "Uploading report to Codecov: https://codecov.io",
"main": "index.js",
"scripts": {
"test": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec"
"test":
"./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec"
},
"repository": {
"type": "git",
"url": "https://github.com/codecov/codecov-node"
},
"keywords": [
"coverage",
"code-coverage",
"codecov.io",
"codecov"
],
"keywords": ["coverage", "code-coverage", "codecov.io", "codecov"],
"bin": {
"codecov": "./bin/codecov"
},