Socket
Socket
Sign inDemoInstall

elysia

Package Overview
Dependencies
6
Maintainers
0
Versions
351
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0-exp.6 to 1.1.0-exp.7

1

dist/cjs/compose.d.ts

@@ -10,2 +10,3 @@ import { type Elysia } from '.';

export declare const isAsync: (v: Function | HookContainer) => boolean;
export declare const isGenerator: (v: Function | HookContainer) => boolean;
export declare const composeHandler: ({ app, path, method, localHook, hooks, validator, handler, allowMeta, inference }: {

@@ -12,0 +13,0 @@ app: Elysia<any, any, any, any, any, any, any, any>;

@@ -61,2 +61,13 @@ import type { Server } from 'bun';

status?: number | keyof StatusMap;
/**
* @deprecated Use inline redirect instead
*
* Will be removed in 1.2.0
*
* @example Migration example
* ```ts
* new Elysia()
* .get(({ redirect }) => redirect('/'))
* ```
*/
redirect?: string;

@@ -63,0 +74,0 @@ /**

3

dist/cjs/error.d.ts

@@ -148,6 +148,5 @@ import type { TSchema } from '@sinclair/typebox';

export declare class ParseError extends Error {
body?: unknown | undefined;
code: string;
status: number;
constructor(message?: string, body?: unknown | undefined);
constructor();
}

@@ -154,0 +153,0 @@ export declare class InvalidCookieSignature extends Error {

@@ -10,2 +10,3 @@ import { type Elysia } from '.';

export declare const isAsync: (v: Function | HookContainer) => boolean;
export declare const isGenerator: (v: Function | HookContainer) => boolean;
export declare const composeHandler: ({ app, path, method, localHook, hooks, validator, handler, allowMeta, inference }: {

@@ -12,0 +13,0 @@ app: Elysia<any, any, any, any, any, any, any, any>;

@@ -61,2 +61,13 @@ import type { Server } from 'bun';

status?: number | keyof StatusMap;
/**
* @deprecated Use inline redirect instead
*
* Will be removed in 1.2.0
*
* @example Migration example
* ```ts
* new Elysia()
* .get(({ redirect }) => redirect('/'))
* ```
*/
redirect?: string;

@@ -63,0 +74,0 @@ /**

@@ -148,6 +148,5 @@ import type { TSchema } from '@sinclair/typebox';

export declare class ParseError extends Error {
body?: unknown | undefined;
code: string;
status: number;
constructor(message?: string, body?: unknown | undefined);
constructor();
}

@@ -154,0 +153,0 @@ export declare class InvalidCookieSignature extends Error {

{
"name": "elysia",
"description": "Ergonomic Framework for Human",
"version": "1.1.0-exp.6",
"version": "1.1.0-exp.7",
"author": {

@@ -6,0 +6,0 @@ "name": "saltyAom",

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 too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc