Socket
Socket
Sign inDemoInstall

elysia

Package Overview
Dependencies
7
Maintainers
1
Versions
344
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
35Next

1.0.24

Diff

aomkirby123
published 1.1.0-exp.3 •

aomkirby123
published 1.1.0-exp.2 •

aomkirby123
published 1.1.0-exp.1 •

aomkirby123
published 1.0.23 •

Changelog

Source

1.0.23 - 9 Jun 2024

Feature:

  • add toResponse for mapping custom response
  • #606 Object encoding in query parameters

Bug fix:

  • #654 set correct normalization behavior for addtional properties
  • #649 cookie decode value might be null
  • #664 "default" option is not being applied on validation
  • #656 ctx.query doesn't work in some case
    • set forceDynamicQuery to true by default
  • #658 aot does not recognize the use of ctx.body within a try catch
  • #630 accessing ctx.query directly breaks the object
aomkirby123
published 1.0.22 •

Changelog

Source

1.0.22 - 23 May 2024

Breaking Change:

  • set default cookie path to /

Feature:

  • add form utility for returning explicit formdata
  • add object with image to return as formdata

Bug fix:

  • return Bun.file by specifying t.File() and t.Object({ any: t.File() }) as a response
aomkirby123
published 1.0.21 •

Changelog

Source

1.0.21 - 21 May 2024

Breaking Change:

  • t.type({ error }) now accepts (error: ({ type, validator, value, errors }) => unknown) instead of (error: (type, validator, value) => unknown)

Improvement:

  • t.type({ error }) accepts string | number | boolean | Object instead of string
  • t.type({ error }) return string | number | boolean | Object | void instead of string
  • add errors: ValueError[] to t.type({ error({ errors }) {} })

Bug fix:

  • #644 redirect doesn't work with aot: false
  • #641 cookie schema validation doesn't work with aot: true
  • #615 highlight derive and resolve when using onError
aomkirby123
published 1.1.0-exp.0 •

aomkirby123
published 1.0.20 •

Changelog

Source

1.0.20 - 13 May 2024

Bug fix:

  • macro is not inherits inside group
aomkirby123
published 1.0.19 •

Changelog

Source

1.0.19 - 13 May 2024

Bug fix:

  • remove set.clone spread operator for mapping Response
2345
35Next
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