@ckeditor/ckeditor5-utils 41.3.0 → 41.3.2

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-utils",
3
- "version": "41.3.0",
3
+ "version": "41.3.2",
4
4
  "description": "Miscellaneous utilities used by CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
package/src/config.js CHANGED
@@ -19,7 +19,7 @@ export default class Config {
19
19
  * @param defaultConfigurations The default configurations. Usually, provided by the system.
20
20
  */
21
21
  constructor(configurations, defaultConfigurations) {
22
- this._config = {};
22
+ this._config = Object.create(null);
23
23
  // Set default configuration.
24
24
  if (defaultConfigurations) {
25
25
  // Clone the configuration to make sure that the properties will not be shared
@@ -88,7 +88,7 @@ export default class Config {
88
88
  for (const part of parts) {
89
89
  // If there is no object for specified part then create one.
90
90
  if (!isPlainObject(target[part])) {
91
- target[part] = {};
91
+ target[part] = Object.create(null);
92
92
  }
93
93
  // Nested object becomes a target.
94
94
  target = target[part];
@@ -97,7 +97,7 @@ export default class Config {
97
97
  if (isPlainObject(value)) {
98
98
  // We take care of proper config structure.
99
99
  if (!isPlainObject(target[name])) {
100
- target[name] = {};
100
+ target[name] = Object.create(null);
101
101
  }
102
102
  target = target[name];
103
103
  // And iterate through this object calling `_setToTarget` again for each property.
package/src/version.d.ts CHANGED
@@ -2,7 +2,7 @@
2
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
- declare const version = "41.3.0";
5
+ declare const version = "41.3.2";
6
6
  export default version;
7
7
  export declare const releaseDate: Date;
8
8
  declare global {
package/src/version.js CHANGED
@@ -6,10 +6,10 @@
6
6
  * @module utils/version
7
7
  */
8
8
  import CKEditorError from './ckeditorerror.js';
9
- const version = '41.3.0';
9
+ const version = '41.3.2';
10
10
  export default version;
11
11
  // The second argument is not a month. It is `monthIndex` and starts from `0`.
12
- export const releaseDate = new Date(2024, 3, 10);
12
+ export const releaseDate = new Date(2024, 9, 15);
13
13
  /* istanbul ignore next -- @preserve */
14
14
  if (globalThis.CKEDITOR_VERSION) {
15
15
  /**