summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
AgeCommit message (Collapse)Author
2021-05-31feat(cli): support URL overloads for `Deno.utime` and `Deno.utimeSync` (#10792)Casper Beyer
2021-05-25docs(cli/dts): tag test permission example as typescript (#10753)Casper Beyer
2021-05-19test(cli/dts): typecheck examples in declaration files (#10707)Casper Beyer
This commits adds two integration tests that typecheck examples in the docstrings in Deno declaration files.
2021-05-19docs(cli/dts): fix plugin example (#10647)Casper Beyer
2021-05-19docs(cli/dts): make worker example pass (#10703)Casper Beyer
2021-05-19docs: fix unix socket examples (#10705)Casper Beyer
2021-05-17docs(cli/dts): fix `Deno.startTls` example (#10657)Casper Beyer
2021-05-16docs(cli/dts): fix http server example (#10651)Casper Beyer
2021-05-15docs(cli/dts): remove stray new operators in examples (#10648)Casper Beyer
2021-05-15docs(cli/dts): fix link from master to main (#10633)Yusuke Tanaka
2021-05-13docs(cli/dts): use `Deno.stdin.rid` in `Deno.setRaw` example (#10623)Casper Beyer
2021-05-13docs(cli/dts): fix `Deno.createHttpClient` example (#10608)Casper Beyer
2021-05-13docs(cli/dts): fix missing std/testing/asserts.ts imports in examples (#10579)Casper Beyer
2021-05-12docs(cli/dts): fix worker net permissions example (#10578)Casper Beyer
2021-05-12docs(cli/dts): fix `Deno.applySourceMap` example (#10602)Casper Beyer
2021-05-11docs: remove stale `Deno.compile` example (#10580)Casper Beyer
2021-05-11docs(cli/dts): fix Deno.test permission examples (#10571)Casper Beyer
2021-05-06docs: tag permission examples as ts (#10506)Casper Beyer
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-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-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-02chore(cli): fix futime and futimeSync code examples (#9953)defectivepixel
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-21feat(unstable): per op metrics (#9240)Luca Casonato
2021-02-21fix(dts): update doc of Deno.formatDiagnostics (#9564)Yusuke Tanaka
2021-02-16feat(cli): Deno.emit supports bundling as IIFE (#9291)Kitson Kelly
Closes #9204
2021-01-29fix(cli): Move WorkerOptions::deno types to unstable (#9163)Nayeem Rahman
2021-01-19feat(unstable): add Deno.resolveDns API (#8790)Yusuke Tanaka
2021-01-12feat: stabilize Deno.shutdown() and Conn#closeWrite()Bartek Iwańczuk
Closes: #9099
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-04BREAKING(unstable): remove CreateHttpClientOptions.caFile (#8928)Mo
2021-01-01refactor(cli): runtime compiler APIs consolidated to Deno.emit() (#8799)Kitson Kelly
Closes: #4752
2020-12-30BREAKING(unstable): Use hosts for net allowlists (#8845)Nayeem Rahman
Allowlist checking already uses hosts but for some reason requests, revokes and the runtime permissions API use URLs. - BREAKING(lib.deno.unstable.d.ts): Change NetPermissionDescriptor::url to NetPermissionDescriptor::host - fix(runtime/permissions): Don't add whole URLs to the allowlist on request - fix(runtime/permissions): Harden strength semantics: ({ name: "net", host: "127.0.0.1" } is stronger than { name: "net", host: "127.0.0.1:8000" }) for blocklisting - refactor(runtime/permissions): Use tuples for hosts, make the host optional in Permissions::{query_net, request_net, revoke_net}()
2020-12-29docs(introduction): Improve wording and capitalization (#8848)Waldir Pimenta
2020-12-19feat(unstable): support in memory certificate data for Deno.createHttpClient ↵yonatan ben avraham
(#8739)
2020-12-12docs: Remove a deprecated function from docstring for Deno.permissions (#8729)Andrew Mitchell