From 2eddec6b8673d76c2f84f04a4f870ab8ed18efb5 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Thu, 24 Feb 2022 14:29:58 +0100 Subject: [PATCH] fix(cli-repl): add missing js-yaml dependency MONGOSH-1134 (#1216) --- packages/cli-repl/package-lock.json | 13 +++++++++++++ packages/cli-repl/package.json | 1 + 2 files changed, 14 insertions(+) diff --git a/packages/cli-repl/package-lock.json b/packages/cli-repl/package-lock.json index 553cf8e6d..47800a5b8 100644 --- a/packages/cli-repl/package-lock.json +++ b/packages/cli-repl/package-lock.json @@ -174,6 +174,11 @@ "color-convert": "^2.0.1" } }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, "array-back": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.1.tgz", @@ -429,6 +434,14 @@ "resolved": "https://registry.npmjs.org/join-component/-/join-component-1.1.0.tgz", "integrity": "sha1-uEF7dQZho5K+4sJTfGiyqdSXfNU=" }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "requires": { + "argparse": "^2.0.1" + } + }, "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", diff --git a/packages/cli-repl/package.json b/packages/cli-repl/package.json index fa00efcf1..23acb75a7 100644 --- a/packages/cli-repl/package.json +++ b/packages/cli-repl/package.json @@ -57,6 +57,7 @@ "askcharacter": "^1.0.0", "askpassword": "^1.2.4", "is-recoverable-error": "^1.0.2", + "js-yaml": "^4.1.0", "lodash.set": "^4.3.2", "mongodb-connection-string-url": "^2.3.2", "mongodb-log-writer": "^1.1.3",