@ckeditor/ckeditor5-easy-image 40.1.0 → 41.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,86 +5,86 @@ All changes in the package are documented in the main repository. See: https://g
5
5
 
6
6
  Changes for the past releases are available below.
7
7
 
8
- ## [19.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v18.0.0...v19.0.0) (2020-04-29)
8
+ ## [19.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v18.0.0...v19.0.0) (April 29, 2020)
9
9
 
10
10
  Internal changes only (updated dependencies, documentation, etc.).
11
11
 
12
12
 
13
- ## [18.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v17.0.0...v18.0.0) (2020-03-19)
13
+ ## [18.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v17.0.0...v18.0.0) (March 19, 2020)
14
14
 
15
15
  Internal changes only (updated dependencies, documentation, etc.).
16
16
 
17
17
 
18
- ## [17.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v16.0.0...v17.0.0) (2020-02-19)
18
+ ## [17.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v16.0.0...v17.0.0) (February 19, 2020)
19
19
 
20
20
  Internal changes only (updated dependencies, documentation, etc.).
21
21
 
22
22
 
23
- ## [16.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v15.0.0...v16.0.0) (2019-12-04)
23
+ ## [16.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v15.0.0...v16.0.0) (December 4, 2019)
24
24
 
25
25
  Internal changes only (updated dependencies, documentation, etc.).
26
26
 
27
27
 
28
- ## [15.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.5...v15.0.0) (2019-10-23)
28
+ ## [15.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.5...v15.0.0) (October 23, 2019)
29
29
 
30
30
  Internal changes only (updated dependencies, documentation, etc.).
31
31
 
32
32
 
33
- ## [11.0.5](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.4...v11.0.5) (2019-08-26)
33
+ ## [11.0.5](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.4...v11.0.5) (August 26, 2019)
34
34
 
35
35
  ### Other changes
36
36
 
