summaryrefslogtreecommitdiff
path: root/std
AgeCommit message (Collapse)Author
2020-02-07remove non-null assertion operator from std (part1) (#3900)Yusuke Sakurai
2020-02-07feat: add std/signal/mod.ts (#3913)Yoshiya Hinosawa
2020-02-06fix(std/path/globrex.ts): Use non-capturing groups in globrex() (#3898)Nayeem Rahman
2020-02-06fix: make WebSocket.send() exclusive (#3885)Yusuke Sakurai
2020-02-04std/http/server::serve aligned to std/http/server::serveTLS (#3881)Kitson Kelly
2020-02-03fix: Deno.remove() to properly remove dangling symlinks (#3860)Rafael Vargas
For some reason, the unit tests for Deno.remove() were not being imported to unit_tests.ts and, consequently, not being executed. Thus, I imported them, refactored some existent ones and wrote new ones for the symlink removal case. Since the creation of a symlink is not implemented for Windows yet, assertions that consider this state were added when the tests are executed in this OS.
2020-02-02std/encoding: add base32 support (#3855)Kevin (Kun) "Kassimo" Qian
2020-02-02Fixed month reference in documented output of parseDate and parseDateTime ↵Chris Knight
function calls (#3859)
2020-01-31chore: remove std/installer, port installer tests to Rust (#3843)Bartek Iwańczuk
2020-01-30bring back std/examples/xeval.ts (#3822)Kevin (Kun) "Kassimo" Qian
2020-01-30feat(std/node) Endianness (#3833)Chris Knight
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-30Remove --current-thread flag (#3830)Ryan Dahl
This flag was added to evaluate performance relative to tokio's threaded runtime. Although it's faster in the HTTP benchmark, it's clear the runtime is not the only perf problem. Removing this flag will simplify further refactors, in particular adopting the #[tokio::main] macro. This will be done in a follow up. Ultimately we expect to move to the current thread runtime with Isolates pinned to specific threads, but that will be a much larger refactor. The --current-thread just complicates that effort.
2020-01-29feat: dprint formatter (#3820)Bartek Iwańczuk
* rewrite fmt_test in Rust, remove tools/fmt_test.py * remove //std/prettier
2020-01-29Partial implementation of node os polyfill based on currently available Deno ↵cknight
functionality (#3821)
2020-01-27dx: descriptive permission errors (#3808)Bartek Iwańczuk
Before: ``` ▶ target/debug/deno https://deno.land/std/examples/echo_server.ts error: Uncaught PermissionDenied: run again with the --allow-net flag ► $deno$/dispatch_json.ts:40:11 at DenoError ($deno$/errors.ts:20:5) at unwrapResponse ($deno$/dispatch_json.ts:40:11) at sendSync ($deno$/dispatch_json.ts:67:10) at listen ($deno$/net.ts:170:15) at https://deno.land/std/examples/echo_server.ts:4:23 ``` ``` ▶ target/debug/deno --allow-read=/usr https://deno.land/std/examples/cat.ts /etc/passwd error: Uncaught PermissionDenied: run again with the --allow-read flag ► $deno$/dispatch_json.ts:40:11 at DenoError ($deno$/errors.ts:20:5) at unwrapResponse ($deno$/dispatch_json.ts:40:11) at sendAsync ($deno$/dispatch_json.ts:91:10) ``` After: ``` ▶ target/debug/deno https://deno.land/std/examples/echo_server.ts error: Uncaught PermissionDenied: network access to "0.0.0.0:8080", run again with the --allow-net flag ► $deno$/dispatch_json.ts:40:11 at DenoError ($deno$/errors.ts:20:5) at unwrapResponse ($deno$/dispatch_json.ts:40:11) at sendSync ($deno$/dispatch_json.ts:67:10) at listen ($deno$/net.ts:170:15) at https://deno.land/std/examples/echo_server.ts:4:23 ``` ``` ▶ target/debug/deno --allow-read=/usr https://deno.land/std/examples/cat.ts /etc/passwd error: Uncaught PermissionDenied: read access to "/etc/passwd", run again with the --allow-read flag ► $deno$/dispatch_json.ts:40:11 at DenoError ($deno$/errors.ts:20:5) at unwrapResponse ($deno$/dispatch_json.ts:40:11) at sendAsync ($deno$/dispatch_json.ts:91:10) ```
2020-01-26Improve support of type definitions (#3755)Kitson Kelly
2020-01-25add some tests for isSymbol in std/node/util_test (#3788)Takashi Idobe
2020-01-24fix crate name in docs (#3778)David Asabina
2020-01-24fix(std/http): update listenAndServe argument type (#3775)Carl Rosell
allow same argument type for `listenAndServe` as `serve`. fixes: #3774
2020-01-24Add signal handlers (#3757)Yoshiya Hinosawa
2020-01-23fix typoFabriece Sumuni
2020-01-21Update manual.md (#3734)Lasse Brudeskar Vikås
Updated the `Deno.bundle` description to actually use the `bundle`-function.
2020-01-21change copyrights from 2019 to 2020 (#3733)Takashi Idobe
2020-01-18stabilize net Addr (#3709)Bartek Iwańczuk
Co-authored-by: xiaoxintang <15707971810@163.com>
2020-01-18rename dial to connect and dialTLS to connectTLS (#3710)Bartek Iwańczuk
2020-01-18std(yaml): correct sortKeys type (#3708)Brandon Kalinowski
2020-01-17std/http: allow response body to be string (#3705)Kevin (Kun) "Kassimo" Qian
2020-01-15doc: fix spaces of code in list (#3678)迷渡
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
2020-01-15feat(std/node): Added node timers builtin (#3634)Luca Casonato
2020-01-15fix curl.ts (#3677)Tomofumi Chiba
2020-01-10Remove std/multipart (#3647)Nayeem Rahman
since it overlaps with std/mime/multipart
2020-01-09feat: Deno.args now does not include script (#3628)Ry Dahl
Previously Deno.args was ["script.js", "arg1", "arg2"] Now it is just ["arg1", "arg2"] BREAKING CHANGE
2020-01-08Remove xeval subcommand (#3630)Ry Dahl
2020-01-08feat(flags): script arguments come after '--' (#3621)Ry Dahl
2020-01-08Runtime Compiler API (#3442)Kitson Kelly
Also restructures the compiler TypeScript files to make them easier to manage and eventually integrate deno_typescript fully.
2020-01-07fix: Deno.mkdir should conform to style guide (#3617)Ry Dahl
2020-01-05doc: Add glib2.0 as a build prerequisite (#3608)Nayeem Rahman
2020-01-05Replace libdeno with rusty_v8 (#3556)Ry Dahl
2020-01-04Fix ws handshake with correctly empty search string (#3587)Dreamacro
2020-01-04fix(std/encoding/yaml): export parseAll (#3592)uki00a
2020-01-02Happy new year! (#3578)Ry Dahl
2020-01-02feat(std/http): make req.body a Reader (#3575)Kevin (Kun) "Kassimo" Qian
2019-12-30upgrade: Tokio 0.2 (#3418)Bartek Iwańczuk
2019-12-24doc: Update and improve build instructions (#3547)Nayeem Rahman
2019-12-23std: remove wildcard export in uuid module (#3540)Axetroy
2019-12-21fix(std/encoding/yaml): support document separator in parseAll (#3535)Yoshiya Hinosawa
2019-12-20feat: Add missing mod.ts files in std (#3509)Nayeem Rahman
std/archive/tar.ts: - Remove FileReader. - Remove FileWriter. std/encoding/csv.ts: - ExtendedParseOptions -> ParseOptions - HeaderOption -> HeaderOptions - ParseOptions -> ReadOptions - readAll() -> readMatrix() std/encoding/yaml.ts: - DumpOptions -> StringifyOptions std/fmt/colors.ts: - getEnabled() -> getColorEnabled() - setEnabled() -> setColorEnabled() std/testing/mod.ts: - Re-export sibling modules.
2019-12-20docs(std/encoding/yaml): add usage document (#3529)Yoshiya Hinosawa