Skip to content

Commit

Permalink
Update dependencies for Deno
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake committed May 11, 2024
1 parent ca2007a commit f6db78b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This will generate build artifacts in the `pkg` directory.
### Example

```ts
import * as assert from "https://deno.land/std@0.216.0/assert/mod.ts";
import * as assert from "jsr:@std/assert";

import * as scryptenc from "./pkg/scryptenc_wasm.js";

Expand Down
6 changes: 3 additions & 3 deletions crates/wasm/examples/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

export * as cli from "https://deno.land/std@0.216.0/cli/mod.ts";
export * as io from "https://deno.land/std@0.216.0/io/mod.ts";
export * as cli from "jsr:@std/cli@^0.224.0";
export * as io from "jsr:@std/io@^0.224.0";

export * as command from "https://deno.land/x/cliffy@v1.0.0-rc.3/command/mod.ts";
export * as command from "jsr:@cliffy/command@1.0.0-rc.4";

export * as scryptenc from "../pkg/scryptenc_wasm.js";
2 changes: 1 addition & 1 deletion docs/book/modules/wasm/pages/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This will generate build artifacts in the `pkg` directory.

[source,ts]
----
import * as assert from "https://deno.land/std@0.216.0/assert/mod.ts";
import * as assert from "jsr:@std/assert";
import * as scryptenc from "./pkg/scryptenc_wasm.js";
Expand Down

0 comments on commit f6db78b

Please sign in to comment.