summaryrefslogtreecommitdiff
path: root/cli/js/ops
AgeCommit message (Collapse)Author
2020-04-28BREAKING: Remove Deno.EOF, use null instead (#4953)Nayeem Rahman
2020-04-28BREAKING: address renamed to path in UnixAddr UnixConnectOptions ↵Ali Hasani
UnixListenOptions (#4959)
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-28Make shutdown unstable and async (#4940)Luca Casonato
2020-04-27Rename FileInfo time fields and represent them as Date objects (#4932)Bert Belder
This patch also increases the resolution of reported file times to sub-millisecond precision.
2020-04-25BREAKING CHANGE: remove Deno.OpenMode (#4884)Bartek Iwańczuk
This commit removes Deno.OpenMode along with overloaded variants of Deno.open() and Deno.openSync() that used OpenMode.
2020-04-24BREAKING CHANGE: rename Deno.fsEvents() to Deno.watchFs() (#4886)Bartek Iwańczuk
2020-04-24BREAKING CHANGE: rename TLS APIs to camel case (#4888)Bartek Iwańczuk
This commit renames all APIs containing "TLS" to use camel case (connectTLS -> connectTls, etc.)
2020-04-20Remove core/plugin.rs (#4824)Ryan Dahl
This simplifies the plugin interface in order to deliver op crates with a similar API
2020-04-18feat: startTLS (#4773)EnokMan
2020-04-16feat: support Deno namespace in Worker API (#4784)Bartek Iwańczuk
2020-04-16refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces (#4763)Nayeem Rahman
2020-04-13refactor(core/js_error): Align JSStackFrame with CallSite (#4715)Nayeem Rahman
Renames and adds missing fields to JSStackFrame from CallSite. Fixes #4705. Cleans up base changes for line and column numbers.
2020-04-09BREAKING: Remove deprecated mkdir, mkdirSync APIs (#4615)Chris Knight
2020-04-03fix(#4546) Added Math.trunc to toSecondsFromEpoch to conform the result to ↵Parker Gabel
u64 (#4575)
2020-04-01better parameter names for a couple functions (#4559)Chris Knight
2020-03-31Properly track isFile, isSymlink, isDirectory (#4541)dubiousjim
* Properly track isFile, isSymlink, isDirectory These don't exhaust all the possibilities, so none of them should be defined as "neither of the others". * empty
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-26Improve isatty and kill API docs; Deno.kill() - throw on Windows (#4497)Chris Knight
2020-03-23feat: Support Unix Domain Sockets (#4176)João Souto
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-20refactor: move code from fs.rs into ops/fs.rs (#4428)dubiousjim
This a complex boring PR that shifts around code (primarily) in cli/fs.rs and cli/ops/fs.rs. The gain of this refactoring is to ease the way for #4188 and #4017, and also to avoid some future development pain. Mostly there is no change in functionality. Except: * squashed bugs where op_utime and op_chown weren't using `resolve_from_cwd` * eliminated the use of the external `remove_dir_all` crate. * op_chmod now only queries metadata to verify file/dir exists on Windows (it will already fail on Unix if it doesn't) * op_chown now verifies the file/dir's existence on Windows like chmod does.
2020-03-20Add require-await lint rule (#4401)Samrith Shankar
2020-03-16Add mode option to open/create (#4289)dubiousjim
2020-03-16refactor: add no-return-await lint rule (#4384)Bartek Iwańczuk
2020-03-15feat: Deno.core.{encode,decode}; standalone UTF-8 encoding/decoding (#4349)Bartek Iwańczuk
This commits add two new methods to "Deno.core" namespace: "encode" and "decode". Those methods are bound in Rust to provide a) fast b) generally available of encoding and decoding UTF-8 strings. Both methods are now used in "cli/js/dispatch_json.ts".
2020-03-14BREAKING CHANGE FileInfo.len renamed to FileName.size (#4338)dubiousjim
2020-03-13Remove doc strings from cli/js TS files (#4329)crowlKats
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-03-11support permission mode in mkdir (#4286)dubiousjim
2020-03-11reorg: remove dispatch.ts, move signals, factor out web utils (#4316)Bartek Iwańczuk
- moves signal definition from "cli/js/process.ts" to "cli/js/signals.ts" - removes "cli/js/dispatch.ts" - removes "cli/js/types.ts" - moves web specific utilities to "cli/js/web/util.ts"
2020-03-10Add Deno.umask (#4290)dubiousjim
2020-03-10refactor: Cleanup options object parameters (#4296)Nayeem Rahman
2020-03-09use Object instead of Map for promise table (#4309)Bartek Iwańczuk
2020-03-10reorg: move JS ops implementations to cli/js/ops/, part 3 (#4302)Bartek Iwańczuk
Following JS ops were moved to separate files in cli/js/ops directory: - net - tls - fs
2020-03-09reorg: move JS ops implementations to cli/js/ops/, part 2 (#4283)Bartek Iwańczuk
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-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