Skip to content

Commit

Permalink
chore: update copyright years
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed May 20, 2023
1 parent 4870970 commit 022d50e
Show file tree
Hide file tree
Showing 52 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-2022 the oak authors
Copyright (c) 2018-2023 the oak authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion _build_npm.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env -S deno run --allow-read --allow-write --allow-net --allow-env --allow-run
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

/**
* This is the build script for building the oak framework into a Node.js
Expand Down
2 changes: 1 addition & 1 deletion application.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { Context } from "./context.ts";
import { KeyStack, Status, STATUS_TEXT } from "./deps.ts";
Expand Down
2 changes: 1 addition & 1 deletion application_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

// deno-lint-ignore-file

Expand Down
2 changes: 1 addition & 1 deletion body.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import {
createHttpError,
Expand Down
2 changes: 1 addition & 1 deletion body_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { RequestBody } from "./body.ts";
import { isHttpError, readAll, Status } from "./deps.ts";
Expand Down
2 changes: 1 addition & 1 deletion buf_reader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { assert, stripEol } from "./util.ts";

Expand Down
2 changes: 1 addition & 1 deletion buf_reader_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { assertEquals, StringReader } from "./test_deps.ts";
import { BufReader } from "./buf_reader.ts";
Expand Down
2 changes: 1 addition & 1 deletion bundle_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { isNode } from "./util.ts";

Expand Down
2 changes: 1 addition & 1 deletion content_disposition_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { getFilename } from "./content_disposition.ts";
import { assertEquals } from "./test_deps.ts";
Expand Down
2 changes: 1 addition & 1 deletion context.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import type { Application, State } from "./application.ts";
import {
Expand Down
2 changes: 1 addition & 1 deletion context_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

// deno-lint-ignore-file

Expand Down
2 changes: 1 addition & 1 deletion deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

// This file contains the external dependencies that oak depends upon

Expand Down
2 changes: 1 addition & 1 deletion etag.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

/**
* A collection of oak specific APIs for management of ETags.
Expand Down
2 changes: 1 addition & 1 deletion etag_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { assert, assertEquals } from "./test_deps.ts";
import {
Expand Down
2 changes: 1 addition & 1 deletion headers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import type { BufReader } from "./buf_reader.ts";
import { errors } from "./deps.ts";
Expand Down
2 changes: 1 addition & 1 deletion headers_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { assertEquals, assertRejects, Buffer } from "./test_deps.ts";

Expand Down
2 changes: 1 addition & 1 deletion helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

/**
* A collection of APIs to help assist in creating middleware.
Expand Down
2 changes: 1 addition & 1 deletion helpers_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { getQuery } from "./helpers.ts";
import { assertEquals } from "./test_deps.ts";
Expand Down
2 changes: 1 addition & 1 deletion http_server_native.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import type { Application, State } from "./application.ts";
import { NativeRequest } from "./http_server_native_request.ts";
Expand Down
2 changes: 1 addition & 1 deletion http_server_native_request.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import type {
RequestEvent,
Expand Down
2 changes: 1 addition & 1 deletion http_server_native_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import {
assertEquals,
Expand Down
2 changes: 1 addition & 1 deletion http_server_native_unstable_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { type Deferred, deferred } from "./deps.ts";
import { assertEquals, unreachable } from "./test_deps.ts";
Expand Down
2 changes: 1 addition & 1 deletion http_server_node.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import type { Listener, Server, ServerRequest } from "./types.d.ts";
import * as http from "http";
Expand Down
2 changes: 1 addition & 1 deletion http_server_node_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

// deno-lint-ignore-file no-explicit-any

Expand Down
2 changes: 1 addition & 1 deletion isMediaType_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { assertEquals, assertStrictEquals } from "./test_deps.ts";
import { isMediaType } from "./isMediaType.ts";
Expand Down
2 changes: 1 addition & 1 deletion mediaTyper_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { assertEquals, assertStrictEquals, assertThrows } from "./test_deps.ts";
import { format, parse } from "./mediaTyper.ts";
Expand Down
2 changes: 1 addition & 1 deletion middleware.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

// deno-lint-ignore-file

Expand Down
2 changes: 1 addition & 1 deletion middleware/proxy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import type { State } from "../application.ts";
import type { Context } from "../context.ts";
Expand Down
2 changes: 1 addition & 1 deletion middleware/proxy_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { Application } from "../application.ts";
import { type Context } from "../context.ts";
Expand Down
2 changes: 1 addition & 1 deletion middleware_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

// deno-lint-ignore-file

Expand Down
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

/**
* A middleware framework for handling HTTP with Deno.
Expand Down
2 changes: 1 addition & 1 deletion mod_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { assert, assertEquals } from "./test_deps.ts";
import * as mod from "./mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion multipart.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { BufReader, ReadLineResult } from "./buf_reader.ts";
import { getFilename } from "./content_disposition.ts";
Expand Down
2 changes: 1 addition & 1 deletion multipart_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import {
assert,
Expand Down
2 changes: 1 addition & 1 deletion node_shims.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

export class ErrorEvent extends Event {
#message: string;
Expand Down
2 changes: 1 addition & 1 deletion range.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import {
concat,
Expand Down
2 changes: 1 addition & 1 deletion range_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { assert, assertEquals, assertThrows } from "./test_deps.ts";

Expand Down
2 changes: 1 addition & 1 deletion request.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import type {
Body,
Expand Down
2 changes: 1 addition & 1 deletion request_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

// deno-lint-ignore-file

Expand Down
2 changes: 1 addition & 1 deletion response.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { contentType, isRedirectStatus, Status, STATUS_TEXT } from "./deps.ts";
import { DomResponse } from "./http_server_native_request.ts";
Expand Down
2 changes: 1 addition & 1 deletion response_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { Status } from "./deps.ts";
import { assert, assertEquals, assertThrows } from "./test_deps.ts";
Expand Down
2 changes: 1 addition & 1 deletion router_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

// deno-lint-ignore-file

Expand Down
2 changes: 1 addition & 1 deletion send_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { assert, assertEquals, assertStrictEquals } from "./test_deps.ts";
import {
Expand Down
2 changes: 1 addition & 1 deletion structured_clone.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

export type StructuredClonable =
| { [key: string]: StructuredClonable }
Expand Down
2 changes: 1 addition & 1 deletion structured_clone_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { assert, assertEquals } from "./test_deps.ts";

Expand Down
2 changes: 1 addition & 1 deletion test_deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

export {
Buffer,
Expand Down
2 changes: 1 addition & 1 deletion testing.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

// deno-lint-ignore-file no-explicit-any

Expand Down
2 changes: 1 addition & 1 deletion testing_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { assert, assertEquals, assertStrictEquals } from "./test_deps.ts";

Expand Down
2 changes: 1 addition & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import type { Application, State } from "./application.ts";

Expand Down
2 changes: 1 addition & 1 deletion util.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import type { State } from "./application.ts";
import type { Context } from "./context.ts";
Expand Down
2 changes: 1 addition & 1 deletion util_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2022 the oak authors. All rights reserved. MIT license.
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

import { errors } from "./deps.ts";
import { assert, assertEquals, assertThrows } from "./test_deps.ts";
Expand Down

0 comments on commit 022d50e

Please sign in to comment.