diff options
| author | Luca Casonato <lucacasonato@yahoo.com> | 2020-04-30 17:23:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-30 11:23:40 -0400 |
| commit | 80e22111416751ce34dbc5cb32ffa9f293517370 (patch) | |
| tree | 5b3fe5d16ee07143e5dcb2c766a1f48c296ad9d6 /cli/js/deno_unstable.ts | |
| parent | 4993a6504b4b447e0e02454094cffb02ee18c081 (diff) | |
Unstable methods should not appear in runtime or d.ts (#4957)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'cli/js/deno_unstable.ts')
| -rw-r--r-- | cli/js/deno_unstable.ts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cli/js/deno_unstable.ts b/cli/js/deno_unstable.ts new file mode 100644 index 000000000..1f4baefdc --- /dev/null +++ b/cli/js/deno_unstable.ts @@ -0,0 +1,26 @@ +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. + +// This module exports unstable Deno APIs. + +export { umask } from "./ops/fs/umask.ts"; +export { linkSync, link } from "./ops/fs/link.ts"; +export { symlinkSync, symlink } from "./ops/fs/symlink.ts"; +export { dir, loadavg, osRelease } from "./ops/os.ts"; +export { openPlugin } from "./ops/plugins.ts"; +export { transpileOnly, compile, bundle } from "./compiler/api.ts"; +export { applySourceMap, formatDiagnostics } from "./ops/errors.ts"; +export { signal, signals, Signal, SignalStream } from "./signals.ts"; +export { setRaw } from "./ops/tty.ts"; +export { utimeSync, utime } from "./ops/fs/utime.ts"; +export { ShutdownMode, shutdown } from "./net.ts"; +export { listen, listenDatagram, connect } from "./net_unstable.ts"; +export { cwd } from "./ops/fs/dir.ts"; +export { startTls } from "./tls.ts"; +export { kill } from "./ops/process.ts"; +export { + permissions, + PermissionName, + PermissionState, + PermissionStatus, + Permissions, +} from "./permissions.ts"; |
