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.48 to 0.0.49

3

lib/core/middleware.js

@@ -51,3 +51,2 @@

if(response.headerSent !== true) {
console.log('aaa');
response.setHeader('Content-Type', 'application/json; charset=utf8');

@@ -82,7 +81,5 @@ }

if (name){
console.log(name, path, '> '+pathModule.resolve(__dirname, path));
app.use(name, express.static(path));
}
else{
console.log(path, '> '+pathModule.resolve(__dirname, path));
app.use(express.static(path));

@@ -89,0 +86,0 @@ }

@@ -93,3 +93,2 @@ /**

// it never come back here when drobox::connect is frozen
// fixes it : req.session = undefined;
////////////////////////

@@ -96,0 +95,0 @@ if (status!==200){

6

package.json
{
"name": "unifile",
"description": "Express middleware to provide a common API for cloud storage services. ",
"version": "0.0.48",
"version": "0.0.49",
"author": {

@@ -23,4 +23,4 @@ "name": "Alex Hoyau aka lexoyo"

"devDependencies": {
"body-parser": "~1.6.5",
"connect-multiparty": "~1.2.1",
"body-parser": "~1.10.0",
"connect-multiparty": "~1.2.5",
"cookie-parser": "~1.3.2",

@@ -27,0 +27,0 @@ "express-session": "1.7.6",

@@ -7,2 +7,4 @@ #Unifile, unified access to cloud storage services.

> [Here is the API online documentation with code samples in Javascript, node.js, python...](http://docs.unifile.apiary.io/)
Currently supported services

@@ -19,4 +21,2 @@

[Here is the API online documentation with code samples in Javascript, node.js, python, ...](http://docs.unifile.apiary.io/#serviceactions)
#Motivation

@@ -23,0 +23,0 @@

@@ -10,2 +10,6 @@ /**

var unifile = require('../lib/');
var multipart = require('connect-multiparty');
var bodyParser = require('body-parser');
var cookieParser = require('cookie-parser');
var session = require('express-session');

@@ -33,3 +37,6 @@ // config

resave: false,
saveUninitialized: false
saveUninitialized: false,
cookie: {
maxAge: 30 * 24 * 60 * 60 * 1000 // 30 days
}
}));

@@ -36,0 +43,0 @@

Sorry, the diff of this file is not supported yet

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