devexpress-richedit 20.1.15 → 20.1.16

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/bin/gulpfile.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (public.gulpfile.js)
3
- * Version: 20.1.15
3
+ * Version: 20.1.16
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (public.index-custom.js)
3
- * Version: 20.1.15
3
+ * Version: 20.1.16
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (localization-builder.js)
3
- * Version: 20.1.15
3
+ * Version: 20.1.16
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (webpack-externals.js)
3
- * Version: 20.1.15
3
+ * Version: 20.1.16
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (public.webpack.config.js)
3
- * Version: 20.1.15
3
+ * Version: 20.1.16
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (client.d.ts)
3
- * Version: 20.1.15
3
+ * Version: 20.1.16
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (dx.richedit.js)
3
- * Version: 20.1.15
3
+ * Version: 20.1.16
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -87156,7 +87156,7 @@ module.exports = __webpack_require__(773).polyfill();
87156
87156
  * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
87157
87157
  * @license Licensed under MIT license
87158
87158
  * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
87159
- * @version v4.2.8+1e68dce6
87159
+ * @version v4.2.5+7f2b526d
87160
87160
  */
87161
87161
 
87162
87162
  (function (global, factory) {
@@ -87386,6 +87386,8 @@ var PENDING = void 0;
87386
87386
  var FULFILLED = 1;
87387
87387
  var REJECTED = 2;
87388
87388
 
87389
+ var TRY_CATCH_ERROR = { error: null };
87390
+
87389
87391
  function selfFulfillment() {
87390
87392
  return new TypeError("You cannot resolve a promise with itself");
87391
87393
  }
@@ -87394,6 +87396,15 @@ function cannotReturnOwn() {
87394
87396
  return new TypeError('A promises callback cannot return that same promise.');
87395
87397
  }
87396
87398
 
87399
+ function getThen(promise) {
87400
+ try {
87401
+ return promise.then;
87402
+ } catch (error) {
87403
+ TRY_CATCH_ERROR.error = error;
87404
+ return TRY_CATCH_ERROR;
87405
+ }
87406
+ }
87407
+
87397
87408
  function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {
87398
87409
  try {
87399
87410
  then$$1.call(value, fulfillmentHandler, rejectionHandler);
@@ -87449,7 +87460,10 @@ function handleMaybeThenable(promise, maybeThenable, then$$1) {
87449
87460
  if (maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1) {
87450
87461
  handleOwnThenable(promise, maybeThenable);
87451
87462
  } else {
87452
- if (then$$1 === undefined) {
87463
+ if (then$$1 === TRY_CATCH_ERROR) {
87464
+ reject(promise, TRY_CATCH_ERROR.error);
87465
+ TRY_CATCH_ERROR.error = null;
87466
+ } else if (then$$1 === undefined) {
87453
87467
  fulfill(promise, maybeThenable);
87454
87468
  } else if (isFunction(then$$1)) {
87455
87469
  handleForeignThenable(promise, maybeThenable, then$$1);
@@ -87463,14 +87477,7 @@ function resolve(promise, value) {
87463
87477
  if (promise === value) {
87464
87478
  reject(promise, selfFulfillment());
87465
87479
  } else if (objectOrFunction(value)) {
87466
- var then$$1 = void 0;
87467
- try {
87468
- then$$1 = value.then;
87469
- } catch (error) {
87470
- reject(promise, error);
87471
- return;
87472
- }
87473
- handleMaybeThenable(promise, value, then$$1);
87480
+ handleMaybeThenable(promise, value, getThen(value));
87474
87481
  } else {
87475
87482
  fulfill(promise, value);
87476
87483
  }
@@ -87549,18 +87556,31 @@ function publish(promise) {
87549
87556
  promise._subscribers.length = 0;
87550
87557
  }
87551
87558
 
87559
+ function tryCatch(callback, detail) {
87560
+ try {
87561
+ return callback(detail);
87562
+ } catch (e) {
87563
+ TRY_CATCH_ERROR.error = e;
87564
+ return TRY_CATCH_ERROR;
87565
+ }
87566
+ }
87567
+
87552
87568
  function invokeCallback(settled, promise, callback, detail) {
87553
87569
  var hasCallback = isFunction(callback),
87554
87570
  value = void 0,
87555
87571
  error = void 0,
87556
- succeeded = true;
87572
+ succeeded = void 0,
87573
+ failed = void 0;
87557
87574
 
87558
87575
  if (hasCallback) {
87559
- try {
87560
- value = callback(detail);
87561
- } catch (e) {
87562
- succeeded = false;
87563
- error = e;
87576
+ value = tryCatch(callback, detail);
87577
+
87578
+ if (value === TRY_CATCH_ERROR) {
87579
+ failed = true;
87580
+ error = value.error;
87581
+ value.error = null;
87582
+ } else {
87583
+ succeeded = true;
87564
87584
  }
87565
87585
 
87566
87586
  if (promise === value) {
@@ -87569,13 +87589,14 @@ function invokeCallback(settled, promise, callback, detail) {
87569
87589
  }
87570
87590
  } else {
87571
87591
  value = detail;
87592
+ succeeded = true;
87572
87593
  }
87573
87594
 
87574
87595
  if (promise._state !== PENDING) {
87575
87596
  // noop
87576
87597
  } else if (hasCallback && succeeded) {
87577
87598
  resolve(promise, value);
87578
- } else if (succeeded === false) {
87599
+ } else if (failed) {
87579
87600
  reject(promise, error);
87580
87601
  } else if (settled === FULFILLED) {
87581
87602
  fulfill(promise, value);
@@ -87653,15 +87674,7 @@ var Enumerator = function () {
87653
87674
 
87654
87675
 
87655
87676
  if (resolve$$1 === resolve$1) {
87656
- var _then = void 0;
87657
- var error = void 0;
87658
- var didError = false;
87659
- try {
87660
- _then = entry.then;
87661
- } catch (e) {
87662
- didError = true;
87663
- error = e;
87664
- }
87677
+ var _then = getThen(entry);
87665
87678
 
87666
87679
  if (_then === then && entry._state !== PENDING) {
87667
87680
  this._settledAt(entry._state, i, entry._result);
@@ -87670,11 +87683,7 @@ var Enumerator = function () {
87670
87683
  this._result[i] = entry;
87671
87684
  } else if (c === Promise$1) {
87672
87685
  var promise = new c(noop);
87673
- if (didError) {
87674
- reject(promise, error);
87675
- } else {
87676
- handleMaybeThenable(promise, entry, _then);
87677
- }
87686
+ handleMaybeThenable(promise, entry, _then);
87678
87687
  this._willSettleAt(promise, i);
87679
87688
  } else {
87680
87689
  this._willSettleAt(new c(function (resolve$$1) {