From 217db7b40a85fbf501e1d6b59dd74ebb1357d239 Mon Sep 17 00:00:00 2001
From: Andy Nicholson <intothemist@gmail.com>
Date: Fri, 22 Jan 2021 18:20:09 +1100
Subject: [PATCH] fix(*): latest package updates

---
 package.json | 13 ++++++++++++-
 yarn.lock    | 41 +++++++++++++++++++++++------------------
 2 files changed, 35 insertions(+), 19 deletions(-)

diff --git a/package.json b/package.json
index 03821d132b..727d7bd498 100644
--- a/package.json
+++ b/package.json
@@ -66,16 +66,22 @@
     "@guardian/prosemirror-invisibles": "1.2.1",
     "@pubsweet/base-model": "4.0.0",
     "@pubsweet/component-send-email": "0.4.3",
+    "@pubsweet/errors": "^2.0.40",
     "@pubsweet/job-xsweet": "2.1.11",
+    "@pubsweet/logger": "^0.2.50",
     "@pubsweet/model-user": "6.0.3",
-    "@pubsweet/models": "^0.3.14",
+    "@pubsweet/models": "^0.3.15",
     "@pubsweet/ui": "12.6.0",
     "@pubsweet/ui-toolkit": "^2.3.5",
     "apollo-link-context": "1.0.20",
     "apollo-link-schema": "1.2.5",
     "apollo-upload-client": "14.1.2",
     "bcrypt": "^5.0.0",
+    "body-parser": "^1.19.0",
     "config": "3.3.2",
+    "cookie-parser": "^1.4.5",
+    "dotenv": "^8.2.0",
+    "express": "^4.17.1",
     "faker": "4.1.0",
     "font-awesome": "4.7.0",
     "fs-extra": "4.0.3",
@@ -85,7 +91,9 @@
     "graphql-shield": "7.3.7",
     "graphql-tag": "^2.11.0",
     "graphql-tools": "4.0.8",
+    "helmet": "^4.4.1",
     "history": "4.10.1",
+    "http-status-codes": "^2.1.4",
     "husky": "^4.3.8",
     "jimp": "0.16.1",
     "joi": "10.6.0",
@@ -102,6 +110,7 @@
     "metascraper-publisher": "5.13.1",
     "metascraper-title": "5.13.1",
     "moment": "2.27.0",
+    "morgan": "^1.10.0",
     "passport": "^0.4.1",
     "passport-orcid": "0.0.4",
     "prop-types": "15.7.2",
@@ -126,12 +135,14 @@
     "styled-components": "4.4.1",
     "supertest": "3.4.2",
     "url-regex-safe": "^1.0.2",
+    "waait": "^1.0.5",
     "wax-prosemirror-core": "0.0.10",
     "wax-prosemirror-plugins": "0.0.10",
     "wax-prosemirror-schema": "0.0.10",
     "wax-prosemirror-services": "0.0.10",
     "wax-prosemirror-utilities": "0.0.10",
     "winston": "2.4.5",
+    "ws": "^7.4.2",
     "xpub-edit": "2.6.11",
     "xpub-journal": "0.1.0",
     "xpub-validators": "0.0.28",
diff --git a/yarn.lock b/yarn.lock
index a7c2247dba..bba4d7cd54 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2388,14 +2388,6 @@
     "@hapi/joi" "^14.5.0"
     config "^3.0.1"
 
-"@pubsweet/logger@^0.2.49":
-  version "0.2.49"
-  resolved "https://registry.yarnpkg.com/@pubsweet/logger/-/logger-0.2.49.tgz#88f368683ef038e078b8a4bb7d76d63bf5f7e8ab"
-  integrity sha512-/V1PjZwBfOkhK/ZQYb8LvjZH6Q38wFGcsT3+A7I6DJP3MsCPN+WgOm3ebdQYumgWcatZrhRVATWQzhLYsAfS2Q==
-  dependencies:
-    "@hapi/joi" "^14.5.0"
-    config "^3.0.1"
-
 "@pubsweet/logger@^0.2.50":
   version "0.2.50"
   resolved "https://registry.yarnpkg.com/@pubsweet/logger/-/logger-0.2.50.tgz#b2553d94c7e83f8a152ae0f315a24154931a123f"
@@ -2422,13 +2414,6 @@
   dependencies:
     "@pubsweet/logger" "^0.2.46"
 
-"@pubsweet/models@^0.3.14":
-  version "0.3.14"
-  resolved "https://registry.yarnpkg.com/@pubsweet/models/-/models-0.3.14.tgz#2dbd935893e55a800e2a757443390e245efc78e7"
-  integrity sha512-mZz4vGuo7LcdL7iyxVTyKnZDvx2pyr8dQFJ9rrIs4QcOJ3oE5GTCjrgGW+sfP0Px6lHrmYQEIpnBlhgneEj2Pw==
-  dependencies:
-    "@pubsweet/logger" "^0.2.49"
-
 "@pubsweet/models@^0.3.15":
   version "0.3.15"
   resolved "https://registry.yarnpkg.com/@pubsweet/models/-/models-0.3.15.tgz#30170590045e2748f907930b7b3922f6a822fc74"
@@ -4559,7 +4544,7 @@ bn.js@^5.1.1:
   resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.1.2.tgz#c9686902d3c9a27729f43ab10f9d79c2004da7b0"
   integrity sha512-40rZaf3bUNKTVYu9sIeeEGOg7g14Yvnj9kH7b50EiwX0Q7A6umbvfI5tvHaOERH0XigqKkfLkFQxzb4e6CIXnA==
 
