Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@builder.io/qwik-city

Package Overview
Dependencies
Maintainers
13
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@builder.io/qwik-city - npm Package Compare versions

Comparing version 0.0.101 to 0.0.102

middleware/request-handler/index.cjs

14

index.d.ts

@@ -47,3 +47,3 @@ /// <reference path="./modules.d.ts" />

*/
export declare type DocumentHead<T = unknown> = DocumentHeadValue | ((props: DocumentHeadProps<T>) => DocumentHeadValue);
export declare type DocumentHead<T = unknown> = DocumentHeadValue | ((props: DocumentHeadProps<GetEndpointData<T>>) => DocumentHeadValue);

@@ -180,2 +180,3 @@ /**

readonly headings?: ContentHeading[];
readonly onStaticGenerate?: StaticGenerateHandler;
}

@@ -286,3 +287,3 @@

*/
export declare type RouteData = [pattern: RegExp, loaders: ModuleLoader[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[]];
export declare type RouteData = [pattern: RegExp, loaders: ModuleLoader[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[], originalPathname: string];

@@ -324,5 +325,14 @@ /**

declare interface StaticGenerate {
params?: RouteParams[];
}
/**
* @alpha
*/
export declare type StaticGenerateHandler = () => Promise<StaticGenerate> | StaticGenerate;
/**
* @alpha
*/
export declare const useContent: () => ContentState;

@@ -329,0 +339,0 @@

@@ -31,3 +31,3 @@ import type { Render } from '@builder.io/qwik/server';

*/
declare type DocumentHead<T = unknown> = DocumentHeadValue | ((props: DocumentHeadProps<T>) => DocumentHeadValue);
declare type DocumentHead<T = unknown> = DocumentHeadValue | ((props: DocumentHeadProps<GetEndpointData<T>>) => DocumentHeadValue);

@@ -129,2 +129,4 @@ /**

declare type GetEndpointData<T> = T extends RequestHandler<infer U> ? U : T;
declare interface LayoutModule extends RouteModule {

@@ -149,2 +151,3 @@ readonly default: any;

readonly headings?: ContentHeading[];
readonly onStaticGenerate?: StaticGenerateHandler;
}

@@ -264,3 +267,3 @@

*/
declare type RouteData = [pattern: RegExp, loaders: ModuleLoader[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[]];
declare type RouteData = [pattern: RegExp, loaders: ModuleLoader[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[], originalPathname: string];

@@ -293,2 +296,11 @@ /**

declare interface StaticGenerate {
params?: RouteParams[];
}
/**
* @alpha
*/
declare type StaticGenerateHandler = () => Promise<StaticGenerate> | StaticGenerate;
export { }

@@ -34,3 +34,3 @@ import type { NextFunction } from 'express';

*/
declare type DocumentHead<T = unknown> = DocumentHeadValue | ((props: DocumentHeadProps<T>) => DocumentHeadValue);
declare type DocumentHead<T = unknown> = DocumentHeadValue | ((props: DocumentHeadProps<GetEndpointData<T>>) => DocumentHeadValue);

@@ -123,2 +123,4 @@ /**

declare type GetEndpointData<T> = T extends RequestHandler<infer U> ? U : T;
declare interface LayoutModule extends RouteModule {

@@ -143,2 +145,3 @@ readonly default: any;

readonly headings?: ContentHeading[];
readonly onStaticGenerate?: StaticGenerateHandler;
}

@@ -261,3 +264,3 @@

*/
declare type RouteData = [pattern: RegExp, loaders: ModuleLoader[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[]];
declare type RouteData = [pattern: RegExp, loaders: ModuleLoader[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[], originalPathname: string];

@@ -290,2 +293,11 @@ /**

declare interface StaticGenerate {
params?: RouteParams[];
}
/**
* @alpha
*/
declare type StaticGenerateHandler = () => Promise<StaticGenerate> | StaticGenerate;
export { }

@@ -31,3 +31,3 @@ import type { Render } from '@builder.io/qwik/server';

*/
declare type DocumentHead<T = unknown> = DocumentHeadValue | ((props: DocumentHeadProps<T>) => DocumentHeadValue);
declare type DocumentHead<T = unknown> = DocumentHeadValue | ((props: DocumentHeadProps<GetEndpointData<T>>) => DocumentHeadValue);

@@ -127,2 +127,4 @@ /**

declare type GetEndpointData<T> = T extends RequestHandler<infer U> ? U : T;
declare interface LayoutModule extends RouteModule {

@@ -147,2 +149,3 @@ readonly default: any;

readonly headings?: ContentHeading[];
readonly onStaticGenerate?: StaticGenerateHandler;
}

@@ -262,3 +265,3 @@

*/
declare type RouteData = [pattern: RegExp, loaders: ModuleLoader[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[]];
declare type RouteData = [pattern: RegExp, loaders: ModuleLoader[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[]] | [pattern: RegExp, loaders: ModuleLoader[], paramNames: string[], originalPathname: string];

@@ -291,2 +294,11 @@ /**

declare interface StaticGenerate {
params?: RouteParams[];
}
/**
* @alpha
*/
declare type StaticGenerateHandler = () => Promise<StaticGenerate> | StaticGenerate;
export { }

9

package.json
{
"name": "@builder.io/qwik-city",
"version": "0.0.101",
"version": "0.0.102",
"description": "The meta-framework for Qwik.",

@@ -25,2 +25,6 @@ "main": "./index.qwik.cjs",

},
"./static/node": {
"import": "./static/node/index.mjs",
"require": "./static/node/index.cjs"
},
"./vite": {

@@ -47,6 +51,6 @@ "import": "./vite/index.mjs",

},
"private": false,
"publishConfig": {
"access": "public"
},
"private": false,
"files": [

@@ -58,4 +62,5 @@ "index.d.ts",

"middleware",
"static",
"vite"
]
}

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc