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