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