From e076ccb9edabf0fbd9750fb694aed2e0056f913b Mon Sep 17 00:00:00 2001 From: Jon Zeolla Date: Sun, 22 Mar 2020 08:20:53 -0400 Subject: [PATCH] chore: update requirements (fixes #29) Update all requirements.txt files to use the latest released versions of dependencies and fixes #29 --- reports/bandit_report.json | 2 +- reports/coverage.xml | 2 +- reports/htmlcov/coverage_html.js | 9 +++++++-- reports/htmlcov/index.html | 4 ++-- reports/htmlcov/main_py.html | 4 ++-- reports/htmlcov/status.json | 2 +- reports/htmlcov/veracode___init___py.html | 4 ++-- reports/htmlcov/veracode_api_py.html | 4 ++-- reports/htmlcov/veracode_check_compliance_py.html | 4 ++-- reports/htmlcov/veracode_config_py.html | 4 ++-- reports/htmlcov/veracode_constants_py.html | 4 ++-- reports/htmlcov/veracode_submit_artifacts_py.html | 4 ++-- reports/htmlcov/veracode_utils_py.html | 4 ++-- requirements.txt | 10 +++++----- veracode/requirements.txt | 2 +- 15 files changed, 34 insertions(+), 29 deletions(-) diff --git a/reports/bandit_report.json b/reports/bandit_report.json index 5728e37..3f7ea88 100644 --- a/reports/bandit_report.json +++ b/reports/bandit_report.json @@ -1,6 +1,6 @@ { "errors": [], - "generated_at": "2020-03-09T12:37:21Z", + "generated_at": "2020-03-22T12:19:50Z", "metrics": { "./main.py": { "CONFIDENCE.HIGH": 0.0, diff --git a/reports/coverage.xml b/reports/coverage.xml index b1fd1c5..93e29ef 100644 --- a/reports/coverage.xml +++ b/reports/coverage.xml @@ -1,5 +1,5 @@ - + diff --git a/reports/htmlcov/coverage_html.js b/reports/htmlcov/coverage_html.js index 2215233..3bf04bf 100644 --- a/reports/htmlcov/coverage_html.js +++ b/reports/htmlcov/coverage_html.js @@ -172,7 +172,10 @@ coverage.index_ready = function ($) { // Look for a localStorage item containing previous sort settings: var sort_list = []; var storage_name = "COVERAGE_INDEX_SORT"; - var stored_list = localStorage.getItem(storage_name); + var stored_list = undefined; + try { + stored_list = localStorage.getItem(storage_name); + } catch(err) {} if (stored_list) { sort_list = JSON.parse('[[' + stored_list + ']]'); @@ -222,7 +225,9 @@ coverage.index_ready = function ($) { // Watch for page unload events so we can save the final sort settings: $(window).unload(function () { - localStorage.setItem(storage_name, sort_list.toString()) + try { + localStorage.setItem(storage_name, sort_list.toString()) + } catch(err) {} }); }; diff --git a/reports/htmlcov/index.html b/reports/htmlcov/index.html index db74d25..460b74f 100644 --- a/reports/htmlcov/index.html +++ b/reports/htmlcov/index.html @@ -146,8 +146,8 @@

Coverage report: diff --git a/reports/htmlcov/main_py.html b/reports/htmlcov/main_py.html index 17ce77c..8b385f3 100644 --- a/reports/htmlcov/main_py.html +++ b/reports/htmlcov/main_py.html @@ -153,8 +153,8 @@

diff --git a/reports/htmlcov/status.json b/reports/htmlcov/status.json index 7a4c2bc..3ee76d4 100644 --- a/reports/htmlcov/status.json +++ b/reports/htmlcov/status.json @@ -1 +1 @@ -{"format":2,"version":"5.0.3","globals":"a4456bcf0e7408bce0791d543e6011d2","files":{"main_py":{"hash":"5100dc12db4dc1a001ab21058efe4e65","index":{"nums":[1,43,2,0,12,0,0],"html_filename":"main_py.html","relative_filename":"main.py"}},"veracode___init___py":{"hash":"0226f256d3edd7c3a7ce1f2a407614e4","index":{"nums":[1,6,0,0,0,0,0],"html_filename":"veracode___init___py.html","relative_filename":"veracode/__init__.py"}},"veracode_api_py":{"hash":"bbad1e5786640040e81aed5bea02f322","index":{"nums":[1,166,12,0,2,0,0],"html_filename":"veracode_api_py.html","relative_filename":"veracode/api.py"}},"veracode_check_compliance_py":{"hash":"1b1ab97902bdf8a2be318f881041f855","index":{"nums":[1,60,0,0,16,0,0],"html_filename":"veracode_check_compliance_py.html","relative_filename":"veracode/check_compliance.py"}},"veracode_config_py":{"hash":"b268b404dc8341fa065d94ff3f3a0266","index":{"nums":[1,205,0,0,128,0,0],"html_filename":"veracode_config_py.html","relative_filename":"veracode/config.py"}},"veracode_constants_py":{"hash":"996c3142d31a8ab4cc1c1dd40d03fa79","index":{"nums":[1,19,0,0,0,0,0],"html_filename":"veracode_constants_py.html","relative_filename":"veracode/constants.py"}},"veracode_submit_artifacts_py":{"hash":"fd1c1896f0734658900869af63985034","index":{"nums":[1,176,0,0,58,0,0],"html_filename":"veracode_submit_artifacts_py.html","relative_filename":"veracode/submit_artifacts.py"}},"veracode_utils_py":{"hash":"fef3389b5f8932b8b55c1bda6765482d","index":{"nums":[1,238,2,0,130,0,0],"html_filename":"veracode_utils_py.html","relative_filename":"veracode/utils.py"}}}} \ No newline at end of file +{"format":2,"version":"5.0.4","globals":"a4456bcf0e7408bce0791d543e6011d2","files":{"main_py":{"hash":"5100dc12db4dc1a001ab21058efe4e65","index":{"nums":[1,43,2,0,12,0,0],"html_filename":"main_py.html","relative_filename":"main.py"}},"veracode___init___py":{"hash":"0226f256d3edd7c3a7ce1f2a407614e4","index":{"nums":[1,6,0,0,0,0,0],"html_filename":"veracode___init___py.html","relative_filename":"veracode/__init__.py"}},"veracode_api_py":{"hash":"bbad1e5786640040e81aed5bea02f322","index":{"nums":[1,166,12,0,2,0,0],"html_filename":"veracode_api_py.html","relative_filename":"veracode/api.py"}},"veracode_check_compliance_py":{"hash":"1b1ab97902bdf8a2be318f881041f855","index":{"nums":[1,60,0,0,16,0,0],"html_filename":"veracode_check_compliance_py.html","relative_filename":"veracode/check_compliance.py"}},"veracode_config_py":{"hash":"b268b404dc8341fa065d94ff3f3a0266","index":{"nums":[1,205,0,0,128,0,0],"html_filename":"veracode_config_py.html","relative_filename":"veracode/config.py"}},"veracode_constants_py":{"hash":"996c3142d31a8ab4cc1c1dd40d03fa79","index":{"nums":[1,19,0,0,0,0,0],"html_filename":"veracode_constants_py.html","relative_filename":"veracode/constants.py"}},"veracode_submit_artifacts_py":{"hash":"fd1c1896f0734658900869af63985034","index":{"nums":[1,176,0,0,58,0,0],"html_filename":"veracode_submit_artifacts_py.html","relative_filename":"veracode/submit_artifacts.py"}},"veracode_utils_py":{"hash":"fef3389b5f8932b8b55c1bda6765482d","index":{"nums":[1,238,2,0,130,0,0],"html_filename":"veracode_utils_py.html","relative_filename":"veracode/utils.py"}}}} \ No newline at end of file diff --git a/reports/htmlcov/veracode___init___py.html b/reports/htmlcov/veracode___init___py.html index aa59716..3b8f627 100644 --- a/reports/htmlcov/veracode___init___py.html +++ b/reports/htmlcov/veracode___init___py.html @@ -65,8 +65,8 @@

diff --git a/reports/htmlcov/veracode_api_py.html b/reports/htmlcov/veracode_api_py.html index a249769..0ba8002 100644 --- a/reports/htmlcov/veracode_api_py.html +++ b/reports/htmlcov/veracode_api_py.html @@ -545,8 +545,8 @@

diff --git a/reports/htmlcov/veracode_check_compliance_py.html b/reports/htmlcov/veracode_check_compliance_py.html index 22ea516..50a0d7e 100644 --- a/reports/htmlcov/veracode_check_compliance_py.html +++ b/reports/htmlcov/veracode_check_compliance_py.html @@ -182,8 +182,8 @@

diff --git a/reports/htmlcov/veracode_config_py.html b/reports/htmlcov/veracode_config_py.html index 9a4ed57..3491d17 100644 --- a/reports/htmlcov/veracode_config_py.html +++ b/reports/htmlcov/veracode_config_py.html @@ -504,8 +504,8 @@

diff --git a/reports/htmlcov/veracode_constants_py.html b/reports/htmlcov/veracode_constants_py.html index 01fa491..a06196b 100644 --- a/reports/htmlcov/veracode_constants_py.html +++ b/reports/htmlcov/veracode_constants_py.html @@ -146,8 +146,8 @@

diff --git a/reports/htmlcov/veracode_submit_artifacts_py.html b/reports/htmlcov/veracode_submit_artifacts_py.html index a75c270..5deb85e 100644 --- a/reports/htmlcov/veracode_submit_artifacts_py.html +++ b/reports/htmlcov/veracode_submit_artifacts_py.html @@ -448,8 +448,8 @@

diff --git a/reports/htmlcov/veracode_utils_py.html b/reports/htmlcov/veracode_utils_py.html index 6c89b4a..2904269 100644 --- a/reports/htmlcov/veracode_utils_py.html +++ b/reports/htmlcov/veracode_utils_py.html @@ -445,8 +445,8 @@

diff --git a/requirements.txt b/requirements.txt index 473d01f..46466ee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,9 +6,9 @@ bandit==1.6.2 black==19.10b0 certifi==2019.11.28 chardet==3.0.4 -Click==7.0 -codecov==2.0.16 -coverage==5.0.3 +click==7.1.1 +codecov==2.0.22 +coverage==5.0.4 gitdb==4.0.2 gitlint==0.13.1 GitPython==3.1.0 @@ -16,13 +16,13 @@ idna==2.9 isort==4.3.21 lazy-object-proxy==1.4.3 mccabe==0.6.1 -mypy==0.761 +mypy==0.770 mypy-extensions==0.4.3 pathspec==0.7.0 pbr==5.4.4 pylint==2.4.4 python-dateutil==2.8.1 -PyYAML==5.3 +PyYAML==5.3.1 regex==2020.2.20 requests==2.23.0 sh==1.12.14 diff --git a/veracode/requirements.txt b/veracode/requirements.txt index a49ffc2..fd2d47b 100644 --- a/veracode/requirements.txt +++ b/veracode/requirements.txt @@ -5,7 +5,7 @@ docopt==0.6.2 httpie==2.0.0 idna==2.9 Pygments==2.6.1 -PyYAML==5.3 +PyYAML==5.3.1 requests==2.23.0 urllib3==1.25.8 veracode-api-signing==19.9.0