diff --git a/.vscode/import_map.json b/.vscode/import_map.json index b3854afd..91a99088 100644 --- a/.vscode/import_map.json +++ b/.vscode/import_map.json @@ -6,13 +6,13 @@ "$fresh/": "../", "twind": "https://esm.sh/twind@0.16.19", "twind/": "https://esm.sh/twind@0.16.19/", - "preact": "https://esm.sh/preact@10.18.1", - "preact/": "https://esm.sh/preact@10.18.1/", - "@preact/signals": "https://esm.sh/*@preact/signals@1.2.1", - "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.0", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", + "@preact/signals": "https://esm.sh/*@preact/signals@1.2.2", + "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.1", "@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.211.0/", + "$std/": "https://deno.land/std@0.216.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", diff --git a/demo/deno.json b/demo/deno.json index bb206679..31da0367 100644 --- a/demo/deno.json +++ b/demo/deno.json @@ -5,10 +5,10 @@ }, "imports": { "$fresh/": "../", - "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-core": "https://esm.sh/@preact/signals-core@1.2.3" + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", + "@preact/signals": "https://esm.sh/*@preact/signals@1.2.2", + "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.1" }, "compilerOptions": { "jsx": "react-jsx", diff --git a/docs/latest/examples/migrating-to-tailwind.md b/docs/latest/examples/migrating-to-tailwind.md index e4ac0854..0d92dd35 100644 --- a/docs/latest/examples/migrating-to-tailwind.md +++ b/docs/latest/examples/migrating-to-tailwind.md @@ -83,8 +83,8 @@ export default { + "nodeModulesDir": true, "imports": { "$fresh/": "https://deno.land/x/fresh@1.5.2/", - "preact": "https://esm.sh/preact@10.19.2", - "preact/": "https://esm.sh/preact@10.19.2/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", - "twind": "https://esm.sh/twind@0.16.19", - "twind/": "https://esm.sh/twind@0.16.19/", + "tailwindcss": "npm:tailwindcss@3.4.1", diff --git a/docs/latest/examples/using-fresh-canary-version.md b/docs/latest/examples/using-fresh-canary-version.md index 99815d59..d142f5f6 100644 --- a/docs/latest/examples/using-fresh-canary-version.md +++ b/docs/latest/examples/using-fresh-canary-version.md @@ -22,8 +22,8 @@ instead this one particular commit? Just make the following changes to your "imports": { - "$fresh/": "https://deno.land/x/fresh@1.2.0/", + "$fresh/": "https://raw.githubusercontent.com/denoland/fresh/the-particular-commit-hash-here/", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", ``` ### Forked Fresh @@ -39,8 +39,8 @@ been merged yet (at the time of writing this): "imports": { - "$fresh/": "https://deno.land/x/fresh@1.2.0/", + "$fresh/": "https://raw.githubusercontent.com/deer/fresh/state_in_props/", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", ``` ## Creating a new project diff --git a/plugins/tailwind.ts b/plugins/tailwind.ts index 8383d7de..8668bbac 100644 --- a/plugins/tailwind.ts +++ b/plugins/tailwind.ts @@ -1,7 +1,7 @@ import { Plugin, PluginMiddleware, ResolvedFreshConfig } from "../server.ts"; -import type postcss from "npm:postcss@8.4.33"; -import * as path from "https://deno.land/std@0.207.0/path/mod.ts"; -import { walk } from "https://deno.land/std@0.207.0/fs/walk.ts"; +import type postcss from "npm:postcss@8.4.35"; +import * as path from "https://deno.land/std@0.216.0/path/mod.ts"; +import { walk } from "https://deno.land/std@0.216.0/fs/walk.ts"; import { TailwindPluginOptions } from "./tailwind/types.ts"; async function initTailwind( diff --git a/plugins/tailwind/compiler.ts b/plugins/tailwind/compiler.ts index f75500de..f1c08e1d 100644 --- a/plugins/tailwind/compiler.ts +++ b/plugins/tailwind/compiler.ts @@ -1,9 +1,9 @@ import { ResolvedFreshConfig } from "../../server.ts"; import tailwindCss, { Config } from "tailwindcss"; -import postcss from "npm:postcss@8.4.33"; +import postcss from "npm:postcss@8.4.35"; import cssnano from "npm:cssnano@6.0.3"; import autoprefixer from "npm:autoprefixer@10.4.17"; -import * as path from "https://deno.land/std@0.207.0/path/mod.ts"; +import * as path from "https://deno.land/std@0.216.0/path/mod.ts"; import { TailwindPluginOptions } from "./types.ts"; const CONFIG_EXTENSIONS = ["ts", "js", "mjs"]; diff --git a/src/build/deps.ts b/src/build/deps.ts index 8931a146..5fd07248 100644 --- a/src/build/deps.ts +++ b/src/build/deps.ts @@ -4,7 +4,7 @@ export { join, relative, toFileUrl, -} 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"; +} from "https://deno.land/std@0.216.0/path/mod.ts"; +export { escape as regexpEscape } from "https://deno.land/std@0.216.0/regexp/escape.ts"; export { denoPlugins } from "https://deno.land/x/esbuild_deno_loader@0.8.5/mod.ts"; -export { assertEquals } from "https://deno.land/std@0.211.0/assert/mod.ts"; +export { assertEquals } from "https://deno.land/std@0.216.0/assert/mod.ts"; diff --git a/src/dev/deps.ts b/src/dev/deps.ts index 8370454a..707aad32 100644 --- a/src/dev/deps.ts +++ b/src/dev/deps.ts @@ -7,26 +7,26 @@ export { join, relative, resolve, - SEP, + SEPARATOR, toFileUrl, -} 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"; +} from "https://deno.land/std@0.216.0/path/mod.ts"; +export { normalize } from "https://deno.land/std@0.216.0/path/posix/mod.ts"; +export { DAY, WEEK } from "https://deno.land/std@0.216.0/datetime/constants.ts"; +export * as colors from "https://deno.land/std@0.216.0/fmt/colors.ts"; export { walk, type WalkEntry, WalkError, -} from "https://deno.land/std@0.211.0/fs/walk.ts"; -export { parse } from "https://deno.land/std@0.211.0/flags/mod.ts"; +} from "https://deno.land/std@0.216.0/fs/walk.ts"; +export { parse } from "https://deno.land/std@0.216.0/flags/mod.ts"; export { - gte, - lt, + greaterOrEqual, + lessThan, parse as semverParse, -} 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"; +} from "https://deno.land/std@0.216.0/semver/mod.ts"; +export { emptyDir, existsSync } from "https://deno.land/std@0.216.0/fs/mod.ts"; +export * as JSONC from "https://deno.land/std@0.216.0/jsonc/mod.ts"; +export { assertEquals } from "https://deno.land/std@0.216.0/assert/mod.ts"; // 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@21.0.1/mod.ts"; diff --git a/src/dev/imports.ts b/src/dev/imports.ts index 14689364..8425fd9c 100644 --- a/src/dev/imports.ts +++ b/src/dev/imports.ts @@ -1,10 +1,10 @@ -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_PREACT_VERSION = "10.19.5"; +export const RECOMMENDED_PREACT_SIGNALS_VERSION = "1.2.2"; +export const RECOMMENDED_PREACT_SIGNALS_CORE_VERSION = "1.5.1"; export const RECOMMENDED_TWIND_CORE_VERSION = "1.1.3"; export const RECOMMENDED_TWIND_PRESET_AUTOPREFIX_VERSION = "1.0.7"; export const RECOMMENDED_TWIND_PRESET_TAILWIND_VERSION = "1.1.4"; -export const RECOMMENDED_STD_VERSION = "0.211.0"; +export const RECOMMENDED_STD_VERSION = "0.216.0"; export const RECOMMENDED_TAILIWIND_VERSION = "3.4.1"; export function freshImports(imports: Record) { diff --git a/src/dev/mod.ts b/src/dev/mod.ts index 68fc6a85..d2d47bb3 100644 --- a/src/dev/mod.ts +++ b/src/dev/mod.ts @@ -1,4 +1,11 @@ -import { gte, join, relative, semverParse, walk, WalkEntry } from "./deps.ts"; +import { + greaterOrEqual, + join, + relative, + semverParse, + walk, + WalkEntry, +} from "./deps.ts"; export { generate, type Manifest } from "./manifest.ts"; import { generate, type Manifest } from "./manifest.ts"; import { error } from "./error.ts"; @@ -7,7 +14,12 @@ const TEST_FILE_PATTERN = /[._]test\.(?:[tj]sx?|[mc][tj]s)$/; export function ensureMinDenoVersion() { // Check that the minimum supported Deno version is being used. - if (!gte(semverParse(Deno.version.deno), semverParse(MIN_DENO_VERSION))) { + if ( + !greaterOrEqual( + semverParse(Deno.version.deno), + semverParse(MIN_DENO_VERSION), + ) + ) { let message = `Deno version ${MIN_DENO_VERSION} or higher is required. Please update Deno.\n\n`; diff --git a/src/dev/update_check.ts b/src/dev/update_check.ts index b59c0b0f..a20cf23e 100644 --- a/src/dev/update_check.ts +++ b/src/dev/update_check.ts @@ -1,4 +1,4 @@ -import { colors, join, lt, semverParse } from "./deps.ts"; +import { colors, join, lessThan, semverParse } from "./deps.ts"; export interface CheckFile { last_checked: string; @@ -118,7 +118,7 @@ export async function updateCheck( if ( (!checkFile.last_shown || Date.now() >= new Date(checkFile.last_shown).getTime() + interval) && - lt(currentVersion, latestVersion) + lessThan(currentVersion, latestVersion) ) { checkFile.last_shown = new Date().toISOString(); diff --git a/src/server/compose.ts b/src/server/compose.ts index cdf4ab5e..ea62e40c 100644 --- a/src/server/compose.ts +++ b/src/server/compose.ts @@ -1,4 +1,4 @@ -import { SEP } from "./deps.ts"; +import { SEPARATOR } from "./deps.ts"; import { ErrorHandler, FinalHandler, RouteResult, withBase } from "./router.ts"; import { BaseRoute, @@ -10,7 +10,7 @@ import { export const ROOT_BASE_ROUTE = toBaseRoute("/"); export function toBaseRoute(input: string): BaseRoute { - input = input.replaceAll(SEP, "/"); + input = input.replaceAll(SEPARATOR, "/"); if (input.endsWith("_layout")) { input = input.slice(0, -"_layout".length); diff --git a/src/server/context.ts b/src/server/context.ts index 8bdcee4c..19e96ca4 100644 --- a/src/server/context.ts +++ b/src/server/context.ts @@ -1,4 +1,4 @@ -import { contentType, extname, SEP, STATUS_CODE } from "./deps.ts"; +import { contentType, extname, SEPARATOR, STATUS_CODE } from "./deps.ts"; import * as router from "./router.ts"; import { FreshConfig, FreshContext, Manifest } from "./mod.ts"; import { @@ -353,7 +353,7 @@ export class ServerContext { const { localUrl, path, size, contentType, etag } of this.#extractResult .staticFiles ) { - staticRoutes[path.replaceAll(SEP, "/")] = { + staticRoutes[path.replaceAll(SEPARATOR, "/")] = { baseRoute: toBaseRoute(path), methods: { "HEAD": this.#staticFileHandler( diff --git a/src/server/deps.ts b/src/server/deps.ts index 12e5a3c7..41d883cf 100644 --- a/src/server/deps.ts +++ b/src/server/deps.ts @@ -6,30 +6,30 @@ export { fromFileUrl, isAbsolute, join, - SEP, + SEPARATOR, toFileUrl, -} 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"; +} from "https://deno.land/std@0.216.0/path/mod.ts"; +export { walk } from "https://deno.land/std@0.216.0/fs/walk.ts"; +export * as colors from "https://deno.land/std@0.216.0/fmt/colors.ts"; export { type Handler as ServeHandler, serve, -} 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"; +} from "https://deno.land/std@0.216.0/http/server.ts"; +export { STATUS_CODE } from "https://deno.land/std@0.216.0/http/status.ts"; export { contentType, -} 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"; +} from "https://deno.land/std@0.216.0/media_types/content_type.ts"; +export { encodeHex } from "https://deno.land/std@0.216.0/encoding/hex.ts"; +export { escape } from "https://deno.land/std@0.216.0/regexp/escape.ts"; +export * as JSONC from "https://deno.land/std@0.216.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.211.0/assert/mod.ts"; +} from "https://deno.land/std@0.216.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.211.0/path/posix/mod.ts"; -export { assertSnapshot } from "https://deno.land/std@0.211.0/testing/snapshot.ts"; +export { normalize } from "https://deno.land/std@0.216.0/path/posix/mod.ts"; +export { assertSnapshot } from "https://deno.land/std@0.216.0/testing/snapshot.ts"; diff --git a/src/server/fs_extract.ts b/src/server/fs_extract.ts index ef32620a..3a0cca33 100644 --- a/src/server/fs_extract.ts +++ b/src/server/fs_extract.ts @@ -26,7 +26,7 @@ import { dirname, extname, join, - SEP, + SEPARATOR, toFileUrl, walk, } from "./deps.ts"; @@ -111,7 +111,7 @@ export async function extractRoutes( const path = url.substring(baseUrl.length + "routes".length); let baseRoute = path.substring(1, path.length - extname(path).length); baseRoute = join(state.config.basePath.slice(1), baseRoute).replaceAll( - SEP, + SEPARATOR, "/", ); const name = baseRoute.replace(/\//g, "-"); diff --git a/src/server/rendering/preact_hooks.ts b/src/server/rendering/preact_hooks.ts index 48266d87..d935dadd 100644 --- a/src/server/rendering/preact_hooks.ts +++ b/src/server/rendering/preact_hooks.ts @@ -11,7 +11,7 @@ import { } from "preact"; import { assetHashingHook } from "../../runtime/utils.ts"; import { Partial, PartialProps } from "../../runtime/Partial.tsx"; -import { join, renderToString, SEP } from "../deps.ts"; +import { join, renderToString, SEPARATOR } from "../deps.ts"; import { RenderState } from "./state.ts"; import { Island } from "../types.ts"; import { @@ -238,7 +238,7 @@ options.vnode = (vnode) => { if (url.startsWith("/") && current?.basePath) { const joinedPath = join("/", current.basePath, url).replaceAll( - SEP, + SEPARATOR, "/", ); out.push(leading + joinedPath + trailing); diff --git a/tests/deps.ts b/tests/deps.ts index 9d719935..9b15b867 100644 --- a/tests/deps.ts +++ b/tests/deps.ts @@ -15,13 +15,13 @@ export { assertRejects, assertStringIncludes, assertThrows, -} from "https://deno.land/std@0.211.0/assert/mod.ts"; -export { assertSnapshot } from "https://deno.land/std@0.211.0/testing/snapshot.ts"; +} from "https://deno.land/std@0.216.0/assert/mod.ts"; +export { assertSnapshot } from "https://deno.land/std@0.216.0/testing/snapshot.ts"; export { TextLineStream, -} 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"; +} from "https://deno.land/std@0.216.0/streams/text_line_stream.ts"; +export { delay } from "https://deno.land/std@0.216.0/async/delay.ts"; +export { retry } from "https://deno.land/std@0.216.0/async/retry.ts"; export { default as puppeteer, Page, @@ -31,10 +31,10 @@ export { DOMParser, HTMLElement, HTMLMetaElement, -} from "https://esm.sh/linkedom@0.15.1"; +} from "https://esm.sh/linkedom@0.16.8"; 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.211.0/fs/mod.ts"; +export { copy } from "https://deno.land/std@0.216.0/fs/mod.ts"; export { basename, dirname, @@ -42,10 +42,10 @@ export { fromFileUrl, join, relative, - SEP, + SEPARATOR, toFileUrl, -} 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"; +} from "https://deno.land/std@0.216.0/path/mod.ts"; +export * as JSONC from "https://deno.land/std@0.216.0/jsonc/mod.ts"; +export * as colors from "https://deno.land/std@0.216.0/fmt/colors.ts"; +export { STATUS_CODE } from "https://deno.land/std@0.216.0/http/status.ts"; +export { stripAnsiCode } from "https://deno.land/std@0.216.0/fmt/colors.ts"; diff --git a/tests/fixture/deno.json b/tests/fixture/deno.json index 72ead789..b152e1d8 100644 --- a/tests/fixture/deno.json +++ b/tests/fixture/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.5", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.3.1" }, diff --git a/tests/fixture/routes/ctx_config.tsx b/tests/fixture/routes/ctx_config.tsx index 01ee1339..0a570136 100644 --- a/tests/fixture/routes/ctx_config.tsx +++ b/tests/fixture/routes/ctx_config.tsx @@ -1,10 +1,10 @@ import { defineRoute } from "$fresh/server.ts"; -import { relative, SEP } from "$fresh/tests/deps.ts"; +import { relative, SEPARATOR } from "$fresh/tests/deps.ts"; export default defineRoute((_req, ctx) => { const value = JSON.stringify(ctx, (key, value) => { if (key === "outDir" || key == "staticDir") { - return relative(Deno.cwd(), value).split(SEP).join("/"); + return relative(Deno.cwd(), value).split(SEPARATOR).join("/"); } if (typeof value === "function") return value.constructor.name; if (value === undefined) return ""; diff --git a/tests/fixture/routes/ctx_config_props.tsx b/tests/fixture/routes/ctx_config_props.tsx index 5f06bae7..e2b7c04f 100644 --- a/tests/fixture/routes/ctx_config_props.tsx +++ b/tests/fixture/routes/ctx_config_props.tsx @@ -1,10 +1,10 @@ import { PageProps } from "$fresh/server.ts"; -import { relative, SEP } from "../../deps.ts"; +import { relative, SEPARATOR } from "../../deps.ts"; export default function Page(props: PageProps) { const value = JSON.stringify(props, (key, value) => { if (key === "outDir" || key == "staticDir") { - return relative(Deno.cwd(), value).split(SEP).join("/"); + return relative(Deno.cwd(), value).split(SEPARATOR).join("/"); } if (typeof value === "function") return value.constructor.name; if (value === undefined) return ""; diff --git a/tests/fixture_base_path/deno.json b/tests/fixture_base_path/deno.json index 8c3bdc24..91b04136 100644 --- a/tests/fixture_base_path/deno.json +++ b/tests/fixture_base_path/deno.json @@ -5,8 +5,8 @@ }, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "@preact/signals": "https://esm.sh/*@preact/signals@1.2.2", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.0", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.1.0", diff --git a/tests/fixture_base_path_build/deno.json b/tests/fixture_base_path_build/deno.json index 6e495542..16892173 100644 --- a/tests/fixture_base_path_build/deno.json +++ b/tests/fixture_base_path_build/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "tailwindcss": "npm:tailwindcss@3.4.1" }, "compilerOptions": { diff --git a/tests/fixture_base_path_config/deno.json b/tests/fixture_base_path_config/deno.json index 6e495542..16892173 100644 --- a/tests/fixture_base_path_config/deno.json +++ b/tests/fixture_base_path_config/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "tailwindcss": "npm:tailwindcss@3.4.1" }, "compilerOptions": { diff --git a/tests/fixture_build/deno.json b/tests/fixture_build/deno.json index fe6caa19..74c1ec44 100644 --- a/tests/fixture_build/deno.json +++ b/tests/fixture_build/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" }, diff --git a/tests/fixture_build_out_dir/deno.json b/tests/fixture_build_out_dir/deno.json index 9d782057..9a736b3e 100644 --- a/tests/fixture_build_out_dir/deno.json +++ b/tests/fixture_build_out_dir/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" diff --git a/tests/fixture_build_out_dir_sub/deno.json b/tests/fixture_build_out_dir_sub/deno.json index 9d782057..9a736b3e 100644 --- a/tests/fixture_build_out_dir_sub/deno.json +++ b/tests/fixture_build_out_dir_sub/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" diff --git a/tests/fixture_build_out_dir_sub2/deno.json b/tests/fixture_build_out_dir_sub2/deno.json index 9d782057..9a736b3e 100644 --- a/tests/fixture_build_out_dir_sub2/deno.json +++ b/tests/fixture_build_out_dir_sub2/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" diff --git a/tests/fixture_build_static/deno.json b/tests/fixture_build_static/deno.json index fe6caa19..74c1ec44 100644 --- a/tests/fixture_build_static/deno.json +++ b/tests/fixture_build_static/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" }, diff --git a/tests/fixture_build_sub_dir/deno.json b/tests/fixture_build_sub_dir/deno.json index 9d782057..9a736b3e 100644 --- a/tests/fixture_build_sub_dir/deno.json +++ b/tests/fixture_build_sub_dir/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" diff --git a/tests/fixture_build_target/deno.json b/tests/fixture_build_target/deno.json index 9d782057..9a736b3e 100644 --- a/tests/fixture_build_target/deno.json +++ b/tests/fixture_build_target/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" diff --git a/tests/fixture_config/deno.json b/tests/fixture_config/deno.json index 9d782057..9a736b3e 100644 --- a/tests/fixture_config/deno.json +++ b/tests/fixture_config/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" diff --git a/tests/fixture_custom_500/deno.json b/tests/fixture_custom_500/deno.json index 95bc3f0c..fdb88cc4 100644 --- a/tests/fixture_custom_500/deno.json +++ b/tests/fixture_custom_500/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/" + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/" }, "compilerOptions": { "jsx": "react-jsx", diff --git a/tests/fixture_error/deno.json b/tests/fixture_error/deno.json index 95bc3f0c..fdb88cc4 100644 --- a/tests/fixture_error/deno.json +++ b/tests/fixture_error/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/" + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/" }, "compilerOptions": { "jsx": "react-jsx", diff --git a/tests/fixture_group_index/deno.json b/tests/fixture_group_index/deno.json index 2b2fa78e..d9d600b5 100644 --- a/tests/fixture_group_index/deno.json +++ b/tests/fixture_group_index/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1" }, "compilerOptions": { diff --git a/tests/fixture_hmr/deno.json b/tests/fixture_hmr/deno.json index 2b73c679..1e111d17 100644 --- a/tests/fixture_hmr/deno.json +++ b/tests/fixture_hmr/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.5", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.3.1" diff --git a/tests/fixture_invalid_handlers/deno.json b/tests/fixture_invalid_handlers/deno.json index 95bc3f0c..fdb88cc4 100644 --- a/tests/fixture_invalid_handlers/deno.json +++ b/tests/fixture_invalid_handlers/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/" + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/" }, "compilerOptions": { "jsx": "react-jsx", diff --git a/tests/fixture_island_nesting/deno.json b/tests/fixture_island_nesting/deno.json index 752aae1f..f84bc9b6 100644 --- a/tests/fixture_island_nesting/deno.json +++ b/tests/fixture_island_nesting/deno.json @@ -5,8 +5,8 @@ }, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.16.0", - "preact/": "https://esm.sh/preact@10.16.0/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" }, diff --git a/tests/fixture_islands_multiple/deno.json b/tests/fixture_islands_multiple/deno.json index 4353235b..4bce46ed 100644 --- a/tests/fixture_islands_multiple/deno.json +++ b/tests/fixture_islands_multiple/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.19.2", - "preact/": "https://esm.sh/preact@10.19.2/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "@preact/signals": "https://esm.sh/*@preact/signals@1.2.2", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.0" }, diff --git a/tests/fixture_jsx_pragma/deno.json b/tests/fixture_jsx_pragma/deno.json index 90d404c1..dcd1358f 100644 --- a/tests/fixture_jsx_pragma/deno.json +++ b/tests/fixture_jsx_pragma/deno.json @@ -2,7 +2,7 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/" + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/" } } diff --git a/tests/fixture_jsx_precompile/deno.json b/tests/fixture_jsx_precompile/deno.json index b6a9e444..6e33e60a 100644 --- a/tests/fixture_jsx_precompile/deno.json +++ b/tests/fixture_jsx_precompile/deno.json @@ -6,7 +6,7 @@ }, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.19.2", - "preact/": "https://esm.sh/preact@10.19.2/" + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/" } } diff --git a/tests/fixture_npm/deno.json b/tests/fixture_npm/deno.json index fe6caa19..74c1ec44 100644 --- a/tests/fixture_npm/deno.json +++ b/tests/fixture_npm/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" }, diff --git a/tests/fixture_partials/deno.json b/tests/fixture_partials/deno.json index c4df0177..beba8628 100644 --- a/tests/fixture_partials/deno.json +++ b/tests/fixture_partials/deno.json @@ -7,8 +7,8 @@ "$fresh/": "../../", "twind": "https://esm.sh/twind@0.16.19", "twind/": "https://esm.sh/twind@0.16.19/", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.1.0", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" diff --git a/tests/fixture_plugin/deno.json b/tests/fixture_plugin/deno.json index 95bc3f0c..fdb88cc4 100644 --- a/tests/fixture_plugin/deno.json +++ b/tests/fixture_plugin/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/" + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/" }, "compilerOptions": { "jsx": "react-jsx", diff --git a/tests/fixture_plugin_error/deno.json b/tests/fixture_plugin_error/deno.json index 3c18115d..4fa1495f 100644 --- a/tests/fixture_plugin_error/deno.json +++ b/tests/fixture_plugin_error/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3", diff --git a/tests/fixture_plugin_html/deno.json b/tests/fixture_plugin_html/deno.json index 95bc3f0c..fdb88cc4 100644 --- a/tests/fixture_plugin_html/deno.json +++ b/tests/fixture_plugin_html/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/" + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/" }, "compilerOptions": { "jsx": "react-jsx", diff --git a/tests/fixture_plugin_lifecycle/deno.json b/tests/fixture_plugin_lifecycle/deno.json index 2b2fa78e..d9d600b5 100644 --- a/tests/fixture_plugin_lifecycle/deno.json +++ b/tests/fixture_plugin_lifecycle/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1" }, "compilerOptions": { diff --git a/tests/fixture_plugin_middleware/deno.json b/tests/fixture_plugin_middleware/deno.json index 95bc3f0c..fdb88cc4 100644 --- a/tests/fixture_plugin_middleware/deno.json +++ b/tests/fixture_plugin_middleware/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/" + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/" }, "compilerOptions": { "jsx": "react-jsx", diff --git a/tests/fixture_plugin_resolved_dev/deno.json b/tests/fixture_plugin_resolved_dev/deno.json index 2b2fa78e..d9d600b5 100644 --- a/tests/fixture_plugin_resolved_dev/deno.json +++ b/tests/fixture_plugin_resolved_dev/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1" }, "compilerOptions": { diff --git a/tests/fixture_render/deno.json b/tests/fixture_render/deno.json index 2b2fa78e..d9d600b5 100644 --- a/tests/fixture_render/deno.json +++ b/tests/fixture_render/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1" }, "compilerOptions": { diff --git a/tests/fixture_render_error/deno.json b/tests/fixture_render_error/deno.json index 95bc3f0c..fdb88cc4 100644 --- a/tests/fixture_render_error/deno.json +++ b/tests/fixture_render_error/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/" + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/" }, "compilerOptions": { "jsx": "react-jsx", diff --git a/tests/fixture_route_analysis/deno.json b/tests/fixture_route_analysis/deno.json index 528977fe..e6330fd0 100644 --- a/tests/fixture_route_analysis/deno.json +++ b/tests/fixture_route_analysis/deno.json @@ -6,8 +6,8 @@ }, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "@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.211.0/" diff --git a/tests/fixture_router_ignore_files/deno.json b/tests/fixture_router_ignore_files/deno.json index 2b73c679..1e111d17 100644 --- a/tests/fixture_router_ignore_files/deno.json +++ b/tests/fixture_router_ignore_files/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.5", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.3.1" diff --git a/tests/fixture_server_components/deno.json b/tests/fixture_server_components/deno.json index 6f39b459..2dba532b 100644 --- a/tests/fixture_server_components/deno.json +++ b/tests/fixture_server_components/deno.json @@ -7,8 +7,8 @@ "$fresh/": "../../", "twind": "https://esm.sh/twind@0.16.19", "twind/": "https://esm.sh/twind@0.16.19/", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" }, diff --git a/tests/fixture_server_components/routes/context/[id].tsx b/tests/fixture_server_components/routes/context/[id].tsx index a92e28c4..7a4a4034 100644 --- a/tests/fixture_server_components/routes/context/[id].tsx +++ b/tests/fixture_server_components/routes/context/[id].tsx @@ -1,11 +1,11 @@ import { RouteContext } from "../../../../server.ts"; -import { delay, relative, SEP } from "../../../deps.ts"; +import { delay, relative, SEPARATOR } from "../../../deps.ts"; export default async function Foo(_req: Request, context: RouteContext) { await delay(1); const value = JSON.stringify(context, (key, value) => { if (key === "outDir" || key == "staticDir") { - return relative(Deno.cwd(), value).split(SEP).join("/"); + return relative(Deno.cwd(), value).split(SEPARATOR).join("/"); } else if (key === "entrypoints") { return {}; } diff --git a/tests/fixture_static/deno.json b/tests/fixture_static/deno.json index 2b2fa78e..d9d600b5 100644 --- a/tests/fixture_static/deno.json +++ b/tests/fixture_static/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1" }, "compilerOptions": { diff --git a/tests/fixture_tailwind/deno.json b/tests/fixture_tailwind/deno.json index 6e495542..16892173 100644 --- a/tests/fixture_tailwind/deno.json +++ b/tests/fixture_tailwind/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "tailwindcss": "npm:tailwindcss@3.4.1" }, "compilerOptions": { diff --git a/tests/fixture_tailwind_build/deno.json b/tests/fixture_tailwind_build/deno.json index 6e495542..16892173 100644 --- a/tests/fixture_tailwind_build/deno.json +++ b/tests/fixture_tailwind_build/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "tailwindcss": "npm:tailwindcss@3.4.1" }, "compilerOptions": { diff --git a/tests/fixture_tailwind_build_2/deno.json b/tests/fixture_tailwind_build_2/deno.json index 6e495542..16892173 100644 --- a/tests/fixture_tailwind_build_2/deno.json +++ b/tests/fixture_tailwind_build_2/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "tailwindcss": "npm:tailwindcss@3.4.1" }, "compilerOptions": { diff --git a/tests/fixture_tailwind_config/deno.json b/tests/fixture_tailwind_config/deno.json index 6e495542..16892173 100644 --- a/tests/fixture_tailwind_config/deno.json +++ b/tests/fixture_tailwind_config/deno.json @@ -2,8 +2,8 @@ "lock": false, "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "tailwindcss": "npm:tailwindcss@3.4.1" }, "compilerOptions": { diff --git a/tests/fixture_twind_app/deno.json b/tests/fixture_twind_app/deno.json index 6f39b459..2dba532b 100644 --- a/tests/fixture_twind_app/deno.json +++ b/tests/fixture_twind_app/deno.json @@ -7,8 +7,8 @@ "$fresh/": "../../", "twind": "https://esm.sh/twind@0.16.19", "twind/": "https://esm.sh/twind@0.16.19/", - "preact": "https://esm.sh/preact@10.15.1", - "preact/": "https://esm.sh/preact@10.15.1/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" }, diff --git a/tests/www/components/gallery/LinkButton.test.tsx b/tests/www/components/gallery/LinkButton.test.tsx index 446a2ec2..e491fb62 100644 --- a/tests/www/components/gallery/LinkButton.test.tsx +++ b/tests/www/components/gallery/LinkButton.test.tsx @@ -8,7 +8,7 @@ import { import { cleanup, fireEvent, render, setup } from "$fresh-testing-library"; import { afterEach, beforeAll, describe, it } from "$std/testing/bdd.ts"; import LinkButton from "../../../../www/components/gallery/LinkButton.tsx"; -import IconHeart from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/heart.tsx"; +import IconHeart from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/heart.tsx"; describe("components/gallery/LinkButton.tsx", () => { beforeAll(setup); diff --git a/www/components/gallery/Carousel.tsx b/www/components/gallery/Carousel.tsx index f55ef458..9cca73e8 100644 --- a/www/components/gallery/Carousel.tsx +++ b/www/components/gallery/Carousel.tsx @@ -1,8 +1,8 @@ import { asset } from "$fresh/runtime.ts"; import { useSignal } from "@preact/signals"; import { useEffect, useRef } from "preact/hooks"; -import IconCircleChevronsRight from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/circle-chevrons-right.tsx"; -import IconCircleChevronsLeft from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/circle-chevrons-left.tsx"; +import IconCircleChevronsRight from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/circle-chevrons-right.tsx"; +import IconCircleChevronsLeft from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/circle-chevrons-left.tsx"; const SLIDE_DATA = [ { diff --git a/www/components/gallery/Features.tsx b/www/components/gallery/Features.tsx index 969f6512..4addb0cb 100644 --- a/www/components/gallery/Features.tsx +++ b/www/components/gallery/Features.tsx @@ -1,7 +1,7 @@ -import IconAlarm from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/alarm.tsx"; -import IconAirBalloon from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/air-balloon.tsx"; -import IconArmchair from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/armchair.tsx"; -import IconChevronRight from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/chevron-right.tsx"; +import IconAlarm from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/alarm.tsx"; +import IconAirBalloon from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/air-balloon.tsx"; +import IconArmchair from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/armchair.tsx"; +import IconChevronRight from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/chevron-right.tsx"; export default function Features() { const featureItems = [ diff --git a/www/components/gallery/Footer.tsx b/www/components/gallery/Footer.tsx index db94cd66..c7599c9a 100644 --- a/www/components/gallery/Footer.tsx +++ b/www/components/gallery/Footer.tsx @@ -1,5 +1,5 @@ -import LemonIcon from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/lemon-2.tsx"; -import BrandGithub from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/brand-github.tsx"; +import LemonIcon from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/lemon-2.tsx"; +import BrandGithub from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/brand-github.tsx"; export default function Footer() { const menus = [ diff --git a/www/components/gallery/Header.tsx b/www/components/gallery/Header.tsx index efb35f81..d4e5142e 100644 --- a/www/components/gallery/Header.tsx +++ b/www/components/gallery/Header.tsx @@ -1,4 +1,4 @@ -import LemonIcon from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/lemon-2.tsx"; +import LemonIcon from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/lemon-2.tsx"; type Props = { active: string; diff --git a/www/components/gallery/Hero.tsx b/www/components/gallery/Hero.tsx index 128b5093..9d489dc7 100644 --- a/www/components/gallery/Hero.tsx +++ b/www/components/gallery/Hero.tsx @@ -1,4 +1,4 @@ -import IconChevronRight from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/chevron-right.tsx"; +import IconChevronRight from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/chevron-right.tsx"; export default function Hero() { return ( diff --git a/www/deno.json b/www/deno.json index 555a1c2c..d1179e10 100644 --- a/www/deno.json +++ b/www/deno.json @@ -8,13 +8,13 @@ }, "imports": { "$fresh/": "../", - "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-core": "https://esm.sh/@preact/signals-core@1.2.3", - "$std/": "https://deno.land/std@0.211.0/", + "preact": "https://esm.sh/preact@10.19.5", + "preact/": "https://esm.sh/preact@10.19.5/", + "@preact/signals": "https://esm.sh/*@preact/signals@1.2.2", + "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.1", + "$std/": "https://deno.land/std@0.216.0/", "$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.1.7", "$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/", "tailwindcss": "npm:tailwindcss@3.4.1", diff --git a/www/islands/ComponentGallery.tsx b/www/islands/ComponentGallery.tsx index 629c8561..dad1001d 100644 --- a/www/islands/ComponentGallery.tsx +++ b/www/islands/ComponentGallery.tsx @@ -8,8 +8,8 @@ import Hero from "../components/gallery/Hero.tsx"; import Features from "../components/gallery/Features.tsx"; import Carousel from "../components/gallery/Carousel.tsx"; import { ComponentChildren } from "preact"; -import IconHappy from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/mood-crazy-happy.tsx"; -import IconHeart from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/heart.tsx"; +import IconHappy from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/mood-crazy-happy.tsx"; +import IconHeart from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/heart.tsx"; import Background from "../components/gallery/Background.tsx"; import CodeBox from "../components/gallery/CodeBox.tsx"; diff --git a/www/utils/screenshot.ts b/www/utils/screenshot.ts index 3e32e84d..e2816eae 100644 --- a/www/utils/screenshot.ts +++ b/www/utils/screenshot.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.211.0/path/mod.ts"; +import { Image } from "https://deno.land/x/imagescript@1.2.17/mod.ts"; +import { join } from "https://deno.land/std@0.216.0/path/mod.ts"; const url = Deno.args[0]; const id = Deno.args[1];