Skip to content

Commit da92227

Browse files
committedApr 7, 2021
Bump ToastifyJS to 1.10.0
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
1 parent 770eed0 commit da92227

File tree

4 files changed

+5078
-12
lines changed

4 files changed

+5078
-12
lines changed
 

‎lib/toast.ts

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ export function showMessage(data: string|Node, options?: ToastOptions): Toast {
117117
position: 'right',
118118
backgroundColor: '',
119119
className: 'dialogs ' + classes,
120+
escapeMarkup: !options.isHTML,
120121
})
121122
toast.showToast()
122123
return toast

‎lib/toastify.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ declare module 'toastify-js' {
3030
stopOnFocus?: Boolean,
3131
callback?: Function,
3232
onClick?: Function,
33-
33+
escapeMarkup: boolean,
3434
}
3535

3636
export default function Toastify(a: ToastifyOptions): Toast;

‎package-lock.json

+5,075-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@nextcloud/l10n": "^1.3.0",
2929
"@nextcloud/typings": "^1.0.0",
3030
"core-js": "^3.6.4",
31-
"toastify-js": "^1.9.1"
31+
"toastify-js": "^1.10.0"
3232
},
3333
"devDependencies": {
3434
"@babel/cli": "^7.8.4",

0 commit comments

Comments
 (0)
Please sign in to comment.