summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts28
1 files changed, 14 insertions, 14 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index ec87fa9ca..6cb062396 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -255,11 +255,11 @@ declare namespace Deno {
* console.log(Deno.loadavg()); // e.g. [ 0.71, 0.44, 0.44 ]
* ```
*
- * Requires `allow-env` permission.
+ * Requires `allow-sys` permission.
* There are questions around which permission this needs. And maybe should be
* renamed (loadAverage?).
*
- * @tags allow-env
+ * @tags allow-sys
* @category Observability
*/
export function loadavg(): number[];
@@ -272,11 +272,11 @@ declare namespace Deno {
* console.log(Deno.osRelease());
* ```
*
- * Requires `allow-env` permission.
+ * Requires `allow-sys` permission.
* Under consideration to possibly move to Deno.build or Deno.versions and if
* it should depend sys-info, which may not be desirable.
*
- * @tags allow-env
+ * @tags allow-sys
* @category Runtime Environment
*/
export function osRelease(): string;
@@ -292,9 +292,9 @@ declare namespace Deno {
* console.log(Deno.systemMemoryInfo());
* ```
*
- * Requires `allow-env` permission.
+ * Requires `allow-sys` permission.
*
- * @tags allow-env
+ * @tags allow-sys
* @category Runtime Environment
*/
export function systemMemoryInfo(): SystemMemoryInfo;
@@ -355,9 +355,9 @@ declare namespace Deno {
* console.log(Deno.networkInterfaces());
* ```
*
- * Requires `allow-env` permission.
+ * Requires `allow-sys` permission.
*
- * @tags allow-env
+ * @tags allow-sys
* @category Network
*/
export function networkInterfaces(): NetworkInterfaceInfo[];
@@ -370,9 +370,9 @@ declare namespace Deno {
* console.log(Deno.getUid());
* ```
*
- * Requires `allow-env` permission.
+ * Requires `allow-sys` permission.
*
- * @tags allow-env
+ * @tags allow-sys
* @category Runtime Environment
*/
export function getUid(): number | null;
@@ -385,9 +385,9 @@ declare namespace Deno {
* console.log(Deno.getGid());
* ```
*
- * Requires `allow-env` permission.
+ * Requires `allow-sys` permission.
*
- * @tags allow-env
+ * @tags allow-sys
* @category Runtime Environment
*/
export function getGid(): number | null;
@@ -980,11 +980,11 @@ declare namespace Deno {
* console.log(Deno.hostname());
* ```
*
- * Requires `allow-env` permission.
+ * Requires `allow-sys` permission.
* Additional consideration is still necessary around the permissions
* required.
*
- * @tags allow-env
+ * @tags allow-sys
* @category Runtime Environment
*/
export function hostname(): string;