Skip to content

Commit 06eddee

Browse files
committed
update js-yaml
1 parent f0f6ce8 commit 06eddee

3 files changed

Lines changed: 37 additions & 22 deletions

File tree

package-lock.json

Lines changed: 35 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"fs-extra": "^11.1.1",
3939
"html2canvas": "^1.4.1",
4040
"jquery-ui-rotatable": "^1.1.0",
41-
"js-yaml": "^3.14.2",
41+
"js-yaml": "^4.1.1",
4242
"jsdom": "^16.5.0",
4343
"jsprim": "^1.4.2",
4444
"signature_pad": "^4.0.1",

scripts/config/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const __dirname = path.dirname(__filename);
1919
* @return {Object}
2020
*/
2121
export function getConfig(path) {
22-
return yaml.safeLoad(fs.readFileSync(path, "utf8"));
22+
return yaml.load(fs.readFileSync(path, "utf8"));
2323
}
2424

2525
/**

0 commit comments

Comments
 (0)