summaryrefslogtreecommitdiff
path: root/std
AgeCommit message (Collapse)Author
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
2019-12-18fix permission errors are swallowed by fs.copy() (#3504)Axetroy
2019-12-18fix code example (#3519)Christian Bromann
2019-12-18Improve empty test case error messages (#3514)Yoshiya Hinosawa
2019-12-18fix permission errors are swallowed by fs.emptyDir (#3501)Axetroy
2019-12-15std/node: better error message for read perm in require() (#3502)Kevin (Kun) "Kassimo" Qian
2019-12-14Support utf8 in file_server (#3495)木杉
2019-12-14feat(file_server): add help & switch to flags (#3489)木杉
2019-12-13fix permission errors are swallowed by fs.exists (#3493)Axetroy
2019-12-12file_server: get file and fileInfo concurrently (#3486)Weijia Wang
2019-12-12fix: file_server swallowing permission errors (#3467)木杉
2019-12-12benchmark: align deno_http and node_http response (#3484)Kevin (Kun) "Kassimo" Qian
2019-12-12fix v8-flags example to manual (#3470)dnalborczyk
2019-12-12fix(std/http): close connection on .respond() error (#3475)Kevin (Kun) "Kassimo" Qian