@builder.io/qwik
Advanced tools
Comparing version 0.0.14-4 to 0.0.14
@@ -1,3 +0,1 @@ | ||
import type { Plugin as Plugin_2 } from 'rollup'; | ||
/** | ||
@@ -144,3 +142,3 @@ * @alpha | ||
minify?: MinifyMode; | ||
entryMapFile?: string | null; | ||
symbolsPath?: string; | ||
} | ||
@@ -151,3 +149,3 @@ | ||
*/ | ||
export declare function qwikRollup(opts?: QwikPluginOptions): Plugin_2; | ||
export declare function qwikRollup(opts?: QwikPluginOptions): any; | ||
@@ -154,0 +152,0 @@ /** |
{ | ||
"name": "@builder.io/qwik", | ||
"version": "0.0.14-4", | ||
"version": "0.0.14", | ||
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -0,1 +1,3 @@ | ||
/// <reference types="node" /> | ||
import { FunctionComponent } from '../core'; | ||
@@ -17,5 +19,20 @@ | ||
/** | ||
* Utility timer function for performance profiling. | ||
* @public | ||
*/ | ||
export declare interface CreateRenderToStringOptions { | ||
serverDir: string; | ||
serverMainPath: string; | ||
symbolsPath: string; | ||
} | ||
/** | ||
* Utility to load the app's server's main render function. | ||
* @alpha | ||
*/ | ||
export declare function createServerRenderer(opts: CreateRenderToStringOptions): Promise<RenderToString>; | ||
/** | ||
* Utility timer function for Nodejs performance profiling. | ||
* @alpha | ||
*/ | ||
export declare function createTimer(): () => number; | ||
@@ -29,3 +46,4 @@ | ||
url?: string; | ||
outDir?: string; | ||
serverDir?: string; | ||
debug?: boolean; | ||
} | ||
@@ -73,2 +91,7 @@ | ||
/** | ||
* @public | ||
*/ | ||
declare type QrlMapper = (path: string, symbol: string) => string; | ||
/** | ||
* Partial Document used by Qwik Framework. | ||
@@ -135,5 +158,14 @@ * | ||
export declare interface RenderToDocumentOptions extends SerializeDocumentOptions, DocumentOptions { | ||
/** | ||
* Defaults to `true` | ||
*/ | ||
dehydrate?: boolean; | ||
} | ||
/** | ||
* @public | ||
*/ | ||
declare type RenderToString = (opts: RenderToStringOptions) => Promise<RenderToStringResult>; | ||
/** | ||
* Creates a server-side `document`, renders to root node to the document, | ||
@@ -176,7 +208,4 @@ * then serializes the document to a string. | ||
*/ | ||
declare interface SerializeDocumentOptions { | ||
/** | ||
* Defaults to `true` | ||
*/ | ||
serializeState?: boolean; | ||
declare interface SerializeDocumentOptions extends DocumentOptions { | ||
qrlMapper?: QrlMapper; | ||
} | ||
@@ -183,0 +212,0 @@ |
@@ -0,1 +1,3 @@ | ||
/// <reference types="node" /> | ||
import { FunctionComponent } from '../core'; | ||
@@ -17,5 +19,20 @@ | ||
/** | ||
* Utility timer function for performance profiling. | ||
* @public | ||
*/ | ||
export declare interface CreateRenderToStringOptions { | ||
serverDir: string; | ||
serverMainPath: string; | ||
symbolsPath: string; | ||
} | ||
/** | ||
* Utility to load the app's server's main render function. | ||
* @alpha | ||
*/ | ||
export declare function createServerRenderer(opts: CreateRenderToStringOptions): Promise<RenderToString>; | ||
/** | ||
* Utility timer function for Nodejs performance profiling. | ||
* @alpha | ||
*/ | ||
export declare function createTimer(): () => number; | ||
@@ -29,3 +46,4 @@ | ||
url?: string; | ||
outDir?: string; | ||
serverDir?: string; | ||
debug?: boolean; | ||
} | ||
@@ -73,2 +91,7 @@ | ||
/** | ||
* @public | ||
*/ | ||
declare type QrlMapper = (path: string, symbol: string) => string; | ||
/** | ||
* Partial Document used by Qwik Framework. | ||
@@ -135,5 +158,14 @@ * | ||
export declare interface RenderToDocumentOptions extends SerializeDocumentOptions, DocumentOptions { | ||
/** | ||
* Defaults to `true` | ||
*/ | ||
dehydrate?: boolean; | ||
} | ||
/** | ||
* @public | ||
*/ | ||
declare type RenderToString = (opts: RenderToStringOptions) => Promise<RenderToStringResult>; | ||
/** | ||
* Creates a server-side `document`, renders to root node to the document, | ||
@@ -176,7 +208,4 @@ * then serializes the document to a string. | ||
*/ | ||
declare interface SerializeDocumentOptions { | ||
/** | ||
* Defaults to `true` | ||
*/ | ||
serializeState?: boolean; | ||
declare interface SerializeDocumentOptions extends DocumentOptions { | ||
qrlMapper?: QrlMapper; | ||
} | ||
@@ -183,0 +212,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
44125317
30143
20