summaryrefslogtreecommitdiff
path: root/cli/js/ops
AgeCommit message (Collapse)Author
2020-07-19Port internal TS code to JS (#6793)Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-13Revert "feat: move unstable Deno.permissions to navigator.permissions… (#6729)Bartek Iwańczuk
* Revert "feat: move unstable Deno.permissions to navigator.permissions (#6244)" This reverts commit 202e7fa6ad366ee56a6d070e94eaecb6dbc745bf.
2020-07-10fix(URL): Implement spec-compliant host parsing (#6689)Nayeem Rahman
2020-07-10feat(unstable): add Deno.consoleSize (#6520)Sebastien Filion
2020-07-09feat: move unstable Deno.permissions to navigator.permissions (#6244)Kitson Kelly
2020-07-08feat(unstable): Deno.ppid (#6539)uki00a
2020-07-08feat: add --no-check option (#6456)Kitson Kelly
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-06clean up code in cli/js (#6611)Stanislav
2020-07-06feat: Deno.chown() make uid, gid args optional (#4612)dubiousjim
2020-06-26feat(unstable): add Deno.fdatasyncSync and fdatasync (#6403)Casper Beyer
2020-06-22feat(unstable): add Deno.fstatSync and fstat (#6425)Casper Beyer
2020-06-21core: add Deno.core.dispatchByName (#6395)Bartek Iwańczuk
This commit adds alternate dispatch method to core JS API. "Deno.core.dispatchByName()" works like "Deno.core.dispatch()", but takes op name instead of op id as a first argument.
2020-06-21feat(unstable): add Deno.fsyncSync and fsync (#6411)Casper Beyer
2020-06-20Remove Deno.dir and dirs dependency (#6385)Ryan Dahl
2020-06-20feat(unstable): add Deno.ftruncate and ftruncateSync (#6243)Casper Beyer
2020-06-13fix: DatagramConn.send should return bytes sent (#6265)Kermit Xuan
2020-06-12Revert "feat: add Deno.osName()" (#6261)Ryan Dahl
Deno.build.os provides the same functionality This reverts commit 6ccf9037a6b36c81ea0e6ac12d0e2dbd793f6114.
2020-06-11feat: add Deno.osName() (#5714)Rubin Bhandari
2020-06-11feat: URL support in Deno filesystem methods (#5990)River
2020-06-10feat: Add Deno.mainModule (#6180)John Gardner
2020-06-09feat(cli): Add Deno.env.delete() (#5859)Tuan Le
2020-06-01feat(core): Ops can take several zero copy buffers (#4788)Valentin Anger
2020-05-19Implement Deno.symlink() for windows (#5533)Ali Hasani
2020-05-17Implement Deno.kill for windows (#5347)Ali Hasani
2020-05-06refactor: merge TS compiler into single file (#5091)Bartek Iwańczuk
2020-05-05refactor(ts): remove op_cache (#5071)Bartek Iwańczuk
This PR removes op_cache and refactors how Deno interacts with TS compiler. Ultimate goal is to completely sandbox TS compiler worker; it should operate on simple request -> response basis. With this commit TS compiler no longer caches compiled sources as they are generated but rather collects all sources and sends them back to Rust when compilation is done. Additionally "Diagnostic" and its children got refactored to use "Deserialize" trait instead of manually implementing JSON deserialization.
2020-05-01BREAKING: remove window.location and self.location (#5034)Bartek Iwańczuk
This commit removes "location" global available on "window", "globalThis" and "self".
2020-04-30Unstable methods should not appear in runtime or d.ts (#4957)Luca Casonato
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-04-29make camel case readDir, readLink, realPath (#4995)Ryan Dahl
2020-04-29BREAKING: Include limited metadata in 'DirEntry' objects (#4941)Bert Belder
This change is to prevent needed a separate stat syscall for each file when using readdir. For consistency, this PR also modifies std's `WalkEntry` interface to extend `DirEntry` with an additional `path` field.
2020-04-29BREAKING: Map-like interface for Deno.env (#4942)Valentin Anger
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