@contentful/field-editor-rich-text 2.0.0-next.44 → 2.0.0-next.45

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.
@@ -947,9 +947,11 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
947
947
 
948
948
 
949
949
  var IteratorPrototype = {};
950
- define(IteratorPrototype, iteratorSymbol, function () {
950
+
951
+ IteratorPrototype[iteratorSymbol] = function () {
951
952
  return this;
952
- });
953
+ };
954
+
953
955
  var getProto = Object.getPrototypeOf;
954
956
  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
955
957
 
@@ -960,9 +962,8 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
960
962
  }
961
963
 
962
964
  var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
963
- GeneratorFunction.prototype = GeneratorFunctionPrototype;
964
- define(Gp, "constructor", GeneratorFunctionPrototype);
965
- define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
965
+ GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
966
+ GeneratorFunctionPrototype.constructor = GeneratorFunction;
966
967
  GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the
967
968
  // Iterator interface in terms of a single ._invoke method.
968
969
 
@@ -1067,9 +1068,11 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
1067
1068
  }
1068
1069
 
1069
1070
  defineIteratorMethods(AsyncIterator.prototype);
1070
- define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
1071
+
1072
+ AsyncIterator.prototype[asyncIteratorSymbol] = function () {
1071
1073
  return this;
1072
- });
1074
+ };
1075
+
1073
1076
  exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of
1074
1077
  // AsyncIterator objects; they just return a Promise for the value of
1075
1078
  // the final result produced by the iterator.
@@ -1246,12 +1249,13 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
1246
1249
  // object to not be returned from this call. This ensures that doesn't happen.
1247
1250
  // See https://github.com/facebook/regenerator/issues/274 for more details.
1248
1251
 
1249
- define(Gp, iteratorSymbol, function () {
1252
+ Gp[iteratorSymbol] = function () {
1250
1253
  return this;
1251
- });
1252
- define(Gp, "toString", function () {
1254
+ };
1255
+
1256
+ Gp.toString = function () {
1253
1257
  return "[object Generator]";
1254
- });
1258
+ };
1255
1259
 
1256
1260
  function pushTryEntry(locs) {
1257
1261
  var entry = {
@@ -1563,19 +1567,14 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
1563
1567
  } catch (accidentalStrictMode) {
1564
1568
  // This module should not be running in strict mode, so the above
1565
1569
  // assignment should always work unless something is misconfigured. Just
1566
- // in case runtime.js accidentally runs in strict mode, in modern engines
1567
- // we can explicitly access globalThis. In older engines we can escape
1570
+ // in case runtime.js accidentally runs in strict mode, we can escape
1568
1571
  // strict mode using a global Function call. This could conceivably fail
1569
1572
  // if a Content Security Policy forbids using Function, but in that case
1570
1573
  // the proper solution is to fix the accidental strict mode problem. If
1571
1574
  // you've misconfigured your bundler to force strict mode and applied a
1572
1575
  // CSP to forbid Function, and you're not willing to fix either of those
1573
1576
  // problems, please detail your unique predicament in a GitHub issue.
1574
- if (typeof globalThis === "object") {
1575
- globalThis.regeneratorRuntime = runtime;
1576
- } else {
1577
- Function("r", "regeneratorRuntime = r")(runtime);
1578
- }
1577
+ Function("r", "regeneratorRuntime = r")(runtime);
1579
1578
  }
1580
1579
  });
1581
1580