Update deps

This commit is contained in:
Raymond Feng 2017-03-09 08:22:03 -08:00
parent 82878077ff
commit 636692a8a5
3 changed files with 8 additions and 8 deletions

View File

@ -201,8 +201,8 @@ FileSystemProvider.prototype.upload = function(options, cb) {
};
try {
//simulate the success event in filesystem provider
//fixes: https://github.com/strongloop/loopback-component-storage/issues/58
// simulate the success event in filesystem provider
// fixes: https://github.com/strongloop/loopback-component-storage/issues/58
// & #23 & #67
var stream = fs.createWriteStream(filePath, fileOpts);
stream.on('finish', function() {

View File

@ -12,20 +12,20 @@
"posttest": "npm run lint"
},
"dependencies": {
"async": "^0.9.0",
"async": "^2.1.5",
"formidable": "^1.0.16",
"pkgcloud": "^1.1.0",
"strong-globalize": "^2.6.2",
"uuid": "^3.0.1"
},
"devDependencies": {
"eslint": "^2.13.1",
"eslint-config-loopback": "^4.0.0",
"eslint": "^3.17.1",
"eslint-config-loopback": "^8.0.0",
"express": "^4.11.0",
"loopback": "^3.0.0",
"mkdirp": "^0.5.0",
"mocha": "^2.1.0",
"supertest": "^0.15.0",
"mocha": "^3.2.0",
"supertest": "^3.0.0",
"semver": "^5.3.0"
},
"repository": {

View File

@ -14,7 +14,7 @@ var path = require('path');
// configure errorHandler to show full error message
app.set('remoting', {errorHandler: {debug: true, log: false}});
//custom route with renamer
// custom route with renamer
app.post('/custom/upload', function(req, res, next) {
var options = {
container: 'album1',