From 8f323ff64e9b59c4f829309b1baa59afdbd5966b Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Mon, 13 Jul 2020 15:33:34 -0400 Subject: [PATCH] [#1491] Update Dockerfile, fix npm vulnerabilities --- Dockerfile | 1 + package-lock.json | 12 +++++------- package.json | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index d2364735..743d7d90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,7 @@ COPY .babelrc index.js nodemon.json ./ COPY ./webpack ./webpack COPY client ./client COPY server ./server +COPY translations/locales ./translations/locales CMD ["npm", "start"] FROM development as build diff --git a/package-lock.json b/package-lock.json index 1d0defec..52a68a4e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11017,8 +11017,7 @@ }, "kind-of": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" + "resolved": "" } } }, @@ -25469,9 +25468,9 @@ } }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + "version": "4.17.19", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", + "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==" }, "lodash-es": { "version": "4.17.11", @@ -34870,8 +34869,7 @@ }, "kind-of": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" + "resolved": "" } } }, diff --git a/package.json b/package.json index baba58a8..48d70d27 100644 --- a/package.json +++ b/package.json @@ -177,7 +177,7 @@ "js-beautify": "^1.10.3", "jsdom": "^9.8.3", "jshint": "^2.11.0", - "lodash": "^4.17.15", + "lodash": "^4.17.19", "loop-protect": "github:catarak/loop-protect", "mime-types": "^2.1.26", "mjml": "^3.3.2",