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