@ckeditor/ckeditor5-upload 37.0.0 → 37.1.0
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-upload",
|
3
|
-
"version": "37.
|
3
|
+
"version": "37.1.0",
|
4
4
|
"description": "Upload feature for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -11,9 +11,9 @@
|
|
11
11
|
],
|
12
12
|
"main": "src/index.js",
|
13
13
|
"dependencies": {
|
14
|
-
"@ckeditor/ckeditor5-core": "^37.
|
15
|
-
"@ckeditor/ckeditor5-utils": "^37.
|
16
|
-
"@ckeditor/ckeditor5-ui": "^37.
|
14
|
+
"@ckeditor/ckeditor5-core": "^37.1.0",
|
15
|
+
"@ckeditor/ckeditor5-utils": "^37.1.0",
|
16
|
+
"@ckeditor/ckeditor5-ui": "^37.1.0"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
19
|
"typescript": "^4.8.4",
|
@@ -142,7 +142,7 @@ class Adapter {
|
|
142
142
|
});
|
143
143
|
});
|
144
144
|
// Upload progress when it is supported.
|
145
|
-
/* istanbul ignore else */
|
145
|
+
/* istanbul ignore else -- @preserve */
|
146
146
|
if (xhr.upload) {
|
147
147
|
xhr.upload.addEventListener('progress', evt => {
|
148
148
|
if (evt.lengthComputable) {
|
@@ -90,7 +90,7 @@ class FileInputView extends View {
|
|
90
90
|
},
|
91
91
|
on: {
|
92
92
|
// Removing from code coverage since we cannot programmatically set input element files.
|
93
|
-
change: bind.to(/* istanbul ignore next */ () => {
|
93
|
+
change: bind.to(/* istanbul ignore next -- @preserve */ () => {
|
94
94
|
if (this.element && this.element.files && this.element.files.length) {
|
95
95
|
this.fire('done', this.element.files);
|
96
96
|
}
|