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

node-dropbox-v2

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-dropbox-v2 - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

21

lib/node_dropbox_v2.js

@@ -131,25 +131,16 @@ var request = require('request');

method: "GET",
//Lets let the main app set that...
encoding: null,
url: apiContentRoot + api.getFiles,
headers: {
"Content-Type": "application/octet-stream; charset=utf-8",
//"Content-Type": "image/png",
//"Content-Type": "application/octet-stream",
"Dropbox-API-Arg": '{"path": "/'+path+'"}',
"Authorization": "Bearer "+ access_token
},
json: false,
//body: body.toString('utf8')
}
return request(options, cb);
},
}
return request(options, cb);
},
/**
* Let connect pipe to downloaded file.
*/
getFilePipe: function(path, cb) {
options = optionsBuilder(apiContentRoot + api.getFiles + '/' + path, access_token);
return request(options, cb)
},
/**
* Gets changes to files and folders in a user's Dropbox.

@@ -156,0 +147,0 @@ */

{
"name": "node-dropbox-v2",
"description": "A simple Dropbox API v2 client for node.js",
"version": "0.1.7",
"version": "0.1.8",
"author": "Nodefried <info@nodefried.com>",

@@ -6,0 +6,0 @@ "keywords": [

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