mirror of
https://github.com/honojs/hono.git
synced 2024-11-22 02:27:49 +01:00
246a06aa1d
* 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 `../`
20 lines
413 B
JSON
20 lines
413 B
JSON
{
|
|
"compilerOptions": {
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "hono/jsx",
|
|
"lib": [
|
|
"deno.ns",
|
|
"dom",
|
|
"dom.iterable"
|
|
]
|
|
},
|
|
"unstable": [
|
|
"sloppy-imports"
|
|
],
|
|
"imports": {
|
|
"@std/assert": "jsr:@std/assert@^1.0.3",
|
|
"@std/path": "jsr:@std/path@^1.0.3",
|
|
"@std/testing": "jsr:@std/testing@^1.0.1",
|
|
"hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts"
|
|
}
|
|
} |