Bartek Iwańczuk
b26dcbc69d
chore: Enforce ban-untagged-todo lint rule ( #9135 )
2021-01-17 00:32:59 +01:00
Kitson Kelly
b8303c7812
refactor(op_crate/fetch): align streams to spec ( #9103 )
...
Fixes #8814
2021-01-15 08:57:19 +11:00
Ryan Dahl
2b75a11559
update copyright to 2021 ( #9081 )
2021-01-10 21:59:07 -05:00
tomholford
7cc7f1719b
docs: fix naming in std/io
usage example ( #8700 )
...
Co-authored-by: tomholford <tomholford@users.noreply.github.com>
2020-12-10 14:22:09 +11:00
Yosi Pramajaya
0b37a79060
BREAKING(std/bytes): Adjust APIs based on std-wg discussion ( #8612 )
2020-12-06 09:51:13 -05:00
Iván Canales
c10280214e
fix(std/bufio): Remove '\r' at the end of Windows lines ( #8447 )
...
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-12-05 17:41:16 +01:00
Bartek Iwańczuk
b55cc51351
build: fix linting problems ( #8431 )
2020-11-19 15:19:37 +01:00
crowlKats
723fbb8f68
feat(std/io): ReadableStream from AsyncIterator & WritableStream from Writer ( #8378 )
2020-11-19 07:39:45 -05:00
Yusuke Tanaka
9029003046
build: update dlint to v0.2.10 ( #8284 )
...
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics
for "require-await" rule.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-14 20:27:37 +01:00
Fukuda Naoto
fd9b6e03af
docs(std): add some missing JSDoc ( #7765 )
...
Refs #7487
2020-11-06 13:33:59 +11:00
Casper Beyer
17467d01da
fix(std/io): remove trivial internal util.ts module ( #8032 )
2020-10-20 13:51:57 +02:00
Casper Beyer
065db9df19
test(std/io): use a real tempdir ( #8019 )
...
This replaces a case of a temp file in the working tree with a tempfile
in a real temporary directory avoiding pollution of the working
directory.
2020-10-18 12:16:26 -04:00
tokiedokie
3d65177dbc
docs(std): version all imports in README ( #7442 )
...
Use $STD_VERSION in std/ README files to automatically
display proper version.
2020-10-04 14:18:36 +02:00
Trivikram Kamat
d0eb179132
docs: end sentences with a period in markdown ( #7813 )
2020-10-04 07:19:11 +11:00
David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers ( #7711 )
2020-09-27 12:22:32 +02:00
tokiedokie
c4ed3fb7e7
chore: add copyright ( #7593 )
2020-09-21 08:26:41 -04:00
Casper Beyer
644190eed8
test(std): ensure mod.ts modules have a test coverage ( #7264 )
2020-08-31 22:26:55 -04:00
David Sherret
cde4dbb351
Use dprint for internal formatting ( #6682 )
2020-07-14 15:24:17 -04:00
syumai
7be29fab8d
Remove unused property of StringReader ( #6743 )
2020-07-14 14:21:08 -04:00
Max Nest
2dea2c9e75
docs(std/io): error in the documentation ( #6709 )
2020-07-14 15:03:32 +02:00
Kitson Kelly
82aabb657a
feat: add --no-check option ( #6456 )
...
This commit adds a "--no-check" option to following subcommands:
- "deno cache"
- "deno info"
- "deno run"
- "deno test"
The "--no-check" options allows to skip type checking step and instead
directly transpiles TS sources to JS sources.
This solution uses `ts.transpileModule()` API and is just an interim
solution before implementing it fully in Rust.
2020-07-08 11:26:39 +02:00
Marcos Casagrande
2da0840583
fix(std/io): export streams.ts & added docs ( #6535 )
2020-06-27 20:20:48 -04:00
Marcos Casagrande
a829fa8f57
feat(std/io): add fromStreamReader, fromStreamWriter ( #5789 )
2020-06-27 16:55:01 -04:00
Marcos Casagrande
3f710108f2
fix(std/io): Make BufWriter/BufWriterSync.flush write all chunks ( #6269 )
2020-06-25 14:17:33 +02:00
Chris Knight
d9896d64ce
refactor: shift copyBytes and tweak deps to reduce dependencies ( #6469 )
2020-06-25 06:40:51 -04:00
Marcos Casagrande
2e830f80ea
fix(std/io): Use Deno.test in writers_test ( #6273 )
2020-06-13 00:10:25 +02:00
Nayeem Rahman
1fff6f55c3
refactor: Don't destructure the Deno namespace ( #6268 )
2020-06-12 15:23:38 -04:00
Marcos Casagrande
26bf56afda
fix(std/io): BufWriter/StringWriter bug ( #6247 )
2020-06-12 15:15:29 -04:00
Chris Knight
3ef94c5473
refactor(std): remove testing dependencies from non-test code ( #5838 )
2020-06-07 09:20:33 -04:00
Ryan Dahl
1a2f88609b
fix(std/io): StringReader implementation ( #6148 )
2020-06-06 10:37:52 -04:00
Deepak Vishwakarma
ee192b0758
added documentation with sample for std/io mod ( #6106 )
2020-06-05 23:43:42 -04:00
hastri
b075f55d58
feat(std/io): add LimitedReader ( #6026 )
2020-06-01 18:37:59 -04:00
uki00a
6d7e3621da
fix: compilation error introduced by #4543 ( #5673 )
2020-05-20 12:15:41 -04:00
uki00a
9b4da88a96
fix(std/io): BufReader should not share the internal buffer across reads ( #4543 )
2020-05-20 16:34:20 +02:00
Bert Belder
36fde75d77
Miscellaneous documentation and spelling improvements ( #5527 )
...
* Extended/updated documentation on code editor setup and plugins.
* Moved documentation to the right file.
* Fixed spelling errors in documentation and code.
* Updated broken links.
Co-authored-by: 迷渡 <justjavac@gmail.com>
Co-authored-by: AlfieriChou <alfierichou@gmail.com>
Co-authored-by: Anil Seervi <anil13112000@gmail.com
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de>
Co-authored-by: Tommy May <tommymay37@gmail.com>
Co-authored-by: Turbinya <wownucleos@gmail.com>
Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
2020-05-17 19:24:39 +02:00
Nayeem Rahman
f184332c09
BREAKING(std): reorganization ( #5087 )
...
* 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-09 08:34:47 -04:00
Marcos Casagrande
9ded17d722
BREAKING: reorder std/io/utils copyBytes arguments ( #5022 )
2020-04-30 16:39:25 -04:00
Bartek Iwańczuk
d308e8d0c0
BREAKING: remove custom implementation of Deno.Buffer.toString() ( #4992 )
...
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-29 22:38:10 +02:00
Marcos Casagrande
ec41fb69cc
fix: Make std/io copyN write the whole read buffer ( #4978 )
2020-04-29 12:25:40 +02:00
Nayeem Rahman
678313b176
BREAKING: Remove Deno.EOF, use null instead ( #4953 )
2020-04-28 12:40:43 -04:00
Bartek Iwańczuk
2cb875bcfb
refactor: rename sync io interfaces ( #4945 )
...
This commit renames sync io interfaces:
* SyncReader -> ReaderSync
* SyncWriter -> WriterSync
* SyncSeeker -> SeekerSync
2020-04-28 13:23:30 +02:00
Bartek Iwańczuk
8feb30e325
BREAKING: remove overload of Deno.test() ( #4951 )
...
This commit removes overload of Deno.test() that accepted named
function.
2020-04-28 12:33:09 +02:00
Marcos Casagrande
128dce0d8a
Increase copyN buffer size to match go implementation ( #4904 )
2020-04-26 16:29:51 -04:00
Akshat Agarwal
4f9bb11444
reorder copyN arguments to match Deno.copy ( #4900 )
2020-04-26 16:26:02 -04:00
Bartek Iwańczuk
4a8d25646a
BREAKING CHANGE: remove Deno.OpenMode ( #4884 )
...
This commit removes Deno.OpenMode along with overloaded variants
of Deno.open() and Deno.openSync() that used OpenMode.
2020-04-25 00:45:55 +02:00
Bartek Iwańczuk
0cb1bb98cc
BREAKING CHANGE: change order of args in Deno.copy() ( #4885 )
2020-04-25 00:09:14 +02:00
Chris Knight
957050cd02
feature: synchronous buffered writer ( #4693 )
2020-04-17 16:12:14 -04:00
Ryan Dahl
12c6b2395b
Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ ( #4565 )
...
also removes std/encoding/mod.ts and std/archive/mod.ts which are useless.
2020-04-01 15:23:39 -04:00
Kitson Kelly
bced52505f
Update to Prettier 2 and use ES Private Fields ( #4498 )
2020-03-28 13:03:49 -04:00
Samrith Shankar
798904b0f2
Add require-await lint rule ( #4401 )
2020-03-20 09:38:34 -04:00