@uppy/google-drive
Advanced tools
Comparing version 3.2.1 to 3.3.0
@@ -5,3 +5,3 @@ import { UIPlugin } from '@uppy/core'; | ||
const packageJson = { | ||
"version": "3.2.1" | ||
"version": "3.3.0" | ||
}; | ||
@@ -8,0 +8,0 @@ import DriveProviderViews from './DriveProviderViews.js'; |
{ | ||
"name": "@uppy/google-drive", | ||
"description": "The Google Drive plugin for Uppy lets users import files from their Google Drive account", | ||
"version": "3.2.1", | ||
"version": "3.3.0", | ||
"license": "MIT", | ||
@@ -25,10 +25,10 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/companion-client": "^3.3.0", | ||
"@uppy/provider-views": "^3.5.0", | ||
"@uppy/utils": "^5.4.3", | ||
"@uppy/companion-client": "^3.5.0", | ||
"@uppy/provider-views": "^3.6.0", | ||
"@uppy/utils": "^5.5.2", | ||
"preact": "^10.5.13" | ||
}, | ||
"peerDependencies": { | ||
"@uppy/core": "^3.4.0" | ||
"@uppy/core": "^3.6.0" | ||
} | ||
} |
import type { PluginTarget, UIPlugin, UIPluginOptions } from '@uppy/core' | ||
import type { PublicProviderOptions, TokenStorage } from '@uppy/companion-client' | ||
import type { | ||
PublicProviderOptions, | ||
TokenStorage, | ||
} from '@uppy/companion-client' | ||
export interface GoogleDriveOptions extends UIPluginOptions, PublicProviderOptions { | ||
target?: PluginTarget | ||
title?: string | ||
storage?: TokenStorage | ||
export interface GoogleDriveOptions | ||
extends UIPluginOptions, | ||
PublicProviderOptions { | ||
target?: PluginTarget | ||
title?: string | ||
storage?: TokenStorage | ||
} | ||
declare class GoogleDrive extends UIPlugin<GoogleDriveOptions> { } | ||
declare class GoogleDrive extends UIPlugin<GoogleDriveOptions> {} | ||
export default GoogleDrive |
@@ -1,2 +0,2 @@ | ||
import Uppy, { UIPlugin, UIPluginOptions } from '@uppy/core' | ||
import Uppy, { UIPlugin, type UIPluginOptions } from '@uppy/core' | ||
import GoogleDrive from '..' | ||
@@ -9,2 +9,5 @@ | ||
uppy.use(GoogleDrive, { target: SomePlugin, companionUrl: '' }) | ||
uppy.use(GoogleDrive, { target: document.querySelector('#gdrive') || (undefined as never), companionUrl: '' }) | ||
uppy.use(GoogleDrive, { | ||
target: document.querySelector('#gdrive') || (undefined as never), | ||
companionUrl: '', | ||
}) |
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
20525
210
Updated@uppy/provider-views@^3.6.0
Updated@uppy/utils@^5.5.2