@uppy/informer
Advanced tools
Comparing version 0.29.0 to 0.29.1
{ | ||
"name": "@uppy/informer", | ||
"description": "A notification and error pop-up bar for Uppy.", | ||
"version": "0.29.0", | ||
"version": "0.29.1", | ||
"license": "MIT", | ||
"main": "lib/index.js", | ||
"jsnext:main": "src/index.js", | ||
"style": "dist/style.min.css", | ||
@@ -27,7 +26,7 @@ "types": "types/index.d.ts", | ||
"dependencies": { | ||
"@uppy/utils": "0.29.0", | ||
"@uppy/utils": "0.29.1", | ||
"preact": "^8.2.9" | ||
}, | ||
"devDependencies": { | ||
"@uppy/core": "0.29.0" | ||
"@uppy/core": "0.29.1" | ||
}, | ||
@@ -37,3 +36,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "c68f2c7e68d2c12f8a8fb7119f1dae4ca08e4174" | ||
"gitHead": "3ddf4c7548766a0c522b9a45c03b1fd7d4e03d43" | ||
} |
@@ -1,22 +0,26 @@ | ||
import { Plugin, PluginOptions, Uppy } from '@uppy/core'; | ||
import Uppy = require('@uppy/core'); | ||
interface Color { | ||
bg: string | number; | ||
text: string | number; | ||
} | ||
declare module Informer { | ||
interface Color { | ||
bg: string | number; | ||
text: string | number; | ||
} | ||
export interface InformerOptions extends PluginOptions { | ||
typeColors: { | ||
[type: string]: Color | ||
}; | ||
interface InformerOptions extends Uppy.PluginOptions { | ||
typeColors: { | ||
[type: string]: Color | ||
}; | ||
} | ||
} | ||
export default class Informer extends Plugin { | ||
constructor(uppy: Uppy, opts: Partial<InformerOptions>); | ||
declare class Informer extends Uppy.Plugin { | ||
constructor(uppy: Uppy.Uppy, opts: Partial<Informer.InformerOptions>); | ||
} | ||
export = Informer; | ||
declare module '@uppy/core' { | ||
export interface Uppy { | ||
use(pluginClass: typeof Informer, opts: Partial<InformerOptions>): Uppy; | ||
use(pluginClass: typeof Informer, opts: Partial<Informer.InformerOptions>): 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
13525
227
- Removed@uppy/utils@0.29.0(transitive)
Updated@uppy/utils@0.29.1