Yoshiya Hinosawa
4c1053ad33
chore: update copyright year ( #13434 )
2022-01-20 16:10:16 +09:00
Bartek Iwańczuk
bedb2adfb0
refactor: remove "unitTest" wrapper from cli/tests/unit ( #12750 )
2021-11-23 17:45:18 +01:00
Casper Beyer
830586d242
test(cli): align unit test permissions with runtime test permissions ( #12189 )
2021-09-23 01:50:50 +02:00
David Sherret
15a763152f
chore: move test files to testdata directory ( #11601 )
2021-08-11 10:20:47 -04:00
Leo K
3f0cf9619f
refactor(cli/tests): remove unnecessary void return types ( #11577 )
2021-08-05 13:08:58 +02:00
Luca Casonato
9e6cd91014
chore: align fetch to spec ( #10203 )
...
This commit aligns the `fetch` API and the `Request` / `Response`
classes belonging to it to the spec. This commit enables all the
relevant `fetch` WPT tests. Spec compliance is now at around 90%.
Performance is essentially identical now (within 1% of 1.9.0).
2021-04-20 14:47:22 +02:00
Yusuke Tanaka
d8fd71afdf
chore: update copyright to 2021 ( #9092 )
2021-01-11 18:13:41 +01:00
Bartek Iwańczuk
8e914be742
build: migrate to dlint ( #8176 )
...
This commit migrates repository from using "eslint"
to "dlint" for linting JavaScript code.
2020-11-03 16:19:29 +01:00
Nayeem Rahman
98727b331d
fix(op_crates/fetch): Stringify and parse Request URLs ( #7838 )
...
Fixes #7837
2020-10-09 16:12:44 +11:00
David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers ( #7711 )
2020-09-27 12:22:32 +02:00
Kurt Mackey
cd67f7bdc8
fix: Create body stream from any valid bodySource ( #7128 )
...
Fixes #6752
2020-08-20 11:47:58 -04:00
David Sherret
cde4dbb351
Use dprint for internal formatting ( #6682 )
2020-07-14 15:24:17 -04:00
Marcos Casagrande
e4899b6ba4
perf(cli/body): improve .arrayBuffer() speed ( #6669 )
2020-07-07 22:25:34 -04:00
Ryan Dahl
5f9e600c5b
chore: port http_server.py to rust ( #6364 )
2020-07-04 13:05:01 -04:00
Marcos Casagrande
89ebe2079b
fix(cli/body): Maximum call stack size exceeded error ( #6537 )
2020-06-28 10:31:56 -04:00
Chris Couzens
f6a4146973
fix(cli/web): Support URLSearchParam as Body ( #6416 )
...
The following used to fail in Deno despite working in the browser:
```javascript
new Request('http://localhost/ ', {method: 'POST', body: new URLSearchParams({hello: 'world'})}).text().then(console.log)
```
2020-06-23 23:56:05 -04:00
Kitson Kelly
3fe6bc1b82
fix: Better use of @ts-expect-error ( #6038 )
2020-06-02 00:24:44 -04:00
Kitson Kelly
228f9c207f
Use ts-expect-error instead of ts-ignore. ( #5869 )
2020-05-26 10:02:16 -04:00
Ryan Dahl
30702e2678
move js unit tests to cli/tests ( #5678 )
2020-05-20 17:52:51 -04:00