express-form-post
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -16,3 +16,3 @@ "use strict"; | ||
} | ||
/* | ||
@@ -99,9 +99,8 @@ * validateBody validates the req.body before sending off files to the store | ||
case "dropbox":{ | ||
let Dropbox = require("dropbox"); | ||
checkApi(); | ||
this.apiObject = new Dropbox({ | ||
this.apiObject = { | ||
accessToken: this.opts.api.accessToken, | ||
clientId: this.opts.api.clientId, | ||
selectUser: this.opts.api.selectUser, | ||
}); | ||
}; | ||
break; | ||
@@ -108,0 +107,0 @@ } |
{ | ||
"name": "express-form-post", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Simple, reliable and memory efficient http file parse and upload api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,3 @@ # Express Form Post | ||
* Perfect for applications that require uploads on signup and those looking to save api requests | ||
* This makes efp faster as it can abort the file upload if you invalidate the request body | ||
* This makes efp faster for cloud storage as it can abort the file upload if you invalidate the request body | ||
* Pipes buffer streams to api endpoints making it a very fast and memory efficient file uploader | ||
@@ -150,3 +150,3 @@ | ||
```sh | ||
$ npm install dropbox dropbox-stream --save | ||
$ npm install dropbox-stream --save | ||
``` | ||
@@ -153,0 +153,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
33154
489