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

@uppy/box

Package Overview
Dependencies
Maintainers
5
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/box - npm Package Compare versions

Comparing version 3.0.0-beta.5 to 3.0.0-beta.6

2

lib/Box.d.ts

@@ -15,8 +15,8 @@ import { Provider, tokenStorage, type CompanionPluginOptions } from '@uppy/companion-client';

files: UppyFile<M, B>[];
rootFolderId: string | null;
constructor(uppy: Uppy<M, B>, opts: BoxOptions);
install(): void;
uninstall(): void;
onFirstRender(): Promise<void>;
render(state: unknown): ComponentChild;
}
//# sourceMappingURL=Box.d.ts.map

@@ -9,3 +9,3 @@ import { Provider, getAllowedHosts, tokenStorage } from '@uppy/companion-client';

const packageJson = {
"version": "3.0.0-beta.5"
"version": "3.0.0-beta.6"
};

@@ -15,2 +15,3 @@ export default class Box extends UIPlugin {

super(uppy, opts);
this.rootFolderId = null;
this.id = this.opts.id || 'Box';

@@ -48,3 +49,2 @@ this.type = 'acquirer';

this.title = this.i18n('pluginNameBox');
this.onFirstRender = this.onFirstRender.bind(this);
this.render = this.render.bind(this);

@@ -68,5 +68,2 @@ }

}
async onFirstRender() {
await Promise.all([this.provider.fetchPreAuthToken(), this.view.getFolder()]);
}
render(state) {

@@ -73,0 +70,0 @@ return this.view.render(state);

{
"name": "@uppy/box",
"description": "Import files from Box, into Uppy.",
"version": "3.0.0-beta.5",
"version": "3.0.0-beta.6",
"license": "MIT",

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

"dependencies": {
"@uppy/companion-client": "^4.0.0-beta.5",
"@uppy/provider-views": "^4.0.0-beta.5",
"@uppy/utils": "^6.0.0-beta.5",
"@uppy/companion-client": "^4.0.0-beta.7",
"@uppy/provider-views": "^4.0.0-beta.7",
"@uppy/utils": "^6.0.0-beta.8",
"preact": "^10.5.13"
},
"peerDependencies": {
"@uppy/core": "^4.0.0-beta.5"
"@uppy/core": "^4.0.0-beta.9"
},

@@ -32,0 +32,0 @@ "publishConfig": {

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