From b43c80e2c097b11114f4e4f01b9718321721a89b Mon Sep 17 00:00:00 2001 From: Mikael Korpela Date: Tue, 15 Aug 2017 14:57:32 +0300 Subject: [PATCH] feat(build): Update dependencies (#1847) Remove dependencies which are already installed via other dependencies: - eslint (gulp-eslint) - istanbul (gulp-eslint) - mocha (gulp-mocha) Remove unused dependency: - gulp-util Move installing `lcov-result-merger` to Travis config since it's the only place where it's ever used. Update a bunch of outdated dependencies. --- .travis.yml | 3 ++- package.json | 31 +++++++++++++------------------ 2 files changed, 15 insertions(+), 19 deletions(-) diff --git a/.travis.yml b/.travis.yml index e794832a3a..15ccf8dc75 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,7 +45,8 @@ after_script: - nsp check # - snyk test - gulp test:coverage - - node_modules/.bin/lcov-result-merger 'coverage/**/lcov.info' | node_modules/coveralls/bin/coveralls.js + - npm install lcov-result-merger@~1.2.0 -g + - lcov-result-merger 'coverage/**/lcov.info' | node_modules/coveralls/bin/coveralls.js notifications: webhooks: urls: diff --git a/package.json b/package.json index 7fa4811d66..dcadc2f91a 100644 --- a/package.json +++ b/package.json @@ -38,10 +38,10 @@ }, "dependencies": { "acl": "~0.4.10", - "async": "~2.3.0", + "async": "~2.5.0", "body-parser": "~1.17.1", "bower": "~1.8.0", - "chalk": "~2.0.1", + "chalk": "~2.1.0", "compression": "~1.7.0", "connect-flash": "~0.1.1", "connect-mongo": "~1.3.2", @@ -51,12 +51,11 @@ "express-session": "~1.15.2", "generate-password": "~1.3.0", "glob": "~7.1.1", - "helmet": "~3.6.1", - "jasmine-core": "~2.5.2", + "helmet": "~3.8.1", + "jasmine-core": "~2.7.0", "lodash": "~4.17.4", - "lusca": "~1.4.1", + "lusca": "~1.5.1", "method-override": "~2.3.8", - "mocha": "~3.5.0", "mongoose": "~4.11.3", "morgan": "~1.8.1", "multer": "~1.3.0", @@ -79,16 +78,15 @@ "devDependencies": { "coveralls": "~2.13.0", "del": "^3.0.0", - "eslint": "~2.2.0", "eslint-config-airbnb": "~6.0.2", "gulp": "~3.9.1", "gulp-angular-templatecache": "~2.0.0", - "gulp-autoprefixer": "~3.1.0", + "gulp-autoprefixer": "~4.0.0", "gulp-concat": "~2.6.0", "gulp-csslint": "~1.0.0", "gulp-csso": "~3.0.0", "gulp-eslint": "~3.0.1", - "gulp-imagemin": "~3.2.0", + "gulp-imagemin": "~3.3.0", "gulp-istanbul": "~1.1.1", "gulp-less": "~3.3.0", "gulp-load-plugins": "~1.5.0", @@ -98,21 +96,18 @@ "gulp-protractor": "^4.0.0", "gulp-refresh": "~1.1.0", "gulp-rename": "~1.2.2", - "gulp-rev": "^7.1.2", + "gulp-rev": "~8.0.0", "gulp-sass": "~3.1.0", - "gulp-uglify": "~2.1.2", - "gulp-util": "~3.0.7", + "gulp-uglify": "~3.0.0", "imagemin-pngquant": "~5.0.0", - "istanbul": "~0.4.2", - "karma": "~1.6.0", - "karma-chrome-launcher": "~2.0.0", + "karma": "~1.7.0", + "karma-chrome-launcher": "~2.2.0", "karma-coverage": "~1.1.1", "karma-jasmine": "~1.1.0", "karma-mocha-reporter": "~2.2.3", "karma-ng-html2js-preprocessor": "~1.0.0", - "lcov-result-merger": "~1.2.0", - "run-sequence": "~2.0.0", - "semver": "~5.3.0", + "run-sequence": "~2.1.0", + "semver": "~5.4.1", "should": "~11.2.1", "supertest": "~3.0.0" }