0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 11:51:01 +01:00
hono/deno_dist/utils
Derrick Farris 9a0389e723
feat(validator): add support for JSON array path validation (#563)
* refactor(JSONPath): improve typing of JSONPath

* chore(vscode-settings): add deno.enable=false

* fix(validator): add null to type Type def

* feat(JSON-Path): add support for array JSONPath-Plus syntax

* fix(validator): update isRequired to pass valid bool types

* test: update tests for isRequired validator

* feat(validator): add support for JSON array path validation

* chore(deno): denoify array support changes

* fix(validator): type check all vals in array

* chore(deno): denoify changes

* test(validator): add tests for array type checking

* fix(validator): change JSONPrimative to JSONPrimitive

* refactor(json): More compatible with https://jsonpath.com/.

* implementation of `asArray`

* fix(validator): update JSONPath implementation and add isArray check in validation

* fix(validator): fix typing errors on SchemaToProp

* Revert "fix(validator): fix typing errors on SchemaToProp"

This reverts commit b8ddef85d0.

* fix(validator): fix SchemaToProp error for VTypeArrays

* chore(deno): denoify

Co-authored-by: Taku Amano <taku@taaas.jp>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2022-09-30 21:56:39 +09:00
..
jwt chore: fix typo in error class name (#393) 2022-07-17 08:54:43 +09:00
body.ts feat: c.req.body and c.req.json accept generics (#529) 2022-09-20 22:01:03 +09:00
buffer.ts feat: support Deno! (#336) 2022-07-02 15:09:45 +09:00
cloudflare.ts chore: update deno_dist files 2022-07-02 23:22:51 +09:00
cookie.ts chore: denoify 2022-07-15 08:40:15 +09:00
crypto.ts fix(ETag): fixed an error when the file size is too large. (#461) 2022-08-09 10:35:30 +09:00
encode.ts chore: denoify 2022-09-30 19:50:59 +09:00
filepath.ts feat: add serve-static middlware for deno (#339) 2022-07-02 23:20:09 +09:00
html.ts refactor(utils/html): remove escape function (#450) 2022-08-03 11:39:36 +09:00
http-status.ts feat: support Deno! (#336) 2022-07-02 15:09:45 +09:00
json.ts feat(validator): add support for JSON array path validation (#563) 2022-09-30 21:56:39 +09:00
mime.ts refactor(mime): made .ico file's extension to image/x-icon (#462) 2022-08-09 10:51:08 +09:00
url.ts feat(trie-router): support optional parameter (#540) 2022-09-20 21:26:27 +09:00