From 31d095614871782d84a79441b188fd1b5478caf9 Mon Sep 17 00:00:00 2001 From: lino-levan <11367844+lino-levan@users.noreply.github.com> Date: Wed, 8 Mar 2023 10:41:28 -0800 Subject: [PATCH 1/2] chore: bump dependencies --- deps.ts | 4 ++-- examples/bundle.ts | 2 +- mod_test.ts | 4 ++-- test_deps.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deps.ts b/deps.ts index baf3b09..4277223 100644 --- a/deps.ts +++ b/deps.ts @@ -4,8 +4,8 @@ export { fromFileUrl, resolve, toFileUrl, -} from "https://deno.land/std@0.173.0/path/mod.ts"; -export { basename, extname } from "https://deno.land/std@0.173.0/path/mod.ts"; +} from "https://deno.land/std@0.178.0/path/mod.ts"; +export { basename, extname } from "https://deno.land/std@0.178.0/path/mod.ts"; export { resolveImportMap, resolveModuleSpecifier, diff --git a/examples/bundle.ts b/examples/bundle.ts index 07969cd..2fdaaeb 100644 --- a/examples/bundle.ts +++ b/examples/bundle.ts @@ -3,7 +3,7 @@ import { denoPlugin } from "../mod.ts"; await esbuild.build({ plugins: [denoPlugin()], - entryPoints: ["https://deno.land/std@0.173.0/bytes/mod.ts"], + entryPoints: ["https://deno.land/std@0.178.0/bytes/mod.ts"], outfile: "./dist/bytes.esm.js", bundle: true, format: "esm", diff --git a/mod_test.ts b/mod_test.ts index 6010f08..3977532 100644 --- a/mod_test.ts +++ b/mod_test.ts @@ -45,7 +45,7 @@ test("remote ts", LOADERS, async (esbuild, loader) => { const res = await esbuild.build({ ...DEFAULT_OPTS, plugins: [denoPlugin({ loader })], - entryPoints: ["https://deno.land/std@0.173.0/collections/without_all.ts"], + entryPoints: ["https://deno.land/std@0.178.0/collections/without_all.ts"], }); assertEquals(res.warnings, []); assertEquals(res.errors, []); @@ -243,7 +243,7 @@ test("bundle remote imports", LOADERS, async (esbuild, loader) => { plugins: [denoPlugin({ loader })], bundle: true, platform: "neutral", - entryPoints: ["https://deno.land/std@0.173.0/uuid/mod.ts"], + entryPoints: ["https://deno.land/std@0.178.0/uuid/mod.ts"], }); assertEquals(res.warnings, []); assertEquals(res.errors, []); diff --git a/test_deps.ts b/test_deps.ts index bc8c7ae..ec3b3f1 100644 --- a/test_deps.ts +++ b/test_deps.ts @@ -5,4 +5,4 @@ export { assert, assertEquals, assertThrows, -} from "https://deno.land/std@0.173.0/testing/asserts.ts"; +} from "https://deno.land/std@0.178.0/testing/asserts.ts"; From 37ac2f8c69c1bd10e4c919494b11762867334d2e Mon Sep 17 00:00:00 2001 From: Lino Le Van <11367844+lino-levan@users.noreply.github.com> Date: Wed, 8 Mar 2023 10:43:10 -0800 Subject: [PATCH 2/2] chore: update readme example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c2743a..d90e976 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ import { denoPlugin } from "https://deno.land/x/esbuild_deno_loader@0.6.0/mod.ts const result = await esbuild.build({ plugins: [denoPlugin()], - entryPoints: ["https://deno.land/std@0.173.0/hash/sha1.ts"], - outfile: "./dist/sha1.esm.js", + entryPoints: ["https://deno.land/std@0.178.0/bytes/mod.ts"], + outfile: "./dist/bytes.esm.js", bundle: true, format: "esm", });