summaryrefslogtreecommitdiff
path: root/std/ws
AgeCommit message (Collapse)Author
2020-06-07refactor(std): remove testing dependencies from non-test code (#5838)Chris Knight
2020-06-04doc: Improved ws example and README (#5636)Yusuke Sakurai
2020-06-02fix: Better use of @ts-expect-error (#6038)Kitson Kelly
2020-05-26Use ts-expect-error instead of ts-ignore. (#5869)Kitson Kelly
2020-05-15shorten example (#5448)Juan Julián Merelo Guervós
2020-05-09BREAKING(std): reorganization (#5087)Nayeem Rahman
* Prepend underscores to private modules * Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result. * Move std/_util/async.ts to std/async * Move std/util/sha*.ts to std/hash
2020-05-08revert PR #5002 (#5141)Andrey Trebler
2020-05-04BREAKING: make WebSocket directly implement AsyncIterable (#5044) (#5045)Andrey Trebler
2020-04-30BREAKING: reorder std/io/utils copyBytes arguments (#5022)Marcos Casagrande
2020-04-30feat: Make WebSocket Reader/Writer (#5001) (#5002)Andrey Trebler
2020-04-29BREAKING: remove custom implementation of Deno.Buffer.toString() (#4992)Bartek Iwańczuk
Keep in mind Buffer.toString() still exists, but returns [object Object]. Reason for removal of Buffer.toString() was that it implicitly used TextDecoder with fixed "utf-8" encoding and no way to customize the encoding.
2020-04-28Remove Conn.closeRead (#4970)Ryan Dahl
2020-04-28BREAKING: Remove Deno.EOF, use null instead (#4953)Nayeem Rahman
2020-04-27feat(std/uuid): Implement uuid v5 (#4916)underfin
2020-04-24BREAKING CHANGE: rename TLS APIs to camel case (#4888)Bartek Iwańczuk
This commit renames all APIs containing "TLS" to use camel case (connectTLS -> connectTls, etc.)
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