From 966e147a20fc11013cbbcf8cacca42d042dcd13d Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 5 Mar 2019 00:32:21 -0800 Subject: [PATCH] Replaced gulp-util with ansi-colors, updated packages --- frontend/gulp/helpers/errorHandler.js | 4 +-- package.json | 10 +++--- yarn.lock | 50 +++++++++++++++++++-------- 3 files changed, 43 insertions(+), 21 deletions(-) diff --git a/frontend/gulp/helpers/errorHandler.js b/frontend/gulp/helpers/errorHandler.js index f3e1c113b..9c542398d 100644 --- a/frontend/gulp/helpers/errorHandler.js +++ b/frontend/gulp/helpers/errorHandler.js @@ -1,6 +1,6 @@ -const gulpUtil = require('gulp-util'); +const colors = require('ansi-colors'); module.exports = function errorHandler(error) { - gulpUtil.log(gulpUtil.colors.red(`Error (${error.plugin}): ${error.message}`)); + console.log(colors.red(`Error (${error.plugin}): ${error.message}`)); this.emit('end'); }; diff --git a/package.json b/package.json index 439ef5fdc..2af318098 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,8 @@ "@fortawesome/free-solid-svg-icons": "5.7.2", "@fortawesome/react-fontawesome": "0.1.4", "@sentry/browser": "4.6.4", - "autoprefixer": "9.4.9", + "ansi-colors": "3.2.4", + "autoprefixer": "9.4.10", "babel-eslint": "10.0.1", "babel-loader": "8.0.5", "babel-plugin-inline-classnames": "2.0.1", @@ -47,7 +48,7 @@ "del": "4.0.0", "element-class": "0.2.2", "esformatter": "0.10.0", - "eslint": "5.15.0", + "eslint": "5.15.1", "eslint-plugin-filenames": "1.3.2", "eslint-plugin-react": "7.12.4", "esprint": "0.4.0", @@ -64,7 +65,6 @@ "gulp-print": "5.0.0", "gulp-sourcemaps": "2.6.5", "gulp-stripbom": "1.0.4", - "gulp-util": "3.0.8", "gulp-watch": "5.0.1", "gulp-wrap": "0.14.0", "history": "4.7.2", @@ -75,7 +75,7 @@ "mini-css-extract-plugin": "0.5.0", "mobile-detect": "1.4.3", "moment": "2.24.0", - "mousetrap": "1.6.2", + "mousetrap": "1.6.3", "normalize.css": "8.0.1", "postcss-color-function": "4.0.1", "postcss-loader": "3.0.0", @@ -105,7 +105,7 @@ "react-text-truncate": "0.14.0", "react-virtualized": "9.21.0", "redux": "4.0.1", - "redux-actions": "2.6.4", + "redux-actions": "2.6.5", "redux-batched-actions": "0.4.1", "redux-localstorage": "0.4.1", "redux-thunk": "2.3.0", diff --git a/yarn.lock b/yarn.lock index cc6ceb34a..0116c2e18 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1174,6 +1174,11 @@ ansi-colors@1.1.0, ansi-colors@^1.0.1: dependencies: ansi-wrap "^0.1.0" +ansi-colors@3.2.4: + version "3.2.4" + resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" + integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== + ansi-cyan@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/ansi-cyan/-/ansi-cyan-0.1.1.tgz#538ae528af8982f28ae30d86f2f17456d2609873" @@ -1471,7 +1476,19 @@ atob@^2.1.1: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -autoprefixer@9.4.9, autoprefixer@^9.0.0: +autoprefixer@9.4.10: + version "9.4.10" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.4.10.tgz#e1be61fc728bacac8f4252ed242711ec0dcc6a7b" + integrity sha512-XR8XZ09tUrrSzgSlys4+hy5r2/z4Jp7Ag3pHm31U4g/CTccYPOVe19AkaJ4ey/vRd1sfj+5TtuD6I0PXtutjvQ== + dependencies: + browserslist "^4.4.2" + caniuse-lite "^1.0.30000940" + normalize-range "^0.1.2" + num2fraction "^1.2.2" + postcss "^7.0.14" + postcss-value-parser "^3.3.1" + +autoprefixer@^9.0.0: version "9.4.9" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.4.9.tgz#0d3eb86bc1d1228551abcf55220d6fd246b6cb31" integrity sha512-OyUl7KvbGBoFQbGQu51hMywz1aaVeud/6uX8r1R1DNcqFvqGUUy6+BDHnAZE8s5t5JyEObaSw+O1DpAdjAmLuw== @@ -1914,6 +1931,11 @@ caniuse-lite@^1.0.30000939: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000939.tgz#b9ab7ac9e861bf78840b80c5dfbc471a5cd7e679" integrity sha512-oXB23ImDJOgQpGjRv1tCtzAvJr4/OvrHi5SO2vUgB0g0xpdZZoA/BxfImiWfdwoYdUTtQrPsXsvYU/dmCSM8gg== +caniuse-lite@^1.0.30000940: + version "1.0.30000941" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000941.tgz#f0810802b2ab8d27f4b625d4769a610e24d5a42c" + integrity sha512-4vzGb2MfZcO20VMPj1j6nRAixhmtlhkypM4fL4zhgzEucQIYiRzSqPcWIu1OF8i0FETD93FMIPWfUJCAcFvrqA== + ccount@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.3.tgz#f1cec43f332e2ea5a569fd46f9f5bde4e6102aff" @@ -3031,10 +3053,10 @@ eslint-visitor-keys@^1.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== -eslint@5.15.0: - version "5.15.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.15.0.tgz#f313a2f7c7628d39adeefdba4a9c41f842012c9e" - integrity sha512-xwG7SS5JLeqkiR3iOmVgtF8Y6xPdtr6AAsN6ph7Q6R/fv+3UlKYoika8SmNzmb35qdRF+RfTY35kMEdtbi+9wg== +eslint@5.15.1: + version "5.15.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.15.1.tgz#8266b089fd5391e0009a047050795b1d73664524" + integrity sha512-NTcm6vQ+PTgN3UBsALw5BMhgO6i5EpIjQF/Xb5tIh3sk9QhrFafujUOczGz4J24JBlzWclSB9Vmx8d+9Z6bFCg== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.9.1" @@ -3963,7 +3985,7 @@ gulp-stripbom@1.0.4: strip-bom "^1.0.0" through2 "^0.5.1" -gulp-util@3.0.8, gulp-util@^3.0.0: +gulp-util@^3.0.0: version "3.0.8" resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f" integrity sha1-AFTh50RQLifATBh8PsxQXdVLu08= @@ -5515,10 +5537,10 @@ moment@2.24.0: resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b" integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg== -mousetrap@1.6.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/mousetrap/-/mousetrap-1.6.2.tgz#caadd9cf886db0986fb2fee59a82f6bd37527587" - integrity sha512-jDjhi7wlHwdO6q6DS7YRmSHcuI+RVxadBkLt3KHrhd3C2b+w5pKefg3oj5beTcHZyVFA9Aksf+yEE1y5jxUjVA== +mousetrap@1.6.3: + version "1.6.3" + resolved "https://registry.yarnpkg.com/mousetrap/-/mousetrap-1.6.3.tgz#80fee49665fd478bccf072c9d46bdf1bfed3558a" + integrity sha512-bd+nzwhhs9ifsUrC2tWaSgm24/oo2c83zaRyZQF06hYA6sANfsXHtnZ19AbbbDXCDzeH5nZBSQ4NvCjgD62tJA== "mout@>=0.9 <2.0": version "1.1.0" @@ -7096,10 +7118,10 @@ reduce-reducers@^0.4.3: resolved "https://registry.yarnpkg.com/reduce-reducers/-/reduce-reducers-0.4.3.tgz#8e052618801cd8fc2714b4915adaa8937eb6d66c" integrity sha512-+CNMnI8QhgVMtAt54uQs3kUxC3Sybpa7Y63HR14uGLgI9/QR5ggHvpxwhGGe3wmx5V91YwqQIblN9k5lspAmGw== -redux-actions@2.6.4: - version "2.6.4" - resolved "https://registry.yarnpkg.com/redux-actions/-/redux-actions-2.6.4.tgz#e1d9d7d987d274071b0134b707365d3e25ba3b26" - integrity sha512-Gho+gnsvyR5h0pApoMdHLYssVEu4I0DNqyC91u43Xy/BvLrEddEMtukLF8oL3WXUy7DjxqKOKZHKmpKyN6hxlQ== +redux-actions@2.6.5: + version "2.6.5" + resolved "https://registry.yarnpkg.com/redux-actions/-/redux-actions-2.6.5.tgz#bdca548768ee99832a63910c276def85e821a27e" + integrity sha512-pFhEcWFTYNk7DhQgxMGnbsB1H2glqhQJRQrtPb96kD3hWiZRzXHwwmFPswg6V2MjraXRXWNmuP9P84tvdLAJmw== dependencies: invariant "^2.2.4" just-curry-it "^3.1.0"