summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
AgeCommit message (Collapse)Author
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
2020-11-30feat(unstable): add cbreak option to setRaw (#8383)Marcus Hultman
2020-11-25docs: Add missing closing parenthesis (#8477)Chayim Refael Friedman
2020-11-10fix(cli): allow setting of importsNotUsedAsValues in Deno.compile() (#8306)Kitson Kelly
Fixes #6663
2020-11-02refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192)Kitson Kelly
Fixes #8060
2020-10-26feat(unstable): add Deno.systemCpuInfo() (#7774)Elias Sjögreen
2020-10-26refactor(cli): rewrite Deno.transpileOnly() to use SWC (#8090)Bartek Iwańczuk
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-10-20feat: stabilize Deno.fsync and Deno.fdatasync (#8038)Casper Beyer
2020-10-15feat(cli/ops): add the sleep_sync op (#7974)William Perron
2020-09-19fix(cli/rt): make some web API constructors illegal at runtime (#7468)Nayeem Rahman
2020-09-12refactor: improve tsc diagnostics (#7420)Kitson Kelly
2020-09-10feat(unstable): Add Deno.systemMemoryInfo() (#7350)Akshat Agarwal
Co-authored-by: marcopacini <pacinim88@gmail.com> Co-authored-by: Casper Beyer <caspervonb@pm.me>
2020-08-31feat(unstable): add Deno.futime and Deno.futimeSync (#7266)Casper Beyer
2020-08-24Fix incorrect comment on useDefineForClassFields (#6386)Rob Palmer
2020-08-10remove unnecessary await in docs (#7012)迷渡