Merge pull request #289 from strongloop/upgrade-deps

chore: upgrade deps to avoid npm audit warnings
This commit is contained in:
Raymond Feng 2019-03-28 14:27:11 -07:00 committed by GitHub
commit 561cbd5bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 9 deletions

View File

@ -29,25 +29,25 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"async": "^2.4.0", "async": "^2.4.0",
"bluebird": "^3.4.0", "bluebird": "^3.5.3",
"commondir": "^1.0.1", "commondir": "^1.0.1",
"debug": "^2.2.0", "debug": "^4.1.1",
"lodash": "^4.17.11", "lodash": "^4.17.11",
"semver": "^5.1.0", "semver": "^5.1.0",
"strong-globalize": "^4.1.1", "strong-globalize": "^4.1.1",
"toposort": "^2.0.2" "toposort": "^2.0.2"
}, },
"devDependencies": { "devDependencies": {
"browserify": "^4.2.3", "browserify": "^16.2.3",
"chai": "^3.5.0", "chai": "^4.2.0",
"coffeeify": "^3.0.1",
"coffeescript": "^2.3.1", "coffeescript": "^2.3.1",
"coffeeify": "^2.0.1", "dirty-chai": "^2.0.1",
"dirty-chai": "^1.2.2",
"eslint": "^5.2.0", "eslint": "^5.2.0",
"eslint-config-loopback": "^11.0.0", "eslint-config-loopback": "^11.0.0",
"fs-extra": "^3.0.1", "fs-extra": "^7.0.1",
"loopback": "^3.0.0", "loopback": "^3.0.0",
"mocha": "^5.2.0", "mocha": "^5.2.0",
"supertest": "^3.0.0" "supertest": "^4.0.2"
} }
} }

View File

@ -10,7 +10,8 @@ var vm = require('vm');
function createContext() { function createContext() {
var context = { var context = {
// required by browserify // required by browserify
XMLHttpRequest: function() { throw new Error('not implemented'); }, XMLHttpRequest: function() {},
clearTimeout: function() {},
FormData: function() { throw new Error('not implemented'); }, FormData: function() { throw new Error('not implemented'); },
localStorage: { localStorage: {