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