@qwik.dev/core 2.0.0-beta.27 → 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 +16 -1
- package/dist/core.min.mjs +1 -1
- package/dist/core.mjs +209 -154
- package/dist/core.mjs.map +1 -1
- package/dist/core.prod.mjs +1901 -1863
- package/dist/loader/package.json +1 -1
- package/dist/optimizer.d.ts +26 -19
- package/dist/optimizer.mjs +1278 -1234
- package/dist/preloader.mjs +86 -86
- package/dist/server.mjs +2 -2
- package/dist/server.prod.mjs +235 -235
- package/dist/starters/features/csr/index.html +4 -0
- package/dist/testing/index.mjs +2 -2
- package/dist/testing/package.json +1 -1
- package/package.json +4 -4
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/build/package.json
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* @qwik.dev/core/cli 2.0.0-beta.
|
|
3
|
+
* @qwik.dev/core/cli 2.0.0-beta.28-dev+fac55b7
|
|
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
|
|
@@ -12908,7 +12908,7 @@ async function printHelp(app) {
|
|
|
12908
12908
|
await runCommand2(Object.assign(app, { task: args[0], args }));
|
|
12909
12909
|
}
|
|
12910
12910
|
function printVersion() {
|
|
12911
|
-
console.log("2.0.0-beta.
|
|
12911
|
+
console.log("2.0.0-beta.28-dev+fac55b7");
|
|
12912
12912
|
}
|
|
12913
12913
|
export {
|
|
12914
12914
|
runCli,
|
package/dist/core-internal.d.ts
CHANGED
|
@@ -1422,6 +1422,13 @@ export { h }
|
|
|
1422
1422
|
*/
|
|
1423
1423
|
export declare const _hasStoreEffects: (value: StoreTarget, prop: keyof StoreTarget) => boolean;
|
|
1424
1424
|
|
|
1425
|
+
/**
|
|
1426
|
+
* HMR event handler. Replaces the component QRL with a fresh one and marks dirty.
|
|
1427
|
+
*
|
|
1428
|
+
* @internal
|
|
1429
|
+
*/
|
|
1430
|
+
export declare const _hmr: (event: Event, element: Element) => void;
|
|
1431
|
+
|
|
1425
1432
|
/** @public */
|
|
1426
1433
|
declare interface HoistEntryStrategy {
|
|
1427
1434
|
type: 'hoist';
|
|
@@ -4205,6 +4212,14 @@ export declare const useContextProvider: <STATE>(context: ContextId<STATE>, newV
|
|
|
4205
4212
|
/** @public */
|
|
4206
4213
|
export declare const useErrorBoundary: () => ErrorBoundaryStore;
|
|
4207
4214
|
|
|
4215
|
+
/**
|
|
4216
|
+
* Injected by the optimizer into component$ bodies in HMR mode. Registers a document event listener
|
|
4217
|
+
* that triggers component re-render on HMR updates.
|
|
4218
|
+
*
|
|
4219
|
+
* @internal
|
|
4220
|
+
*/
|
|
4221
|
+
export declare function _useHmr(devPath: string): void;
|
|
4222
|
+
|
|
4208
4223
|
/** @public */
|
|
4209
4224
|
export declare const useId: () => string;
|
|
4210
4225
|
|
|
@@ -4688,7 +4703,7 @@ export declare const _VAR_PROPS: unique symbol;
|
|
|
4688
4703
|
export declare const _verifySerializable: <T>(value: T, preMessage?: string) => T;
|
|
4689
4704
|
|
|
4690
4705
|
/**
|
|
4691
|
-
* 2.0.0-beta.
|
|
4706
|
+
* 2.0.0-beta.28-dev+fac55b7
|
|
4692
4707
|
*
|
|
4693
4708
|
* @public
|
|
4694
4709
|
*/
|