summaryrefslogtreecommitdiff
path: root/std/ws
AgeCommit message (Collapse)Author
2020-04-01Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ ↵Ryan Dahl
(#4565) also removes std/encoding/mod.ts and std/archive/mod.ts which are useless.
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-22clean up textproto code in std (#4458)Yusuke Sakurai
- moved and renamed append() into bytes from ws and textproto - renamed textproto/readder_tests.ts -> textproto/test.ts
2020-03-20Add require-await lint rule (#4401)Samrith Shankar
2020-03-18feat: Deno.test() sanitizes ops and resources (#4399)Bartek Iwańczuk
This PR brings assertOps and assertResources sanitizers to Deno.test() API. assertOps checks that test doesn't leak async ops, ie. there are no unresolved promises originating from Deno APIs. Enabled by default, can be disabled using Deno.TestDefinition.disableOpSanitizer. assertResources checks that test doesn't leak resources, ie. all resources used in test are closed. For example; if a file is opened during a test case it must be explicitly closed before test case finishes. It's most useful for asynchronous generators. Enabled by default, can be disabled using Deno.TestDefinition.disableResourceSanitizer. We've used those sanitizers in internal runtime tests and it proved very useful in surfacing incorrect tests which resulted in interference between the tests. All tests have been sanitized. Closes #4208
2020-03-13fix(std): Use Deno.errors where possible. (#4356)Oliver Lenehan
2020-02-28[std/ws] provide default close code for ws.close() (#4172)Yusuke Sakurai
2020-02-26refactor(std/http): move io functions to http/io.ts (#4126)Yusuke Sakurai
2020-02-24fix: createSecKey logic (#4063)Suguru Motegi
2020-02-23fix: [ws] sock shouldn't throw eof error when failed to read frame (#4083)Yusuke Sakurai
2020-02-20/std/ws: Fix args index for WS examples (#4046)Clemens Tolboom
2020-02-17Update ws client example (#4012)Nikolai Vavilov
2020-02-11refactor: rewrite tests in std/ to use Deno.test (#3930)Bartek Iwańczuk
2020-02-07remove non-null assertion operator from std (part1) (#3900)Yusuke Sakurai
2020-02-06fix: make WebSocket.send() exclusive (#3885)Yusuke Sakurai
2020-01-18rename dial to connect and dialTLS to connectTLS (#3710)Bartek Iwańczuk
2020-01-04Fix ws handshake with correctly empty search string (#3587)Dreamacro
2020-01-02Happy new year! (#3578)Ry Dahl
2019-11-13Update to TypeScript 3.7 (#3275)Kitson Kelly
and update to prettier 1.19 Also, update `assert()` and remove not null assertions where possibly in `cli`. Closes #3273
2019-10-27feat: top-level-for-await (#3212)Andy Hayden
2019-10-09Run deno_std tests in github actionsRyan Dahl
2019-10-09Move everything into std subdirRyan Dahl