Skip to content

Commit f1cf877

Browse files
committed
lock esm.sh versions
1 parent 9779000 commit f1cf877

File tree

3 files changed

+11
-21
lines changed

3 files changed

+11
-21
lines changed

.vscode/settings.json

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
{
22
"deno.enable": true,
33
"deno.lint": true,
4-
"deno.unstable": false,
5-
"deno.suggest.imports.hosts": {
6-
"https://deno.land": true,
7-
"https://x.nest.land": true,
8-
"https://crux.land": true,
9-
"https://x.lcas.dev": true,
10-
"https://cdn.skypack.dev": false,
11-
"https://esm.sh": false,
12-
"https://skypack.": false,
13-
"https://cdn..sh": false,
14-
"https://e": false,
15-
"https://esm": false,
16-
"https://esm,.": false,
17-
"https://esm.": false,
18-
"https://esm.s": false
19-
}
4+
"deno.unstable": false
205
}

deps.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@
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+
// @deno-types="https://cdn.esm.sh/v53/@types/[email protected]/index.d.ts"
11+
export { default as marked } from "https://cdn.esm.sh/v53/[email protected]/deno/marked.js";
1012

11-
export * as Prism from "https://esm.sh/[email protected]";
13+
// @deno-types="https://cdn.esm.sh/v53/@types/[email protected]/index.d.ts"
14+
export * as Prism from "https://cdn.esm.sh/v53/[email protected]/deno/prismjs.js";
1215

13-
export { default as sanitizeHtml } from "https://esm.sh/[email protected]";
16+
// @deno-types="https://cdn.esm.sh/v53/@types/[email protected]/index.d.ts"
17+
export { default as sanitizeHtml } from "https://cdn.esm.sh/v53/[email protected]/deno/sanitize-html.js";
1418

15-
export { escape as htmlEscape } from "https://esm.sh/[email protected]";
19+
// @deno-types="https://cdn.esm.sh/v53/@types/[email protected]/index.d.ts"
20+
export { escape as htmlEscape } from "https://cdn.esm.sh/v53/[email protected]/deno/he.js";

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 --watch --unstable ./example/main.ts

0 commit comments

Comments
 (0)