summaryrefslogtreecommitdiff
path: root/std/examples
AgeCommit message (Collapse)Author
2020-09-21chore: add copyright (#7593)tokiedokie
2020-09-09chore(std): remove std/ws connect method (#7403)Luca Casonato
2020-09-09test(std/examples): make tests runnable from any directory (#7399)Casper Beyer
2020-08-24feat: update to TypeScript 4.0 (#6514)Kitson Kelly
2020-07-26test(std): remove unstable from multiple tests (#6882)Trivikram Kamat
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-06-09fix(cli/js/process): Strengthen socket types based on pipes (#4836)Nayeem Rahman
2020-06-06fix(std/io): StringReader implementation (#6148)Ryan Dahl
2020-06-05Rename abbreviated assertions in std/testing (#6118)Casper Beyer
2020-05-27Fix shebangs (#5898)Stephan Seidt
2020-05-15improve chat example (#5474)ddaza
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-07fix(docs): add missing "deno run" (#5126)zjopy
2020-05-04BREAKING: make WebSocket directly implement AsyncIterable (#5044) (#5045)Andrey Trebler
2020-05-04BREAKING: remove CLI 'deno script.ts' hack (#5026)Bartek Iwańczuk
This PR removes the hack in CLI that allows to run scripts with shorthand: deno script.ts. Removing this functionality because it hacks around short-comings of clap our CLI parser. We agree that this shorthand syntax is desirable, but it needs to be rethinked and reimplemented. For 1.0 we should go with conservative approach that is correct.
2020-05-02Add hint on how to install gist program (#5041)Ryan Dahl
2020-05-01BREAKING: feat(cli/installer): Support guessing the executable name (#5036)Nayeem Rahman
2020-04-30Unstable methods should not appear in runtime or d.ts (#4957)Luca Casonato
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-04-30fix(std): use fromFileUrl (#5005)Ali Hasani
2020-04-29BREAKING: Map-like interface for Deno.env (#4942)Valentin Anger
2020-04-28BREAKING: Remove Deno.EOF, use null instead (#4953)Nayeem Rahman
2020-04-28BREAKING: Use LLVM target triple for Deno.build (#4948)Ryan Dahl
Deno.build.os values have changed to correspond to standard LLVM target triples "win" -> "windows" "mac" -> "darwin"
2020-04-28BREAKING: remove overload of Deno.test() (#4951)Bartek Iwańczuk
This commit removes overload of Deno.test() that accepted named function.
2020-04-25BREAKING CHANGE: change order of args in Deno.copy() (#4885)Bartek Iwańczuk
2020-04-10BREAKING: Make fetch API more web compatible (#4687)Ryan Dahl
- Removes the __fetch namespace from `deno types` - Response.redirect should be a static. - Response.body should not be AsyncIterable. - Disables the deno_proxy benchmark - Makes std/examples/curl.ts buffer the body before printing to stdout
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-24Revert "avoid using same port number for test (#4147)"Bartek Iwańczuk
Ref #4467 This reverts commit 60cee4f045778777a16b6fffd6d5b9a1400d7246.
2020-03-22re-enable a test (#4461)uki00a
2020-03-21BREAKING CHANGE Rename Deno.run's args to cmd (#4444)Akshat Agarwal
This is to avoid confusion with Deno.args which does not include the executable to be run.
2020-03-21avoid using same port number for test (#4147)Yusuke Sakurai
2020-03-20Add require-await lint rule (#4401)Samrith Shankar
2020-03-19refactor: rename Deno.TestDefinition.skip to ignore (#4400)Bartek Iwańczuk
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-15refactor(std): Uncomment disabled tests, use skip option (#4378)Nayeem Rahman
2020-03-08reorg: move JS ops implementations to cli/js/ops/, part 1 (#4264)Bartek Iwańczuk
Following JS ops were moved to separate files in cli/js/ops directory: - compiler - dispatch_json - dispatch_minimal - errors - fetch - fs_events - os - random - repl - resources - runtime_compiler - runtime - tty
2020-02-27reduce unnecessary output on tests (#4148)Yusuke Sakurai
2020-02-24disable std/examples/chat tests for windows (#4109)Bartek Iwańczuk
2020-02-24fix(std/examples): add tests for examples (#4094)uki00a
2020-02-24fix: chat example's content-security-policy (#4091)Yusuke Sakurai
2020-02-22Added browser chat example (#4022)Yusuke Sakurai
2020-02-22Fix example (#4076)jigsaw
2020-02-19Enable TS strict mode by default (#3899)Maximilien Mellen
Fixes #3324 Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-02-17feat(std/io): Export readDelim(), readStringDelim() and readLines() from ↵Nayeem Rahman
bufio.ts (#4019) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
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-01-30bring back std/examples/xeval.ts (#3822)Kevin (Kun) "Kassimo" Qian
2020-01-30feat: deno install in Rust (#3806)Bartek Iwańczuk
//std/installer couldn't be removed due to bug, but it's now deprecated.
2020-01-15Revert "feat(flags): script arguments come after '--'" (#3681)Ry Dahl
Due to complaints about ergonomics and because it breaks shebang on linux. This reverts commit 2d5457df15d8c4a81362bb2d185b5c6013faa1d8. BREAKING CHANGE