chore: bump std to 0.211.0 and loader to 0.8.3 (#2241)
This commit is contained in:
Vendored
+1
-1
@@ -12,7 +12,7 @@
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.0",
|
||||
"@preact/signals-core@1.2.3": "https://esm.sh/@preact/signals-core@1.2.3",
|
||||
"@preact/signals-core@1.3.0": "https://esm.sh/@preact/signals-core@1.3.0",
|
||||
"$std/": "https://deno.land/std@0.208.0/",
|
||||
"$std/": "https://deno.land/std@0.211.0/",
|
||||
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
|
||||
"$marked-mangle": "https://esm.sh/marked-mangle@1.0.1",
|
||||
"$fresh-testing-library": "https://deno.land/x/fresh_testing_library@0.11.1/mod.ts",
|
||||
|
||||
+4
-4
@@ -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";
|
||||
|
||||
@@ -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
@@ -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
@@ -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>) {
|
||||
|
||||
@@ -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
@@ -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";
|
||||
|
||||
+11
-11
@@ -14,13 +14,13 @@ export {
|
||||
assertNotMatch,
|
||||
assertRejects,
|
||||
assertStringIncludes,
|
||||
} from "https://deno.land/std@0.208.0/assert/mod.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.208.0/testing/snapshot.ts";
|
||||
} from "https://deno.land/std@0.211.0/assert/mod.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.211.0/testing/snapshot.ts";
|
||||
export {
|
||||
TextLineStream,
|
||||
} from "https://deno.land/std@0.208.0/streams/text_line_stream.ts";
|
||||
export { delay } from "https://deno.land/std@0.208.0/async/delay.ts";
|
||||
export { retry } from "https://deno.land/std@0.208.0/async/retry.ts";
|
||||
} from "https://deno.land/std@0.211.0/streams/text_line_stream.ts";
|
||||
export { delay } from "https://deno.land/std@0.211.0/async/delay.ts";
|
||||
export { retry } from "https://deno.land/std@0.211.0/async/retry.ts";
|
||||
export {
|
||||
default as puppeteer,
|
||||
Page,
|
||||
@@ -33,7 +33,7 @@ export {
|
||||
} from "https://esm.sh/linkedom@0.15.1";
|
||||
export { defineConfig, type Preset } from "https://esm.sh/@twind/core@1.1.3";
|
||||
export { default as presetTailwind } from "https://esm.sh/@twind/preset-tailwind@1.1.4";
|
||||
export { copy } from "https://deno.land/std@0.208.0/fs/mod.ts";
|
||||
export { copy } from "https://deno.land/std@0.211.0/fs/mod.ts";
|
||||
export {
|
||||
basename,
|
||||
dirname,
|
||||
@@ -43,8 +43,8 @@ export {
|
||||
relative,
|
||||
SEP,
|
||||
toFileUrl,
|
||||
} from "https://deno.land/std@0.208.0/path/mod.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.208.0/jsonc/mod.ts";
|
||||
export * as colors from "https://deno.land/std@0.208.0/fmt/colors.ts";
|
||||
export { STATUS_CODE } from "https://deno.land/std@0.208.0/http/status.ts";
|
||||
export { stripAnsiCode } from "https://deno.land/std@0.208.0/fmt/colors.ts";
|
||||
} from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.211.0/jsonc/mod.ts";
|
||||
export * as colors from "https://deno.land/std@0.211.0/fmt/colors.ts";
|
||||
export { STATUS_CODE } from "https://deno.land/std@0.211.0/http/status.ts";
|
||||
export { stripAnsiCode } from "https://deno.land/std@0.211.0/fmt/colors.ts";
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.2.3",
|
||||
"$std/": "https://deno.land/std@0.208.0/"
|
||||
"$std/": "https://deno.land/std@0.211.0/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3",
|
||||
"$std/": "https://deno.land/std@0.208.0/",
|
||||
"$std/": "https://deno.land/std@0.211.0/",
|
||||
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
|
||||
"$marked-mangle": "https://esm.sh/marked-mangle@1.0.1",
|
||||
"$fresh-testing-library": "https://deno.land/x/fresh_testing_library@0.8.0/mod.ts",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import puppeteer from "https://deno.land/x/puppeteer@16.2.0/mod.ts";
|
||||
import { Image } from "https://deno.land/x/imagescript@1.2.15/mod.ts";
|
||||
import { join } from "https://deno.land/std@0.208.0/path/mod.ts";
|
||||
import { join } from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||
|
||||
const url = Deno.args[0];
|
||||
const id = Deno.args[1];
|
||||
|
||||
Reference in New Issue
Block a user