From 0a1e18babd35684bb822bfeea91769976b95b413 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Jan 2021 14:45:15 +0200 Subject: Bump js-yaml from 3.14.1 to 4.0.0 (#646) * Bump js-yaml from 3.14.1 to 4.0.0 Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 4.0.0. - [Release notes](https://github.com/nodeca/js-yaml/releases) - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...4.0.0) Signed-off-by: dependabot[bot] * Update build-svgs.js Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR --- build/build-svgs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') diff --git a/build/build-svgs.js b/build/build-svgs.js index 584c726f4..5a7b91d65 100644 --- a/build/build-svgs.js +++ b/build/build-svgs.js @@ -25,7 +25,7 @@ const svgAttributes = { async function getSvgoConfig() { const svgoConfigFile = await fs.readFile(path.join(__dirname, '../svgo.yml'), 'utf8') - return yaml.safeLoad(svgoConfigFile) + return yaml.load(svgoConfigFile) } async function processFile(file, config) { -- cgit v1.2.3