Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/EmojiPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { h } from "preact";
import { useEffect, useRef } from "preact/hooks";

import { Picker as _Picker } from "https://esm.sh/emoji-mart@5.5.2/";
import { Picker as _Picker } from "https://esm.sh/emoji-mart@5.6.0/";

// deno-lint-ignore no-explicit-any
const Picker: any = _Picker;
Expand Down
2 changes: 1 addition & 1 deletion routes/generate_png.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Handlers, RouteConfig } from "$fresh/server.ts";

import { contentType } from "https://deno.land/std@0.173.0/media_types/mod.ts";
import { contentType } from "https://deno.land/std@0.224.0/media_types/mod.ts";

import { getEmojiSVG, isEmoji } from "../utils/twemoji.ts";
import { getTextSVG, svgToPng } from "../utils/text.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/service_worker.js.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Handlers } from "$fresh/server.ts";

import { contentType } from "https://deno.land/std@0.173.0/media_types/mod.ts";
import { contentType } from "https://deno.land/std@0.224.0/media_types/mod.ts";

export const handler: Handlers = {
async GET() {
Expand Down
4 changes: 2 additions & 2 deletions utils/text.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { initialize, svg2png } from "https://esm.sh/svg2png-wasm@1.3.4";
import { initialize, svg2png } from "https://esm.sh/svg2png-wasm@1.4.1/";

// NOTE: avoid TLA
const initPromise = Promise.all([
initialize(
fetch("https://esm.sh/svg2png-wasm@1.3.4/svg2png_wasm_bg.wasm"),
fetch("https://esm.sh/svg2png-wasm@1.4.1//svg2png_wasm_bg.wasm"),
),
Deno.readFile(
new URL("./fonts/Noto_Sans_JP/NotoSansJP-Regular.otf", import.meta.url),
Expand Down
2 changes: 1 addition & 1 deletion utils/text_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "https://deno.land/std@0.173.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.224.0/testing/asserts.ts";

import { getTextSVG, svgToPng } from "./text.ts";

Expand Down
4 changes: 2 additions & 2 deletions utils/twemoji_test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { assertEquals } from "https://deno.land/std@0.173.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.224.0/testing/asserts.ts";
import {
assertSpyCall,
assertSpyCalls,
stub,
} from "https://deno.land/std@0.173.0/testing/mock.ts";
} from "https://deno.land/std@0.224.0/testing/mock.ts";

import { getEmojiSVG, isEmoji } from "./twemoji.ts";

Expand Down