dependencies: Upgrade JavaScript dependencies.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-01-22 13:13:38 -08:00
committed by Tim Abbott
parent a873a68cc7
commit 2db2f2d6cd
4 changed files with 495 additions and 505 deletions

View File

@@ -44,7 +44,7 @@ function checkRefSiblings(file, path, data) {
// script, hence the starting point at 2.
for (const file of process.argv.slice(2)) {
try {
const data = jsyaml.safeLoad(await fs.promises.readFile(file, "utf8"), {
const data = jsyaml.load(await fs.promises.readFile(file, "utf8"), {
filename: file,
});
if (data.openapi !== undefined) {