@uppy/informer
Advanced tools
Comparing version 3.0.4 to 3.1.0
# @uppy/informer | ||
## 3.1.0 | ||
Released: 2024-02-28 | ||
Included in: Uppy v3.23.0 | ||
- @uppy/informer: migrate to TS (Merlijn Vos / #4967) | ||
## 3.0.2 | ||
@@ -4,0 +11,0 @@ |
@@ -6,5 +6,8 @@ /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ | ||
import FadeIn from "./FadeIn.js"; | ||
import TransitionGroup from './TransitionGroup.js'; | ||
import TransitionGroup from "./TransitionGroup.js"; | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore We don't want TS to generate types for the package.json | ||
const packageJson = { | ||
"version": "3.0.4" | ||
"version": "3.1.0" | ||
}; | ||
@@ -32,6 +35,6 @@ /** | ||
"data-microtip-size": "medium", | ||
role: "tooltip" | ||
role: "tooltip", | ||
onClick: () => | ||
// eslint-disable-next-line no-alert | ||
, | ||
onClick: () => alert(`${info.message} \n\n ${info.details}`) | ||
alert(`${info.message} \n\n ${info.details}`) | ||
}, "?")))))); | ||
@@ -42,10 +45,2 @@ }; | ||
this.title = 'Informer'; | ||
// set default options | ||
const defaultOptions = {}; | ||
// merge default options with the ones set by user | ||
this.opts = { | ||
...defaultOptions, | ||
...opts | ||
}; | ||
} | ||
@@ -52,0 +47,0 @@ install() { |
@@ -0,1 +1,4 @@ | ||
// INFO: not typing copy pasted libarary code | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-nocheck | ||
/* eslint-disable */ | ||
@@ -2,0 +5,0 @@ /** |
{ | ||
"name": "@uppy/informer", | ||
"description": "A notification and error pop-up bar for Uppy.", | ||
"version": "3.0.4", | ||
"version": "3.1.0", | ||
"license": "MIT", | ||
@@ -27,8 +27,8 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^5.5.2", | ||
"@uppy/utils": "^5.7.4", | ||
"preact": "^10.5.13" | ||
}, | ||
"peerDependencies": { | ||
"@uppy/core": "^3.6.0" | ||
"@uppy/core": "^3.9.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
56284
780
1
Updated@uppy/utils@^5.7.4