chore: bump std to 0.211.0 and loader to 0.8.3 (#2241)

This commit is contained in:
Reed von Redwitz
2024-01-11 15:54:41 +01:00
committed by GitHub
parent d2e9ee99a2
commit ca8338e04d
11 changed files with 44 additions and 45 deletions
+4 -4
View File
@@ -4,7 +4,7 @@ export {
join,
relative,
toFileUrl,
} from "https://deno.land/std@0.208.0/path/mod.ts";
export { escape as regexpEscape } from "https://deno.land/std@0.208.0/regexp/escape.ts";
export { denoPlugins } from "https://deno.land/x/esbuild_deno_loader@0.8.2/mod.ts";
export { assertEquals } from "https://deno.land/std@0.208.0/assert/mod.ts";
} from "https://deno.land/std@0.211.0/path/mod.ts";
export { escape as regexpEscape } from "https://deno.land/std@0.211.0/regexp/escape.ts";
export { denoPlugins } from "https://deno.land/x/esbuild_deno_loader@0.8.3/mod.ts";
export { assertEquals } from "https://deno.land/std@0.211.0/assert/mod.ts";
-1
View File
@@ -97,7 +97,6 @@ export class EsbuildBuilder implements Builder {
plugins: [
devClientUrlPlugin(opts.basePath),
buildIdPlugin(opts.buildID),
// @ts-ignore TODO: types in esbuild loader need to be updated
...denoPlugins({ configPath: opts.configPath }),
],
});
+10 -10
View File
@@ -9,24 +9,24 @@ export {
resolve,
SEP,
toFileUrl,
} from "https://deno.land/std@0.208.0/path/mod.ts";
export { normalize } from "https://deno.land/std@0.208.0/path/posix/mod.ts";
export { DAY, WEEK } from "https://deno.land/std@0.208.0/datetime/constants.ts";
export * as colors from "https://deno.land/std@0.208.0/fmt/colors.ts";
} from "https://deno.land/std@0.211.0/path/mod.ts";
export { normalize } from "https://deno.land/std@0.211.0/path/posix/mod.ts";
export { DAY, WEEK } from "https://deno.land/std@0.211.0/datetime/constants.ts";
export * as colors from "https://deno.land/std@0.211.0/fmt/colors.ts";
export {
walk,
type WalkEntry,
WalkError,
} from "https://deno.land/std@0.208.0/fs/walk.ts";
export { parse } from "https://deno.land/std@0.208.0/flags/mod.ts";
} from "https://deno.land/std@0.211.0/fs/walk.ts";
export { parse } from "https://deno.land/std@0.211.0/flags/mod.ts";
export {
gte,
lt,
parse as semverParse,
} from "https://deno.land/std@0.208.0/semver/mod.ts";
export { emptyDir, existsSync } from "https://deno.land/std@0.208.0/fs/mod.ts";
export * as JSONC from "https://deno.land/std@0.208.0/jsonc/mod.ts";
export { assertEquals } from "https://deno.land/std@0.208.0/assert/mod.ts";
} from "https://deno.land/std@0.211.0/semver/mod.ts";
export { emptyDir, existsSync } from "https://deno.land/std@0.211.0/fs/mod.ts";
export * as JSONC from "https://deno.land/std@0.211.0/jsonc/mod.ts";
export { assertEquals } from "https://deno.land/std@0.211.0/assert/mod.ts";
// ts-morph
export { Node, Project } from "https://deno.land/x/ts_morph@20.0.0/mod.ts";
+1 -1
View File
@@ -2,7 +2,7 @@ export const RECOMMENDED_PREACT_VERSION = "10.19.2";
export const RECOMMENDED_PREACT_SIGNALS_VERSION = "1.2.1";
export const RECOMMENDED_PREACT_SIGNALS_CORE_VERSION = "1.5.0";
export const RECOMMENDED_TWIND_VERSION = "0.16.19";
export const RECOMMENDED_STD_VERSION = "0.208.0";
export const RECOMMENDED_STD_VERSION = "0.211.0";
export const RECOMMENDED_TAILIWIND_VERSION = "3.3.5";
export function freshImports(imports: Record<string, string>) {
+2 -2
View File
@@ -1,4 +1,4 @@
import { toHashString } from "./deps.ts";
import { encodeHex } from "./deps.ts";
export const DENO_DEPLOYMENT_ID = Deno.env.get("DENO_DEPLOYMENT_ID");
const deploymentId = DENO_DEPLOYMENT_ID ||
@@ -10,7 +10,7 @@ const buildIdHash = await crypto.subtle.digest(
new TextEncoder().encode(deploymentId),
);
export let BUILD_ID = toHashString(buildIdHash, "hex");
export let BUILD_ID = encodeHex(buildIdHash);
export function setBuildId(buildId: string) {
BUILD_ID = buildId;
+12 -12
View File
@@ -8,28 +8,28 @@ export {
join,
SEP,
toFileUrl,
} from "https://deno.land/std@0.208.0/path/mod.ts";
export { walk } from "https://deno.land/std@0.208.0/fs/walk.ts";
export * as colors from "https://deno.land/std@0.208.0/fmt/colors.ts";
} from "https://deno.land/std@0.211.0/path/mod.ts";
export { walk } from "https://deno.land/std@0.211.0/fs/walk.ts";
export * as colors from "https://deno.land/std@0.211.0/fmt/colors.ts";
export {
type Handler as ServeHandler,
serve,
} from "https://deno.land/std@0.208.0/http/server.ts";
export { STATUS_CODE } from "https://deno.land/std@0.208.0/http/status.ts";
} from "https://deno.land/std@0.211.0/http/server.ts";
export { STATUS_CODE } from "https://deno.land/std@0.211.0/http/status.ts";
export {
contentType,
} from "https://deno.land/std@0.208.0/media_types/content_type.ts";
export { toHashString } from "https://deno.land/std@0.208.0/crypto/to_hash_string.ts";
export { escape } from "https://deno.land/std@0.208.0/regexp/escape.ts";
export * as JSONC from "https://deno.land/std@0.208.0/jsonc/mod.ts";
} from "https://deno.land/std@0.211.0/media_types/content_type.ts";
export { encodeHex } from "https://deno.land/std@0.211.0/encoding/hex.ts";
export { escape } from "https://deno.land/std@0.211.0/regexp/escape.ts";
export * as JSONC from "https://deno.land/std@0.211.0/jsonc/mod.ts";
export { renderToString } from "https://esm.sh/*preact-render-to-string@6.3.1";
export {
assertEquals,
assertThrows,
} from "https://deno.land/std@0.208.0/assert/mod.ts";
} from "https://deno.land/std@0.211.0/assert/mod.ts";
export {
isIdentifierChar,
isIdentifierStart,
} from "https://esm.sh/@babel/helper-validator-identifier@7.22.20";
export { normalize } from "https://deno.land/std@0.208.0/path/posix/mod.ts";
export { assertSnapshot } from "https://deno.land/std@0.208.0/testing/snapshot.ts";
export { normalize } from "https://deno.land/std@0.211.0/path/posix/mod.ts";
export { assertSnapshot } from "https://deno.land/std@0.211.0/testing/snapshot.ts";