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

@uppy/google-drive

Package Overview
Dependencies
Maintainers
5
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/google-drive - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

6

lib/DriveProviderViews.js

@@ -18,5 +18,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }

e.stopPropagation();
e.preventDefault(); // Team Drives aren't selectable; for all else, defer to the base ProviderView.
e.preventDefault(); // Shared Drives aren't selectable; for all else, defer to the base ProviderView.
// @todo isTeamDrive is left for backward compatibility. We should remove it in the next
// major release.
if (!file.custom.isTeamDrive) {
if (!file.custom.isTeamDrive && !file.custom.isSharedDrive) {
_ProviderViews.prototype.toggleCheckbox.call(this, e, file);

@@ -23,0 +25,0 @@ }

@@ -56,3 +56,3 @@ var _class, _temp;

companionUrl: _this.opts.companionUrl,
serverHeaders: _this.opts.serverHeaders,
companionHeaders: _this.opts.companionHeaders || _this.opts.serverHeaders,
storage: _this.opts.storage,

@@ -108,2 +108,2 @@ provider: 'drive',

return GoogleDrive;
}(Plugin), _class.VERSION = "1.3.0", _temp);
}(Plugin), _class.VERSION = "1.3.1", _temp);
{
"name": "@uppy/google-drive",
"description": "The Google Drive plugin for Uppy lets users import files from their Google Drive account",
"version": "1.3.0",
"version": "1.3.1",
"license": "MIT",

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

"dependencies": {
"@uppy/companion-client": "^1.3.0",
"@uppy/provider-views": "^1.3.0",
"@uppy/utils": "^1.3.0",
"@uppy/companion-client": "^1.4.0",
"@uppy/provider-views": "^1.4.0",
"@uppy/utils": "^2.0.0",
"preact": "8.2.9"

@@ -33,3 +33,3 @@ },

},
"gitHead": "056a7114a15fc7480a4014342d7f2c19305dc96c"
"gitHead": "4e32e61d7c7821ca5d8641a3df741487ea27f0bb"
}

@@ -8,4 +8,6 @@ const ProviderViews = require('@uppy/provider-views')

// Team Drives aren't selectable; for all else, defer to the base ProviderView.
if (!file.custom.isTeamDrive) {
// Shared Drives aren't selectable; for all else, defer to the base ProviderView.
// @todo isTeamDrive is left for backward compatibility. We should remove it in the next
// major release.
if (!file.custom.isTeamDrive && !file.custom.isSharedDrive) {
super.toggleCheckbox(e, file)

@@ -12,0 +14,0 @@ }

@@ -27,3 +27,3 @@ const { Plugin } = require('@uppy/core')

companionUrl: this.opts.companionUrl,
serverHeaders: this.opts.serverHeaders,
companionHeaders: this.opts.companionHeaders || this.opts.serverHeaders,
storage: this.opts.storage,

@@ -30,0 +30,0 @@ provider: 'drive',

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