Skip to content

Commit

Permalink
pin all the dependencies again
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Nov 4, 2021
1 parent e10f8ee commit 4730621
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
9 changes: 5 additions & 4 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
/// <reference lib="dom.iterable" />
/// <reference lib="dom.asynciterable" />
/// <reference lib="deno.ns" />
/// <reference lib="deno.unstable" />

export { emojify } from "https://deno.land/x/emoji@0.1.2/mod.ts";

export { default as marked } from "https://esm.sh/marked@3.0.7";
export { default as marked } from "https://esm.sh/marked@3.0.7?pin=v57";

export * as Prism from "https://esm.sh/prismjs@1.25.0";
export { default as Prism } from "https://esm.sh/prismjs@1.25.0?pin=v57";

export { default as sanitizeHtml } from "https://esm.sh/sanitize-html@2.5.2";
export { default as sanitizeHtml } from "https://esm.sh/sanitize-html@2.5.2?pin=v57";

export { escape as htmlEscape } from "https://esm.sh/he@1.2.0";
export { escape as htmlEscape } from "https://esm.sh/he@1.2.0?pin=v57";
12 changes: 6 additions & 6 deletions example/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { listenAndServe } from "https://deno.land/std@0.110.0/http/server.ts";

import { CSS, render } from "../mod.ts";

import "https://esm.sh/prismjs@1.25.0/components/prism-jsx?no-check";
import "https://esm.sh/prismjs@1.25.0/components/prism-typescript?no-check";
import "https://esm.sh/prismjs@1.25.0/components/prism-tsx?no-check";
import "https://esm.sh/prismjs@1.25.0/components/prism-bash?no-check";
import "https://esm.sh/prismjs@1.25.0/components/prism-powershell?no-check";
import "https://esm.sh/prismjs@1.25.0/components/prism-json?no-check";
import "https://esm.sh/prismjs@1.25.0/components/prism-jsx?no-check&pin=v57";
import "https://esm.sh/prismjs@1.25.0/components/prism-typescript?no-check&pin=v57";
import "https://esm.sh/prismjs@1.25.0/components/prism-tsx?no-check&pin=v57";
import "https://esm.sh/prismjs@1.25.0/components/prism-bash?no-check&pin=v57";
import "https://esm.sh/prismjs@1.25.0/components/prism-powershell?no-check&pin=v57";
import "https://esm.sh/prismjs@1.25.0/components/prism-json?no-check&pin=v57";

const CONTENT_PATH = new URL("./content.md", import.meta.url);

Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ build:
echo "/** @type {string} */\nexport const CSS = \``cat style/dist/main.css`\`;" > style.js

dev:
deno run --allow-net --allow-read --unstable --watch ./example/main.ts
deno run --allow-net --allow-read --unstable --watch --no-check ./example/main.ts

0 comments on commit 4730621

Please sign in to comment.