Skip to content

Commit 4730621

Browse files
committed
pin all the dependencies again
1 parent e10f8ee commit 4730621

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

deps.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
/// <reference lib="dom.iterable" />
44
/// <reference lib="dom.asynciterable" />
55
/// <reference lib="deno.ns" />
6+
/// <reference lib="deno.unstable" />
67

78
export { emojify } from "https://deno.land/x/[email protected]/mod.ts";
89

9-
export { default as marked } from "https://esm.sh/[email protected]";
10+
export { default as marked } from "https://esm.sh/[email protected]?pin=v57";
1011

11-
export * as Prism from "https://esm.sh/[email protected]";
12+
export { default as Prism } from "https://esm.sh/[email protected]?pin=v57";
1213

13-
export { default as sanitizeHtml } from "https://esm.sh/[email protected]";
14+
export { default as sanitizeHtml } from "https://esm.sh/[email protected]?pin=v57";
1415

15-
export { escape as htmlEscape } from "https://esm.sh/[email protected]";
16+
export { escape as htmlEscape } from "https://esm.sh/[email protected]?pin=v57";

example/main.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import { listenAndServe } from "https://deno.land/[email protected]/http/server.ts";
22

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

5-
import "https://esm.sh/[email protected]/components/prism-jsx?no-check";
6-
import "https://esm.sh/[email protected]/components/prism-typescript?no-check";
7-
import "https://esm.sh/[email protected]/components/prism-tsx?no-check";
8-
import "https://esm.sh/[email protected]/components/prism-bash?no-check";
9-
import "https://esm.sh/[email protected]/components/prism-powershell?no-check";
10-
import "https://esm.sh/[email protected]/components/prism-json?no-check";
5+
import "https://esm.sh/[email protected]/components/prism-jsx?no-check&pin=v57";
6+
import "https://esm.sh/[email protected]/components/prism-typescript?no-check&pin=v57";
7+
import "https://esm.sh/[email protected]/components/prism-tsx?no-check&pin=v57";
8+
import "https://esm.sh/[email protected]/components/prism-bash?no-check&pin=v57";
9+
import "https://esm.sh/[email protected]/components/prism-powershell?no-check&pin=v57";
10+
import "https://esm.sh/[email protected]/components/prism-json?no-check&pin=v57";
1111

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

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ build:
33
echo "/** @type {string} */\nexport const CSS = \``cat style/dist/main.css`\`;" > style.js
44

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

0 commit comments

Comments
 (0)