Skip to content

Commit

Permalink
Upgrade js-yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
wparad committed Jun 7, 2021
1 parent a731576 commit 61c9d17
Show file tree
Hide file tree
Showing 4 changed files with 20,015 additions and 266 deletions.
2 changes: 1 addition & 1 deletion lib/parsers/yaml.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = {

if (typeof data === "string") {
try {
return yaml.safeLoad(data);
return yaml.load(data);
}
catch (e) {
throw new ParserError(e.message, file.url);
Expand Down
Loading

0 comments on commit 61c9d17

Please sign in to comment.