Skip to content

Commit

Permalink
chore: update license year to 2022 (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Jan 4, 2022
1 parent 4c6db48 commit 595dc1d
Show file tree
Hide file tree
Showing 61 changed files with 61 additions and 61 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 2018-2021 the Deno authors
Copyright 2018-2022 the Deno 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 in
Expand Down
2 changes: 1 addition & 1 deletion _build.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import * as path from "https://deno.land/std@0.119.0/path/mod.ts";
import { encode } from "https://deno.land/std@0.119.0/encoding/base64.ts";
Expand Down
2 changes: 1 addition & 1 deletion lib/compiler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { path, ts } from "./mod.deps.ts";

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

import { assertEquals } from "./test.deps.ts";
import { ts } from "./mod.deps.ts";
Expand Down
2 changes: 1 addition & 1 deletion lib/compiler_transforms.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { ts } from "./mod.deps.ts";

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

export * from "./transform.deps.ts";
export {
Expand Down
2 changes: 1 addition & 1 deletion lib/npm_ignore.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { assertEquals } from "./test.deps.ts";
import { getNpmIgnoreText } from "./npm_ignore.ts";
Expand Down
2 changes: 1 addition & 1 deletion lib/npm_ignore.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { OutputFile } from "../transform.ts";
import { SourceMapOptions } from "./compiler.ts";
Expand Down
2 changes: 1 addition & 1 deletion lib/package_json.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { assertEquals } from "./test.deps.ts";
import { getPackageJson, GetPackageJsonOptions } from "./package_json.ts";
Expand Down
2 changes: 1 addition & 1 deletion lib/package_json.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import type { EntryPoint } from "../mod.ts";
import { TransformOutput } from "../transform.ts";
Expand Down
2 changes: 1 addition & 1 deletion lib/shims.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { assertEquals } from "./test.deps.ts";
import { shimOptionsToTransformShims } from "./shims.ts";
Expand Down
2 changes: 1 addition & 1 deletion lib/shims.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import type { Shim } from "../transform.ts";

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

export * from "https://deno.land/std@0.119.0/testing/asserts.ts";
2 changes: 1 addition & 1 deletion lib/test_runner/get_test_runner_code.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { assertEquals } from "../test.deps.ts";
import { getTestRunnerCode } from "./get_test_runner_code.ts";
Expand Down
2 changes: 1 addition & 1 deletion lib/test_runner/get_test_runner_code.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { CodeBlockWriter } from "../mod.deps.ts";
import { runTestDefinitions } from "./test_runner.ts";
Expand Down
2 changes: 1 addition & 1 deletion lib/test_runner/test_runner.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { runTestDefinitions } from "./test_runner.ts";
import { assertEquals, assertRejects } from "../test.deps.ts";
Expand Down
2 changes: 1 addition & 1 deletion lib/test_runner/test_runner.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

export interface Chalk {
green(text: string): string;
Expand Down
2 changes: 1 addition & 1 deletion lib/test_utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "./test.deps.ts";

export function wildcardAssertEquals(actual: string, expected: string) {
Expand Down
2 changes: 1 addition & 1 deletion lib/transform.deps.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

export * as path from "https://deno.land/std@0.119.0/path/mod.ts";
2 changes: 1 addition & 1 deletion lib/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

export interface PackageJsonObject {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import * as deps from "./mod.deps.ts";

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-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import {
getCompilerScriptTarget,
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/declaration_file_resolution.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::BTreeMap;
use std::collections::HashSet;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/graph.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::borrow::Cow;
use std::collections::BTreeMap;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::BTreeMap;
use std::collections::HashMap;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/loader/default_loader.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::io::ErrorKind;
use std::pin::Pin;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/loader/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::BTreeMap;
use std::collections::HashMap;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/loader/specifier_mappers.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use deno_ast::ModuleSpecifier;
use regex::Regex;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/mappings.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::HashMap;
use std::collections::HashSet;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/parser.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::sync::Arc;

Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/polyfills/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::HashSet;

Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/specifiers.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::BTreeMap;
use std::collections::HashMap;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/text_changes.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::cmp::Ordering;

Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::path::Path;
use std::path::PathBuf;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/visitors/analyze/get_top_level_decls.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::HashSet;

Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/visitors/analyze/helpers.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use deno_ast::swc::common::Spanned;
use deno_ast::view::*;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/visitors/analyze/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

mod get_ignore_line_indexes;
mod get_top_level_decls;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/visitors/deno_comment_directives.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use deno_ast::swc::common::comments::Comment;
use deno_ast::swc::common::BytePos;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/visitors/globals.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::HashSet;

Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/visitors/imports_exports.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::HashMap;
use std::path::PathBuf;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/visitors/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

mod analyze;
mod deno_comment_directives;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/src/visitors/polyfill.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::HashSet;

Expand Down
2 changes: 1 addition & 1 deletion rs-lib/tests/integration/in_memory_loader.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::HashMap;
use std::path::Path;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/tests/integration/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

mod in_memory_loader;
mod test_builder;
Expand Down
2 changes: 1 addition & 1 deletion rs-lib/tests/integration/test_builder.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::collections::HashMap;

Expand Down
2 changes: 1 addition & 1 deletion rs-lib/tests/integration_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

use std::path::PathBuf;

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

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

import { getResult } from "./mod.ts";

Expand Down
2 changes: 1 addition & 1 deletion tests/mappings_project/mod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
import CodeBlockWriter from "https://deno.land/x/code_block_writer@11.0.0/mod.ts";

export function getResult() {
Expand Down
2 changes: 1 addition & 1 deletion tests/polyfill_project/mod.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { hasOwn } from "./mod.ts";
import { assertEquals } from "https://deno.land/std@0.119.0/testing/asserts.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/polyfill_project/mod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

export function hasOwn(a: { prop?: number }) {
try {
Expand Down
2 changes: 1 addition & 1 deletion tests/redirects_project/mod.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { isDeno } from "https://deno.land/x/which_runtime@0.2.0/mod.ts";
import { output } from "./mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/redirects_project/mod.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

export { output } from "./output.deno.ts";
2 changes: 1 addition & 1 deletion tests/shim_project/mod.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { addAsync } from "./mod.ts";

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

export function addAsync(a: number, b: number) {
return new Promise<number>((resolve, reject) => {
Expand Down
2 changes: 1 addition & 1 deletion tests/test_project/mod.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { add } from "./mod.ts";
import { assertEquals } from "https://deno.land/std@0.119.0/testing/asserts.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/test_project/mod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

export function add(a: number, b: number) {
return a + b;
Expand Down
2 changes: 1 addition & 1 deletion tests/tla_project/mod.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

import { add } from "./mod.ts";

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

await new Promise<void>((resolve) => resolve());

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

import { path } from "./lib/transform.deps.ts";
import init, * as wasmFuncs from "./lib/pkg/dnt_wasm.js";
Expand Down
2 changes: 1 addition & 1 deletion wasm/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.

mod utils;

Expand Down

0 comments on commit 595dc1d

Please sign in to comment.