@ckeditor/ckeditor5-upload 41.4.1 → 42.0.0-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -120,7 +120,7 @@ declare const FileLoader_base: {
120
120
  *
121
121
  * It is used to control the process of reading the file and uploading it using the specified upload adapter.
122
122
  */
123
- declare class FileLoader extends FileLoader_base {
123
+ declare class FileLoader extends /* #__PURE__ */ FileLoader_base {
124
124
  /**
125
125
  * Unique id of FileLoader instance.
126
126
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-upload",
3
- "version": "41.4.1",
3
+ "version": "42.0.0-alpha.0",
4
4
  "description": "Upload feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,8 +12,8 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "41.4.1",
16
- "@ckeditor/ckeditor5-utils": "41.4.1"
15
+ "@ckeditor/ckeditor5-core": "42.0.0-alpha.0",
16
+ "@ckeditor/ckeditor5-utils": "42.0.0-alpha.0"
17
17
  },
18
18
  "author": "CKSource (http://cksource.com/)",
19
19
  "license": "GPL-2.0-or-later",
@@ -9,7 +9,7 @@ import { Plugin } from '@ckeditor/ckeditor5-core';
9
9
  import FileRepository from '../filerepository.js';
10
10
  /**
11
11
  * A plugin that converts images inserted into the editor into [Base64 strings](https://en.wikipedia.org/wiki/Base64)
12
- * in the {@glink installation/getting-started/getting-and-setting-data editor output}.
12
+ * in the {@glink getting-started/setup/getting-and-setting-data editor output}.
13
13
  *
14
14
  * This kind of image upload does not require server processing – images are stored with the rest of the text and
15
15
  * displayed by the web browser without additional requests.
@@ -10,7 +10,7 @@ import { Plugin } from '@ckeditor/ckeditor5-core';
10
10
  import FileRepository from '../filerepository.js';
11
11
  /**
12
12
  * A plugin that converts images inserted into the editor into [Base64 strings](https://en.wikipedia.org/wiki/Base64)
13
- * in the {@glink installation/getting-started/getting-and-setting-data editor output}.
13
+ * in the {@glink getting-started/setup/getting-and-setting-data editor output}.
14
14
  *
15
15
  * This kind of image upload does not require server processing – images are stored with the rest of the text and
16
16
  * displayed by the web browser without additional requests.
@@ -9,7 +9,7 @@ declare const FileReader_base: {
9
9
  /**
10
10
  * Wrapper over the native `FileReader`.
11
11
  */
12
- export default class FileReader extends FileReader_base {
12
+ export default class FileReader extends /* #__PURE__ */ FileReader_base {
13
13
  total: number;
14
14
  /**
15
15
  * Instance of native FileReader.
package/src/filereader.js CHANGED
@@ -10,7 +10,7 @@ import { ObservableMixin } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * Wrapper over the native `FileReader`.
12
12
  */
13
- export default class FileReader extends ObservableMixin() {
13
+ export default class FileReader extends /* #__PURE__ */ ObservableMixin() {
14
14
  /**
15
15
  * Creates an instance of the FileReader.
16
16
  */
@@ -116,7 +116,7 @@ declare const FileLoader_base: {
116
116
  *
117
117
  * It is used to control the process of reading the file and uploading it using the specified upload adapter.
118
118
  */
119
- declare class FileLoader extends FileLoader_base {
119
+ declare class FileLoader extends /* #__PURE__ */ FileLoader_base {
120
120
  /**
121
121
  * Unique id of FileLoader instance.
122
122
  *
@@ -86,14 +86,17 @@ export default class FileRepository extends Plugin {
86
86
  * This warning shows up when {@link module:upload/filerepository~FileRepository} is being used
87
87
  * without {@link module:upload/filerepository~FileRepository#createUploadAdapter defining an upload adapter}.
88
88
  *
89
- * **If you see this warning when using one of the {@glink installation/getting-started/predefined-builds
89
+ * **If you see this warning when using one of the {@glink getting-started/legacy/installation-methods/predefined-builds
90
90
  * CKEditor 5 Builds}**
91
91
  * it means that you did not configure any of the upload adapters available by default in those builds.
92
92
  *
93
+ * Predefined builds are a deprecated solution and we strongly advise
94
+ * {@glink updating/new-installation-methods migrating to new installation methods}.
95
+ *
93
96
  * See the {@glink features/images/image-upload/image-upload comprehensive "Image upload overview"} to learn which upload
94
97
  * adapters are available in the builds and how to configure them.
95
98
  *
96
- * **If you see this warning when using a custom build** there is a chance that you enabled
99
+ * Otherwise, if you see this warning, there is a chance that you enabled
97
100
  * a feature like {@link module:image/imageupload~ImageUpload},
98
101
  * or {@link module:image/imageupload/imageuploadui~ImageUploadUI} but you did not enable any upload adapter.
99
102
  * You can choose one of the existing upload adapters listed in the
@@ -177,7 +180,7 @@ export default class FileRepository extends Plugin {
177
180
  *
178
181
  * It is used to control the process of reading the file and uploading it using the specified upload adapter.
179
182
  */
180
- class FileLoader extends ObservableMixin() {
183
+ class FileLoader extends /* #__PURE__ */ ObservableMixin() {
181
184
  /**
182
185
  * Creates a new instance of `FileLoader`.
183
186
  *