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

@uppy/dropbox

Package Overview
Dependencies
Maintainers
5
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/dropbox - npm Package Compare versions

Comparing version 1.4.20 to 1.4.21

6

lib/index.js

@@ -55,2 +55,4 @@ var _class, _temp;

companionHeaders: _this.opts.companionHeaders || _this.opts.serverHeaders,
companionKeysParams: _this.opts.companionKeysParams,
companionCookiesRule: _this.opts.companionCookiesRule,
provider: 'dropbox',

@@ -83,3 +85,3 @@ pluginId: _this.id

_proto.onFirstRender = function onFirstRender() {
return this.view.getFolder();
return Promise.all([this.provider.fetchPreAuthToken(), this.view.getFolder()]);
};

@@ -92,2 +94,2 @@

return Dropbox;
}(Plugin), _class.VERSION = "1.4.20", _temp);
}(Plugin), _class.VERSION = "1.4.21", _temp);
{
"name": "@uppy/dropbox",
"description": "Import files from Dropbox, into Uppy.",
"version": "1.4.20",
"version": "1.4.21",
"license": "MIT",

@@ -23,5 +23,5 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/companion-client": "^1.7.0",
"@uppy/provider-views": "^1.9.2",
"@uppy/utils": "^3.3.0",
"@uppy/companion-client": "^1.8.0",
"@uppy/provider-views": "^1.10.0",
"@uppy/utils": "^3.3.1",
"preact": "8.2.9"

@@ -32,3 +32,3 @@ },

},
"gitHead": "1493a807fe83f7b465a8f7562bfb5631b1945e5b"
"gitHead": "e1efe07927e7c47b94bba5540d9c0f6fd1c4c514"
}

@@ -6,3 +6,3 @@ # @uppy/dropbox

<a href="https://www.npmjs.com/package/@uppy/dropbox"><img src="https://img.shields.io/npm/v/@uppy/dropbox.svg?style=flat-square"></a>
<a href="https://travis-ci.org/transloadit/uppy"><img src="https://img.shields.io/travis/transloadit/uppy/master.svg?style=flat-square" alt="Build Status"></a>
<img src="https://github.com/transloadit/uppy/workflows/Tests/badge.svg" alt="CI status for Uppy tests"> <img src="https://github.com/transloadit/uppy/workflows/Companion/badge.svg" alt="CI status for Companion tests"> <img src="https://github.com/transloadit/uppy/workflows/End-to-end%20tests/badge.svg" alt="CI status for browser tests">

@@ -9,0 +9,0 @@ The Dropbox plugin for Uppy lets users import files from their Dropbox account.

@@ -26,2 +26,4 @@ const { Plugin } = require('@uppy/core')

companionHeaders: this.opts.companionHeaders || this.opts.serverHeaders,
companionKeysParams: this.opts.companionKeysParams,
companionCookiesRule: this.opts.companionCookiesRule,
provider: 'dropbox',

@@ -52,3 +54,6 @@ pluginId: this.id

onFirstRender () {
return this.view.getFolder()
return Promise.all([
this.provider.fetchPreAuthToken(),
this.view.getFolder()
])
}

@@ -55,0 +60,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