@uppy/thumbnail-generator
Advanced tools
Comparing version 0.29.0 to 0.29.1
{ | ||
"name": "@uppy/thumbnail-generator", | ||
"description": "Uppy plugin that generates small previews of images to show on your upload UI.", | ||
"version": "0.29.0", | ||
"version": "0.29.1", | ||
"license": "MIT", | ||
"main": "lib/index.js", | ||
"jsnext:main": "src/index.js", | ||
"types": "types/index.d.ts", | ||
@@ -26,6 +25,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@uppy/utils": "0.29.0" | ||
"@uppy/utils": "0.29.1" | ||
}, | ||
"devDependencies": { | ||
"@uppy/core": "0.29.0", | ||
"@uppy/core": "0.29.1", | ||
"namespace-emitter": "^2.0.1" | ||
@@ -36,3 +35,3 @@ }, | ||
}, | ||
"gitHead": "c68f2c7e68d2c12f8a8fb7119f1dae4ca08e4174" | ||
"gitHead": "3ddf4c7548766a0c522b9a45c03b1fd7d4e03d43" | ||
} |
@@ -1,15 +0,19 @@ | ||
import { Plugin, PluginOptions, Uppy } from '@uppy/core'; | ||
import Uppy = require('@uppy/core'); | ||
export interface ThumbnailGeneratorOptions extends PluginOptions { | ||
thumbnailWidth: number; | ||
declare module ThumbnailGenerator { | ||
interface ThumbnailGeneratorOptions extends Uppy.PluginOptions { | ||
thumbnailWidth: number; | ||
} | ||
} | ||
export default class ThumbnailGenerator extends Plugin { | ||
constructor(uppy: Uppy, opts: Partial<ThumbnailGeneratorOptions>); | ||
declare class ThumbnailGenerator extends Uppy.Plugin { | ||
constructor(uppy: Uppy.Uppy, opts: Partial<ThumbnailGenerator.ThumbnailGeneratorOptions>); | ||
} | ||
export = ThumbnailGenerator; | ||
declare module '@uppy/core' { | ||
export interface Uppy { | ||
use(pluginClass: typeof ThumbnailGenerator, opts: Partial<ThumbnailGeneratorOptions>): Uppy; | ||
use(pluginClass: typeof ThumbnailGenerator, opts: Partial<ThumbnailGenerator.ThumbnailGeneratorOptions>): Uppy.Uppy; | ||
} | ||
} |
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
38149
937
- Removed@uppy/utils@0.29.0(transitive)
Updated@uppy/utils@0.29.1