37
37
  * The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([d403f73](https://github.com/ckeditor/ckeditor5-easy-image/commit/d403f73))
38
38
 
39
39
 
40
- ## [11.0.4](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.3...v11.0.4) (2019-07-10)
40
+ ## [11.0.4](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.3...v11.0.4) (July 10, 2019)
41
41
 
42
42
  Internal changes only (updated dependencies, documentation, etc.).
43
43
 
44
44
 
45
- ## [11.0.3](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.2...v11.0.3) (2019-07-04)
45
+ ## [11.0.3](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.2...v11.0.3) (July 4, 2019)
46
46
 
47
47
  Internal changes only (updated dependencies, documentation, etc.).
48
48
 
49
49
 
50
- ## [11.0.2](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.1...v11.0.2) (2019-06-05)
50
+ ## [11.0.2](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.1...v11.0.2) (June 6, 2019)
51
51
 
52
52
  Internal changes only (updated dependencies, documentation, etc.).
53
53
 
54
54
 
55
- ## [11.0.1](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.0...v11.0.1) (2019-04-10)
55
+ ## [11.0.1](https://github.com/ckeditor/ckeditor5-easy-image/compare/v11.0.0...v11.0.1) (April 4, 2019)
56
56
 
57
57
  Internal changes only (updated dependencies, documentation, etc.).
58
58
 
59
59
 
60
- ## [11.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v10.0.4...v11.0.0) (2019-02-28)
60
+ ## [11.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v10.0.4...v11.0.0) (February 28, 2019)
61
61
 
62
62
  ### BREAKING CHANGES
63
63
 
64
64
  * Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
65
65
 
66
66
 
67
- ## [10.0.4](https://github.com/ckeditor/ckeditor5-easy-image/compare/v10.0.3...v10.0.4) (2018-12-05)
67
+ ## [10.0.4](https://github.com/ckeditor/ckeditor5-easy-image/compare/v10.0.3...v10.0.4) (December 5, 2018)
68
68
 
69
69
  Internal changes only (updated dependencies, documentation, etc.).
70
70
 
71
71
 
72
- ## [10.0.3](https://github.com/ckeditor/ckeditor5-easy-image/compare/v10.0.2...v10.0.3) (2018-10-08)
72
+ ## [10.0.3](https://github.com/ckeditor/ckeditor5-easy-image/compare/v10.0.2...v10.0.3) (October 8, 2018)
73
73
 
74
74
  Internal changes only (updated dependencies, documentation, etc.).
75
75
 
76
76
 
77
- ## [10.0.2](https://github.com/ckeditor/ckeditor5-easy-image/compare/v10.0.1...v10.0.2) (2018-07-18)
77
+ ## [10.0.2](https://github.com/ckeditor/ckeditor5-easy-image/compare/v10.0.1...v10.0.2) (July 18, 2018)
78
78
 
79
79
  Internal changes only (updated dependencies, documentation, etc.).
80
80
 
81
81
 
82
- ## [10.0.1](https://github.com/ckeditor/ckeditor5-easy-image/compare/v10.0.0...v10.0.1) (2018-06-21)
82
+ ## [10.0.1](https://github.com/ckeditor/ckeditor5-easy-image/compare/v10.0.0...v10.0.1) (June 21, 2018)
83
83
 
84
84
  Internal changes only (updated dependencies, documentation, etc.).
85
85
 
86
86
 
87
- ## [10.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v1.0.0-beta.4...v10.0.0) (2018-04-25)
87
+ ## [10.0.0](https://github.com/ckeditor/ckeditor5-easy-image/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018)
88
88
 
89
89
  ### Other changes
90
90
 
@@ -95,24 +95,24 @@ Internal changes only (updated dependencies, documentation, etc.).
95
95
  * The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
96
96
 
97
97
 
98
- ## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-easy-image/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
98
+ ## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-easy-image/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018)
99
99
 
100
100
  Internal changes only (updated dependencies, documentation, etc.).
101
101
 
102
102
 
103
- ## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-easy-image/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10)
103
+ ## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-easy-image/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018)
104
104
 
105
105
  ### Other changes
106
106
 
107
107
  * Aligned to package names changes: `@ckeditor/ckeditor5-cloudservices` was renamed to `@ckeditor/ckeditor5-cloud-services` and `@ckeditor/ckeditor-cloudservices-core` to `@ckeditor/ckeditor-cloud-services-core`. ([ce3abaf](https://github.com/ckeditor/ckeditor5-easy-image/commit/ce3abaf))
108
108
 
109
109
 
110
- ## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-easy-image/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15)
110
+ ## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-easy-image/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018)
111
111
 
112
112
  Internal changes only (updated dependencies, documentation, etc.).
113
113
 
114
114
 
115
- ## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-easy-image/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017-11-14)
115
+ ## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-easy-image/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017)
116
116
 
117
117
  ### Bug fixes
118
118
 
@@ -129,6 +129,6 @@ Internal changes only (updated dependencies, documentation, etc.).
129
129
  * The Easy Image plugin does not use `config.cloudServices.token` anymore. The new option name is `config.cloudServices.tokenUrl` with a URL to the token server.
130
130
 
131
131
 
132
- ## 1.0.0-alpha.1 (2017-10-03)
132
+ ## 1.0.0-alpha.1 (October 3, 2017)
133
133
 
134
134
  Internal changes only (updated dependencies, documentation, etc.).
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor&nbsp;5 Easy Image feature** – https://github.com/ckeditor/ckeditor5-easy-image <br>
5
- Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
5
+ Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
7
  Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
8
8
 
@@ -1,4 +1,4 @@
1
1
  /*!
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md.
4
4
  */(()=>{var e={704:(e,t,r)=>{e.exports=r(79)("./src/core.js")},448:(e,t,r)=>{e.exports=r(79)("./src/upload.js")},209:(e,t,r)=>{e.exports=r(79)("./src/utils.js")},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(o){var a=t[o];if(void 0!==a)return a.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,r),i.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{CloudServicesUploadAdapter:()=>i,EasyImage:()=>l});var e=r(704),t=r(209),a=r(448);class i extends e.Plugin{static get pluginName(){return"CloudServicesUploadAdapter"}static get requires(){return["CloudServices",a.FileRepository]}init(){const e=this.editor,t=e.plugins.get("CloudServices"),r=t.token,o=t.uploadUrl;if(!r)return;const i=e.plugins.get("CloudServicesCore");this._uploadGateway=i.createUploadGateway(r,o),e.plugins.get(a.FileRepository).createUploadAdapter=e=>new s(this._uploadGateway,e)}}class s{constructor(e,t){this.uploadGateway=e,this.loader=t}upload(){return this.loader.file.then((e=>(this.fileUploader=this.uploadGateway.upload(e),this.fileUploader.on("progress",((e,t)=>{this.loader.uploadTotal=t.total,this.loader.uploaded=t.uploaded})),this.fileUploader.send())))}abort(){this.fileUploader.abort()}}class l extends e.Plugin{static get pluginName(){return"EasyImage"}static get requires(){return[i,"ImageUpload"]}init(){const e=this.editor;e.plugins.has("ImageBlockEditing")||e.plugins.has("ImageInlineEditing")||(0,t.logWarning)("easy-image-image-feature-missing",e)}}})(),(window.CKEditor5=window.CKEditor5||{}).easyImage=o})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-easy-image",
3
- "version": "40.1.0",
3
+ "version": "41.0.0",
4
4
  "description": "Easy Image feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -10,9 +10,10 @@
10
10
  "ckeditor5-plugin",
11
11
  "ckeditor5-dll"
12
12
  ],
13
+ "type": "module",
13
14
  "main": "src/index.js",
14
15
  "dependencies": {
15
- "ckeditor5": "40.1.0"
16
+ "ckeditor5": "41.0.0"
16
17
  },
17
18
  "author": "CKSource (http://cksource.com/)",
18
19
  "license": "GPL-2.0-or-later",
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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 { EasyImage, CloudServicesUploadAdapter } from './index';
5
+ import type { EasyImage, CloudServicesUploadAdapter } from './index.js';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface PluginsMap {
8
8
  [EasyImage.pluginName]: EasyImage;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  export {};
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module easy-image/cloudservicesuploadadapter
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { FileRepository } from 'ckeditor5/src/upload';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { FileRepository } from 'ckeditor5/src/upload.js';
10
10
  /**
11
11
  * A plugin that enables upload to [CKEditor Cloud Services](https://ckeditor.com/ckeditor-cloud-services/).
12
12
  *
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module easy-image/cloudservicesuploadadapter
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { FileRepository } from 'ckeditor5/src/upload';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { FileRepository } from 'ckeditor5/src/upload.js';
10
10
  /**
11
11
  * A plugin that enables upload to [CKEditor Cloud Services](https://ckeditor.com/ckeditor-cloud-services/).
12
12
  *
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module easy-image/easyimage
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import CloudServicesUploadAdapter from './cloudservicesuploadadapter';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import CloudServicesUploadAdapter from './cloudservicesuploadadapter.js';
10
10
  /**
11
11
  * The Easy Image feature, which makes the image upload in CKEditor 5 possible with virtually zero
12
12
  * server setup. A part of the [CKEditor Cloud Services](https://ckeditor.com/ckeditor-cloud-services/)
package/src/easyimage.js CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module easy-image/easyimage
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { logWarning } from 'ckeditor5/src/utils';
10
- import CloudServicesUploadAdapter from './cloudservicesuploadadapter';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { logWarning } from 'ckeditor5/src/utils.js';
10
+ import CloudServicesUploadAdapter from './cloudservicesuploadadapter.js';
11
11
  /**
12
12
  * The Easy Image feature, which makes the image upload in CKEditor 5 possible with virtually zero
13
13
  * server setup. A part of the [CKEditor Cloud Services](https://ckeditor.com/ckeditor-cloud-services/)
package/src/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module easy-image
7
7
  */
8
- export { default as EasyImage } from './easyimage';
9
- export { default as CloudServicesUploadAdapter } from './cloudservicesuploadadapter';
10
- import './augmentation';
8
+ export { default as EasyImage } from './easyimage.js';
9
+ export { default as CloudServicesUploadAdapter } from './cloudservicesuploadadapter.js';
10
+ import './augmentation.js';
package/src/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
6
6
  * @module easy-image
7
7
  */
8
- export { default as EasyImage } from './easyimage';
9
- export { default as CloudServicesUploadAdapter } from './cloudservicesuploadadapter';
10
- import './augmentation';
8
+ export { default as EasyImage } from './easyimage.js';
9
+ export { default as CloudServicesUploadAdapter } from './cloudservicesuploadadapter.js';
10
+ import './augmentation.js';