Commit Graph

504 Commits

Author SHA1 Message Date
Yoshiya Hinosawa
67eaa4ace2
refactor(http): remove dead code and improve UserAgent testing (#5120) 2024-06-25 15:23:05 +09:00
Yoshiya Hinosawa
fa59027170
fix(http): handle the case fileInfo.mode=0 correctly (#5132) 2024-06-25 15:16:28 +09:00
Asher Gomez
f3ef2b1436
BREAKING(http): improve thrown errors in cookie module (#5129)
refactor(http): improve thrown errors in `cookie` module
2024-06-25 15:20:58 +10:00
Yoshiya Hinosawa
8ebe7d1c7f
BREAKING(http): change the default port of file-server to the same default of Deno.serve() (#4888)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-24 13:57:37 +09:00
Elisée Maurer
0036fb76a2
docs(http): remove outdated mention of CookieMap (#5109) 2024-06-22 10:35:42 +00:00
Asher Gomez
64e504a4de
BREAKING(http): move unstable-signed-cookie to signed-cookie (#5101)
* BREAKING(http): move `unstable-signed-cookie` to `signed-cookie`

* fix

* fix
2024-06-22 06:27:53 +00:00
Asher Gomez
051ab73026
BREAKING(http): remove deprecated server module (#5100) 2024-06-22 15:47:02 +10:00
denobot
cea0a14578
chore: release 2024.06.17 (#5062)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-17 18:53:28 +09:00
Klaas Skelte van der Werf
d35f8a3c2d
feat(http): support partitioned cookies (#5044) 2024-06-15 19:00:46 +12:00
denobot
0ea4868542
chore: release 2024.06.06 (#4984)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-06 20:26:57 +09:00
Asher Gomez
0bbd47b522
refactor(http): cleanup use of @std/assert (#4974)
* refactor(http): cleanup use of `@std/assert`

* graph

* update graph
2024-06-05 21:47:07 +00:00
denobot
b9374d3715
chore: release 2024.06.03 (#4935)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-03 15:44:03 +09:00
Asher Gomez
31b906db99
chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
Asher Gomez
79d6a70729
docs(assert,cli,data-structures,expect,fmt,front-matter,html,http,jsonc,semver,streams,text,toml,webgpu): add snippet checks in module, function and class docs to doc checker (#4855)
* chore: add snippet checks to module docs

* fix

* work

* tweak
2024-05-31 12:01:46 +10:00
Asher Gomez
622012b375
feat(net): getNetworkAddress() (#4677)
* feat(net): `getNetworkAddress()`

* tweaks

* tweaks

* work

* work

* tweak

* tweaks
2024-05-30 11:17:40 +09:00
Santiago Aguilar Hernández
fc8b738487
docs(http): added --allow-sys to file server example (#4890)
added --allow-sys to file-server example
2024-05-30 09:00:09 +10:00
denobot
673c436739
chore: release 2024.05.29 (#4883)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-05-29 18:56:12 +09:00
Yoshiya Hinosawa
082107bd7f
chore: update dependency check tool (#4833)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-23 13:43:23 +09:00
Asher Gomez
83991c738e
docs(http): don't run some examples in doc checker (#4840) 2024-05-22 22:17:05 +00:00
Leo Kettmeir
a3c99863f5
docs(http): improve docs for stabilization (#4813)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-22 12:09:08 -07:00
denobot
51dc36d563
chore: release 2024.05.22 (#4830)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-22 19:57:28 +09:00
Yoshiya Hinosawa
722844250d
docs(csv,encoding,http,json,media-types,uuid): use rfc-editor.org for RFC links (#4777)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-20 16:14:09 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Asher Gomez
94fb3fe7e9
chore(http): remove http/test.ts (#4639) 2024-04-24 16:59:50 +09:00
Yoshiya Hinosawa
0d7e9fe7c8
feat(http): file server prints local network address (#4604) 2024-04-22 14:25:14 +09:00
Asher Gomez
d954fa670d
test(http): update Deno.listenTls() options (#4619) 2024-04-22 05:45:25 +10:00
Asher Gomez
3f9d4a8494
chore: simplify deprecation notice check (#4577) 2024-04-17 15:36:50 +09:00
Asher Gomez
46d9fa594c
chore: update browser-compatible files with declaration (#4560) 2024-04-10 12:43:44 +10:00
Yoshiya Hinosawa
8a7b5dd0b5
docs(http): fix default algorithm for etag in docs (#4518) 2024-03-25 17:52:22 +09:00
Asher Gomez
1dc1ae5ab5
refactor(http): use cert and key for Deno.listenTls() (#4479)
* refactor(http): use `cert` and `key` for `Deno.listenTls()`

* fix
2024-03-13 13:12:46 +11:00
Gabriele Belluardo
4da7440c62
chore: enable no-sync-fn-in-async-fn lint rule (#4471)
* chore: enable `no-sync-fn-in-async-fn` lint rule

* revert for serveTls test
2024-03-12 11:36:10 +11:00
Asher Gomez
9743031bf0
docs(http): prepare for noUncheckedIndexedAccess (#4453) 2024-03-08 16:15:56 +11:00
David Sherret
ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax (#4406)
* Start

* Update

* Format

* Revert deno.json change

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00:00
Tim Reichen
8fbd39d54d
chore(http): format test names (#4400)
* initial commit

* remove brackets for classes
2024-02-28 08:03:28 +12:00
Asher Gomez
241c6b26e9
chore(http): fix spawned tests after migration script (#4368) 2024-02-22 15:40:55 +11:00
Kyle June
c6ed026ec4
feat(testing): explicit resource management for spy() and stub() (#4306)
* feat(testing): Explicit resource management for `spy()` and `stub()`

* Undo explicitly making FakeTime Disposable

* Update test cases to use explicit resource management

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-16 15:26:33 +11:00
Gabriele Belluardo
73ff70d870
refactor(http): prepare for noUncheckedIndexedAccess (#4298)
* refactor(http): prepare for `noUncheckedIndexedAccess`

* fix with requested changes

* rm: quote counting
2024-02-16 08:07:19 +11:00
David Luis
ad4abccb66
docs: replace markdown hyperlink syntax with {@link} tag where necessary. (#4253)
docs: replaces markdown hyperlink syntax with `{@link}` tag when necessary.
2024-02-01 09:19:46 +11:00
Tim Reichen
d23718945e
feat(tools,log,http,semver): check mod exports, export items consistently from mod.ts (#4229) 2024-01-25 18:36:46 +09:00
Asher Gomez
d91123ee37
fix: ignore linting for Deno.serveHttp() (#4234) 2024-01-25 00:29:16 +00:00
Lino Le Van
18d6a0ee30
deprecation(path): split off all constants into their own files and deprecate old names (#4153)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-18 14:54:39 +09:00
Asher Gomez
dbd8a543a5
docs(http): complete documentation (#4209) 2024-01-16 17:17:44 +11:00
Anwesh
3fcb0a8b24
refactor(using): use using keyword for Explicit Resource Management (#4143)
* refactor(using): add using keyword for Explicit Resource Management

* refactor(using): fix fmt

* refactor(using): add more fixes

* refactor(using): fix fmt

* refactor: add more `using` cases

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-15 08:35:50 +11:00
Asher Gomez
5d66bdffb4
BREAKING(http): remove CookieMap (#4179) 2024-01-14 19:55:47 +09:00
Asher Gomez
a9fe1603e0
feat(io): re-introduce IO functions (#4128) 2024-01-12 18:34:12 +11:00
Asher Gomez
805b926032
fix: add --no-lock to spawned process args in tests (#4168) 2024-01-12 13:38:41 +09:00
Asher Gomez
668856c4f7
fix: use with keyword for import attributes (#4141)
* refactor: use `with` keyword for import attributes

* fix
2024-01-10 19:07:56 +09:00
Asher Gomez
5e0b671bb7
fix(http): punt removal version of unstable_cookie_map.ts (#4125) 2024-01-08 13:38:12 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Asher Gomez
2cb08fc965
BREAKING(http): remove deprecated createCommonResponse() and Status APIs (#4014) 2023-12-22 19:33:44 +09:00