Breaking
- (router): Allow
find()
to returnvoid
: f6cadf3
Features
-
Add
worktop/cors
module (#1, #22): c2e83e7, 9482d6a, 9eee191 -
Add
compose
utility to mainworktop
module (#23): b7103b7, c5d49c1
Note: Updated #7 to add explicit type-safety at later date. -
Add named
UID
andUUID
types fromworktop/utils
module (#21): dc600c3, 35c2a1b
More explicit type interfaces by default, while still satisfyingstring
types. -
Allow
Router.prepare
function to returnResponse
instance directly: 50383e8
This makes it a trueHandler
signature.
Patches
-
(response): Make
res.send
stringify non-obj/str data to String: dd597db
OtherwiseTextEncoder
throws when determining byteLength -
Add
__PURE__
directives for better tree-shaking: ed4159a, 1fa1b5f
Examples
- Add
"cors"
example: 13c27bf