0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-25 05:07:03 +01:00
hono/runtime-tests/deno-jsx
Moritz Eck bfc190f725
feat(css): add CSP nonce to hono/css related style and script tags (#3685)
* feat(css): add CSP nonce to hono/css related style and script tags

* test(helper/css): fix expected result

* test(helper/css): add test for stream with nonce

* fix(helper/css): Update regex to match nonce attribute

* refactor(helper/css): `context` is read-only and must not be modified.

* refactor(utils/html): declare context as readonly explicitly

* perf(helper/css): use `has` instead of `get`

---------

Co-authored-by: Taku Amano <taku@taaas.jp>
2024-11-24 10:50:24 +09:00
..
deno.precompile.json chore: rename runtime_tests to runtime-tests (#3419) 2024-09-17 14:51:43 +09:00
deno.react-jsx.json chore: rename runtime_tests to runtime-tests (#3419) 2024-09-17 14:51:43 +09:00
jsx.test.tsx feat(css): add CSP nonce to hono/css related style and script tags (#3685) 2024-11-24 10:50:24 +09:00