@qwik.dev/core 2.0.0-beta.45 → 2.0.0-beta.47
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/build.d.ts +1 -1
- 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 +177 -108
- package/dist/core.min.mjs +10 -11
- package/dist/core.mjs +2354 -2126
- package/dist/core.mjs.map +1 -1
- package/dist/core.prod.mjs +4191 -4007
- package/dist/error-swap-executor.debug.js +2 -2
- package/dist/error-swap-executor.js +1 -1
- package/dist/insights.d.ts +2 -2
- package/dist/jsx-runtime/index.d.ts +1 -1
- package/dist/loader/package.json +1 -1
- package/dist/optimizer.d.ts +14 -4
- package/dist/optimizer.mjs +492 -446
- package/dist/out-of-order-executor.debug.js +2 -2
- package/dist/preloader.mjs +77 -69
- package/dist/server-modules.d.ts +7 -7
- package/dist/server.d.ts +17 -17
- package/dist/server.mjs +93 -62
- package/dist/server.prod.mjs +419 -384
- package/dist/starters/adapters/bun/adapters/bun/vite.config.ts +0 -1
- package/dist/testing/index.d.ts +23 -22
- package/dist/testing/index.mjs +7484 -7364
- package/dist/testing/package.json +1 -1
- package/dist/ts-optimizer.mjs +1095 -1068
- package/dist/worker/index.mjs +2 -2
- package/dist/worker/package.json +1 -1
- package/dist/worker/worker.shared.js +3 -3
- package/handlers.mjs +6 -6
- package/jsx-dev-runtime.d.ts +1 -1
- package/jsx-runtime.d.ts +1 -1
- package/loader.d.ts +1 -1
- package/optimizer.d.ts +1 -1
- package/package.json +3 -2
- package/public.d.ts +6 -6
- package/server.d.ts +1 -1
- package/testing.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region packages/qwik/src/error-swap-executor-shared.ts
|
|
2
|
-
var Q_ERROR_CONTENT_SELECTOR = "[q\\:
|
|
3
|
-
var Q_ERROR_FALLBACK_SELECTOR = "[q\\:
|
|
2
|
+
var Q_ERROR_CONTENT_SELECTOR = "[q\\:cc=\"";
|
|
3
|
+
var Q_ERROR_FALLBACK_SELECTOR = "[q\\:cf=\"";
|
|
4
4
|
var Q_CONTAINER_SELECTOR = "[q\\:container]:not([q\\:container=html]):not([q\\:container=text])";
|
|
5
5
|
/**
|
|
6
6
|
* Qwikloader broadcasts document/window events to every matching element in the document, and
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var t='[q\\:
|
|
1
|
+
var t='[q\\:cc="',e='[q\\:cf="',n="[q\\:container]:not([q\\:container=html]):not([q\\:container=text])",o=t=>{const e=t.querySelectorAll("*");for(let t=0;t<e.length;t++){const n=e[t].attributes;for(let o=n.length-1;o>=0;o--){const l=n[o].name;0!==l.indexOf("q-d:")&&0!==l.indexOf("q-w:")||e[t].removeAttribute(l)}}},l=l=>{const r=r=>{var c;const s=(null===(c=l.currentScript)||void 0===c?void 0:c.closest(n))||l,i=s.querySelector(t+r+'"]'),q=s.querySelector(e+r+'"]');i&&i.style&&(i.style.display="none",o(i)),q&&q.style&&(q.style.display="contents")};r.d=l,globalThis.qErr=r};l(document);
|
package/dist/insights.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// re-export to make TS happy when not using nodenext import resolution
|
|
2
|
-
export * from '../jsx-runtime';
|
|
2
|
+
export * from '../jsx-runtime.js';
|
package/dist/loader/package.json
CHANGED
package/dist/optimizer.d.ts
CHANGED
|
@@ -19,6 +19,14 @@ export declare interface ComponentEntryStrategy {
|
|
|
19
19
|
/** @public */
|
|
20
20
|
export declare const createOptimizer: (optimizerOptions?: OptimizerOptions) => Promise<Optimizer>;
|
|
21
21
|
|
|
22
|
+
/** @public */
|
|
23
|
+
export declare interface DecoratorOptions {
|
|
24
|
+
/** Tsconfig's `experimentalDecorators` */
|
|
25
|
+
legacy?: boolean;
|
|
26
|
+
/** Tsconfig's `emitDecoratorMetadata` */
|
|
27
|
+
emitDecoratorMetadata?: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
22
30
|
/** @public */
|
|
23
31
|
export declare interface Diagnostic {
|
|
24
32
|
scope: string;
|
|
@@ -52,10 +60,10 @@ export declare enum ExperimentalFeatures {
|
|
|
52
60
|
each = "each",
|
|
53
61
|
/** Enable the Show conditional primitive */
|
|
54
62
|
show = "show",
|
|
55
|
-
/** Enable the
|
|
56
|
-
|
|
57
|
-
/** Enable the
|
|
58
|
-
|
|
63
|
+
/** Enable the Pending fallback primitive */
|
|
64
|
+
pendingBoundary = "pendingBoundary",
|
|
65
|
+
/** Enable the Catch primitive */
|
|
66
|
+
catchBoundary = "catchBoundary",
|
|
59
67
|
/** Enable the Valibot form validation */
|
|
60
68
|
valibot = "valibot",
|
|
61
69
|
/** Disable SPA navigation handler in Qwik Router */
|
|
@@ -770,6 +778,8 @@ export declare interface TransformOptions {
|
|
|
770
778
|
stripCtxName?: string[];
|
|
771
779
|
stripEventHandlers?: boolean;
|
|
772
780
|
isServer?: boolean;
|
|
781
|
+
/** Decorator lowering, mirroring tsconfig. Only the TypeScript optimizer applies it. */
|
|
782
|
+
decorator?: DecoratorOptions;
|
|
773
783
|
}
|
|
774
784
|
|
|
775
785
|
/** @public */
|