summaryrefslogtreecommitdiff
path: root/js/deno.ts
AgeCommit message (Collapse)Author
2019-10-04Merge deno_cli_snapshots into deno_cli (#3064)Ryan Dahl
2019-09-27Add Deno.hostname() (#3032)Kevin (Kun) "Kassimo" Qian
2019-09-23feat: Add Deno.dialTLS()Jonathon Orsi
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-09refactor: remove Deno.platform (#2895)Yoshiya Hinosawa
2019-09-02Refactor snapshot build (#2825)Ryan Dahl
Instead of using core/snapshot_creator.rs, instead two crates are introduced which allow building the snapshot during build.rs. Rollup is removed and replaced with our own bundler. This removes the Node build dependency. Modules in //js now use Deno-style imports with file extensions, rather than Node style extensionless imports. This improves incremental build time when changes are made to //js files by about 40 seconds.
2019-08-19Support custom inspection of objects (#2791)Kitson Kelly
2019-07-29Remap stack traces of unthrown errors. (#2693)Kitson Kelly
2019-07-23feat: expose writeAll() and writeAllSync() (#2298)Kevin (Kun) "Kassimo" Qian
Symmetric with `readAll()` and `readAllSync()`. Also used in `xeval`. Also correct usage in `writeFile()`/`writeFileSync()`.
2019-07-06io: change Reader interface (#2591)Yoshiya Hinosawa
Instead of returning { nread: number, eof: bool }, read() returns EOF | number.
2019-06-25Add homeDir to Deno namespace (#2578)Evgeniy Karagodin
2019-05-07Add Deno.chown (#2292)Yingbo (Max) Wang
2019-05-01fs: add Deno.utime/Deno.utimeSync (#2241)Kevin (Kun) "Kassimo" Qian
2019-04-21Add Deno.kill(pid, signo) and process.kill(signo) (Unix only) (#2177)Kevin (Kun) "Kassimo" Qian
2019-04-08Add link/linkSync fs call for hardlinks (#2074)Kevin (Kun) "Kassimo" Qian
2019-03-27Rewrite readFile and writeFile (#2000)Bartek Iwańczuk
Using open/read/write
2019-03-26namespace reorg: libdeno and DenoCore to Deno.core (#1998)Kitson Kelly
2019-03-11Make some renames in js/build.ts (#1912)Ryan Dahl
* Replace Deno.OSType enum with Deno.OperatingSystem type alias * Add arm64 to supported CPU architectures * add type alias for cpu arch Deno.Arch
2019-03-11Add OSType enum (#1909)Vincent LE GOFF
2019-03-06Reorganize version and platform into Deno.build and Deno.version (#1879)Kevin (Kun) "Kassimo" Qian
2019-03-04Allow inspection and revocation of permissions (#1875)Simon Menke
2019-02-18Add back typescript version number and add Deno.version object. (#1788)Yoshiya Hinosawa
2019-02-18Add `seek` and implement `Seeker` on `File` (#1797)Kevin (Kun) "Kassimo" Qian
This patch contains a special hack that circumvents the current tokio seek problem. tokio `seek` is implemented to take ownership of the original File and emit a new one in its future, which conflicts with the design of ResourceTable. To avoid the problem, the current hack makes the FsFile resource an Option which we could `take` the value ownership out of it. We then convert the tokio File into a Rust std File, perform the seek, and then put it back into the resource. This might be able to drop this hack after https://github.com/tokio-rs/tokio/pull/785 lands.
2019-02-16remove dead code (#1796)Yoshiya Hinosawa
2019-02-15Add execPath function (#1743)Dmitry Sharshakov
2019-02-13Cleanup Deno namespace (#1765)Kitson Kelly
2019-02-08Adds deno.noColor (#1716)Ryan Dahl
2019-02-02Add isTTY function (#1622)Dmitry Sharshakov
2019-01-28Split out compiler snapshot (#1566)Kitson Kelly
Speeds up startup time, reduces runtime heap size.
2019-01-28Combine deno.removeAll into deno.remove (#1596)Jan Lo
2019-01-06Revert "Split Runner from Compiler" (#1462)Ryan Dahl
This reverts commit 3d03f5b0cb3c513e449f3aaa5d35c493b72f47b4.
2019-01-06Add deno.pid (#1464)Ryan Dahl
2019-01-02Happy new year!Ryan Dahl
2018-12-23Remove support for extensionless import (#1396)Ryan Dahl
2018-12-19Expose deno.inspect (#1378)Kevin (Kun) "Kassimo" Qian
2018-12-13Fix deno.open permission check (#1336)Kevin (Kun) "Kassimo" Qian
2018-11-30Add deno.readAll() (#1234)DanSnow
2018-11-20Split Runner from CompilerKitson Kelly
2018-11-16First pass at running subprocesses (#1156)Bert Belder
2018-11-13Support streaming response bodies from fetch()Ryan Dahl
Also Buffer.readFrom in fetch() to buffer response.
2018-11-04Add deno.Buffer (#1121)Ryan Dahl
Do not confuse this with Node's Buffer. This is a direct port of Go's bytes.Buffer - it allows buffering of Reader and Writer objects.
2018-10-31Add helper to turn deno.Reader into async iterator (#1130)Bartek Iwańczuk
2018-10-30Add resources op (#1119)Bartek Iwańczuk
2018-10-26Remove broken feature: trace()Ryan Dahl
2018-10-26Add chmod/chmodSync on unix (and fix Cargo.toml) (#1088)Kevin (Kun) "Kassimo" Qian
Initial implementation by Srijan Reddy (@srijanreddy98, #672).
2018-10-19Add missing copyrights (#1024)ztplz
2018-10-13Add cwd() and chdir() (#907)Shiva Prasanth
2018-10-11Add deno.metrics()Bartek Iwańczuk
2018-10-08FormatBert Belder
2018-10-06Export missing io types from denons
2018-10-05Hide compiler module (#909)Kitson Kelly
Fixes #876