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": "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.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",
|
"@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",
|
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
|
||||||
"$marked-mangle": "https://esm.sh/marked-mangle@1.0.1",
|
"$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",
|
"$fresh-testing-library": "https://deno.land/x/fresh_testing_library@0.11.1/mod.ts",
|
||||||
|
|||||||
+4
-4
@@ -4,7 +4,7 @@ export {
|
|||||||
join,
|
join,
|
||||||
relative,
|
relative,
|
||||||
toFileUrl,
|
toFileUrl,
|
||||||
} from "https://deno.land/std@0.208.0/path/mod.ts";
|
} from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||||
export { escape as regexpEscape } from "https://deno.land/std@0.208.0/regexp/escape.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.2/mod.ts";
|
export { denoPlugins } from "https://deno.land/x/esbuild_deno_loader@0.8.3/mod.ts";
|
||||||
export { assertEquals } from "https://deno.land/std@0.208.0/assert/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: [
|
plugins: [
|
||||||
devClientUrlPlugin(opts.basePath),
|
devClientUrlPlugin(opts.basePath),
|
||||||
buildIdPlugin(opts.buildID),
|
buildIdPlugin(opts.buildID),
|
||||||
// @ts-ignore TODO: types in esbuild loader need to be updated
|
|
||||||
...denoPlugins({ configPath: opts.configPath }),
|
...denoPlugins({ configPath: opts.configPath }),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
+10
-10
@@ -9,24 +9,24 @@ export {
|
|||||||
resolve,
|
resolve,
|
||||||
SEP,
|
SEP,
|
||||||
toFileUrl,
|
toFileUrl,
|
||||||
} from "https://deno.land/std@0.208.0/path/mod.ts";
|
} from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||||
export { normalize } from "https://deno.land/std@0.208.0/path/posix/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.208.0/datetime/constants.ts";
|
export { DAY, WEEK } from "https://deno.land/std@0.211.0/datetime/constants.ts";
|
||||||
export * as colors from "https://deno.land/std@0.208.0/fmt/colors.ts";
|
export * as colors from "https://deno.land/std@0.211.0/fmt/colors.ts";
|
||||||
export {
|
export {
|
||||||
walk,
|
walk,
|
||||||
type WalkEntry,
|
type WalkEntry,
|
||||||
WalkError,
|
WalkError,
|
||||||
} from "https://deno.land/std@0.208.0/fs/walk.ts";
|
} from "https://deno.land/std@0.211.0/fs/walk.ts";
|
||||||
export { parse } from "https://deno.land/std@0.208.0/flags/mod.ts";
|
export { parse } from "https://deno.land/std@0.211.0/flags/mod.ts";
|
||||||
export {
|
export {
|
||||||
gte,
|
gte,
|
||||||
lt,
|
lt,
|
||||||
parse as semverParse,
|
parse as semverParse,
|
||||||
} from "https://deno.land/std@0.208.0/semver/mod.ts";
|
} from "https://deno.land/std@0.211.0/semver/mod.ts";
|
||||||
export { emptyDir, existsSync } from "https://deno.land/std@0.208.0/fs/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.208.0/jsonc/mod.ts";
|
export * as JSONC from "https://deno.land/std@0.211.0/jsonc/mod.ts";
|
||||||
export { assertEquals } from "https://deno.land/std@0.208.0/assert/mod.ts";
|
export { assertEquals } from "https://deno.land/std@0.211.0/assert/mod.ts";
|
||||||
|
|
||||||
// ts-morph
|
// ts-morph
|
||||||
export { Node, Project } from "https://deno.land/x/ts_morph@20.0.0/mod.ts";
|
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_VERSION = "1.2.1";
|
||||||
export const RECOMMENDED_PREACT_SIGNALS_CORE_VERSION = "1.5.0";
|
export const RECOMMENDED_PREACT_SIGNALS_CORE_VERSION = "1.5.0";
|
||||||
export const RECOMMENDED_TWIND_VERSION = "0.16.19";
|
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 const RECOMMENDED_TAILIWIND_VERSION = "3.3.5";
|
||||||
|
|
||||||
export function freshImports(imports: Record<string, string>) {
|
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");
|
export const DENO_DEPLOYMENT_ID = Deno.env.get("DENO_DEPLOYMENT_ID");
|
||||||
const deploymentId = DENO_DEPLOYMENT_ID ||
|
const deploymentId = DENO_DEPLOYMENT_ID ||
|
||||||
@@ -10,7 +10,7 @@ const buildIdHash = await crypto.subtle.digest(
|
|||||||
new TextEncoder().encode(deploymentId),
|
new TextEncoder().encode(deploymentId),
|
||||||
);
|
);
|
||||||
|
|
||||||
export let BUILD_ID = toHashString(buildIdHash, "hex");
|
export let BUILD_ID = encodeHex(buildIdHash);
|
||||||
|
|
||||||
export function setBuildId(buildId: string) {
|
export function setBuildId(buildId: string) {
|
||||||
BUILD_ID = buildId;
|
BUILD_ID = buildId;
|
||||||
|
|||||||
+12
-12
@@ -8,28 +8,28 @@ export {
|
|||||||
join,
|
join,
|
||||||
SEP,
|
SEP,
|
||||||
toFileUrl,
|
toFileUrl,
|
||||||
} from "https://deno.land/std@0.208.0/path/mod.ts";
|
} from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||||
export { walk } from "https://deno.land/std@0.208.0/fs/walk.ts";
|
export { walk } from "https://deno.land/std@0.211.0/fs/walk.ts";
|
||||||
export * as colors from "https://deno.land/std@0.208.0/fmt/colors.ts";
|
export * as colors from "https://deno.land/std@0.211.0/fmt/colors.ts";
|
||||||
export {
|
export {
|
||||||
type Handler as ServeHandler,
|
type Handler as ServeHandler,
|
||||||
serve,
|
serve,
|
||||||
} from "https://deno.land/std@0.208.0/http/server.ts";
|
} from "https://deno.land/std@0.211.0/http/server.ts";
|
||||||
export { STATUS_CODE } from "https://deno.land/std@0.208.0/http/status.ts";
|
export { STATUS_CODE } from "https://deno.land/std@0.211.0/http/status.ts";
|
||||||
export {
|
export {
|
||||||
contentType,
|
contentType,
|
||||||
} from "https://deno.land/std@0.208.0/media_types/content_type.ts";
|
} from "https://deno.land/std@0.211.0/media_types/content_type.ts";
|
||||||
export { toHashString } from "https://deno.land/std@0.208.0/crypto/to_hash_string.ts";
|
export { encodeHex } from "https://deno.land/std@0.211.0/encoding/hex.ts";
|
||||||
export { escape } from "https://deno.land/std@0.208.0/regexp/escape.ts";
|
export { escape } from "https://deno.land/std@0.211.0/regexp/escape.ts";
|
||||||
export * as JSONC from "https://deno.land/std@0.208.0/jsonc/mod.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 { renderToString } from "https://esm.sh/*preact-render-to-string@6.3.1";
|
||||||
export {
|
export {
|
||||||
assertEquals,
|
assertEquals,
|
||||||
assertThrows,
|
assertThrows,
|
||||||
} from "https://deno.land/std@0.208.0/assert/mod.ts";
|
} from "https://deno.land/std@0.211.0/assert/mod.ts";
|
||||||
export {
|
export {
|
||||||
isIdentifierChar,
|
isIdentifierChar,
|
||||||
isIdentifierStart,
|
isIdentifierStart,
|
||||||
} from "https://esm.sh/@babel/helper-validator-identifier@7.22.20";
|
} 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 { normalize } from "https://deno.land/std@0.211.0/path/posix/mod.ts";
|
||||||
export { assertSnapshot } from "https://deno.land/std@0.208.0/testing/snapshot.ts";
|
export { assertSnapshot } from "https://deno.land/std@0.211.0/testing/snapshot.ts";
|
||||||
|
|||||||
+11
-11
@@ -14,13 +14,13 @@ export {
|
|||||||
assertNotMatch,
|
assertNotMatch,
|
||||||
assertRejects,
|
assertRejects,
|
||||||
assertStringIncludes,
|
assertStringIncludes,
|
||||||
} from "https://deno.land/std@0.208.0/assert/mod.ts";
|
} from "https://deno.land/std@0.211.0/assert/mod.ts";
|
||||||
export { assertSnapshot } from "https://deno.land/std@0.208.0/testing/snapshot.ts";
|
export { assertSnapshot } from "https://deno.land/std@0.211.0/testing/snapshot.ts";
|
||||||
export {
|
export {
|
||||||
TextLineStream,
|
TextLineStream,
|
||||||
} from "https://deno.land/std@0.208.0/streams/text_line_stream.ts";
|
} from "https://deno.land/std@0.211.0/streams/text_line_stream.ts";
|
||||||
export { delay } from "https://deno.land/std@0.208.0/async/delay.ts";
|
export { delay } from "https://deno.land/std@0.211.0/async/delay.ts";
|
||||||
export { retry } from "https://deno.land/std@0.208.0/async/retry.ts";
|
export { retry } from "https://deno.land/std@0.211.0/async/retry.ts";
|
||||||
export {
|
export {
|
||||||
default as puppeteer,
|
default as puppeteer,
|
||||||
Page,
|
Page,
|
||||||
@@ -33,7 +33,7 @@ export {
|
|||||||
} from "https://esm.sh/linkedom@0.15.1";
|
} from "https://esm.sh/linkedom@0.15.1";
|
||||||
export { defineConfig, type Preset } from "https://esm.sh/@twind/core@1.1.3";
|
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 { 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 {
|
export {
|
||||||
basename,
|
basename,
|
||||||
dirname,
|
dirname,
|
||||||
@@ -43,8 +43,8 @@ export {
|
|||||||
relative,
|
relative,
|
||||||
SEP,
|
SEP,
|
||||||
toFileUrl,
|
toFileUrl,
|
||||||
} from "https://deno.land/std@0.208.0/path/mod.ts";
|
} from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||||
export * as JSONC from "https://deno.land/std@0.208.0/jsonc/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.208.0/fmt/colors.ts";
|
export * as colors from "https://deno.land/std@0.211.0/fmt/colors.ts";
|
||||||
export { STATUS_CODE } from "https://deno.land/std@0.208.0/http/status.ts";
|
export { STATUS_CODE } from "https://deno.land/std@0.211.0/http/status.ts";
|
||||||
export { stripAnsiCode } from "https://deno.land/std@0.208.0/fmt/colors.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/": "https://esm.sh/preact@10.15.1/",
|
||||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||||
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.2.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": {
|
"compilerOptions": {
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.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",
|
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
|
||||||
"$marked-mangle": "https://esm.sh/marked-mangle@1.0.1",
|
"$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",
|
"$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 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 { 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 url = Deno.args[0];
|
||||||
const id = Deno.args[1];
|
const id = Deno.args[1];
|
||||||
|
|||||||
Reference in New Issue
Block a user