watany
8addfd442a
chore: upgrading vitest to v1.0 ( #1830 )
...
* update vitest
* vitest type
2023-12-19 07:29:30 +09:00
Yusuke Wada
b70ae7d679
chore(tsconfig.json
): use vitest/globals
for types ( #1819 )
2023-12-14 18:12:38 +09:00
watany
8b4392fa36
feat(adaptor): Support AWS Function URL Streaming ( #1625 )
...
* 0.1
* lint
* stream
* type safe
* ignore
* lint
* test Node.writablestream
* 1.0
* fixed pipeline
* fixed
2023-11-07 07:05:23 +09:00
Yusuke Wada
c703dd3726
fix(types): don't use webworker types ( #1548 )
...
* fix(types): don't use webworker types
* denoify
2023-10-06 05:14:16 +09:00
Yusuke Wada
e326208fdf
fix(context): use FetchEvent
instead of FetchEventLike
( #1532 )
2023-10-03 23:09:16 +09:00
Yusuke Wada
ee5929b045
fix(tsconfig): remove skipLibCheck
( #1201 )
2023-06-26 17:14:40 +09:00
Yusuke Wada
c50dcf03bb
fix(jsx): fix a jsx-runtime
bug ( #1070 )
...
* fix(jsx): fix a `jsx-runtime`
* fixed for Bun
* denoify
2023-05-05 10:46:49 +09:00
华晨
7103fe8426
remove unnecessary individual strict mode family options ( #805 )
2023-01-16 09:52:52 +09:00
Yusuke Wada
1eb49b8d96
refactor: support new @cloudflare/worker-types
( #673 )
...
* refactor: support new `@cloudflare/worker-types`
* do not attach crypto to global
* denoify ignore serve-static for cloudlfare
* ignore the utility for cloudflare
* import types
2022-11-23 07:27:42 +09:00
Yusuke Wada
8627010094
refactor(types): refactor and add tests for checking Types ( #615 )
...
* refactor(types): refactor and add tests for checking Types
* remove unused
* uncomment
* use `Handler` in validator middleware
* remove unused
* create `src/validator` dir and move some files into it
* add the case that the context is in `validator`
* rename `D` to `S`
2022-10-23 08:10:00 +09:00
Yusuke Wada
a801674cf7
feat: support ES modules!! ( #526 )
...
* feat: support ES modules!!
* fix typo
2022-09-15 09:56:46 +09:00
Yusuke Wada
1282473f85
refactor: enable strictPropertyInitialization
( #333 )
...
* refactor: enable `strictPropertyInitialization`
* checkout `0de127fd74879445b0910fd6505ca22a22a5d791`
2022-07-01 10:30:43 +09:00
Yusuke Wada
d43321109d
[BREAKING] refactor(jsx): h
to jsx
, remove h
( #318 )
2022-06-13 09:25:27 +09:00
Taku Amano
5993b61067
feat(middleware/jsx): We need Fragment. ( #310 )
2022-06-12 08:20:31 +09:00
Yusuke Wada
273106cfa9
[WIP] feat: jsx middleware
2022-06-07 19:03:42 +09:00
Yusuke Wada
e237927934
chore(tsconfig): update es2017
to es2020
( #285 )
2022-05-30 21:59:38 +09:00
Yusuke Wada
8bbb495d51
chore: add .mts
to tsconfig.json
2022-05-27 17:28:07 +09:00
Yusuke Wada
b55eb2e661
refactor(TypeScript): enable strict null check ( #280 )
2022-05-27 17:22:39 +09:00
Yusuke Wada
923a30e53d
feat: serve-static middleware supports Module Worker mode ( #250 )
2022-05-19 09:29:09 +09:00
Yusuke Wada
6ddba47cb5
chore: absolute import to relative import ( #228 )
2022-05-14 12:55:01 +09:00
Yusuke Wada
ac713c0659
refactor: refine directory structure ( #156 )
...
* refactor: refine importing mechanism
* refactor: move `CODE_OF_CONDUCT.md`
2022-04-20 14:06:04 +09:00
Yusuke Wada
7dd486ad7b
feat: builtin middleware as sub module ( #81 )
...
# BREAKING CHANGES!!
Now, builtin middleware are not in main package. You can't use `Middleware.logger()` method. Call sub modules if needed:
```js
import { Hono } from 'hono'
import { poweredBy } from 'hono/powered-by'
import { logger } from 'hono/logger'
const app = new Hono()
app.use('*', poweredBy())
app.use('*', logger())
```
Closes: #80
---
* feat: builtin middleware as sub module
* fixed middleware
* Update readme
* Add types
* New gif
2022-02-01 22:15:00 +09:00
Minghe
cb4f3d6282
feat(basic-auth): basic-auth middleware ( #28 )
...
* feat(basic-auth): basic-auth middleware
* fix(dep): update yarn.lock
* refactor(review): resolove some comments
2022-01-07 17:44:08 +09:00
Yusuke Wada
e6039f69f9
Migrate to TypeScript ( #21 )
...
* Migrate to TypeScript
* ready for publish
2022-01-05 18:41:29 +09:00