Comparing version 3.0.2 to 3.0.3
@@ -5,2 +5,3 @@ var fs = require('fs'); | ||
var urlgrey = require('urlgrey'); | ||
var walk = require('ignore-walk'); | ||
var execSync = require('child_process').execSync; | ||
@@ -292,4 +293,8 @@ | ||
console.log('==> Building file structure'); | ||
upload += execSync('git ls-files || hg locate', { cwd: root }).toString().trim() + '\n<<<<<< network\n'; | ||
try { | ||
upload += execSync('git ls-files || hg locate', { cwd: root }).toString().trim() + '\n<<<<<< network\n'; | ||
} catch (err) { | ||
// not a git/hg dir, emulating git/hg ignore behavior | ||
upload += walk.sync({path: root, ignoreFiles: ['.gitignore', '.hgignore']}).join('\n').trim() + '\n<<<<<< network\n'; | ||
} | ||
// Make gcov reports | ||
@@ -296,0 +301,0 @@ if ((args.options.disable || '').split(',').indexOf('gcov') === -1) { |
{ | ||
"name": "codecov", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"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" | ||
}, | ||
@@ -14,3 +13,8 @@ "repository": { | ||
}, | ||
"keywords": ["coverage", "code-coverage", "codecov.io", "codecov"], | ||
"keywords": [ | ||
"coverage", | ||
"code-coverage", | ||
"codecov.io", | ||
"codecov" | ||
], | ||
"bin": { | ||
@@ -29,5 +33,6 @@ "codecov": "./bin/codecov" | ||
"dependencies": { | ||
"request": "^2.81.0", | ||
"urlgrey": "0.4.4", | ||
"argv": "0.0.2" | ||
"argv": "0.0.2", | ||
"ignore-walk": "3.0.0", | ||
"request": "2.81.0", | ||
"urlgrey": "0.4.4" | ||
}, | ||
@@ -34,0 +39,0 @@ "devDependencies": { |
@@ -95,1 +95,3 @@ # Codecov NodeJS Uploader | ||
- 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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57060
1329
97
4
+ Addedignore-walk@3.0.0
+ Addedajv@4.11.8(transitive)
+ Addedassert-plus@0.2.0(transitive)
+ Addedaws-sign2@0.6.0(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedboom@2.10.1(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedco@4.6.0(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedcryptiles@2.0.5(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedform-data@2.1.4(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhar-schema@1.0.5(transitive)
+ Addedhar-validator@4.2.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhawk@3.1.3(transitive)
+ Addedhoek@2.16.3(transitive)
+ Addedhttp-signature@1.1.1(transitive)
+ Addedignore-walk@3.0.0(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedjson-stable-stringify@1.1.1(transitive)
+ Addedjsonify@0.0.1(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedoauth-sign@0.8.2(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedperformance-now@0.2.0(transitive)
+ Addedpunycode@1.4.1(transitive)
+ Addedqs@6.4.1(transitive)
+ Addedrequest@2.81.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedsntp@1.0.9(transitive)
+ Addedstringstream@0.0.6(transitive)
+ Addedtough-cookie@2.3.4(transitive)
- Removedajv@6.12.6(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedform-data@2.3.3(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedpsl@1.10.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.5.3(transitive)
- Removedrequest@2.88.2(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removeduri-js@4.4.1(transitive)
Updatedrequest@2.81.0