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 { try {
//simulate the success event in filesystem provider // simulate the success event in filesystem provider
//fixes: https://github.com/strongloop/loopback-component-storage/issues/58 // fixes: https://github.com/strongloop/loopback-component-storage/issues/58
// & #23 & #67 // & #23 & #67
var stream = fs.createWriteStream(filePath, fileOpts); var stream = fs.createWriteStream(filePath, fileOpts);
stream.on('finish', function() { stream.on('finish', function() {

View File

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

View File

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