@qwik.dev/core 2.0.0-beta.26 → 2.0.0-beta.28
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/bindings/qwik.darwin-arm64.node +0 -0
- package/bindings/qwik.linux-x64-gnu.node +0 -0
- package/bindings/qwik.win32-x64-msvc.node +0 -0
- package/bindings/qwik_wasm_bg.wasm +0 -0
- package/dist/backpatch/package.json +1 -1
- package/dist/build/package.json +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/core-internal.d.ts +29 -5
- package/dist/core.min.mjs +1 -1
- package/dist/core.mjs +624 -582
- package/dist/core.mjs.map +1 -1
- package/dist/core.prod.mjs +6105 -6063
- package/dist/insights/index.qwik.mjs +80 -57
- package/dist/loader/package.json +1 -1
- package/dist/optimizer.d.ts +26 -19
- package/dist/optimizer.mjs +1278 -1234
- package/dist/server.mjs +29 -21
- package/dist/server.prod.mjs +3263 -0
- package/dist/starters/features/csr/index.html +4 -0
- package/dist/testing/index.d.ts +10 -1
- package/dist/testing/index.mjs +560 -563
- package/dist/testing/package.json +1 -1
- package/package.json +9 -5
package/dist/testing/index.d.ts
CHANGED
|
@@ -358,9 +358,16 @@ declare interface JSXNode<T extends string | FunctionComponent | unknown = unkno
|
|
|
358
358
|
dev?: DevJSX;
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
+
declare const enum JSXNodeFlags {
|
|
362
|
+
None = 0,
|
|
363
|
+
StaticSubtree = 2,
|
|
364
|
+
HasCapturedProps = 4
|
|
365
|
+
}
|
|
366
|
+
|
|
361
367
|
declare class JSXNodeImpl<T = unknown> implements JSXNodeInternal_2<T> {
|
|
362
368
|
type: T;
|
|
363
369
|
children: JSXChildren;
|
|
370
|
+
flags: JSXNodeFlags;
|
|
364
371
|
toSort: boolean;
|
|
365
372
|
key: string | null;
|
|
366
373
|
varProps: Props;
|
|
@@ -369,7 +376,7 @@ declare class JSXNodeImpl<T = unknown> implements JSXNodeInternal_2<T> {
|
|
|
369
376
|
stack: string | undefined;
|
|
370
377
|
};
|
|
371
378
|
_proxy: Props | null;
|
|
372
|
-
constructor(type: T, varProps: Props | null, constProps: Props | null, children: JSXChildren, key: string | number | null | undefined, toSort?: boolean, dev?: DevJSX);
|
|
379
|
+
constructor(type: T, varProps: Props | null, constProps: Props | null, children: JSXChildren, flags: JSXNodeFlags, key: string | number | null | undefined, toSort?: boolean, dev?: DevJSX);
|
|
373
380
|
get props(): T extends FunctionComponent<infer PROPS> ? PROPS : Props;
|
|
374
381
|
}
|
|
375
382
|
|
|
@@ -385,6 +392,8 @@ declare interface JSXNodeInternal_2<T extends string | FunctionComponent | unkno
|
|
|
385
392
|
toSort: boolean;
|
|
386
393
|
/** The key property */
|
|
387
394
|
key: string | null;
|
|
395
|
+
/** Flags */
|
|
396
|
+
flags: JSXNodeFlags;
|
|
388
397
|
/**
|
|
389
398
|
* Props that are not guaranteed shallow equal across runs.
|
|
390
399
|
*
|