Socket
Socket
Sign inDemoInstall

h3

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h3 - npm Package Versions

1
10

1.6.2

Diff

Changelog

Source

v1.6.2

compare changes

🩹 Fixes

  • setResponseStatus: Mark code type as optional (#359)
  • Sanitize utils and sanitize all response code and messages (#358)

❤️ Contributors

pi0
published 1.6.1 •

Changelog

Source

v1.6.1

compare changes

🩹 Fixes

  • Sanitize statusMessage of disallowed chars (#357)

❤️ Contributors

pi0
published 1.6.0 •

Changelog

Source

v1.6.0

compare changes

🚀 Enhancements

  • Expose splitCookiesString utility (#343)
  • getRequestHost, getRequestProtocol and getRequestURL utils (#351)

🩹 Fixes

  • clearSession: Accept partial session config (#328)
  • useSession: Add types for data property (#346)
  • fetchWithEvent: Handle undefined init (c84c811)

🏡 Chore

  • Replace deprecated methods in test and jsdocs (#341)
  • Fix lint error (#342)
  • readme: Update badges (7afa753)
  • readme: Use correct link (a5e9fcd)
  • Update dev dependencies (f0075c7)

❤️ Contributors

pi0
published 1.5.0 •

Changelog

Source

v1.5.0

compare changes

🚀 Enhancements

  • Add cors utils (#322)
  • proxy: Support cookieDomainRewrite and cookiePathRewrite (#313)

🩹 Fixes

  • proxy: Separate multiple cookie headers (#319)

📖 Documentation

  • Update build status badge url (#331)

🌊 Types

  • Export MultiPartData (#332)

🏡 Chore

  • Improve lint npm script (#329)
  • Update ufo dependency (bdca859)

❤️ Contributors

pi0
published 1.4.0 •

Changelog

Source

v1.4.0

compare changes

🚀 Enhancements

  • Session support improvements (#325)

❤️ Contributors

pi0
published 1.3.0 •

Changelog

Source

v1.3.0

compare changes

🚀 Enhancements

  • fetchWithEvent and getProxyRequestHeaders utils (#323)

🩹 Fixes

  • proxy: Handle consumed responses (#321)
  • proxy: Handle consumed json body (#324)

💅 Refactors

  • session: Use upstream iron-webcrypto (a4b6f0d)

🌊 Types

  • proxy: Req can be url too (e13663b)
  • session: Session data values can be any pojo passing to JSON.stringify (22d116c)

❤️ Contributors

pi0
published 1.2.1 •

Changelog

Source

v1.2.1

compare changes

📦 Build

  • Inline iron-webcrypto to remove buffer polyfill (c50505b)

🏡 Chore

❤️ Contributors

pi0
published 1.2.0 •

Changelog

Source

v1.2.0

compare changes

🚀 Enhancements

  • Session support (#315)

🩹 Fixes

  • setCookie: Override existing set-cookie header with same name (#316)
  • proxy: Add host to ignored headers (d4f863f)

📖 Documentation

✅ Tests

  • Replace useCookies with parseCookies in test (#314)

❤️ Contributors

pi0
published 1.1.0 •

Changelog

Source

v1.1.0

compare changes

🚀 Enhancements

  • Utils to get and set response status (c8b4d85)
  • Add readMultipartFormData to parse multipart/form-data (#280)
  • AddsendNoContent utility to create a 204 response (#250)

🏡 Chore

  • Add full mit text for multipart util (42cfb99)

❤️ Contributors

pi0
published 1.0.2 •

Changelog

Source

v1.0.2

compare changes

🩹 Fixes

  • Correct types for readRawBody (#277)
  • readBody: Handle top-level arrays in url-encoded data (#278)

💅 Refactors

  • Update @deprecated comment (#245)
  • createRouter: Deprecate misspelled preemptive option (#256)

📖 Documentation

  • Fix deprecated methods (#238)

🏡 Chore

  • Add section to readme for community packages (#262)
  • Update eslint config (0812e81)
  • Format with prettier (a0e21c1)
  • Fix type issue (a9b3187)

✅ Tests

  • Fix legacy middleware test (408f3f2)

❤️ Contributors

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