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

elysia

Package Overview
Dependencies
Maintainers
0
Versions
477
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elysia - npm Package Versions

23
48

1.2.9

Diff

aomkirby123
published 1.2.8 •

Changelog

Source

1.2.8 - 27 Dec 2024

Bug fix:

  • #966 generic error somehow return 200
aomkirby123
published 1.2.7 •

Changelog

Source

1.2.7 - 27 Dec 2024

Bug fix:

  • macro doesn't work with guard
  • #981 unable to deference schema, create default, and coerce value
  • #966 error's value return as-if when thrown
  • #964 InvalidCookieSignature errors are not caught by onError
  • #952 onAfterResponse does not provide mapped response value unless aot is disabled
  • mapResponse.response is {} if no response schema is provided
  • Response doesn't reconcile when handler return Response is used with mapResponse
  • onError now accepts error as number when Elysia.error is thrown (but not returned)
aomkirby123
published 1.2.6 •

Changelog

Source

1.2.6 - 25 Dec 2024

Bug fix:

  • mapResponse with onError caused compilation error
aomkirby123
published 1.2.5 •

Changelog

Source

1.2.5 - 25 Dec 2024

Bug fix:

  • define universal/file in package export
aomkirby123
published 1.2.4 •

Changelog

Source

1.2.4 - 25 Dec 2024

Bug fix:

  • performance regression from eager access abortSignal
aomkirby123
published 1.2.3 •

Changelog

Source

1.2.3 - 25 Dec 2024

Bug fix:

  • #973 Parsing malformed body results in UNKNOWN-Error instead of ParseError
  • #971 remove top level import, use dynamic import instead
  • #969 Invalid context on .onStart, .onStop
  • #965 [Composer] failed to generate optimized handler. Unexpected identifier 'mapCompactResponse'
  • #962 fix schema default value when AOT is of
  • decorator name with space is not working
aomkirby123
published 1.2.2 •

Changelog

Source

1.2.2 - 24 Dec 2024

Bug fix:

  • conditional import and require
aomkirby123
published 1.2.1 •

Changelog

Source

1.2.1 - 23 Dec 2024

Bug fix:

  • conditional import for fs
  • object macro parameter maybe array
  • optional return for macro
aomkirby123
published 1.2.0 •

Changelog

Source

1.2.0 - 23 Dec 2024

Feature:

  • Commitment to Universal Runtime Support
    • Node Adapter
    • Web Standard Adapter
    • Bun Adapter
    • Universal Utilities
  • Name parser
  • Add resolve support to Macro
  • Improve WebSocket
    • Support ping, pong and latest Bun feature
    • Match type declaration with Bun
    • Support for return, yield
    • Match Context type
    • Performance Improvement
      • Entire rewrite
      • bind over getter return
  • Infer 422 validation
  • Compilation minification
  • Validation Stuff
    • t.MaybeArray
  • Typebox Module & Nested model
    • Inline module

Improvement:

  • Memory Usage
    • [Internal] Register loosePath in compilation process to reduce memory usage and reduce registration time from O(2n) to O(n)
  • Try to accept and coerce different version of Elysia plugin
  • Event Listener now infers path parameter automatically based on scope
  • Add ‘scoped’ to bulk as for casting type to ‘scoped’ similar to ‘plugin’

Change:

  • Update cookie to 1.0.1
  • Update TypeBox to 0.33
  • content-length now accept number

Breaking Change:

  • [Internal] Remove router internal property static.http.staticHandlers
  • [Internal] Router history compile now link with history composed
23
48
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