From 2d67c14dd2a440f7ecbda2f228704577b88f6a84 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Tue, 19 Dec 2023 22:05:50 -0800 Subject: [PATCH] Add integrity check to dependencies --- README.md | 2 +- deno.lock | 10 ++++++++++ main.ts | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 deno.lock diff --git a/README.md b/README.md index 3039dc5..06f6f61 100644 --- 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 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 e761903..ca2e157 100644 --- 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: { -- 2.47.3