From 888593bc2cac949a3571a641da5d97a4aa73e235 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 17 Dec 2019 01:45:29 +0000 Subject: [PATCH] fix: webapp/package.json & webapp/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:clean-css:20180306 --- webapp/package-lock.json | 36 ++++++++++++++++++++---------------- webapp/package.json | 2 +- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/webapp/package-lock.json b/webapp/package-lock.json index 4c86015..60eebb0 100644 --- a/webapp/package-lock.json +++ b/webapp/package-lock.json @@ -8,6 +8,7 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", + "optional": true, "requires": { "kind-of": "3.2.2", "longest": "1.0.1", @@ -91,27 +92,26 @@ "integrity": "sha1-6Flo+iNfIXc9OIxhevCFvyEEQlo=" }, "clean-css": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-3.1.9.tgz", - "integrity": "sha1-29BaFIvklDuzfOBnnmdsvJ9YAmY=", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz", + "integrity": "sha512-4ZxI6dy4lrY6FHzfiy1aEOXgu4LIsW2MhwG0VBKdcoGoH/XLFgaHSdLTGr4O8Be6A8r3MOphEiI8Gc1n0ecf3g==", "requires": { - "commander": "2.6.0", - "source-map": "0.1.43" + "source-map": "~0.6.0" }, "dependencies": { - "commander": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.6.0.tgz", - "integrity": "sha1-nfflL7Kgyw+4kFjugMMQQiXzfh0=" + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" } } }, "clean-css-brunch": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/clean-css-brunch/-/clean-css-brunch-1.7.2.tgz", - "integrity": "sha1-FOhan5VzjBXNhZ3JP5gqGZewIKo=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/clean-css-brunch/-/clean-css-brunch-3.0.0.tgz", + "integrity": "sha512-gbkVut0IXCyMjOMETb2pbe+klsMB4WAebWmeA39G9479D4CJN7+4ggF+MpdSordHm/DWKywzgC7IvJVkPW0kRA==", "requires": { - "clean-css": "3.1.9" + "clean-css": "~4.2" } }, "cliui": { @@ -308,7 +308,8 @@ "is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "optional": true }, "javascript-brunch": { "version": "1.7.1", @@ -327,6 +328,7 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "optional": true, "requires": { "is-buffer": "1.1.6" } @@ -350,7 +352,8 @@ "longest": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", - "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=" + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", + "optional": true }, "methods": { "version": "0.0.1", @@ -430,7 +433,8 @@ "repeat-string": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "optional": true }, "right-align": { "version": "0.1.3", diff --git a/webapp/package.json b/webapp/package.json index b8b2315..6041dc5 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -16,7 +16,7 @@ "javascript-brunch": ">= 1.0 < 1.8", "css-brunch": ">= 1.0 < 1.8", "uglify-js-brunch": ">= 1.0 < 1.8", - "clean-css-brunch": ">= 1.0 < 1.8", + "clean-css-brunch": ">=3.0.0", "handlebars-brunch": "1.10.1", "coffee-script-brunch": ">= 1.0 < 1.8", "sass-brunch": "1.7.0"