Socket
Socket
Sign inDemoInstall

elysia

Package Overview
Dependencies
7
Maintainers
1
Versions
334
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345
34Next

1.0.0-exp.16

Diff

aomkirby123
published 1.0.9 •

Changelog

Source

1.0.9 - 25 Mar 2024

Feature:

  • Elysia.config.detail constructor
  • shorthand Elysia.tags to constructor, LocalHook
  • guard inherits detail

Bug fix:

  • inference link on precompile: false creating unnecessary instruction
aomkirby123
published 1.0.8 •

Changelog

Source

1.0.8 - 25 Mar 2024

Feature:

  • #562 add normalize config

Improvement:

  • Scope cookie instruction to route level instead of global config
  • #557 cache tsc buildinfo for running faster
  • #551 use AnyElysia instead of inline Elysia<any>

Bug fix:

  • #564 Fixing "ReadableStream is locked"
  • #552 fix: shift promise in PromiseGroup even when rejected
aomkirby123
published 1.0.7 •

Changelog

Source

1.0.7 - 20 Mar 2024

Feature:

  • add Elysia.propagate to propagate hook type from 'local' to 'scoped'

Improvement:

  • remove function.$elysia
  • remove function extension

Bug fix:

  • duplicate macro call
  • #548 additional case for "accessing all query params using property name (ctx.query) doesn't work anymore"
  • #599 plugin with scoped settings not functioning correctly
aomkirby123
published 1.0.6 •

Changelog

Source

1.0.6 - 20 Mar 2024

Bug fix:

  • inline function doesn't propagate correctly on type level
aomkirby123
published 1.0.5 •

Changelog

Source

1.0.5 - 19 Mar 2024

Improvement:

  • using regex for date pattern matching before using new Date validation
  • using tsc to emit declaration file instead of tsup
  • add mapResponse to MacroManager

Bug fix:

  • Ephemeral and Volatile type isn't recognize by MacroManager
  • inline guard cookie doesn't apply to local instance
aomkirby123
published 1.0.4 •

Changelog

Source

1.0.4 - 18 Mar 2024

Improvement:

  • resolve, derive soundness
aomkirby123
published 1.0.3 •

Changelog

Source

1.0.3 - 18 Mar 2024

Improvement:

  • Reduce instruction for static resource

Bug fix:

  • Fix returning mulitple status code using error doesn't accept the response
aomkirby123
published 1.0.2 •

Changelog

Source

1.0.2 - 18 Mar 2024

Feature:

  • add scoped support for derive and resolve

Improvement:

  • Type soundness
  • type inference performance improvement
aomkirby123
published 1.0.1 •

Changelog

Source

1.0.1 - 18 Mar 2024

Improvement:

  • mapHandler now check passthrough once instead of twice
  • exclude return type ofELYSIA_RESPONSE type from derive and resolve
  • throw error if error is return in derive and resolve
  • handle return error on transform
  • #502 merge response schema from parent scope

Bug fix:

  • explicit type: 'json' with body schema throw unexpected body.Check is not a function
  • #549 await the .modules of nested Elysia instances
  • #548 Accessing all query params using property name (ctx.query) doesn't work anymore
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc