Skip to content

Commit

Permalink
Merge pull request #235 from wparad/upgrade-js-yaml
Browse files Browse the repository at this point in the history
fix: upgrade js-yaml from v3.x to v4.1
  • Loading branch information
Phil Sturgeon authored Jun 7, 2021
2 parents 5c6d51a + 0b6be7a commit 7a899bc
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 7a899bc

Please sign in to comment.