Socket
Socket
Sign inDemoInstall

elysia

Package Overview
Dependencies
Maintainers
1
Versions
411
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.2.0-rc.1 to 0.2.0

14

dist/index.js

@@ -239,4 +239,6 @@ import { Router } from './router';

state(name, value) {
;
this.store[name] = value;
if (!(name in this.store)) {
;
this.store[name] = value;
}
return this;

@@ -247,3 +249,4 @@ }

this.decorators = {};
this.decorators[name] = value;
if (!(name in this.decorators))
this.decorators[name] = value;
return this;

@@ -462,3 +465,6 @@ }

setModel(record) {
Object.assign(this.store[DEFS], record);
Object.entries(record).forEach(([key, value]) => {
if (!(key in this.store[DEFS]))
this.store[DEFS][key] = value;
});
return this;

@@ -465,0 +471,0 @@ }

{
"name": "elysia",
"description": "Fast, and friendly Bun web framework",
"version": "0.2.0-rc.1",
"version": "0.2.0",
"author": {

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

@@ -24,3 +24,3 @@ <br>

- Flexibility
- You shall be able to customize most of the library to fits your need
- You shall be able to customize most of the library to fit your needs

@@ -27,0 +27,0 @@ Designed with TypeScript in mind, you don't need to understand TypeScript to gain the benefit of TypeScript with Elysia. The library understands what you want and automatically infers the type from your code.

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