Commit Graph

566 Commits

Author SHA1 Message Date
denobot
c6193ac887
chore: release 2024.11.13 (#6182)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-11-13 19:36:14 +09:00
Yoshiya Hinosawa
03dffde3ad
chore: update FileInfo fixture (#6181) 2024-11-13 19:16:17 +09:00
Yoshiya Hinosawa
9607eb8da1
fix(http): do not serve dot files when showDotfiles=false (#6180) 2024-11-12 20:19:54 +09:00
denobot
10ee73dbbc
chore: release 2024.10.24 (#6145)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-10-24 19:23:22 +09:00
Alan Norton
d6b5612c9f
fix(http): fix tablet and smarttv in Device.type literal types (#6129) 2024-10-21 12:50:30 +09:00
denobot
b4e5d21762
chore: release 2024.10.10 (#6098)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-10-10 18:46:27 +09:00
LitoMore
511585aa97
docs(http/unstable): add example for multiple request methods on route (#6045) 2024-09-25 12:43:58 +09:00
denobot
eeb3c9b151
chore: release 2024.09.24 (#6043)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-24 19:25:09 +09:00
Asher Gomez
5c7d0ead72
chore: run deno fmt (#6039)
* chore: run `deno fmt`

* temp fix
2024-09-24 01:08:07 +00:00
Max Duval
7f4d35ce17
fix(http): make file-server work on Deno Deploy (#6033)
* fix(file-server): work on deploy

Deno.permissions.querySync is not
a defined function in that environment.

* refactor: unified permissions queries

at the top of the file,
to reduce possible future confusion

* chore: format properly
2024-09-23 20:08:42 +10:00
lionel-rowe
a1f50b4cba
fix(http): use non-locale-sensitive string methods for comparison (#6029) 2024-09-20 17:28:06 +09:00
Asher Gomez
0b2497f16e
fix: update codebase to work with Deno RC (#6018)
* fix: update codebase to work with Deno RC

* work

* fix

* fix

* fix

* fixes

* work

* update

* fixes

* fix

* revert
2024-09-20 09:29:31 +10:00
LitoMore
e1c8d24144
feat(http/unstable): add support for multiple request methods on route (#6003)
feat(http): add suppport multiple request methods on route
2024-09-18 16:28:27 +10:00
Asher Gomez
58dbbd6bd2
chore: enable no-console lint rule (#5975) 2024-09-13 15:43:13 +10:00
denobot
c5d7930d57
chore: release 2024.09.12 (#5969)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-12 19:18:10 +09:00
Asher Gomez
b900e72b3d
BREAKING(net/unstable): move get-network-address module to unstable-get-network-address (#5949)
* BREAKING(net/unstable): move `get-network-address` module to `unstable-get-network-address`

* fix

* fix
2024-09-12 04:05:40 +00:00
Yoshiya Hinosawa
c594a0ce49
BREAKING(http/unstable): move route to ./unstable-route (#5939) 2024-09-12 12:50:47 +09:00
Yoshiya Hinosawa
8d7e184943
refactor(http): move unstable APIs (header, method, signed-cookie) (#5938) 2024-09-11 20:23:59 +09:00
Marvin Hagemeister
9f19c9afa1
fix(http): invalid ipv6 hostname printed to console (#5924) 2024-09-10 08:38:03 +02:00
Yoshiya Hinosawa
70f981e605
refactor(http): inline serveFallback() util (#5917)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-09-05 20:50:25 +09:00
Yoshiya Hinosawa
fb79076121
fix(http): show hostname as 'localhost' for 0.0.0.0 on windows (#5918) 2024-09-05 20:39:02 +09:00
denobot
67e9cfa0ff
chore: release 2024.09.04 (#5908)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-04 19:37:53 +09:00
Kenta Moriuchi
4d4bd0eb92
refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml): enable "exactOptionalPropertyTypes" option (#5892) 2024-09-04 14:15:01 +09:00
Kitson Kelly
b8df2b3494
fix(http): less restrictive arguments for accepts*() functions (#5850)
* fix(http): less restrictive types

* tweaks

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-29 10:09:44 +10:00
denobot
2b3683b6fb
chore: release 2024.08.26 (#5824)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-26 17:33:29 +09:00
Ian Bull
3c2ac9fe65
refactor(http): align additional error messages (#5791)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-26 14:05:00 +09:00
Asher Gomez
68eb6c3d0e
fix(http/unstable): match request method (#5772) 2024-08-22 21:05:39 +09:00
Asher Gomez
dea7d7701a
docs(archive,assert,cache,cli,encoding,html,http,net,streams,text): remove unstable Markdown alert (#5672)
* docs(archive,cli,html,http,net,streams,text): remove unstable Markdown alert

* update

* fix

* update

* fmt

* fix
2024-08-22 02:55:17 -04:00
Tim Reichen
644e03b817
perf(cli,http,ini,internal,media-types): replace trim() comparisons with regexps (#5751) 2024-08-21 13:50:18 +09:00
denobot
f7f275bd3b
chore: release 2024.08.16 (#5687)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-16 15:33:08 +09:00
Asher Gomez
88b35ec82e
refactor(http): use methods module in file-server module (#5668) 2024-08-11 03:42:34 +09:00
denobot
96d70203cd
chore: release 2024.08.07 (#5653)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-07 22:36:38 +09:00
Asher Gomez
32ece25136
fix(http/unstable): make info parameter optional (#5652)
refactor(http): make `info` parameter
2024-08-07 13:12:53 +00:00
denobot
ce02d496a4
chore: release 2024.08.07 (#5650)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-07 21:42:08 +09:00
Asher Gomez
d682c6be20
fix(http): handle wrong request method correctly (#5643)
* fix(http): handle incorrect method

* fix
2024-08-07 21:35:30 +09:00
Asher Gomez
e8aa4dfa4c
feat(http/unstable): route module (#5644)
* feat(http): `http/router`

* work

* work

* fix

* work

* fix

* clean

* add unstable notices

* fix

* work

* work

* work

* work

* fix

* fix

* fix

* work
2024-08-07 14:35:13 +02:00
Asher Gomez
d99e1f8a57
refactor(http): use headers module in file-server module (#5642) 2024-08-06 15:40:47 +02:00
Halvard Mørstad
259ce6dfd2
feat(http/unstable): headers module (#4317)
* Added IANA headers

* Apply suggestions from code review

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Cleaned up and added jsr support

* Fixed linting

* unstable notices

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-06 09:29:53 +00:00
Halvard Mørstad
a9f3558b85
feat(http/unstable): methods module (#4320)
* Added methods to http namespace

* Renamed type and const

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Cleaned up methods and added support for jsr

* Fixed linting

* unstable notices

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-06 09:24:45 +00:00
Yoshiya Hinosawa
906a1fdd85
BREAKING(http): remove ETagSource (#5577) 2024-07-30 12:40:08 +09:00
Asher Gomez
c77e966efa
chore(http): release http@1.0.0 (#5217) 2024-07-30 13:28:02 +10:00
Yoshiya Hinosawa
912c6f0069
fix(http): better eTag return type for string and Uint8Array inputs (#5571)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-30 12:10:53 +09:00
Asher Gomez
72e246222b
fix(http): update localhost strings in tests (#5563)
* fix(http): update localhost strings in tests

* fix
2024-07-29 13:59:32 +10:00
denobot
fb950fa0f3
chore: release 2024.07.26 (#5554)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-26 19:45:22 +09:00
Luca Casonato
65c189aea6
fix(http): only show LAN address when --allow-sys is provided (#5547)
This commit changes the behaviour of the file server to only print the LAN address if `--allow-sys=networkInterfaces` is provided. If it is not provided, no permission prompt for `--allow-sys` will be raised, and the LAN address will not be printed.
2024-07-25 12:13:16 +02:00
Asher Gomez
833544e293
chore(http): remove redundant constructor example (#5512)
chore(http): remove constructor example
2024-07-23 12:06:19 +09:00
denobot
3ee4c4dd43
chore: release 2024.07.19 (#5494)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-19 20:22:43 +09:00
Asher Gomez
4e46b761b0
docs(http): fix options argument display (#5488)
* docs(http): fix options argument display

* work
2024-07-19 13:12:23 +09:00
Asher Gomez
0cf043102e
docs(http): improve unstable API notices (#5483) 2024-07-19 12:58:39 +09:00
denobot
f54eab4355
chore: release 2024.07.12 (#5431)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-12 19:45:19 +09:00