fix(deps): update dependency js-yaml to v4 (#4797)

This commit is contained in:
renovate[bot]
2021-01-04 17:44:36 +02:00
committed by GitHub
parent b8df67b01c
commit bda604b389
7 changed files with 25 additions and 6 deletions

View File

@ -9,7 +9,7 @@ const outputPath = '../data/languages.json';
async function fetchData() {
const filePath = path.resolve(__dirname, rawDataPath);
const fileContent = await fs.readFile(filePath);
return yaml.safeLoad(fileContent);
return yaml.load(fileContent);
}
function outputData(data) {