]> git.ardis.lu - random-word-generator/commitdiff
Add integrity check to dependencies
authorArdis Lu <ardisglu@gmail.com>
Wed, 20 Dec 2023 06:05:50 +0000 (22:05 -0800)
committerArdis Lu <ardisglu@gmail.com>
Wed, 20 Dec 2023 06:05:50 +0000 (22:05 -0800)
README.md
deno.lock [new file with mode: 0644]
main.ts

index 3039dc5272b20f1fe59fdced7a56f8873ee6a998..06f6f61430561c3cd2f85e7e8e2580dd68ca86e6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ A [Deno](https://deno.land/) CLI which returns a string of random words from a
 given word list.
 
 ```
-> deno run --allow-read ./main.ts
+> deno run --lock --allow-read ./main.ts
 > cheeking-signs-riches
 ```
 
diff --git a/deno.lock b/deno.lock
new file mode 100644 (file)
index 0000000..ec9a734
--- /dev/null
+++ b/deno.lock
@@ -0,0 +1,10 @@
+{
+  "version": "3",
+  "remote": {
+    "https://deno.land/std@0.209.0/assert/assert.ts": "e265ad50a9341f3b40e51dd4cb41ab253d976943ba78a977106950e52e0302ab",
+    "https://deno.land/std@0.209.0/assert/assertion_error.ts": "26ed1863d905005f00785c89750c001c3522c5417e4f58f95044b8143cfc1593",
+    "https://deno.land/std@0.209.0/cli/mod.ts": "b16b72d58df78767cedfff715742b5163652e3a7c6a3274ed7eb02f72a27ba2a",
+    "https://deno.land/std@0.209.0/cli/parse_args.ts": "9bea02050b3f302e706871ff87ecfa3ad82cc34249adbe0dcddfaac75bdb48ff",
+    "https://deno.land/std@0.209.0/cli/prompt_secret.ts": "1fb2a981c1061e130475e326b344397448ec5dd5158b31266fd44fa864165de7"
+  }
+}
diff --git a/main.ts b/main.ts
index e7619034dfc8e9df75dad7094b99c3ce141b771f..ca2e157595de11ef5ad5ea707b5cd738eef47b71 100644 (file)
--- a/main.ts
+++ b/main.ts
@@ -1,4 +1,4 @@
-import { parseArgs } from "https://deno.land/std@0.208.0/cli/mod.ts";
+import { parseArgs } from "https://deno.land/std@0.209.0/cli/mod.ts";
 
 const { words, separator, length } = parseArgs(Deno.args, {
   default: {
This page took 0.063685 seconds and 4 git commands to generate.