diff --git a/package.json b/package.json index 0ba1f59..2da9438 100644 --- a/package.json +++ b/package.json @@ -29,25 +29,25 @@ "license": "MIT", "dependencies": { "async": "^2.4.0", - "bluebird": "^3.4.0", + "bluebird": "^3.5.3", "commondir": "^1.0.1", - "debug": "^2.2.0", + "debug": "^4.1.1", "lodash": "^4.17.11", "semver": "^5.1.0", "strong-globalize": "^4.1.1", "toposort": "^2.0.2" }, "devDependencies": { - "browserify": "^4.2.3", - "chai": "^3.5.0", + "browserify": "^16.2.3", + "chai": "^4.2.0", + "coffeeify": "^3.0.1", "coffeescript": "^2.3.1", - "coffeeify": "^2.0.1", - "dirty-chai": "^1.2.2", + "dirty-chai": "^2.0.1", "eslint": "^5.2.0", "eslint-config-loopback": "^11.0.0", - "fs-extra": "^3.0.1", + "fs-extra": "^7.0.1", "loopback": "^3.0.0", "mocha": "^5.2.0", - "supertest": "^3.0.0" + "supertest": "^4.0.2" } } diff --git a/test/helpers/browser.js b/test/helpers/browser.js index 7435b79..3d9dac2 100644 --- a/test/helpers/browser.js +++ b/test/helpers/browser.js @@ -10,7 +10,8 @@ var vm = require('vm'); function createContext() { var context = { // required by browserify - XMLHttpRequest: function() { throw new Error('not implemented'); }, + XMLHttpRequest: function() {}, + clearTimeout: function() {}, FormData: function() { throw new Error('not implemented'); }, localStorage: {