New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@uppy/onedrive

Package Overview
Dependencies
Maintainers
8
Versions
79
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 2.1.1 to 3.0.0-beta

4

lib/index.js

@@ -1,3 +0,1 @@

"use strict";
module.exports = require("./OneDrive.js");
export { default } from "./OneDrive.js";

@@ -1,4 +0,2 @@

"use strict";
module.exports = {
export default {
strings: {

@@ -5,0 +3,0 @@ pluginNameOneDrive: 'OneDrive'

@@ -1,27 +0,17 @@

"use strict";
var _preact = require("preact");
var _core = require("@uppy/core");
var _companionClient = require("@uppy/companion-client");
var _providerViews = require("@uppy/provider-views");
import { h } from 'preact';
import { UIPlugin } from '@uppy/core';
import { Provider } from '@uppy/companion-client';
import { ProviderViews } from '@uppy/provider-views';
const packageJson = {
"version": "2.1.1"
"version": "3.0.0-beta"
};
const locale = require("./locale.js");
class OneDrive extends _core.UIPlugin {
import locale from './locale.js';
export default class OneDrive extends UIPlugin {
constructor(uppy, opts) {
super(uppy, opts);
this.id = this.opts.id || 'OneDrive';
_companionClient.Provider.initPlugin(this, opts);
Provider.initPlugin(this, opts);
this.title = this.opts.title || 'OneDrive';
this.icon = () => (0, _preact.h)("svg", {
this.icon = () => h("svg", {
"aria-hidden": "true",

@@ -32,6 +22,6 @@ focusable: "false",

viewBox: "0 0 32 32"
}, (0, _preact.h)("g", {
}, h("g", {
fill: "none",
fillRule: "evenodd"
}, (0, _preact.h)("rect", {
}, h("rect", {
className: "uppy-ProviderIconBg",

@@ -42,12 +32,12 @@ width: "32",

fill: "#0262C0"
}), (0, _preact.h)("g", {
}), h("g", {
fill: "#FFF",
fillRule: "nonzero"
}, (0, _preact.h)("path", {
}, h("path", {
d: "M24.157 22s1.492-.205 1.79-1.655a2.624 2.624 0 0 0 .03-.878c-.22-1.64-1.988-2.01-1.988-2.01s.307-1.765-1.312-2.69c-1.62-.925-3.1 0-3.1 0S18.711 13 16.366 13c-3.016 0-3.519 3.448-3.519 3.448S10 16.618 10 19.14c0 2.523 2.597 2.86 2.597 2.86h11.56z"
}), (0, _preact.h)("path", {
}), h("path", {
d: "M9.421 19.246c0-2.197 1.606-3.159 2.871-3.472.44-1.477 1.654-3.439 4.135-3.439H16.445c1.721 0 2.79.823 3.368 1.476a3.99 3.99 0 0 1 1.147-.171h.01l.03.002C21.017 13.5 20.691 10 16.757 10c-2.69 0-3.639 2.345-3.639 2.345s-1.95-1.482-3.955.567c-1.028 1.052-.79 2.669-.79 2.669S6 15.824 6 18.412C6 20.757 8.452 21 8.452 21h1.372a3.77 3.77 0 0 1-.403-1.754z"
}))));
this.provider = new _companionClient.Provider(uppy, {
this.provider = new Provider(uppy, {
companionUrl: this.opts.companionUrl,

@@ -67,3 +57,3 @@ companionHeaders: this.opts.companionHeaders,

install() {
this.view = new _providerViews.ProviderViews(this, {
this.view = new ProviderViews(this, {
provider: this.provider

@@ -94,4 +84,2 @@ });

}
OneDrive.VERSION = packageJson.version;
module.exports = OneDrive;
OneDrive.VERSION = packageJson.version;
{
"name": "@uppy/onedrive",
"description": "Import files from OneDrive, into Uppy.",
"version": "2.1.1",
"version": "3.0.0-beta",
"license": "MIT",

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

"dependencies": {
"@uppy/companion-client": "^2.2.0",
"@uppy/provider-views": "^2.1.1",
"@uppy/utils": "^4.1.0",
"@uppy/companion-client": "^3.0.0-beta",
"@uppy/provider-views": "^3.0.0-beta",
"@uppy/utils": "^5.0.0-beta",
"preact": "^10.5.13"
},
"peerDependencies": {
"@uppy/core": "^2.3.0"
}
"@uppy/core": "^3.0.0-beta"
},
"stableVersion": "2.1.1"
}

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