summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
AgeCommit message (Collapse)Author
2021-04-12feat(runtime): add stat and statSync methods to Deno.File (#10107)Casper Beyer
2021-04-12feat(runtime): stabilize Deno.fstat and Deno.fstatSync (#10108)Casper Beyer
This commit stabilizes Deno.fstat and Deno.fstatSync which are well known system calls and have a stable interface.
2021-04-11feat: stabilize Deno.ftruncate and Deno.ftruncateSync (#10126)Casper Beyer
This stabilizes Deno.ftruncate and Deno.ftruncateSync. This is a well known system call and the interface is not going to change. Implicitly requires write permissions as the file has to be opened with write to be truncated.
2021-04-10feat(permissions): allow run permission to take values (#9833)crowlKats
This commit adds allowlist support to `--allow-run` flag. Additionally `Deno.permissions.query()` allows to query for specific programs within allowlist.
2021-04-06chore: deprecate Deno.iter and Deno.iterSync (#10025)Luca Casonato
This commit marks the `Deno.iter` and `Deno.iterSync` utils as deprecated, and schedules them for removal in Deno 2.0. These utilities are implemented in pure JS, so should not be part of the Deno namespace. These utilities are now available in std/io/util: denoland/deno_std#843.
2021-04-06chore: deprecate Deno.Buffer and read/write utils (#9793)Luca Casonato
This commit marks the `Deno.Buffer` / `Deno.readAll` / `Deno.readAllSync` / `Deno.writeAll` / `Deno.writeAllSync` utils as deprecated, and schedules them for removal in Deno 2.0. These utilities are implemented in pure JS, so should not be part of the Deno namespace. These utilities are now available in std/io/buffer and std/io/util: https://github.com/denoland/deno_std/pull/808. This additionallty removes all internal dependance on Deno.Buffer.
2021-02-26feat(runtime): stabilize Deno.symlink and Deno.symlinkSync (#9226)Casper Beyer
2021-02-25feat(runtime): stabilize Deno.link and Deno.linkSync (#9417)Casper Beyer
This commit makes "Deno.link" and "Deno.linkSync" stable. The permission required has been changed to read-write to ensure one cannot escape the sandbox.
2021-02-25feat(runtime): stabilise permissions and add event target capabilities (#9573)Kitson Kelly
2021-02-24feat: add exit sanitizer to Deno.test (#9529)Casper Beyer
This adds an exit sanitizer to ensure that code being tested or dependencies of that code can't accidentally call "Deno.exit" leading to partial test runs and false results.
2021-02-10fix(console): log function object properties / do not log non-enumerable ↵David DeSimone
props by default (#9363)
2021-02-04docs: update example for Deno.Process (#9390)Bartek Iwańczuk
2021-01-29refactor: IO resource types, fix concurrent read/write and graceful close ↵Bert Belder
(#9118) Fixes: 9032.
2021-01-12feat: stabilize Deno.shutdown() and Conn#closeWrite()Bartek Iwańczuk
Closes: #9099
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2020-12-12docs: fix doc to remove annotation about removed function `Deno.dir` (#8732)Tatsuya Yamamoto
2020-11-23fix(cli): add file URL support for Deno.readLink (#8423)William Perron
2020-11-16Improve Deno.version type declaration (#8391)Mark Tiedemann
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-10-20feat: stabilize Deno.fsync and Deno.fdatasync (#8038)Casper Beyer
2020-10-20fix(cli): use rid getter for stdio (#8014)Casper Beyer
This changes the rid of Deno.stdin, Deno.stdout, Deno.stderr from a mutable property into a getter to match the rid semantics of Deno.File.
2020-10-19docs: readTextFile / readTextFileSync throw when reading directory (#7999)vwkd
2020-10-14fix typos (#7964)vwkd
2020-10-11fix(cli/console): only inspect getters with option (#7830)Casper Beyer
2020-09-30feat(cli/console): Add Deno.InspectOptions::colors (#7742)Nayeem Rahman
Ref: https://github.com/denoland/deno/pull/7516#pullrequestreview-489567120
2020-09-08feat(console): print proxy details (#7139)uki00a
2020-09-04docs: fix anchor link (#7346)迷渡
2020-08-31fix(doc): fix some typos in cli docs (#7292)Michael Kurze
2020-08-21fix(docs): remove Deno.dir (#7144)迷渡
2020-08-12feat: Support file URLs in Deno.run for executable (#6994)Nayeem Rahman
2020-08-10feat: Stabilize Deno.mainModule (#6993)Nayeem Rahman
2020-08-04docs: Removed unnecessary `await` (#6951)josephrocca
2020-07-22Reduce size of TypeScript Compiler snapshot (#6809)Ryan Dahl
This PR is intentionally ugly. It duplicates all of the code in cli/js2/ into cli/tsc/ ... because it's very important that we all understand that this code is unnecessarily duplicated in our binary. I hope this ugliness provides the motivation to clean it up. The typescript git submodule is removed, because it's a very large repo and contains all sorts of stuff we don't need. Instead the necessary files are copied directly into the deno repo. Hence +200k lines. COMPILER_SNAPSHOT.bin size ``` master 3448139 this branch 3320972 ``` Fixes #6812