@plasmicapp/loader-react 1.0.118 → 1.0.121

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.
@@ -393,9 +393,11 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
393
393
 
394
394
 
395
395
  var IteratorPrototype = {};
396
- define(IteratorPrototype, iteratorSymbol, function () {
396
+
397
+ IteratorPrototype[iteratorSymbol] = function () {
397
398
  return this;
398
- });
399
+ };
400
+
399
401
  var getProto = Object.getPrototypeOf;
400
402
  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
401
403
 
@@ -406,9 +408,8 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
406
408
  }
407
409
 
408
410
  var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
409
- GeneratorFunction.prototype = GeneratorFunctionPrototype;
410
- define(Gp, "constructor", GeneratorFunctionPrototype);
411
- define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
411
+ GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
412
+ GeneratorFunctionPrototype.constructor = GeneratorFunction;
412
413
  GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the
413
414
  // Iterator interface in terms of a single ._invoke method.
414
415
 
@@ -513,9 +514,11 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
513
514
  }
514
515
 
515
516
  defineIteratorMethods(AsyncIterator.prototype);
516
- define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
517
+
518
+ AsyncIterator.prototype[asyncIteratorSymbol] = function () {
517
519
  return this;
518
- });
520
+ };
521
+
519
522
  exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of
520
523
  // AsyncIterator objects; they just return a Promise for the value of
521
524
  // the final result produced by the iterator.
@@ -692,12 +695,13 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
692
695
  // object to not be returned from this call. This ensures that doesn't happen.
693
696
  // See https://github.com/facebook/regenerator/issues/274 for more details.
694
697
 
695
- define(Gp, iteratorSymbol, function () {
698
+ Gp[iteratorSymbol] = function () {
696
699
  return this;
697
- });
698
- define(Gp, "toString", function () {
700
+ };
701
+
702
+ Gp.toString = function () {
699
703
  return "[object Generator]";
700
- });
704
+ };
701
705
 
702
706
  function pushTryEntry(locs) {
703
707
  var entry = {
@@ -1009,19 +1013,14 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
1009
1013
  } catch (accidentalStrictMode) {
1010
1014
  // This module should not be running in strict mode, so the above
1011
1015
  // assignment should always work unless something is misconfigured. Just
1012
- // in case runtime.js accidentally runs in strict mode, in modern engines
1013
- // we can explicitly access globalThis. In older engines we can escape
1016
+ // in case runtime.js accidentally runs in strict mode, we can escape
1014
1017
  // strict mode using a global Function call. This could conceivably fail
1015
1018
  // if a Content Security Policy forbids using Function, but in that case
1016
1019
  // the proper solution is to fix the accidental strict mode problem. If
1017
1020
  // you've misconfigured your bundler to force strict mode and applied a
1018
1021
  // CSP to forbid Function, and you're not willing to fix either of those
1019
1022
  // problems, please detail your unique predicament in a GitHub issue.
1020
- if (typeof globalThis === "object") {
1021
- globalThis.regeneratorRuntime = runtime;
1022
- } else {
1023
- Function("r", "regeneratorRuntime = r")(runtime);
1024
- }
1023
+ Function("r", "regeneratorRuntime = r")(runtime);
1025
1024
  }
1026
1025
  });
1027
1026