Skip to content

Commit

Permalink
[bugfix] Updated pyyaml and Jinja2 because of security vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Hoelzl committed Apr 13, 2019
1 parent 6d61e6c commit b2684c9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,6 +1,7 @@
venv
.idea
.pytest_cache
__pycache__
gh-pages-build

debug
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
@@ -1,6 +1,6 @@
Flask==1.0.2
Jinja2==2.10
pyyaml==3.13
Jinja2==2.10.1
pyyaml==5.1
docopt==0.6.2

# packaging
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -40,8 +40,8 @@ def readme():
],
install_requires=[
'Flask==1.0.2',
'Jinja2==2.10',
'pyyaml==3.13',
'Jinja2==2.10.1',
'pyyaml==5.1',
'docopt==0.6.2',
],
package_data={
Expand Down
2 changes: 1 addition & 1 deletion vuecli/provider.py
Expand Up @@ -38,7 +38,7 @@ def _load_config(self):
config_file = Path(self.path, "vuepy.yml")
if config_file.exists():
with open(config_file, "r") as fh:
config = yaml.load(fh.read())
config = yaml.safe_load(fh.read())
if config:
self.config = config

Expand Down

0 comments on commit b2684c9

Please sign in to comment.