From 3fc6757094c1c0276caf6967b0657bd00b372a8d Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Fri, 3 Jan 2020 10:39:03 +0000 Subject: [PATCH] Correctly install moment Currently we depend on it via transient dependencies (i.e. "deps of deps"). This properly install it as a top-level dependency. GitOrigin-RevId: 51d7cb2e8b4a4d4ce9a4e25a0cb5ea2342415f9c --- services/web/package-lock.json | 6 +++--- services/web/package.json | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/services/web/package-lock.json b/services/web/package-lock.json index 3eb139a9b6..82b934bb84 100644 --- a/services/web/package-lock.json +++ b/services/web/package-lock.json @@ -14117,9 +14117,9 @@ "integrity": "sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A==" }, "moment": { - "version": "2.20.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.20.1.tgz", - "integrity": "sha512-Yh9y73JRljxW5QxN08Fner68eFLxM5ynNOAw2LbIB1YAGeQzZT8QFSUvkAz609Zf+IHhhaUxqZK8dG3W/+HEvg==" + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz", + "integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==" }, "mongodb": { "version": "2.2.34", diff --git a/services/web/package.json b/services/web/package.json index c3a64055ce..aa4c82d758 100644 --- a/services/web/package.json +++ b/services/web/package.json @@ -78,6 +78,7 @@ "minimist": "1.2.0", "mmmagic": "^0.5.2", "mocha": "^6.2.2", + "moment": "^2.24.0", "mongojs": "2.4.0", "mongoose": "4.11.4", "multer": "git+https://github.com/overleaf/multer.git",