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

@uppy/onedrive

Package Overview
Dependencies
Maintainers
6
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/onedrive - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

7

CHANGELOG.md
# @uppy/onedrive
## 3.1.2
Released: 2023-07-13
Included in: Uppy v3.12.0
- @uppy/box,@uppy/companion,@uppy/dropbox,@uppy/google-drive,@uppy/onedrive,@uppy/provider-views: Load Google Drive / OneDrive lists 5-10x faster & always load all files (Merlijn Vos / #4513)
## 3.0.1

@@ -4,0 +11,0 @@

13

lib/OneDrive.js

@@ -6,3 +6,3 @@ import { h } from 'preact';

const packageJson = {
"version": "3.1.1"
"version": "3.1.2"
};

@@ -16,3 +16,2 @@ import locale from './locale.js';

this.title = this.opts.title || 'OneDrive';
this.icon = () => h("svg", {

@@ -40,3 +39,2 @@ "aria-hidden": "true",

})));
this.provider = new Provider(uppy, {

@@ -55,6 +53,6 @@ companionUrl: this.opts.companionUrl,

}
install() {
this.view = new ProviderViews(this, {
provider: this.provider
provider: this.provider,
loadAllFiles: true
});

@@ -64,3 +62,2 @@ const {

} = this.opts;
if (target) {

@@ -70,3 +67,2 @@ this.mount(target, this);

}
uninstall() {

@@ -76,12 +72,9 @@ this.view.tearDown();

}
onFirstRender() {
return Promise.all([this.provider.fetchPreAuthToken(), this.view.getFolder()]);
}
render(state) {
return this.view.render(state);
}
}
OneDrive.VERSION = packageJson.version;
{
"name": "@uppy/onedrive",
"description": "Import files from OneDrive, into Uppy.",
"version": "3.1.1",
"version": "3.1.2",
"license": "MIT",

@@ -24,10 +24,10 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/companion-client": "^3.1.3",
"@uppy/provider-views": "^3.3.0",
"@uppy/utils": "^5.3.0",
"@uppy/companion-client": "^3.2.1",
"@uppy/provider-views": "^3.4.0",
"@uppy/utils": "^5.4.1",
"preact": "^10.5.13"
},
"peerDependencies": {
"@uppy/core": "^3.2.0"
"@uppy/core": "^3.3.1"
}
}

@@ -49,2 +49,3 @@ import { h } from 'preact'

provider: this.provider,
loadAllFiles: true,
})

@@ -51,0 +52,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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