@uppy/google-drive
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -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', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11127
202
+ Added@uppy/utils@2.4.4(transitive)
- Removed@uppy/utils@1.3.0(transitive)
Updated@uppy/provider-views@^1.4.0
Updated@uppy/utils@^2.0.0