@plasmicapp/loader-react 1.0.160 → 1.0.161
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 +1 -31
- 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 +1 -31
- package/dist/loader-react.esm.js.map +1 -1
- package/package.json +3 -3
|
@@ -88,36 +88,6 @@ function _setPrototypeOf(o, p) {
|
|
|
88
88
|
return _setPrototypeOf(o, p);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
function _isNativeReflectConstruct() {
|
|
92
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
93
|
-
if (Reflect.construct.sham) return false;
|
|
94
|
-
if (typeof Proxy === "function") return true;
|
|
95
|
-
|
|
96
|
-
try {
|
|
97
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
98
|
-
return true;
|
|
99
|
-
} catch (e) {
|
|
100
|
-
return false;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
function _construct(Parent, args, Class) {
|
|
105
|
-
if (_isNativeReflectConstruct()) {
|
|
106
|
-
_construct = Reflect.construct;
|
|
107
|
-
} else {
|
|
108
|
-
_construct = function _construct(Parent, args, Class) {
|
|
109
|
-
var a = [null];
|
|
110
|
-
a.push.apply(a, args);
|
|
111
|
-
var Constructor = Function.bind.apply(Parent, a);
|
|
112
|
-
var instance = new Constructor();
|
|
113
|
-
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
114
|
-
return instance;
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
return _construct.apply(null, arguments);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
91
|
function _unsupportedIterableToArray(o, minLen) {
|
|
122
92
|
if (!o) return;
|
|
123
93
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -1184,7 +1154,7 @@ function getLookupSpecName(lookup) {
|
|
|
1184
1154
|
}
|
|
1185
1155
|
}
|
|
1186
1156
|
function uniq(elements) {
|
|
1187
|
-
return
|
|
1157
|
+
return Array.from(new Set(elements));
|
|
1188
1158
|
}
|
|
1189
1159
|
|
|
1190
1160
|
function getFirstCompMeta(metas, lookup) {
|