diff --git a/package.json b/package.json index c427bfe4..2e065bad 100644 --- a/package.json +++ b/package.json @@ -32,59 +32,59 @@ "test": "grunt mocha-and-karma" }, "dependencies": { - "async": "~0.9.0", - "bcryptjs": "~2.0.2", - "body-parser": "~1.8.1", + "async": "^0.9.0", + "bcryptjs": "^2.1.0", + "body-parser": "^1.12.0", "canonical-json": "0.0.4", - "continuation-local-storage": "~3.1.1", - "debug": "~2.0.0", + "continuation-local-storage": "^3.1.3", + "debug": "^2.1.2", "depd": "^1.0.0", - "ejs": "~1.0.0", - "express": "^4.10.2", - "inflection": "~1.4.2", - "loopback-connector-remote": "^1.0.1", + "ejs": "^2.3.1", + "express": "^4.12.2", + "inflection": "^1.6.0", + "loopback-connector-remote": "^1.0.3", "loopback-phase": "^1.2.0", - "nodemailer": "~1.3.0", - "nodemailer-stub-transport": "~0.1.4", - "serve-favicon": "^2.1.6", + "nodemailer": "^1.3.1", + "nodemailer-stub-transport": "^0.1.5", + "serve-favicon": "^2.2.0", "stable": "^0.1.5", "strong-remoting": "^2.13.2", "uid2": "0.0.3", - "underscore.string": "~2.3.3" + "underscore.string": "^3.0.3" }, "peerDependencies": { "loopback-datasource-juggler": "^2.19.0" }, "devDependencies": { - "browserify": "~4.2.3", - "chai": "^1.10.0", - "cookie-parser": "~1.3.3", - "errorhandler": "~1.2.0", - "es5-shim": "^4.0.3", + "browserify": "^9.0.3", + "chai": "^2.1.1", + "cookie-parser": "^1.3.4", + "errorhandler": "^1.3.4", + "es5-shim": "^4.1.0", "grunt": "^0.4.5", - "grunt-browserify": "~3.0.1", + "grunt-browserify": "^3.5.0", "grunt-cli": "^0.1.13", - "grunt-contrib-jshint": "~0.10.0", - "grunt-contrib-uglify": "~0.5.1", - "grunt-contrib-watch": "~0.6.1", + "grunt-contrib-jshint": "^0.11.0", + "grunt-contrib-uglify": "^0.8.0", + "grunt-contrib-watch": "^0.6.1", "grunt-jscs": "^1.5.0", - "grunt-karma": "~0.9.0", - "grunt-mocha-test": "^0.11.0", - "karma": "~0.12.23", - "karma-browserify": "~0.2.1", - "karma-chrome-launcher": "~0.1.4", - "karma-firefox-launcher": "~0.1.3", - "karma-html2js-preprocessor": "~0.1.0", + "grunt-karma": "^0.10.1", + "grunt-mocha-test": "^0.12.7", + "karma": "^0.12.31", + "karma-browserify": "^4.0.0", + "karma-chrome-launcher": "^0.1.7", + "karma-firefox-launcher": "^0.1.4", + "karma-html2js-preprocessor": "^0.1.0", "karma-junit-reporter": "^0.2.2", - "karma-mocha": "^0.1.9", - "karma-phantomjs-launcher": "~0.1.4", - "karma-script-launcher": "~0.1.0", + "karma-mocha": "^0.1.10", + "karma-phantomjs-launcher": "^0.1.4", + "karma-script-launcher": "^0.1.0", "loopback-boot": "^1.1.0", - "loopback-datasource-juggler": "^2.19.0", - "loopback-testing": "~0.2.0", - "mocha": "~1.21.4", - "strong-task-emitter": "0.0.x", - "supertest": "~0.13.0" + "loopback-datasource-juggler": "^2.19.1", + "loopback-testing": "^1.1.0", + "mocha": "^2.1.0", + "strong-task-emitter": "^0.0.6", + "supertest": "^0.15.0" }, "repository": { "type": "git", @@ -95,6 +95,7 @@ "./lib/server-app.js": "./lib/browser-express.js", "connect": false, "nodemailer": false, + "supertest": false, "depd": "loopback-datasource-juggler/lib/browser.depd.js", "bcrypt": false }, diff --git a/test/app.test.js b/test/app.test.js index 82a4456a..995ac247 100644 --- a/test/app.test.js +++ b/test/app.test.js @@ -332,7 +332,7 @@ describe('app', function() { executeMiddlewareHandlers(app, '/mountpath/test', function(err) { if (err) return done(err); - expect(mountWasEmitted, 'mountWasEmitted').to.be.true(); + expect(mountWasEmitted, 'mountWasEmitted').to.be.true; expect(data).to.eql({ mountpath: '/mountpath', parent: app diff --git a/test/relations.integration.js b/test/relations.integration.js index 1da043d5..35017d44 100644 --- a/test/relations.integration.js +++ b/test/relations.integration.js @@ -1327,8 +1327,8 @@ describe('relations - integration', function() { var test = this; this.get('/api/books/' + test.book.id + '/chapters/' + test.chapter.id + '/notes/' + test.cnote.id) .expect(200, function(err, res) { - expect(res.headers['x-before']).to.empty(); - expect(res.headers['x-after']).to.empty(); + expect(res.headers['x-before']).to.empty; + expect(res.headers['x-after']).to.empty; done(); }); }); diff --git a/test/replication.test.js b/test/replication.test.js index 2bc3a780..17f2bb12 100644 --- a/test/replication.test.js +++ b/test/replication.test.js @@ -75,7 +75,8 @@ describe('Replication / Change APIs', function() { if (err) return done(err); SourceModel.changes(FUTURE_CHECKPOINT, {}, function(err, changes) { if (err) return done(err); - expect(changes).to.be.empty(); + /*jshint -W030 */ + expect(changes).to.be.empty; done(); }); });