Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unifile

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unifile - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

23

lib/core/middleware.js

@@ -8,3 +8,6 @@ /*

, options = require('../default-config.js')
, displayRoutes = require('./display-routes.js');
, displayRoutes = require('./display-routes.js')
, bodyParser = require('body-parser')
, cookieParser = require('cookie-parser')
, cookieSession = require('cookie-session');
;

@@ -71,16 +74,12 @@

}
// app init
app.configure(function() {
app.use(options.apiRoot, bodyParser());
app.use(options.apiRoot, express.bodyParser());
// start session
app.use(options.apiRoot, cookieParser());
app.use(options.apiRoot, cookieSession({ secret: 'plum plum plum'}));
// start session
app.use(options.apiRoot, express.cookieParser());
app.use(options.apiRoot, express.cookieSession({ secret: 'plum plum plum'}));
// init unifile
router.init(app, express, options);
displayRoutes.init(app, express, options);
// init unifile
router.init(app, express, options);
displayRoutes.init(app, express, options);
});
return function(req, res, next) {

@@ -87,0 +86,0 @@ console.log('-------------------------------------');

{
"name": "unifile",
"description": "Express middleware to provide a common API for cloud storage services. ",
"version": "0.0.16",
"version": "0.0.17",
"author": {

@@ -14,3 +14,6 @@ "name": "Alex Hoyau aka lexoyo"

"dependencies": {
"express": "3.2.x",
"express": "~4.0.x",
"body-parser": "~1.0.x",
"cookie-parser": "~1.0.x",
"cookie-session": "~1.0.x",
"dbox": "0.6.x",

@@ -24,3 +27,3 @@ "ftp": "0.3.x",

"devDependencies": {
"express": "~3.2.6",
"express": "~4.0.x",
"chai": "",

@@ -27,0 +30,0 @@ "supertest": "",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc