Skip to content

Commit 7ae200f

Browse files
authoredApr 7, 2021
Merge pull request #328 from nextcloud/bump-toastify-js
Bump ToastifyJS to 1.10.0
2 parents 770eed0 + e0dc11d commit 7ae200f

File tree

5 files changed

+5079
-13
lines changed

5 files changed

+5079
-13
lines changed
 

‎l10n/messages.pot

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ msgid ""
22
msgstr ""
33
"Content-Type: text/plain; charset=UTF-8\n"
44

5-
#: lib/toast.ts:191
5+
#: lib/toast.ts:192
66
msgid "Undo"
77
msgstr ""

‎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.