Skip to content

v4.13.22

Latest

Choose a tag to compare

@yusukebe yusukebe released this 25 Nov 00:07

This release includes hardening changes. We recommend that you update.

What's Changed

  • fix(mount): keep the malformed path guard in the built output in #5675
  • fix(basic-auth): throw an error if the username or the password is not a string in #5676
  • fix(utils/mime): return undefined for an extension that is an inherited property name in #5677
  • fix(jsx): do not treat a plain object child as an array in #5678
  • fix(sse): reject line breaks in retry in #5679
  • fix(streaming): accept a sync onError callback in #5680
  • fix(utils/body): skip keys with constructor.prototype in parseBody() in #5681

Basic Auth Middleware throws an error for a value that is not a string

basicAuth() now throws an error at setup if username or password is not a string. If you pass an env variable, check that it is set.

Full Changelog: v4.13.21...v4.13.22