chore: bump deps and update copyright year (#1069)

This commit is contained in:
Lino Le Van
2023-03-21 18:56:30 +09:00
committed by GitHub
parent 4bfab6a8a9
commit 7b036f0af8
19 changed files with 88 additions and 91 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { BuildOptions } from "https://deno.land/x/esbuild@v0.14.51/mod.js";
import { BuildOptions } from "https://deno.land/x/esbuild@v0.17.11/mod.js";
import { BUILD_ID } from "./constants.ts";
import { denoPlugin, esbuild, toFileUrl } from "./deps.ts";
import { Island, Plugin } from "./types.ts";
@@ -12,7 +12,7 @@ let esbuildInitialized: boolean | Promise<void> = false;
async function ensureEsbuildInitialized() {
if (esbuildInitialized === false) {
if (Deno.run === undefined) {
const wasmURL = new URL("./esbuild_v0.14.51.wasm", import.meta.url).href;
const wasmURL = new URL("./esbuild_v0.17.11.wasm", import.meta.url).href;
esbuildInitialized = fetch(wasmURL).then(async (r) => {
const resp = new Response(r.body, {
headers: { "Content-Type": "application/wasm" },