Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update references to deno_std to use JSR #23239

Merged
merged 6 commits into from
Apr 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
maybe fix
  • Loading branch information
iuioiua committed Apr 8, 2024
commit f8de72e218e2b99d0a05916122e50ecaeb274f1e
24 changes: 12 additions & 12 deletions cli/tsc/dts/lib.deno.ns.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2544,7 +2544,7 @@ declare namespace Deno {
/** Resolves to a {@linkcode Deno.FileInfo} for the file.
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
*
* using file = await Deno.open("hello.txt");
* const fileInfo = await file.stat();
Expand All @@ -2555,7 +2555,7 @@ declare namespace Deno {
/** Synchronously returns a {@linkcode Deno.FileInfo} for the file.
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
*
* using file = Deno.openSync("hello.txt")
* const fileInfo = file.statSync();
Expand Down Expand Up @@ -3804,7 +3804,7 @@ declare namespace Deno {
* of what it points to.
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
* const fileInfo = await Deno.lstat("hello.txt");
* assert(fileInfo.isFile);
* ```
Expand All @@ -3821,7 +3821,7 @@ declare namespace Deno {
* returned instead of what it points to.
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
* const fileInfo = Deno.lstatSync("hello.txt");
* assert(fileInfo.isFile);
* ```
Expand All @@ -3837,7 +3837,7 @@ declare namespace Deno {
* always follow symlinks.
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
* const fileInfo = await Deno.stat("hello.txt");
* assert(fileInfo.isFile);
* ```
Expand All @@ -3853,7 +3853,7 @@ declare namespace Deno {
* `path`. Will always follow symlinks.
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
* const fileInfo = Deno.statSync("hello.txt");
* assert(fileInfo.isFile);
* ```
Expand Down Expand Up @@ -5106,7 +5106,7 @@ declare namespace Deno {
/** Revokes a permission, and resolves to the state of the permission.
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
*
* const status = await Deno.permissions.revoke({ name: "run" });
* assert(status.state !== "granted")
Expand All @@ -5117,7 +5117,7 @@ declare namespace Deno {
/** Revokes a permission, and returns the state of the permission.
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
*
* const status = Deno.permissions.revokeSync({ name: "run" });
* assert(status.state !== "granted")
Expand Down Expand Up @@ -5195,14 +5195,14 @@ declare namespace Deno {
* ### Revoking
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
*
* const status = await Deno.permissions.revoke({ name: "run" });
* assert(status.state !== "granted")
* ```
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
*
* const status = Deno.permissions.revokeSync({ name: "run" });
* assert(status.state !== "granted")
Expand Down Expand Up @@ -5530,7 +5530,7 @@ declare namespace Deno {
* Returns a `Deno.FileInfo` for the given file stream.
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
*
* const file = await Deno.open("file.txt", { read: true });
* const fileInfo = await Deno.fstat(file.rid);
Expand All @@ -5550,7 +5550,7 @@ declare namespace Deno {
* stream.
*
* ```ts
* import { assert } from "jsr:@std/assert/assert";
* import { assert } from "jsr:@std/assert";
*
* const file = Deno.openSync("file.txt", { read: true });
* const fileInfo = Deno.fstatSync(file.rid);
Expand Down
Loading