Skip to content

Commit

Permalink
chore: update copyright year from 2024 to 2025 in all relevant files
Browse files Browse the repository at this point in the history
  • Loading branch information
wesenbergg committed Jan 12, 2025
1 parent 48f6453 commit a05a117
Show file tree
Hide file tree
Showing 67 changed files with 67 additions and 67 deletions.
2 changes: 1 addition & 1 deletion components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { SITE_NAME } from "@/utils/constants.ts";
import IconBrandDiscord from "tabler_icons_tsx/brand-discord.tsx";
import IconBrandGithub from "tabler_icons_tsx/brand-github.tsx";
Expand Down
2 changes: 1 addition & 1 deletion components/GitHubAvatarImg.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
export interface GitHubAvatarImgProps {
/** The GitHub user's username */
login: string;
Expand Down
2 changes: 1 addition & 1 deletion components/Head.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { Head as _Head } from "$fresh/runtime.ts";
import Meta, { type MetaProps } from "./Meta.tsx";
import { SITE_DESCRIPTION, SITE_NAME } from "@/utils/constants.ts";
Expand Down
2 changes: 1 addition & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { SITE_NAME } from "@/utils/constants.ts";
import { isStripeEnabled } from "@/utils/stripe.ts";
import IconX from "tabler_icons_tsx/x.tsx";
Expand Down
2 changes: 1 addition & 1 deletion components/Meta.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
export interface MetaProps {
/** Title of the current page */
title: string;
Expand Down
2 changes: 1 addition & 1 deletion components/PremiumBadge.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
interface PremiumBadgeProps {
class?: string;
}
Expand Down
2 changes: 1 addition & 1 deletion components/TabsBar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { ComponentChildren } from "preact";

export interface TabItemProps {
Expand Down
2 changes: 1 addition & 1 deletion dev.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env -S deno run -A --watch=static/,routes/
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.

import dev from "$fresh/dev.ts";
import config from "./fresh.config.ts";
Expand Down
2 changes: 1 addition & 1 deletion e2e_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.

import { createHandler } from "$fresh/server.ts";
import manifest from "@/fresh.gen.ts";
Expand Down
2 changes: 1 addition & 1 deletion fresh.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import tailwind from "$fresh/plugins/tailwind.ts";
import kvOAuthPlugin from "./plugins/kv_oauth.ts";
import sessionPlugin from "./plugins/session.ts";
Expand Down
2 changes: 1 addition & 1 deletion islands/Chart.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
export { Chart as default } from "fresh_charts/island.tsx";
2 changes: 1 addition & 1 deletion islands/ItemsList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { Signal, useComputed, useSignal } from "@preact/signals";
import { useEffect } from "preact/hooks";
import { type Item } from "@/utils/db.ts";
Expand Down
2 changes: 1 addition & 1 deletion islands/UsersTable.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { useSignal } from "@preact/signals";
import { useEffect } from "preact/hooks";
import type { User } from "@/utils/db.ts";
Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
/// <reference no-default-lib="true" />
/// <reference lib="dom" />
/// <reference lib="dom.iterable" />
Expand Down
2 changes: 1 addition & 1 deletion plugins/blog/components/Share.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import IconBrandFacebook from "tabler_icons_tsx/brand-facebook.tsx";
import IconBrandLinkedin from "tabler_icons_tsx/brand-linkedin.tsx";
import IconBrandReddit from "tabler_icons_tsx/brand-reddit.tsx";
Expand Down
2 changes: 1 addition & 1 deletion plugins/blog/mod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { Plugin } from "$fresh/server.ts";
import BlogIndex from "./routes/blog/index.tsx";
import BlogSlug from "./routes/blog/[slug].tsx";
Expand Down
2 changes: 1 addition & 1 deletion plugins/blog/routes/blog/[slug].tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { defineRoute } from "$fresh/server.ts";
import { CSS, render } from "jsr:@deno/gfm";
import { getPost } from "../../utils/posts.ts";
Expand Down
2 changes: 1 addition & 1 deletion plugins/blog/routes/blog/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { defineRoute } from "$fresh/server.ts";
import { getPosts, type Post } from "../../utils/posts.ts";
import Head from "@/components/Head.tsx";
Expand Down
2 changes: 1 addition & 1 deletion plugins/blog/routes/feed.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { Feed } from "npm:feed@4.2.2";
import { getPosts } from "../utils/posts.ts";
import { SITE_NAME } from "@/utils/constants.ts";
Expand Down
2 changes: 1 addition & 1 deletion plugins/blog/utils/posts.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { extract } from "$std/front_matter/yaml.ts";
import { join } from "$std/path/join.ts";

Expand Down
2 changes: 1 addition & 1 deletion plugins/blog/utils/posts_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { getPost, getPosts } from "./posts.ts";

import { assert, assertEquals } from "$std/assert/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion plugins/error_handling.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { Plugin } from "$fresh/server.ts";
import type { State } from "@/plugins/session.ts";
import { BadRequestError, redirect, UnauthorizedError } from "@/utils/http.ts";
Expand Down
2 changes: 1 addition & 1 deletion plugins/kv_oauth.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { Plugin } from "$fresh/server.ts";
import {
createGitHubOAuthConfig,
Expand Down
2 changes: 1 addition & 1 deletion plugins/security_headers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { Plugin } from "$fresh/server.ts";

export default {
Expand Down
2 changes: 1 addition & 1 deletion plugins/session.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { Plugin } from "$fresh/server.ts";
import type { FreshContext } from "$fresh/server.ts";
import { getSessionId } from "kv_oauth/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion plugins/welcome.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { Plugin } from "$fresh/server.ts";
import { isGitHubSetup } from "@/utils/github.ts";
import { redirect } from "@/utils/http.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/_404.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.

export default function NotFoundPage() {
return (
Expand Down
2 changes: 1 addition & 1 deletion routes/_500.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { PageProps } from "$fresh/server.ts";

export default function Error500Page(props: PageProps) {
Expand Down
2 changes: 1 addition & 1 deletion routes/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import Header from "@/components/Header.tsx";
import Footer from "@/components/Footer.tsx";
import type { State } from "@/plugins/session.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/account/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { defineRoute } from "$fresh/server.ts";
import type { SignedInState } from "@/plugins/session.ts";
import { isStripeEnabled } from "@/utils/stripe.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/account/manage.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { defineRoute } from "$fresh/server.ts";
import type { SignedInState } from "@/plugins/session.ts";
import { redirect } from "@/utils/http.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/account/upgrade.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { defineRoute } from "$fresh/server.ts";
import type { SignedInState } from "@/plugins/session.ts";
import { redirect } from "@/utils/http.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/api/items/[id].ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { Handlers } from "$fresh/server.ts";
import { getItem } from "@/utils/db.ts";

Expand Down
2 changes: 1 addition & 1 deletion routes/api/items/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.

import { collectValues, listItems } from "@/utils/db.ts";
import { getCursor } from "@/utils/http.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/api/me/votes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { Handlers } from "$fresh/server.ts";
import { collectValues, listItemsVotedByUser } from "@/utils/db.ts";
import { SignedInState } from "@/plugins/session.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/api/stripe-webhooks.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { type Handlers } from "$fresh/server.ts";
import { STATUS_CODE } from "$std/http/status.ts";
import { isStripeEnabled, stripe } from "@/utils/stripe.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/api/users/[login]/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { Handlers } from "$fresh/server.ts";
import { getUser } from "@/utils/db.ts";

Expand Down
2 changes: 1 addition & 1 deletion routes/api/users/[login]/items.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { Handlers } from "$fresh/server.ts";
import { collectValues, getUser, listItemsByUser } from "@/utils/db.ts";
import { getCursor } from "@/utils/http.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/api/users/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { Handlers } from "$fresh/server.ts";
import { collectValues, listUsers } from "@/utils/db.ts";
import { getCursor } from "@/utils/http.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/api/vote.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { type Handlers } from "$fresh/server.ts";
import { STATUS_CODE } from "$std/http/status.ts";
import type { SignedInState } from "@/plugins/session.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/dashboard/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { redirect } from "@/utils/http.ts";
import { Handlers } from "$fresh/server.ts";

Expand Down
2 changes: 1 addition & 1 deletion routes/dashboard/stats.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import Chart from "@/islands/Chart.tsx";
import Head from "@/components/Head.tsx";
import TabsBar from "@/components/TabsBar.tsx";
Expand Down
2 changes: 1 addition & 1 deletion routes/dashboard/users.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import Head from "@/components/Head.tsx";
import TabsBar from "@/components/TabsBar.tsx";
import UsersTable from "@/islands/UsersTable.tsx";
Expand Down
2 changes: 1 addition & 1 deletion routes/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { State } from "@/plugins/session.ts";
import Head from "@/components/Head.tsx";
import ItemsList from "@/islands/ItemsList.tsx";
Expand Down
2 changes: 1 addition & 1 deletion routes/pricing.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { State } from "@/plugins/session.ts";
import { assertIsPrice, isStripeEnabled, stripe } from "@/utils/stripe.ts";
import { formatCurrency } from "@/utils/display.ts";
Expand Down
2 changes: 1 addition & 1 deletion routes/submit.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import Head from "@/components/Head.tsx";
import IconCheckCircle from "tabler_icons_tsx/circle-check.tsx";
import IconCircleX from "tabler_icons_tsx/circle-x.tsx";
Expand Down
2 changes: 1 addition & 1 deletion routes/users/[login].tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type { State } from "@/plugins/session.ts";
import { getUser } from "@/utils/db.ts";
import IconBrandGithub from "tabler_icons_tsx/brand-github.tsx";
Expand Down
2 changes: 1 addition & 1 deletion routes/welcome.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { defineRoute } from "$fresh/src/server/defines.ts";
import Head from "@/components/Head.tsx";
import { isGitHubSetup } from "@/utils/github.ts";
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { type Config } from "tailwindcss";

export default {
Expand Down
2 changes: 1 addition & 1 deletion tasks/check_license.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
// Copied from std/_tools/check_license.ts

import { walk } from "$std/fs/walk.ts";
Expand Down
2 changes: 1 addition & 1 deletion tasks/db_dump.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
/**
* This script prints all entries in the KV database formatted as JSON. This
* can be used to create a backup file.
Expand Down
2 changes: 1 addition & 1 deletion tasks/db_migrate.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
/**
* This script is used to perform migration jobs on the database. These jobs
* can be performed on remote KV instances using
Expand Down
2 changes: 1 addition & 1 deletion tasks/db_reset.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { kv } from "@/utils/db.ts";

if (!confirm("WARNING: The database will be reset. Continue?")) Deno.exit();
Expand Down
2 changes: 1 addition & 1 deletion tasks/db_restore.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
/**
* This script is used to restore a KV database by a file generated by the dump
* script.
Expand Down
2 changes: 1 addition & 1 deletion tasks/db_seed.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
// Description: Seeds the kv db with Hacker News stories
import { createItem, createUser } from "@/utils/db.ts";
import { ulid } from "$std/ulid/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion tasks/init_stripe.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import type Stripe from "stripe";
import { SITE_DESCRIPTION } from "@/utils/constants.ts";
import { isStripeEnabled, stripe } from "@/utils/stripe.ts";
Expand Down
2 changes: 1 addition & 1 deletion utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
export const SITE_NAME = "Deno Hunt (Beta)";
export const SITE_DESCRIPTION = "Discover new Deno projects. Share your own.";
2 changes: 1 addition & 1 deletion utils/db.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.

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

Expand Down
2 changes: 1 addition & 1 deletion utils/db_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { assertEquals, assertRejects } from "$std/assert/mod.ts";
import { ulid } from "$std/ulid/mod.ts";
import {
Expand Down
2 changes: 1 addition & 1 deletion utils/display.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { difference } from "$std/datetime/difference.ts";

/**
Expand Down
2 changes: 1 addition & 1 deletion utils/display_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { formatCurrency, pluralize, timeAgo } from "./display.ts";
import { DAY, HOUR, MINUTE, SECOND } from "$std/datetime/constants.ts";
import { assertEquals, assertThrows } from "$std/assert/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion utils/github.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { createGitHubOAuthConfig } from "kv_oauth/mod.ts";
import { BadRequestError } from "@/utils/http.ts";

Expand Down
2 changes: 1 addition & 1 deletion utils/github_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { assertRejects } from "$std/assert/assert_rejects.ts";
import { getGitHubUser } from "./github.ts";
import { returnsNext, stub } from "$std/testing/mock.ts";
Expand Down
2 changes: 1 addition & 1 deletion utils/http.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { RedirectStatus, STATUS_CODE } from "$std/http/status.ts";

/**
Expand Down
2 changes: 1 addition & 1 deletion utils/http_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { returnsNext, stub } from "$std/testing/mock.ts";
import { fetchValues, getCursor, redirect } from "./http.ts";
import { assert, assertEquals, assertRejects } from "$std/assert/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion utils/stripe.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import Stripe from "stripe";
import { AssertionError } from "$std/assert/assertion_error.ts";

Expand Down
2 changes: 1 addition & 1 deletion utils/stripe_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023-2024 the Deno authors. All rights reserved. MIT license.
// Copyright 2023-2025 the Deno authors. All rights reserved. MIT license.
import { AssertionError, assertThrows } from "$std/assert/mod.ts";
import { assertIsPrice } from "./stripe.ts";

Expand Down

0 comments on commit a05a117

Please sign in to comment.