diff --git a/.travis.yml b/.travis.yml index 2d5d9de8..2cabacb3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ before_install: # Setup Node.js version-specific dependencies - "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul" - - "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)" + - "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 6 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)" # Update Node.js modules - "test ! -d node_modules || npm prune" diff --git a/README.md b/README.md index 8892e5b7..680ece87 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ var compression = require('compression') var express = require('express') var app = express() -app.use(compression({filter: shouldCompress})) +app.use(compression({ filter: shouldCompress })) function shouldCompress (req, res) { if (req.headers['x-no-compression']) { diff --git a/package.json b/package.json index 44123bed..0c42a360 100644 --- a/package.json +++ b/package.json @@ -19,13 +19,13 @@ }, "devDependencies": { "after": "0.8.2", - "eslint": "4.19.1", - "eslint-config-standard": "11.0.0", - "eslint-plugin-import": "2.13.0", + "eslint": "5.4.0", + "eslint-config-standard": "12.0.0", + "eslint-plugin-import": "2.14.0", "eslint-plugin-markdown": "1.0.0-beta.6", - "eslint-plugin-node": "6.0.1", - "eslint-plugin-promise": "3.8.0", - "eslint-plugin-standard": "3.1.0", + "eslint-plugin-node": "7.0.1", + "eslint-plugin-promise": "4.0.0", + "eslint-plugin-standard": "4.0.0", "istanbul": "0.4.5", "mocha": "2.5.3", "supertest": "1.1.0"