@ckeditor/ckeditor5-utils 43.1.0 → 43.1.1
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/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/config.js +3 -3
- package/src/version.d.ts +1 -1
- package/src/version.js +2 -2
package/dist/index.js
CHANGED
|
@@ -953,9 +953,9 @@ diff.fastDiff = fastDiff;
|
|
|
953
953
|
];
|
|
954
954
|
}
|
|
955
955
|
|
|
956
|
-
const version = '43.1.
|
|
956
|
+
const version = '43.1.1';
|
|
957
957
|
// The second argument is not a month. It is `monthIndex` and starts from `0`.
|
|
958
|
-
const releaseDate = new Date(2024, 8,
|
|
958
|
+
const releaseDate = new Date(2024, 8, 25);
|
|
959
959
|
/* istanbul ignore next -- @preserve */ if (globalThis.CKEDITOR_VERSION) {
|
|
960
960
|
/**
|
|
961
961
|
* The best solution to avoid this error is migrating your CKEditor 5 instance to
|
|
@@ -2291,7 +2291,7 @@ function initObservable(observable) {
|
|
|
2291
2291
|
* @param configurations The initial configurations to be set. Usually, provided by the user.
|
|
2292
2292
|
* @param defaultConfigurations The default configurations. Usually, provided by the system.
|
|
2293
2293
|
*/ constructor(configurations, defaultConfigurations){
|
|
2294
|
-
this._config =
|
|
2294
|
+
this._config = Object.create(null);
|
|
2295
2295
|
// Set default configuration.
|
|
2296
2296
|
if (defaultConfigurations) {
|
|
2297
2297
|
// Clone the configuration to make sure that the properties will not be shared
|
|
@@ -2357,7 +2357,7 @@ function initObservable(observable) {
|
|
|
2357
2357
|
for (const part of parts){
|
|
2358
2358
|
// If there is no object for specified part then create one.
|
|
2359
2359
|
if (!isPlainObject(target[part])) {
|
|
2360
|
-
target[part] =
|
|
2360
|
+
target[part] = Object.create(null);
|
|
2361
2361
|
}
|
|
2362
2362
|
// Nested object becomes a target.
|
|
2363
2363
|
target = target[part];
|
|
@@ -2366,7 +2366,7 @@ function initObservable(observable) {
|
|
|
2366
2366
|
if (isPlainObject(value)) {
|
|
2367
2367
|
// We take care of proper config structure.
|
|
2368
2368
|
if (!isPlainObject(target[name])) {
|
|
2369
|
-
target[name] =
|
|
2369
|
+
target[name] = Object.create(null);
|
|
2370
2370
|
}
|
|
2371
2371
|
target = target[name];
|
|
2372
2372
|
// And iterate through this object calling `_setToTarget` again for each property.
|