Socket
Socket
Sign inDemoInstall

elysia

Package Overview
Dependencies
Maintainers
1
Versions
410
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elysia - npm Package Compare versions

Comparing version 0.3.0-beta.4 to 0.3.0-beta.5

22

dist/index.d.ts

@@ -60,3 +60,3 @@ /// <reference types="bun-types" />

[path in Path]: {
[method in 'GET']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
[method in 'get']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
};

@@ -71,3 +71,3 @@ }>>;

[path in Path]: {
[method in 'POST']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
[method in 'post']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
};

@@ -82,3 +82,3 @@ }>>;

[path in Path]: {
[method in 'PUT']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
[method in 'put']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
};

@@ -93,3 +93,3 @@ }>>;

[path in Path]: {
[method in 'PATCH']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
[method in 'patch']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
};

@@ -104,3 +104,3 @@ }>>;

[path in Path]: {
[method in 'DELETE']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
[method in 'delete']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
};

@@ -115,3 +115,3 @@ }>>;

[path in Path]: {
[method in 'OPTIONS']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
[method in 'options']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
};

@@ -126,3 +126,3 @@ }>>;

[path in Path]: {
[method in 'ALL']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
[method in 'all']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
};

@@ -137,3 +137,3 @@ }>>;

[path in Path]: {
[method in 'HEAD']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
[method in 'head']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
};

@@ -148,3 +148,3 @@ }>>;

[path in Path]: {
[method in 'TRACE']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
[method in 'trace']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
};

@@ -159,3 +159,3 @@ }>>;

[path in Path]: {
[method in 'CONNECT']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
[method in 'connect']: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
};

@@ -170,3 +170,3 @@ }>>;

[path in Path]: {
[method in Method]: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
[method in Uppercase<Method>]: TypedRouteToEden<Schema, Instance['meta'][typeof DEFS], Path, ReturnType<Handler>>;
};

@@ -173,0 +173,0 @@ }>>;

{
"name": "elysia",
"description": "Fast, and friendly Bun web framework",
"version": "0.3.0-beta.4",
"version": "0.3.0-beta.5",
"author": {

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

@@ -702,3 +702,3 @@ import type { Serve, Server } from 'bun'

[path in Path]: {
[method in 'GET']: TypedRouteToEden<
[method in 'get']: TypedRouteToEden<
Schema,

@@ -762,3 +762,3 @@ Instance['meta'][typeof DEFS],

[path in Path]: {
[method in 'POST']: TypedRouteToEden<
[method in 'post']: TypedRouteToEden<
Schema,

@@ -822,3 +822,3 @@ Instance['meta'][typeof DEFS],

[path in Path]: {
[method in 'PUT']: TypedRouteToEden<
[method in 'put']: TypedRouteToEden<
Schema,

@@ -882,3 +882,3 @@ Instance['meta'][typeof DEFS],

[path in Path]: {
[method in 'PATCH']: TypedRouteToEden<
[method in 'patch']: TypedRouteToEden<
Schema,

@@ -942,3 +942,3 @@ Instance['meta'][typeof DEFS],

[path in Path]: {
[method in 'DELETE']: TypedRouteToEden<
[method in 'delete']: TypedRouteToEden<
Schema,

@@ -1002,3 +1002,3 @@ Instance['meta'][typeof DEFS],

[path in Path]: {
[method in 'OPTIONS']: TypedRouteToEden<
[method in 'options']: TypedRouteToEden<
Schema,

@@ -1057,3 +1057,3 @@ Instance['meta'][typeof DEFS],

[path in Path]: {
[method in 'ALL']: TypedRouteToEden<
[method in 'all']: TypedRouteToEden<
Schema,

@@ -1117,3 +1117,3 @@ Instance['meta'][typeof DEFS],

[path in Path]: {
[method in 'HEAD']: TypedRouteToEden<
[method in 'head']: TypedRouteToEden<
Schema,

@@ -1177,3 +1177,3 @@ Instance['meta'][typeof DEFS],

[path in Path]: {
[method in 'TRACE']: TypedRouteToEden<
[method in 'trace']: TypedRouteToEden<
Schema,

@@ -1237,3 +1237,3 @@ Instance['meta'][typeof DEFS],

[path in Path]: {
[method in 'CONNECT']: TypedRouteToEden<
[method in 'connect']: TypedRouteToEden<
Schema,

@@ -1299,3 +1299,3 @@ Instance['meta'][typeof DEFS],

[path in Path]: {
[method in Method]: TypedRouteToEden<
[method in Uppercase<Method>]: TypedRouteToEden<
Schema,

@@ -1302,0 +1302,0 @@ Instance['meta'][typeof DEFS],

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