-body-parser@1.19.0, body-parser@^1.15.2, body-parser@^1.18.3:
+body-parser@1.19.0, body-parser@^1.15.2, body-parser@^1.18.3, body-parser@^1.19.0:
   version "1.19.0"
   resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a"
   integrity sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==
@@ -5845,7 +5830,7 @@ convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.5.1,
   dependencies:
     safe-buffer "~5.1.1"
 
-cookie-parser@^1.4.3:
+cookie-parser@^1.4.3, cookie-parser@^1.4.5:
   version "1.4.5"
   resolved "https://registry.yarnpkg.com/cookie-parser/-/cookie-parser-1.4.5.tgz#3e572d4b7c0c80f9c61daf604e4336831b5d1d49"
   integrity sha512-f13bPUj/gG/5mDr+xLmSxxDsB9DQiTIfhJS/sqjrmfAWiAN+x2O4i/XguTL9yDZ+/IFDanJ+5x7hC4CXT9Tdzw==
@@ -6890,6 +6875,11 @@ dotenv@^4.0.0:
   resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-4.0.0.tgz#864ef1379aced55ce6f95debecdce179f7a0cd1d"
   integrity sha1-hk7xN5rO1Vzm+V3r7NzhefegzR0=
 
+dotenv@^8.2.0:
+  version "8.2.0"
+  resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a"
+  integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==
+
 duplexer3@^0.1.4:
   version "0.1.4"
   resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"
@@ -9211,6 +9201,11 @@ helmet@^3.8.1:
     referrer-policy "1.2.0"
     x-xss-protection "1.3.0"
 
+helmet@^4.4.1:
+  version "4.4.1"
+  resolved "https://registry.yarnpkg.com/helmet/-/helmet-4.4.1.tgz#a17e1444d81d7a83ddc6e6f9bc6e2055b994efe7"
+  integrity sha512-G8tp0wUMI7i8wkMk2xLcEvESg5PiCitFMYgGRc/PwULB0RVhTP5GFdxOwvJwp9XVha8CuS8mnhmE8I/8dx/pbw==
+
 hide-powered-by@1.1.0:
   version "1.1.0"
   resolved "https://registry.yarnpkg.com/hide-powered-by/-/hide-powered-by-1.1.0.tgz#be3ea9cab4bdb16f8744be873755ca663383fa7a"
@@ -9493,6 +9488,11 @@ http-status-codes@^1.0.6, http-status-codes@^1.3.0:
   resolved "https://registry.yarnpkg.com/http-status-codes/-/http-status-codes-1.4.0.tgz#6e4c15d16ff3a9e2df03b89f3a55e1aae05fb477"
   integrity sha512-JrT3ua+WgH8zBD3HEJYbeEgnuQaAnUeRRko/YojPAJjGmIfGD3KPU/asLdsLwKjfxOmQe5nXMQ0pt/7MyapVbQ==
 
+http-status-codes@^2.1.4:
+  version "2.1.4"
+  resolved "https://registry.yarnpkg.com/http-status-codes/-/http-status-codes-2.1.4.tgz#453d99b4bd9424254c4f6a9a3a03715923052798"
+  integrity sha512-MZVIsLKGVOVE1KEnldppe6Ij+vmemMuApDfjhVSLzyYP+td0bREEYyAoIw9yFePoBXManCuBqmiNP5FqJS5Xkg==
+
 http2-wrapper@^1.0.0-beta.5.0, http2-wrapper@^1.0.0-beta.5.2:
   version "1.0.0-beta.5.2"
   resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.0-beta.5.2.tgz#8b923deb90144aea65cf834b016a340fc98556f3"
@@ -12431,7 +12431,7 @@ moo@^0.5.0:
   resolved "https://registry.yarnpkg.com/moo/-/moo-0.5.1.tgz#7aae7f384b9b09f620b6abf6f74ebbcd1b65dbc4"
   integrity sha512-I1mnb5xn4fO80BH9BLcF0yLypy2UKl+Cb01Fu0hJRkJjlCRtxZMWkTdAtDd5ZqCOxtCkhmRwyI57vWT+1iZ67w==
 
-morgan@^1.8.2:
+morgan@^1.10.0, morgan@^1.8.2:
   version "1.10.0"
   resolved "https://registry.yarnpkg.com/morgan/-/morgan-1.10.0.tgz#091778abc1fc47cd3509824653dae1faab6b17d7"
   integrity sha512-AbegBVI4sh6El+1gNwvD5YIck7nSA36weD7xvIxG4in80j/UoK8AEGaWnnz8v1GxonMCltmlNs5ZKbGvl9b1XQ==
@@ -18898,6 +18898,11 @@ ws@^6.0.0, ws@^6.1.0, ws@^6.2.1:
   dependencies:
     async-limiter "~1.0.0"
 
+ws@^7.4.2:
+  version "7.4.2"
+  resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.2.tgz#782100048e54eb36fe9843363ab1c68672b261dd"
+  integrity sha512-T4tewALS3+qsrpGI/8dqNMLIVdq/g/85U98HPMa6F0m6xTbvhXU6RCQLqPH3+SlomNV/LdY6RXEbBpMH6EOJnA==
+
 x-is-string@^0.1.0:
   version "0.1.0"
   resolved "https://registry.yarnpkg.com/x-is-string/-/x-is-string-0.1.0.tgz#474b50865af3a49a9c4657f05acd145458f77d82"
-- 
GitLab