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
912a57f6a2
change type of stdio handles in JS api ( #4891 )
2020-04-25 01:01:25 +02: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
Kitson Kelly
bced52505f
Update to Prettier 2 and use ES Private Fields ( #4498 )
2020-03-28 13:03:49 -04:00
dubiousjim
f9557a4ff6
Add mode option to open/create ( #4289 )
2020-03-16 15:02:41 -04:00
crowlKats
e435c2be15
Remove doc strings from cli/js TS files ( #4329 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-03-13 10:22:22 +01:00
Bartek Iwańczuk
b7eb241c35
reorg: move JS ops implementations to cli/js/ops/, part 3 ( #4302 )
...
Following JS ops were moved to separate files in cli/js/ops directory:
- net
- tls
- fs
2020-03-10 00:22:15 +01:00
Bartek Iwańczuk
886f330ec8
reorg: move JS ops implementations to cli/js/ops/, part 2 ( #4283 )
...
Following JS ops were moved to separate files in cli/js/ops directory:
- io
- process
- worker_host
- web_worker
- plugins
- timers
- signal
- permissions
2020-03-09 15:18:02 +01:00
Bartek Iwańczuk
1b6f831875
reorg: move JS ops implementations to cli/js/ops/, part 1 ( #4264 )
...
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-03-08 13:09:22 +01:00
dubiousjim
acf0958e94
Rename name/filename arguments to path ( #4227 )
...
There's a lot of variation in doc comments and internal code about
whether the first parameter to file system calls is `path` or `name` or
`filename`. For consistency, have made it always be `path`.
2020-03-06 11:29:23 -05:00
bartOssh
4a47ffa5c4
seek should return cursor position ( #4211 )
2020-03-02 11:44:46 -05:00
dubiousjim
6cd46fa3ef
Cleanup comments and internal variables ( #4205 )
2020-03-02 10:19:42 -05:00
Chris Knight
b84f3efa14
docs: fix broken Deno.write() example ( #4190 )
2020-02-29 20:37:32 +01:00
Ryan Dahl
91b606aaae
Clean up how we use opIds ( #4118 )
2020-02-25 09:14:27 -05:00
Michał Sabiniarz
21cc9cb7a7
Implemented alternative open mode in files ( #3119 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-01-21 10:49:42 +01:00
Luca Casonato
b71d5708c6
feat: Deno.create ( #3629 )
2020-01-08 17:07:03 -05:00
Ry Dahl
bfab4ed0df
Happy new year! ( #3578 )
2020-01-02 15:13:47 -05:00
Alexandre Szymocha
4d4908dde3
Fix: allow reading into a 0-length array ( #3329 )
2019-12-28 08:48:36 -05:00
Andy Hayden
3c2399e437
Use top-level await in jsdoc examples ( #3239 )
2019-10-29 17:11:41 -04:00
Ryan Dahl
b81e5db17a
Merge deno_cli_snapshots into deno_cli ( #3064 )
2019-10-04 20:28:51 -04:00