summaryrefslogtreecommitdiff
path: root/cli/dts
AgeCommit message (Collapse)Author
2021-05-11docs: remove stale `Deno.compile` example (#10580)Casper Beyer
2021-05-11docs(cli/dts): fix `Deno.permissions.query` example (#10572)Casper Beyer
2021-05-11docs(cli/dts): fix Deno.test permission examples (#10571)Casper Beyer
2021-05-11docs(cli/dts): fix Deno.watchFs example (#10570)Casper Beyer
2021-05-11docs(cli/dts): fix Deno.inspect examples (#10569)Casper Beyer
2021-05-11docs(cli/dts): fix Deno.seek and Deno.seekSync examples (#10568)Casper Beyer
2021-05-11docs(cli/dts): fix Deno.run example (#10567)Casper Beyer
2021-05-10fix(cli): typings for `Deno.os.arch` (#10541)Elias Sjögreen
2021-05-10feat: add WebStorage API (#7819)crowlKats
This commit introduces localStorage and sessionStorage.
2021-05-06docs: tag permission examples as ts (#10506)Casper Beyer
2021-05-06docs: env.get will return `undefined` if not exist (#10514)迷渡
2021-05-05docs(cli/dts): add missing awaits (#10501)Casper Beyer
2021-05-05docs(cli/dts): fix env examples (#10500)Casper Beyer
2021-05-05docs(cli/dts): use one block per writeAll example (#10496)Casper Beyer
2021-05-05docs(cli/dts): explicitly import assert in examples (#10495)Casper Beyer
2021-05-05docs(cli/dts): use one code block per truncate example (#10494)Casper Beyer
2021-05-04docs(cli/ftruncateSync): use openSync in example (#10485)Casper Beyer
2021-04-30Rename crate_ops to extensions (#10431)Andy Hayden
2021-04-28docs: document how to stop file watcher (#10403)Yoshiya Hinosawa
2021-04-27docs: fix ftruncateSync example (#10393)Yoshiya Hinosawa
2021-04-26feat(core): enable wasm threading support (#10116)Casper Beyer
2021-04-26fix: invalid types for asynchronous and synchronous `File#truncate` (#10353)Carter Snook
2021-04-26fix(#10360): clarify JSDoc for `Deno.noColor` (#10373)Carter Snook
Fixes #10360 Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-04-25feat(cli): add test permissions to Deno.test (#10188)Casper Beyer
This commits adds adds "permissions" option to the test definitions which allows tests to run with different permission sets than the process's permission. The change will only be in effect within the test function, once the test has completed the original process permission set is restored. Test permissions cannot exceed the process's permission. You can only narrow or drop permissions, failure to acquire a permission results in an error being thrown and the test case will fail.
2021-04-26refactor(cli): rename Deno.emit() bundle options to "module" and "classic" ↵Nayeem Rahman
(#10332)
2021-04-25fix(cli/dts): sleepSync doesn't return a Promise (#10358)Aaron O'Mullan
Per its name its synchronous for the current thread
2021-04-20revert: Conn type changes in #10012 and #10061 (#10255)Kitson Kelly
Fixes #10200 (again) This reverts commit 9c7c9a35c12625bd4793c21539391d6b08d17e73 and a8057e3e06962a8d7c6330a085704bb4493eed04.
2021-04-16fix(#10200): weaken types so non-breaking (#10205)Kitson Kelly
Fixes #10200
2021-04-13fix(cli/dts): Make respondWith() return a Promise (#10128)Nayeem Rahman
2021-04-13feat(cli/dts): stricter typings for Listener & Conn (#10012)crowlKats
2021-04-13feat(permissions): allow env permission to take values (#9825)crowlKats
2021-04-13fix(core): remove wasm-test-streaming flag (#10158)Casper Beyer
2021-04-12feat(runtime): add truncate and truncateSync methods to Deno.File (#10130)Casper Beyer
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-12feat: Add Deno.memoryUsage() (#9986)Aaron O'Mullan
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(unstable): ALPN config in listenTls (#10065)Luca Casonato
This commit adds the ability for users to configure ALPN protocols when calling `Deno.listenTls`.
2021-04-10fix(cli/diagnostics): Update UNSTABLE_DENO_PROPS (#10095)Nayeem Rahman
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-09API change: Deno.startHttp -> Deno.serveHttp (#10087)Ryan Dahl
2021-04-08feat: native HTTP bindings (#9935)Bartek Iwańczuk
Co-authered-by: Luca Casonato <lucacasonato@yahoo.com> Co-authered-by: Ben Noordhuis <info@bnoordhuis.nl> Co-authered-by: Ryan Dahl <ry@tinyclouds.org>
2021-04-06docs: export EmitOptions and EmitResult (#10037)Yoshiya Hinosawa
2021-04-06refactor: add deno_file op crate (#10019)Luca Casonato
Also enables WPT for FileReader.
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-04-02chore(cli): fix futime and futimeSync code examples (#9953)defectivepixel
2021-03-12refactor: move Console to op_crates/console (#9770)Luca Casonato
2021-03-12chore: split web op crate (#9635)Luca Casonato
This commit starts splitting out the deno_web op crate into multiple smaller crates. This commit splits out WebIDL and URL API, but in the future I want to split out each spec into its own crate. That means we will have (in rough order of loading): `webidl`, `dom`, `streams`, `console`, `encoding`, `url`, `file`, `fetch`, `websocket`, and `webgpu` crates.
2021-03-08fix(runtime/js): add navigator interface objects (#9685)Nayeem Rahman