@ckeditor/ckeditor5-upload 38.2.0-alpha.0 → 38.2.0-alpha.1

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": "38.2.0-alpha.0",
3
+ "version": "38.2.0-alpha.1",
4
4
  "description": "Upload feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,9 +12,9 @@
12
12
  "main": "src/index.js",
13
13
  "type": "module",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "38.2.0-alpha.0",
16
- "@ckeditor/ckeditor5-utils": "38.2.0-alpha.0",
17
- "@ckeditor/ckeditor5-ui": "38.2.0-alpha.0"
15
+ "@ckeditor/ckeditor5-core": "38.2.0-alpha.1",
16
+ "@ckeditor/ckeditor5-utils": "38.2.0-alpha.1",
17
+ "@ckeditor/ckeditor5-ui": "38.2.0-alpha.1"
18
18
  },
19
19
  "engines": {
20
20
  "node": ">=16.0.0",
@@ -6,7 +6,7 @@
6
6
  * @module upload/adapters/base64uploadadapter
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import FileRepository from '../filerepository';
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
12
  * in the {@glink installation/getting-started/getting-and-setting-data editor output}.
@@ -7,7 +7,7 @@
7
7
  */
8
8
  /* globals window */
9
9
  import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import FileRepository from '../filerepository';
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
13
  * in the {@glink installation/getting-started/getting-and-setting-data editor output}.
@@ -6,7 +6,7 @@
6
6
  * @module upload/adapters/simpleuploadadapter
7
7
  */
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import FileRepository from '../filerepository';
9
+ import FileRepository from '../filerepository.js';
10
10
  /**
11
11
  * The Simple upload adapter allows uploading images to an application running on your server using
12
12
  * the [`XMLHttpRequest`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) API with a
@@ -7,7 +7,7 @@
7
7
  */
8
8
  /* globals XMLHttpRequest, FormData */
9
9
  import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import FileRepository from '../filerepository';
10
+ import FileRepository from '../filerepository.js';
11
11
  import { logWarning } from '@ckeditor/ckeditor5-utils';
12
12
  /**
13
13
  * The Simple upload adapter allows uploading images to an application running on your server using
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { SimpleUploadConfig, FileRepository, SimpleUploadAdapter, Base64UploadAdapter } from './index';
5
+ import type { SimpleUploadConfig, FileRepository, SimpleUploadAdapter, Base64UploadAdapter } from './index.js';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface EditorConfig {
8
8
  /**
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { Plugin, PendingActions } from '@ckeditor/ckeditor5-core';
9
9
  import { CKEditorError, Collection, ObservableMixin, logWarning, uid } from '@ckeditor/ckeditor5-utils';
10
- import FileReader from './filereader';
10
+ import FileReader from './filereader.js';
11
11
  /**
12
12
  * File repository plugin. A central point for managing file upload.
13
13
  *
package/src/index.d.ts CHANGED
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module upload
7
7
  */
8
- export { default as FileRepository, type UploadAdapter, type UploadResponse, type FileLoader } from './filerepository';
9
- export { default as FileDialogButtonView } from './ui/filedialogbuttonview';
10
- export { default as Base64UploadAdapter } from './adapters/base64uploadadapter';
11
- export { default as SimpleUploadAdapter } from './adapters/simpleuploadadapter';
12
- export type { SimpleUploadConfig } from './uploadconfig';
13
- import './augmentation';
8
+ export { default as FileRepository, type UploadAdapter, type UploadResponse, type FileLoader } from './filerepository.js';
9
+ export { default as FileDialogButtonView } from './ui/filedialogbuttonview.js';
10
+ export { default as Base64UploadAdapter } from './adapters/base64uploadadapter.js';
11
+ export { default as SimpleUploadAdapter } from './adapters/simpleuploadadapter.js';
12
+ export type { SimpleUploadConfig } from './uploadconfig.js';
13
+ import './augmentation.js';
package/src/index.js CHANGED
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module upload
7
7
  */
8
- export { default as FileRepository } from './filerepository';
9
- export { default as FileDialogButtonView } from './ui/filedialogbuttonview';
10
- export { default as Base64UploadAdapter } from './adapters/base64uploadadapter';
11
- export { default as SimpleUploadAdapter } from './adapters/simpleuploadadapter';
12
- import './augmentation';
8
+ export { default as FileRepository } from './filerepository.js';
9
+ export { default as FileDialogButtonView } from './ui/filedialogbuttonview.js';
10
+ export { default as Base64UploadAdapter } from './adapters/base64uploadadapter.js';
11
+ export { default as SimpleUploadAdapter } from './adapters/simpleuploadadapter.js';
12
+ import './augmentation.js';