@qwik.dev/core 2.0.0-alpha.0 → 2.0.0-alpha.1
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.darwin-x64.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/build/package.json +1 -1
- package/dist/cli.cjs +2 -2
- package/dist/core-internal.d.ts +2 -2
- package/dist/core.cjs +11 -5
- package/dist/core.cjs.map +1 -1
- package/dist/core.min.mjs +1 -1
- package/dist/core.mjs +11 -5
- package/dist/core.mjs.map +1 -1
- package/dist/core.prod.cjs +9 -6
- package/dist/core.prod.mjs +9 -6
- package/dist/insights/index.qwik.cjs +1 -1
- package/dist/insights/index.qwik.mjs +1 -1
- package/dist/loader/package.json +1 -1
- package/dist/optimizer.cjs +11 -16
- package/dist/optimizer.mjs +12 -17
- package/dist/prefetch/package.json +1 -1
- package/dist/server.cjs +12 -6
- package/dist/server.mjs +12 -6
- package/dist/testing/index.cjs +10 -4
- package/dist/testing/index.mjs +10 -4
- package/dist/testing/package.json +1 -1
- package/package.json +11 -11
- package/public.d.ts +2 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/build/package.json
CHANGED
package/dist/cli.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* @qwik.dev/core/cli 2.0.0-alpha.
|
|
3
|
+
* @qwik.dev/core/cli 2.0.0-alpha.1-dev+10f5414
|
|
4
4
|
* Copyright QwikDev. All Rights Reserved.
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
|
|
@@ -4881,7 +4881,7 @@ async function printHelp(app) {
|
|
|
4881
4881
|
await runCommand2(Object.assign(app, { task: args[0], args }));
|
|
4882
4882
|
}
|
|
4883
4883
|
function printVersion() {
|
|
4884
|
-
console.log("2.0.0-alpha.
|
|
4884
|
+
console.log("2.0.0-alpha.1-dev+10f5414");
|
|
4885
4885
|
}
|
|
4886
4886
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4887
4887
|
0 && (module.exports = {
|
package/dist/core-internal.d.ts
CHANGED
|
@@ -800,7 +800,7 @@ export declare const createSignal: {
|
|
|
800
800
|
};
|
|
801
801
|
|
|
802
802
|
/** @public */
|
|
803
|
-
declare interface CSSProperties extends CSS_2.Properties<string | number>, CSS_2.PropertiesHyphen<string | number> {
|
|
803
|
+
export declare interface CSSProperties extends CSS_2.Properties<string | number>, CSS_2.PropertiesHyphen<string | number> {
|
|
804
804
|
/**
|
|
805
805
|
* The index signature was removed to enable closed typing for style using CSSType. You're able to
|
|
806
806
|
* use type assertion or module augmentation to add properties or an index signature of your own.
|
|
@@ -3708,7 +3708,7 @@ export declare const _VAR_PROPS: unique symbol;
|
|
|
3708
3708
|
export declare const _verifySerializable: <T>(value: T, preMessage?: string) => T;
|
|
3709
3709
|
|
|
3710
3710
|
/**
|
|
3711
|
-
* 2.0.0-alpha.
|
|
3711
|
+
* 2.0.0-alpha.1-dev+10f5414
|
|
3712
3712
|
*
|
|
3713
3713
|
* @public
|
|
3714
3714
|
*/
|
package/dist/core.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* @qwik.dev/core 2.0.0-alpha.
|
|
3
|
+
* @qwik.dev/core 2.0.0-alpha.1-dev+10f5414
|
|
4
4
|
* Copyright QwikDev. All Rights Reserved.
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
|
|
@@ -2796,6 +2796,7 @@
|
|
|
2796
2796
|
iCtx.$container$ = container;
|
|
2797
2797
|
let componentFn;
|
|
2798
2798
|
container.ensureProjectionResolved(renderHost);
|
|
2799
|
+
let isInlineComponent = false;
|
|
2799
2800
|
if (componentQRL === null) {
|
|
2800
2801
|
componentQRL = componentQRL || container.getHostProp(renderHost, OnRenderProp);
|
|
2801
2802
|
assertDefined(componentQRL, 'No Component found at this location');
|
|
@@ -2812,13 +2813,18 @@
|
|
|
2812
2813
|
componentFn = () => invokeApply(iCtx, qComponentFn, [props || EMPTY_OBJ, null, 0]);
|
|
2813
2814
|
}
|
|
2814
2815
|
else {
|
|
2816
|
+
isInlineComponent = true;
|
|
2815
2817
|
const inlineComponent = componentQRL;
|
|
2816
2818
|
componentFn = () => invokeApply(iCtx, inlineComponent, [props || EMPTY_OBJ]);
|
|
2817
2819
|
}
|
|
2818
2820
|
const executeComponentWithPromiseExceptionRetry = (retryCount = 0) => safeCall(() => {
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2821
|
+
if (!isInlineComponent) {
|
|
2822
|
+
container.setHostProp(renderHost, ELEMENT_SEQ_IDX, null);
|
|
2823
|
+
container.setHostProp(renderHost, USE_ON_LOCAL_SEQ_IDX, null);
|
|
2824
|
+
if (container.getHostProp(renderHost, ELEMENT_PROPS) !== props) {
|
|
2825
|
+
container.setHostProp(renderHost, ELEMENT_PROPS, props);
|
|
2826
|
+
}
|
|
2827
|
+
}
|
|
2822
2828
|
if (vnode_isVNode(renderHost)) {
|
|
2823
2829
|
clearVNodeEffectDependencies(renderHost);
|
|
2824
2830
|
}
|
|
@@ -4517,7 +4523,7 @@
|
|
|
4517
4523
|
*
|
|
4518
4524
|
* @public
|
|
4519
4525
|
*/
|
|
4520
|
-
const version = "2.0.0-alpha.
|
|
4526
|
+
const version = "2.0.0-alpha.1-dev+10f5414";
|
|
4521
4527
|
|
|
4522
4528
|
/** @internal */
|
|
4523
4529
|
class _SharedContainer {
|