0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-27 16:06:24 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
oussamasf
65f2a3be93
fix(serveStatic): add guard to prevent reading empty folders (#3639)
Fixes  #3628

* fix(serveStatic): add guard to prevent reading empty folders

* fix(serveStatic): remove unnecessary Deno.stat

* test(serveStatic): add test cases related to isDir guard
2024-11-08 10:06:53 +09:00
EdamAmex
394a8f50df
chore: bump devDependencies (#3633)
* chore: bump devDependencies

* fix

* chore: format
2024-11-06 15:45:30 +09:00
mattn
e9de50d7c3
refactor: fix typos (#3583) 2024-10-30 09:44:06 +09:00
TATSUNO “Taz” Yasuhiro
c0d782cd64
test(deno): remove duplicated app.get (#3469) 2024-09-30 15:44:32 +09:00
Yusuke Wada
f87c22104e
chore: remove crypto-js from dev dependencies (#3447) 2024-09-24 21:43:49 +09:00
Yusuke Wada
246a06aa1d
feat(serve-static): support absolute root (#3420)
* feat(serve-static): support absolute root

* add bun runtime test

* don't use `Request`

* add code for deno

* remove unnecessay `console.log`

* use `normalizeFilePath` instead of `URL`

* use `URL` for `options.root`

* don't allow directory traversal and fix the behavior when root including `../`
2024-09-24 12:23:35 +09:00
Taku Amano
7779fca9a5
feat(jsx/precompile): Normalization and stringification of attribute values as renderToString (#3432)
* feat(jsx/precompile): Normalization and stringification of attribute values as `renderToString`

* fix(jsx/precompile): boolean attributes are processed by compiler

* test: fix test data for jsx (precompile and react-jsx)

* fix(jsx/precompile): remove unnecessary import statement

* refactor(jsx/precompile): Normalization of keys from JSX to HTML is done by runtime, not by hono
2024-09-24 12:12:51 +09:00
Yusuke Wada
dfbd717263
chore: rename runtime_tests to runtime-tests (#3419)
* chore: rename `runtime_tests` to `runtime-tests`

* fixed GitHub workflow
2024-09-17 14:51:43 +09:00