diff --git a/package.json b/package.json index 969053b..bfa2f3d 100644 --- a/package.json +++ b/package.json @@ -27,17 +27,17 @@ "commondir": "0.0.1", "debug": "^2.0.0", "lodash.clonedeep": "^2.4.1", - "semver": "^2.3.0", + "semver": "^4.1.0", "toposort": "^0.2.10", "underscore": "^1.6.0" }, "devDependencies": { - "browserify": "^4.1.8", - "fs-extra": "^0.10.0", + "browserify": "^6.1.0", + "fs-extra": "^0.12.0", "jshint": "^2.5.6", "loopback": "^2.5.0", "mocha": "^1.19.0", "must": "^0.12.0", - "supertest": "^0.13.0" + "supertest": "^0.14.0" } } diff --git a/test/browser.test.js b/test/browser.test.js index d8e5019..87769d1 100644 --- a/test/browser.test.js +++ b/test/browser.test.js @@ -33,6 +33,7 @@ describe('browser support', function() { function browserifyTestApp(appDir, next) { var b = browserify({ basedir: appDir, + debug: true }); b.require('./app.js', { expose: 'browser-app' }); @@ -40,7 +41,7 @@ function browserifyTestApp(appDir, next) { var bundlePath = sandbox.resolve('browser-app-bundle.js'); var out = fs.createWriteStream(bundlePath); - b.bundle({ debug: true }).pipe(out); + b.bundle().pipe(out); out.on('error', function(err) { return next(err); }); out.on('close', function() {