@ckeditor/ckeditor5-core 37.0.0-alpha.2 → 37.0.0-alpha.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-core",
3
- "version": "37.0.0-alpha.2",
3
+ "version": "37.0.0-alpha.3",
4
4
  "description": "The core architecture of CKEditor 5 – the best browser-based rich text editor.",
5
5
  "keywords": [
6
6
  "wysiwyg",
@@ -23,25 +23,25 @@
23
23
  ],
24
24
  "main": "src/index.js",
25
25
  "dependencies": {
26
- "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.2",
27
- "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.2",
26
+ "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.3",
27
+ "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.3",
28
28
  "lodash-es": "^4.17.15"
29
29
  },
30
30
  "devDependencies": {
31
- "@ckeditor/ckeditor5-autoformat": "^37.0.0-alpha.2",
32
- "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.2",
33
- "@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.2",
34
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
35
- "@ckeditor/ckeditor5-essentials": "^37.0.0-alpha.2",
36
- "@ckeditor/ckeditor5-heading": "^37.0.0-alpha.2",
37
- "@ckeditor/ckeditor5-image": "^37.0.0-alpha.2",
38
- "@ckeditor/ckeditor5-indent": "^37.0.0-alpha.2",
39
- "@ckeditor/ckeditor5-link": "^37.0.0-alpha.2",
40
- "@ckeditor/ckeditor5-list": "^37.0.0-alpha.2",
41
- "@ckeditor/ckeditor5-media-embed": "^37.0.0-alpha.2",
42
- "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.2",
43
- "@ckeditor/ckeditor5-table": "^37.0.0-alpha.2",
44
- "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.2",
31
+ "@ckeditor/ckeditor5-autoformat": "^37.0.0-alpha.3",
32
+ "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.3",
33
+ "@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.3",
34
+ "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.3",
35
+ "@ckeditor/ckeditor5-essentials": "^37.0.0-alpha.3",
36
+ "@ckeditor/ckeditor5-heading": "^37.0.0-alpha.3",
37
+ "@ckeditor/ckeditor5-image": "^37.0.0-alpha.3",
38
+ "@ckeditor/ckeditor5-indent": "^37.0.0-alpha.3",
39
+ "@ckeditor/ckeditor5-link": "^37.0.0-alpha.3",
40
+ "@ckeditor/ckeditor5-list": "^37.0.0-alpha.3",
41
+ "@ckeditor/ckeditor5-media-embed": "^37.0.0-alpha.3",
42
+ "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.3",
43
+ "@ckeditor/ckeditor5-table": "^37.0.0-alpha.3",
44
+ "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.3",
45
45
  "typescript": "^4.8.4",
46
46
  "webpack": "^5.58.1",
47
47
  "webpack-cli": "^4.9.0"
package/src/plugin.d.ts CHANGED
@@ -266,7 +266,7 @@ export interface PluginStaticMembers<TContext = Editor> {
266
266
  */
267
267
  readonly isContextPlugin?: boolean;
268
268
  }
269
- export type PluginDependencies<TContext = Editor> = Array<PluginConstructor<TContext> | string>;
269
+ export type PluginDependencies<TContext = Editor> = ReadonlyArray<PluginConstructor<TContext> | string>;
270
270
  /**
271
271
  * An array of loaded plugins.
272
272
  */
@@ -73,7 +73,7 @@ export default class PluginCollection<TContext extends object> extends PluginCol
73
73
  * * Both plugins must not depend on other plugins.
74
74
  * @returns A promise which gets resolved once all plugins are loaded and available in the collection.
75
75
  */
76
- init(plugins: Array<PluginConstructor<TContext> | string>, pluginsToRemove?: Array<PluginConstructor<TContext> | string>, pluginsSubstitutions?: Array<PluginConstructor<TContext>>): Promise<LoadedPlugins>;
76
+ init(plugins: ReadonlyArray<PluginConstructor<TContext> | string>, pluginsToRemove?: ReadonlyArray<PluginConstructor<TContext> | string>, pluginsSubstitutions?: ReadonlyArray<PluginConstructor<TContext>>): Promise<LoadedPlugins>;
77
77
  /**
78
78
  * Destroys all loaded plugins.
79
79
  */