Skip to content

Commit a05a117

Browse files
committed
chore: update copyright year from 2024 to 2025 in all relevant files
1 parent 48f6453 commit a05a117

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+67
-67
lines changed

components/Footer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { SITE_NAME } from "@/utils/constants.ts";
33
import IconBrandDiscord from "tabler_icons_tsx/brand-discord.tsx";
44
import IconBrandGithub from "tabler_icons_tsx/brand-github.tsx";

components/GitHubAvatarImg.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
export interface GitHubAvatarImgProps {
33
/** The GitHub user's username */
44
login: string;

components/Head.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { Head as _Head } from "$fresh/runtime.ts";
33
import Meta, { type MetaProps } from "./Meta.tsx";
44
import { SITE_DESCRIPTION, SITE_NAME } from "@/utils/constants.ts";

components/Header.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { SITE_NAME } from "@/utils/constants.ts";
33
import { isStripeEnabled } from "@/utils/stripe.ts";
44
import IconX from "tabler_icons_tsx/x.tsx";

components/Meta.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
export interface MetaProps {
33
/** Title of the current page */
44
title: string;

components/PremiumBadge.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
interface PremiumBadgeProps {
33
class?: string;
44
}

components/TabsBar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { ComponentChildren } from "preact";
33

44
export interface TabItemProps {

dev.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env -S deno run -A --watch=static/,routes/
2-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
2+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
33

44
import dev from "$fresh/dev.ts";
55
import config from "./fresh.config.ts";

e2e_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22

33
import { createHandler } from "$fresh/server.ts";
44
import manifest from "@/fresh.gen.ts";

fresh.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import tailwind from "$fresh/plugins/tailwind.ts";
33
import kvOAuthPlugin from "./plugins/kv_oauth.ts";
44
import sessionPlugin from "./plugins/session.ts";

islands/Chart.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
export { Chart as default } from "fresh_charts/island.tsx";

islands/ItemsList.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { Signal, useComputed, useSignal } from "@preact/signals";
33
import { useEffect } from "preact/hooks";
44
import { type Item } from "@/utils/db.ts";

islands/UsersTable.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { useSignal } from "@preact/signals";
33
import { useEffect } from "preact/hooks";
44
import type { User } from "@/utils/db.ts";

main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
/// <reference no-default-lib="true" />
33
/// <reference lib="dom" />
44
/// <reference lib="dom.iterable" />

plugins/blog/components/Share.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import IconBrandFacebook from "tabler_icons_tsx/brand-facebook.tsx";
33
import IconBrandLinkedin from "tabler_icons_tsx/brand-linkedin.tsx";
44
import IconBrandReddit from "tabler_icons_tsx/brand-reddit.tsx";

plugins/blog/mod.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { Plugin } from "$fresh/server.ts";
33
import BlogIndex from "./routes/blog/index.tsx";
44
import BlogSlug from "./routes/blog/[slug].tsx";

plugins/blog/routes/blog/[slug].tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { defineRoute } from "$fresh/server.ts";
33
import { CSS, render } from "jsr:@deno/gfm";
44
import { getPost } from "../../utils/posts.ts";

plugins/blog/routes/blog/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { defineRoute } from "$fresh/server.ts";
33
import { getPosts, type Post } from "../../utils/posts.ts";
44
import Head from "@/components/Head.tsx";

plugins/blog/routes/feed.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { Feed } from "npm:[email protected]";
33
import { getPosts } from "../utils/posts.ts";
44
import { SITE_NAME } from "@/utils/constants.ts";

plugins/blog/utils/posts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { extract } from "$std/front_matter/yaml.ts";
33
import { join } from "$std/path/join.ts";
44

plugins/blog/utils/posts_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { getPost, getPosts } from "./posts.ts";
33

44
import { assert, assertEquals } from "$std/assert/mod.ts";

plugins/error_handling.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { Plugin } from "$fresh/server.ts";
33
import type { State } from "@/plugins/session.ts";
44
import { BadRequestError, redirect, UnauthorizedError } from "@/utils/http.ts";

plugins/kv_oauth.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { Plugin } from "$fresh/server.ts";
33
import {
44
createGitHubOAuthConfig,

plugins/security_headers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { Plugin } from "$fresh/server.ts";
33

44
export default {

plugins/session.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { Plugin } from "$fresh/server.ts";
33
import type { FreshContext } from "$fresh/server.ts";
44
import { getSessionId } from "kv_oauth/mod.ts";

plugins/welcome.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { Plugin } from "$fresh/server.ts";
33
import { isGitHubSetup } from "@/utils/github.ts";
44
import { redirect } from "@/utils/http.ts";

routes/_404.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22

33
export default function NotFoundPage() {
44
return (

routes/_500.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { PageProps } from "$fresh/server.ts";
33

44
export default function Error500Page(props: PageProps) {

routes/_app.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import Header from "@/components/Header.tsx";
33
import Footer from "@/components/Footer.tsx";
44
import type { State } from "@/plugins/session.ts";

routes/account/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { defineRoute } from "$fresh/server.ts";
33
import type { SignedInState } from "@/plugins/session.ts";
44
import { isStripeEnabled } from "@/utils/stripe.ts";

routes/account/manage.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { defineRoute } from "$fresh/server.ts";
33
import type { SignedInState } from "@/plugins/session.ts";
44
import { redirect } from "@/utils/http.ts";

routes/account/upgrade.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { defineRoute } from "$fresh/server.ts";
33
import type { SignedInState } from "@/plugins/session.ts";
44
import { redirect } from "@/utils/http.ts";

routes/api/items/[id].ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { Handlers } from "$fresh/server.ts";
33
import { getItem } from "@/utils/db.ts";
44

routes/api/items/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22

33
import { collectValues, listItems } from "@/utils/db.ts";
44
import { getCursor } from "@/utils/http.ts";

routes/api/me/votes.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { Handlers } from "$fresh/server.ts";
33
import { collectValues, listItemsVotedByUser } from "@/utils/db.ts";
44
import { SignedInState } from "@/plugins/session.ts";

routes/api/stripe-webhooks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { type Handlers } from "$fresh/server.ts";
33
import { STATUS_CODE } from "$std/http/status.ts";
44
import { isStripeEnabled, stripe } from "@/utils/stripe.ts";

routes/api/users/[login]/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { Handlers } from "$fresh/server.ts";
33
import { getUser } from "@/utils/db.ts";
44

routes/api/users/[login]/items.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { Handlers } from "$fresh/server.ts";
33
import { collectValues, getUser, listItemsByUser } from "@/utils/db.ts";
44
import { getCursor } from "@/utils/http.ts";

routes/api/users/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { Handlers } from "$fresh/server.ts";
33
import { collectValues, listUsers } from "@/utils/db.ts";
44
import { getCursor } from "@/utils/http.ts";

routes/api/vote.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { type Handlers } from "$fresh/server.ts";
33
import { STATUS_CODE } from "$std/http/status.ts";
44
import type { SignedInState } from "@/plugins/session.ts";

routes/dashboard/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { redirect } from "@/utils/http.ts";
33
import { Handlers } from "$fresh/server.ts";
44

routes/dashboard/stats.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import Chart from "@/islands/Chart.tsx";
33
import Head from "@/components/Head.tsx";
44
import TabsBar from "@/components/TabsBar.tsx";

routes/dashboard/users.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import Head from "@/components/Head.tsx";
33
import TabsBar from "@/components/TabsBar.tsx";
44
import UsersTable from "@/islands/UsersTable.tsx";

routes/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { State } from "@/plugins/session.ts";
33
import Head from "@/components/Head.tsx";
44
import ItemsList from "@/islands/ItemsList.tsx";

routes/pricing.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { State } from "@/plugins/session.ts";
33
import { assertIsPrice, isStripeEnabled, stripe } from "@/utils/stripe.ts";
44
import { formatCurrency } from "@/utils/display.ts";

routes/submit.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import Head from "@/components/Head.tsx";
33
import IconCheckCircle from "tabler_icons_tsx/circle-check.tsx";
44
import IconCircleX from "tabler_icons_tsx/circle-x.tsx";

routes/users/[login].tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type { State } from "@/plugins/session.ts";
33
import { getUser } from "@/utils/db.ts";
44
import IconBrandGithub from "tabler_icons_tsx/brand-github.tsx";

routes/welcome.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { defineRoute } from "$fresh/src/server/defines.ts";
33
import Head from "@/components/Head.tsx";
44
import { isGitHubSetup } from "@/utils/github.ts";

tailwind.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { type Config } from "tailwindcss";
33

44
export default {

tasks/check_license.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
// Copied from std/_tools/check_license.ts
33

44
import { walk } from "$std/fs/walk.ts";

tasks/db_dump.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
/**
33
* This script prints all entries in the KV database formatted as JSON. This
44
* can be used to create a backup file.

tasks/db_migrate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
/**
33
* This script is used to perform migration jobs on the database. These jobs
44
* can be performed on remote KV instances using

tasks/db_reset.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { kv } from "@/utils/db.ts";
33

44
if (!confirm("WARNING: The database will be reset. Continue?")) Deno.exit();

tasks/db_restore.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
/**
33
* This script is used to restore a KV database by a file generated by the dump
44
* script.

tasks/db_seed.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
// Description: Seeds the kv db with Hacker News stories
33
import { createItem, createUser } from "@/utils/db.ts";
44
import { ulid } from "$std/ulid/mod.ts";

tasks/init_stripe.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import type Stripe from "stripe";
33
import { SITE_DESCRIPTION } from "@/utils/constants.ts";
44
import { isStripeEnabled, stripe } from "@/utils/stripe.ts";

utils/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
export const SITE_NAME = "Deno Hunt (Beta)";
33
export const SITE_DESCRIPTION = "Discover new Deno projects. Share your own.";

utils/db.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22

33
/// <reference lib="deno.unstable" />
44

utils/db_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { assertEquals, assertRejects } from "$std/assert/mod.ts";
33
import { ulid } from "$std/ulid/mod.ts";
44
import {

utils/display.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { difference } from "$std/datetime/difference.ts";
33

44
/**

utils/display_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { formatCurrency, pluralize, timeAgo } from "./display.ts";
33
import { DAY, HOUR, MINUTE, SECOND } from "$std/datetime/constants.ts";
44
import { assertEquals, assertThrows } from "$std/assert/mod.ts";

utils/github.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { createGitHubOAuthConfig } from "kv_oauth/mod.ts";
33
import { BadRequestError } from "@/utils/http.ts";
44

utils/github_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { assertRejects } from "$std/assert/assert_rejects.ts";
33
import { getGitHubUser } from "./github.ts";
44
import { returnsNext, stub } from "$std/testing/mock.ts";

utils/http.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { RedirectStatus, STATUS_CODE } from "$std/http/status.ts";
33

44
/**

utils/http_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { returnsNext, stub } from "$std/testing/mock.ts";
33
import { fetchValues, getCursor, redirect } from "./http.ts";
44
import { assert, assertEquals, assertRejects } from "$std/assert/mod.ts";

utils/stripe.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import Stripe from "stripe";
33
import { AssertionError } from "$std/assert/assertion_error.ts";
44

utils/stripe_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
1+
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
22
import { AssertionError, assertThrows } from "$std/assert/mod.ts";
33
import { assertIsPrice } from "./stripe.ts";
44

0 commit comments

Comments
 (0)