twd-js 1.6.1 → 1.6.2
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/bundled.es.js +1077 -958
- package/dist/componentMocks-BFMYYH2e.js +12 -0
- package/dist/componentMocks-CwMyWCu5.cjs +1 -0
- package/dist/index.cjs.js +48 -48
- package/dist/index.es.js +8783 -10760
- package/dist/mock-sw.js +4 -4
- package/dist/runner-BmEWmCyd.js +240 -0
- package/dist/runner-Dr_mUWED.cjs +1 -0
- package/dist/runner-ci.cjs.js +1 -1
- package/dist/runner-ci.es.js +35 -23
- package/dist/runner.cjs.js +1 -1
- package/dist/runner.es.js +8 -221
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +6 -8
- package/dist/vite-plugin.cjs.js +1 -1
- package/dist/vite-plugin.es.js +0 -1
- package/package.json +11 -9
- package/dist/jsx-runtime-BGWd3k7q.mjs +0 -274
- package/dist/jsx-runtime-BbmOcM6v.js +0 -6
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twd-js",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "Test While Developing (TWD) - in-browser testing",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"author": "BRIKEV",
|
|
7
8
|
"homepage": "https://github.com/BRIKEV/twd#readme",
|
|
@@ -70,27 +71,28 @@
|
|
|
70
71
|
"docs:preview": "vitepress preview docs",
|
|
71
72
|
"copy:mock-sw": "cp dist/mock-sw.js examples/twd-test-app/public/mock-sw.js && cp dist/mock-sw.js examples/tutorial-example/public/mock-sw.js && cp dist/mock-sw.js examples/vue-twd-example/public/mock-sw.js",
|
|
72
73
|
"copy:dist:vue-twd-example": "cp -r dist examples/vue-twd-example/src",
|
|
73
|
-
"copy:dist:tutorial-example": "cp -r dist examples/tutorial-example/src"
|
|
74
|
+
"copy:dist:tutorial-example": "cp -r dist examples/tutorial-example/src",
|
|
75
|
+
"copy:dist:examples": "npm run copy:dist:vue-twd-example && npm run copy:dist:tutorial-example"
|
|
74
76
|
},
|
|
75
77
|
"peerDependencies": {
|
|
76
78
|
"react": ">=17.0.0",
|
|
77
79
|
"react-dom": ">=17.0.0"
|
|
78
80
|
},
|
|
79
81
|
"devDependencies": {
|
|
80
|
-
"@preact/preset-vite": "^2.10.
|
|
82
|
+
"@preact/preset-vite": "^2.10.4",
|
|
81
83
|
"@testing-library/jest-dom": "^6.9.1",
|
|
82
84
|
"@testing-library/react": "^16.3.2",
|
|
83
85
|
"@types/react": "^19.2.14",
|
|
84
86
|
"@types/react-dom": "^19.2.3",
|
|
85
|
-
"@vitejs/plugin-react": "^
|
|
86
|
-
"@vitest/coverage-v8": "^4.0
|
|
87
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
88
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
87
89
|
"conventional-changelog": "^7.2.0",
|
|
88
|
-
"jsdom": "^
|
|
90
|
+
"jsdom": "^29.0.0",
|
|
89
91
|
"typescript": "^5.9.3",
|
|
90
|
-
"vite": "^
|
|
92
|
+
"vite": "^8.0.0",
|
|
91
93
|
"vite-plugin-dts": "^4.5.4",
|
|
92
94
|
"vitepress": "^2.0.0-alpha.12",
|
|
93
|
-
"vitest": "^4.0
|
|
95
|
+
"vitest": "^4.1.0"
|
|
94
96
|
},
|
|
95
97
|
"keywords": [
|
|
96
98
|
"testing",
|
|
@@ -107,6 +109,6 @@
|
|
|
107
109
|
"@testing-library/user-event": "^14.6.1",
|
|
108
110
|
"@types/chai": "^5.2.3",
|
|
109
111
|
"chai": "^6.2.2",
|
|
110
|
-
"preact": "^10.
|
|
112
|
+
"preact": "^10.29.0"
|
|
111
113
|
}
|
|
112
114
|
}
|
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
import ee from "react";
|
|
2
|
-
const P = /* @__PURE__ */ new Map(), oe = (o, l) => {
|
|
3
|
-
P.set(o, l);
|
|
4
|
-
};
|
|
5
|
-
function se() {
|
|
6
|
-
P.clear();
|
|
7
|
-
}
|
|
8
|
-
const ue = (o) => P.get(o);
|
|
9
|
-
var b = { exports: {} }, _ = {};
|
|
10
|
-
var F;
|
|
11
|
-
function re() {
|
|
12
|
-
if (F) return _;
|
|
13
|
-
F = 1;
|
|
14
|
-
var o = /* @__PURE__ */ Symbol.for("react.transitional.element"), l = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
15
|
-
function i(f, s, u) {
|
|
16
|
-
var m = null;
|
|
17
|
-
if (u !== void 0 && (m = "" + u), s.key !== void 0 && (m = "" + s.key), "key" in s) {
|
|
18
|
-
u = {};
|
|
19
|
-
for (var d in s)
|
|
20
|
-
d !== "key" && (u[d] = s[d]);
|
|
21
|
-
} else u = s;
|
|
22
|
-
return s = u.ref, {
|
|
23
|
-
$$typeof: o,
|
|
24
|
-
type: f,
|
|
25
|
-
key: m,
|
|
26
|
-
ref: s !== void 0 ? s : null,
|
|
27
|
-
props: u
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
return _.Fragment = l, _.jsx = i, _.jsxs = i, _;
|
|
31
|
-
}
|
|
32
|
-
var E = {};
|
|
33
|
-
var I;
|
|
34
|
-
function te() {
|
|
35
|
-
return I || (I = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
36
|
-
function o(e) {
|
|
37
|
-
if (e == null) return null;
|
|
38
|
-
if (typeof e == "function")
|
|
39
|
-
return e.$$typeof === Z ? null : e.displayName || e.name || null;
|
|
40
|
-
if (typeof e == "string") return e;
|
|
41
|
-
switch (e) {
|
|
42
|
-
case v:
|
|
43
|
-
return "Fragment";
|
|
44
|
-
case q:
|
|
45
|
-
return "Profiler";
|
|
46
|
-
case U:
|
|
47
|
-
return "StrictMode";
|
|
48
|
-
case G:
|
|
49
|
-
return "Suspense";
|
|
50
|
-
case X:
|
|
51
|
-
return "SuspenseList";
|
|
52
|
-
case H:
|
|
53
|
-
return "Activity";
|
|
54
|
-
}
|
|
55
|
-
if (typeof e == "object")
|
|
56
|
-
switch (typeof e.tag == "number" && console.error(
|
|
57
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
58
|
-
), e.$$typeof) {
|
|
59
|
-
case W:
|
|
60
|
-
return "Portal";
|
|
61
|
-
case V:
|
|
62
|
-
return e.displayName || "Context";
|
|
63
|
-
case J:
|
|
64
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
65
|
-
case z:
|
|
66
|
-
var r = e.render;
|
|
67
|
-
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
68
|
-
case B:
|
|
69
|
-
return r = e.displayName || null, r !== null ? r : o(e.type) || "Memo";
|
|
70
|
-
case T:
|
|
71
|
-
r = e._payload, e = e._init;
|
|
72
|
-
try {
|
|
73
|
-
return o(e(r));
|
|
74
|
-
} catch {
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
return null;
|
|
78
|
-
}
|
|
79
|
-
function l(e) {
|
|
80
|
-
return "" + e;
|
|
81
|
-
}
|
|
82
|
-
function i(e) {
|
|
83
|
-
try {
|
|
84
|
-
l(e);
|
|
85
|
-
var r = !1;
|
|
86
|
-
} catch {
|
|
87
|
-
r = !0;
|
|
88
|
-
}
|
|
89
|
-
if (r) {
|
|
90
|
-
r = console;
|
|
91
|
-
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
92
|
-
return t.call(
|
|
93
|
-
r,
|
|
94
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
95
|
-
n
|
|
96
|
-
), l(e);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
function f(e) {
|
|
100
|
-
if (e === v) return "<>";
|
|
101
|
-
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
102
|
-
return "<...>";
|
|
103
|
-
try {
|
|
104
|
-
var r = o(e);
|
|
105
|
-
return r ? "<" + r + ">" : "<...>";
|
|
106
|
-
} catch {
|
|
107
|
-
return "<...>";
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
function s() {
|
|
111
|
-
var e = k.A;
|
|
112
|
-
return e === null ? null : e.getOwner();
|
|
113
|
-
}
|
|
114
|
-
function u() {
|
|
115
|
-
return Error("react-stack-top-frame");
|
|
116
|
-
}
|
|
117
|
-
function m(e) {
|
|
118
|
-
if (x.call(e, "key")) {
|
|
119
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
120
|
-
if (r && r.isReactWarning) return !1;
|
|
121
|
-
}
|
|
122
|
-
return e.key !== void 0;
|
|
123
|
-
}
|
|
124
|
-
function d(e, r) {
|
|
125
|
-
function t() {
|
|
126
|
-
h || (h = !0, console.error(
|
|
127
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
128
|
-
r
|
|
129
|
-
));
|
|
130
|
-
}
|
|
131
|
-
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
132
|
-
get: t,
|
|
133
|
-
configurable: !0
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
function D() {
|
|
137
|
-
var e = o(this.type);
|
|
138
|
-
return N[e] || (N[e] = !0, console.error(
|
|
139
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
140
|
-
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
141
|
-
}
|
|
142
|
-
function L(e, r, t, n, p, A) {
|
|
143
|
-
var a = t.ref;
|
|
144
|
-
return e = {
|
|
145
|
-
$$typeof: j,
|
|
146
|
-
type: e,
|
|
147
|
-
key: r,
|
|
148
|
-
props: t,
|
|
149
|
-
_owner: n
|
|
150
|
-
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
151
|
-
enumerable: !1,
|
|
152
|
-
get: D
|
|
153
|
-
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
154
|
-
configurable: !1,
|
|
155
|
-
enumerable: !1,
|
|
156
|
-
writable: !0,
|
|
157
|
-
value: 0
|
|
158
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
159
|
-
configurable: !1,
|
|
160
|
-
enumerable: !1,
|
|
161
|
-
writable: !0,
|
|
162
|
-
value: null
|
|
163
|
-
}), Object.defineProperty(e, "_debugStack", {
|
|
164
|
-
configurable: !1,
|
|
165
|
-
enumerable: !1,
|
|
166
|
-
writable: !0,
|
|
167
|
-
value: p
|
|
168
|
-
}), Object.defineProperty(e, "_debugTask", {
|
|
169
|
-
configurable: !1,
|
|
170
|
-
enumerable: !1,
|
|
171
|
-
writable: !0,
|
|
172
|
-
value: A
|
|
173
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
174
|
-
}
|
|
175
|
-
function w(e, r, t, n, p, A) {
|
|
176
|
-
var a = r.children;
|
|
177
|
-
if (a !== void 0)
|
|
178
|
-
if (n)
|
|
179
|
-
if (Q(a)) {
|
|
180
|
-
for (n = 0; n < a.length; n++)
|
|
181
|
-
g(a[n]);
|
|
182
|
-
Object.freeze && Object.freeze(a);
|
|
183
|
-
} else
|
|
184
|
-
console.error(
|
|
185
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
186
|
-
);
|
|
187
|
-
else g(a);
|
|
188
|
-
if (x.call(r, "key")) {
|
|
189
|
-
a = o(e);
|
|
190
|
-
var c = Object.keys(r).filter(function(K) {
|
|
191
|
-
return K !== "key";
|
|
192
|
-
});
|
|
193
|
-
n = 0 < c.length ? "{key: someKey, " + c.join(": ..., ") + ": ...}" : "{key: someKey}", $[a + n] || (c = 0 < c.length ? "{" + c.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
194
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
195
|
-
let props = %s;
|
|
196
|
-
<%s {...props} />
|
|
197
|
-
React keys must be passed directly to JSX without using spread:
|
|
198
|
-
let props = %s;
|
|
199
|
-
<%s key={someKey} {...props} />`,
|
|
200
|
-
n,
|
|
201
|
-
a,
|
|
202
|
-
c,
|
|
203
|
-
a
|
|
204
|
-
), $[a + n] = !0);
|
|
205
|
-
}
|
|
206
|
-
if (a = null, t !== void 0 && (i(t), a = "" + t), m(r) && (i(r.key), a = "" + r.key), "key" in r) {
|
|
207
|
-
t = {};
|
|
208
|
-
for (var S in r)
|
|
209
|
-
S !== "key" && (t[S] = r[S]);
|
|
210
|
-
} else t = r;
|
|
211
|
-
return a && d(
|
|
212
|
-
t,
|
|
213
|
-
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
214
|
-
), L(
|
|
215
|
-
e,
|
|
216
|
-
a,
|
|
217
|
-
t,
|
|
218
|
-
s(),
|
|
219
|
-
p,
|
|
220
|
-
A
|
|
221
|
-
);
|
|
222
|
-
}
|
|
223
|
-
function g(e) {
|
|
224
|
-
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
225
|
-
}
|
|
226
|
-
function y(e) {
|
|
227
|
-
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
228
|
-
}
|
|
229
|
-
var R = ee, j = /* @__PURE__ */ Symbol.for("react.transitional.element"), W = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), U = /* @__PURE__ */ Symbol.for("react.strict_mode"), q = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), z = /* @__PURE__ */ Symbol.for("react.forward_ref"), G = /* @__PURE__ */ Symbol.for("react.suspense"), X = /* @__PURE__ */ Symbol.for("react.suspense_list"), B = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), H = /* @__PURE__ */ Symbol.for("react.activity"), Z = /* @__PURE__ */ Symbol.for("react.client.reference"), k = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Q = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
230
|
-
return null;
|
|
231
|
-
};
|
|
232
|
-
R = {
|
|
233
|
-
react_stack_bottom_frame: function(e) {
|
|
234
|
-
return e();
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
var h, N = {}, C = R.react_stack_bottom_frame.bind(
|
|
238
|
-
R,
|
|
239
|
-
u
|
|
240
|
-
)(), Y = O(f(u)), $ = {};
|
|
241
|
-
E.Fragment = v, E.jsx = function(e, r, t) {
|
|
242
|
-
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
243
|
-
return w(
|
|
244
|
-
e,
|
|
245
|
-
r,
|
|
246
|
-
t,
|
|
247
|
-
!1,
|
|
248
|
-
n ? Error("react-stack-top-frame") : C,
|
|
249
|
-
n ? O(f(e)) : Y
|
|
250
|
-
);
|
|
251
|
-
}, E.jsxs = function(e, r, t) {
|
|
252
|
-
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
253
|
-
return w(
|
|
254
|
-
e,
|
|
255
|
-
r,
|
|
256
|
-
t,
|
|
257
|
-
!0,
|
|
258
|
-
n ? Error("react-stack-top-frame") : C,
|
|
259
|
-
n ? O(f(e)) : Y
|
|
260
|
-
);
|
|
261
|
-
};
|
|
262
|
-
})()), E;
|
|
263
|
-
}
|
|
264
|
-
var M;
|
|
265
|
-
function ne() {
|
|
266
|
-
return M || (M = 1, process.env.NODE_ENV === "production" ? b.exports = re() : b.exports = te()), b.exports;
|
|
267
|
-
}
|
|
268
|
-
var le = ne();
|
|
269
|
-
export {
|
|
270
|
-
se as c,
|
|
271
|
-
ue as g,
|
|
272
|
-
le as j,
|
|
273
|
-
oe as m
|
|
274
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const ee=require("react"),P=new Map,re=(a,l)=>{P.set(a,l)};function te(){P.clear()}const ne=a=>P.get(a);var p={exports:{}},_={};var F;function oe(){if(F)return _;F=1;var a=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function i(f,s,u){var m=null;if(u!==void 0&&(m=""+u),s.key!==void 0&&(m=""+s.key),"key"in s){u={};for(var d in s)d!=="key"&&(u[d]=s[d])}else u=s;return s=u.ref,{$$typeof:a,type:f,key:m,ref:s!==void 0?s:null,props:u}}return _.Fragment=l,_.jsx=i,_.jsxs=i,_}var E={};var I;function ae(){return I||(I=1,process.env.NODE_ENV!=="production"&&(function(){function a(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Z?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case v:return"Fragment";case q:return"Profiler";case U:return"StrictMode";case G:return"Suspense";case X:return"SuspenseList";case H:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case W:return"Portal";case V:return e.displayName||"Context";case J:return(e._context.displayName||"Context")+".Consumer";case z:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case B:return r=e.displayName||null,r!==null?r:a(e.type)||"Memo";case T:r=e._payload,e=e._init;try{return a(e(r))}catch{}}return null}function l(e){return""+e}function i(e){try{l(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),l(e)}}function f(e){if(e===v)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===T)return"<...>";try{var r=a(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function s(){var e=k.A;return e===null?null:e.getOwner()}function u(){return Error("react-stack-top-frame")}function m(e){if(x.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function d(e,r){function t(){h||(h=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function D(){var e=a(this.type);return N[e]||(N[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function L(e,r,t,n,b,A){var o=t.ref;return e={$$typeof:j,type:e,key:r,props:t,_owner:n},(o!==void 0?o:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:D}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:b}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function w(e,r,t,n,b,A){var o=r.children;if(o!==void 0)if(n)if(Q(o)){for(n=0;n<o.length;n++)g(o[n]);Object.freeze&&Object.freeze(o)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(o);if(x.call(r,"key")){o=a(e);var c=Object.keys(r).filter(function(K){return K!=="key"});n=0<c.length?"{key: someKey, "+c.join(": ..., ")+": ...}":"{key: someKey}",$[o+n]||(c=0<c.length?"{"+c.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
2
|
-
let props = %s;
|
|
3
|
-
<%s {...props} />
|
|
4
|
-
React keys must be passed directly to JSX without using spread:
|
|
5
|
-
let props = %s;
|
|
6
|
-
<%s key={someKey} {...props} />`,n,o,c,o),$[o+n]=!0)}if(o=null,t!==void 0&&(i(t),o=""+t),m(r)&&(i(r.key),o=""+r.key),"key"in r){t={};for(var S in r)S!=="key"&&(t[S]=r[S])}else t=r;return o&&d(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),L(e,o,t,s(),b,A)}function g(e){y(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===T&&(e._payload.status==="fulfilled"?y(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function y(e){return typeof e=="object"&&e!==null&&e.$$typeof===j}var R=ee,j=Symbol.for("react.transitional.element"),W=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),J=Symbol.for("react.consumer"),V=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),Z=Symbol.for("react.client.reference"),k=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,x=Object.prototype.hasOwnProperty,Q=Array.isArray,O=console.createTask?console.createTask:function(){return null};R={react_stack_bottom_frame:function(e){return e()}};var h,N={},C=R.react_stack_bottom_frame.bind(R,u)(),Y=O(f(u)),$={};E.Fragment=v,E.jsx=function(e,r,t){var n=1e4>k.recentlyCreatedOwnerStacks++;return w(e,r,t,!1,n?Error("react-stack-top-frame"):C,n?O(f(e)):Y)},E.jsxs=function(e,r,t){var n=1e4>k.recentlyCreatedOwnerStacks++;return w(e,r,t,!0,n?Error("react-stack-top-frame"):C,n?O(f(e)):Y)}})()),E}var M;function se(){return M||(M=1,process.env.NODE_ENV==="production"?p.exports=oe():p.exports=ae()),p.exports}var ue=se();exports.c=te;exports.g=ne;exports.j=ue;exports.m=re;
|