Skip to content

Commit

Permalink
Use @std/crypto as fallback if crypto doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
vrugtehagel committed Jun 16, 2024
1 parent 6524b79 commit 87200b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as HTMLParser from "npm:node-html-parser@^6.1";
import { crypto } from "jsr:@std/crypto@^0.224";

/** Allowed header tag names, lowercased */
const HEADERS: string[] = ["h1", "h2", "h3", "h4", "h5", "h6", "h7"] as const;
Expand Down

0 comments on commit 87200b4

Please sign in to comment.