Skip to content

Commit

Permalink
chore: add copyright (denoland#7593)
Browse files Browse the repository at this point in the history
  • Loading branch information
tokiedokie committed Sep 21, 2020
1 parent dc65719 commit c4ed3fb
Show file tree
Hide file tree
Showing 117 changed files with 130 additions and 13 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

[workspace]
members = [
"cli",
Expand Down
1 change: 1 addition & 0 deletions cli/bench/deno_tcp.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Used for benchmarking Deno's networking.
// TODO Replace this with a real HTTP server once
// https://github.com/denoland/deno/issues/726 is completed.
Expand Down
1 change: 1 addition & 0 deletions cli/bench/deno_tcp_proxy.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Used for benchmarking Deno's tcp proxy performance.
const addr = Deno.args[0] || "127.0.0.1:4500";
const originAddr = Deno.args[1] || "127.0.0.1:4501";
Expand Down
1 change: 1 addition & 0 deletions cli/bench/node_tcp_proxy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
const net = require("net");

process.on("uncaughtException", function (error) {
Expand Down
2 changes: 2 additions & 0 deletions cli/checksum.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

pub fn gen(v: &[&[u8]]) -> String {
let mut ctx = ring::digest::Context::new(&ring::digest::SHA256);
for src in v {
Expand Down
2 changes: 2 additions & 0 deletions cli/disk_cache.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use crate::fs as deno_fs;
use crate::http_cache::url_to_filename;
use deno_core::url::{Host, Url};
Expand Down
2 changes: 2 additions & 0 deletions cli/file_watcher.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use crate::colors;
use deno_core::error::AnyError;
use futures::stream::StreamExt;
Expand Down
2 changes: 2 additions & 0 deletions cli/flags_allow_net.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use deno_core::url::Url;
use std::net::IpAddr;
use std::str::FromStr;
Expand Down
2 changes: 2 additions & 0 deletions cli/import_map.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use deno_core::error::AnyError;
use deno_core::url::Url;
use deno_core::ModuleSpecifier;
Expand Down
2 changes: 2 additions & 0 deletions cli/info.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use crate::colors;
use crate::global_state::GlobalState;
use crate::module_graph::{ModuleGraph, ModuleGraphFile, ModuleGraphLoader};
Expand Down
2 changes: 2 additions & 0 deletions cli/lockfile.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use serde_json::json;
use std::collections::BTreeMap;
use std::io::Result;
Expand Down
2 changes: 2 additions & 0 deletions cli/ops/io.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use super::dispatch_minimal::minimal_op;
use super::dispatch_minimal::MinimalOp;
use crate::http_util::HttpBody;
Expand Down
2 changes: 2 additions & 0 deletions cli/ops/net_unix.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use crate::ops::io::StreamResource;
use crate::ops::io::StreamResourceHolder;
use crate::ops::net::AcceptArgs;
Expand Down
1 change: 1 addition & 0 deletions cli/rt/99_main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Removes the `__proto__` for security reasons. This intentionally makes
// Deno non compliant with ECMA-262 Annex B.2.2.1
//
Expand Down
1 change: 1 addition & 0 deletions cli/web_worker.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use crate::global_state::GlobalState;
use crate::js;
use crate::ops;
Expand Down
1 change: 1 addition & 0 deletions core/examples/http_bench_bin_ops.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// This is not a real HTTP server. We read blindly one time into 'requestBuf',
// then write this fixed 'responseBuf'. The point of this benchmark is to
// exercise the event loop in a simple yet semi-realistic way.
Expand Down
2 changes: 2 additions & 0 deletions core/examples/http_bench_bin_ops.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

#[macro_use]
extern crate log;

Expand Down
1 change: 1 addition & 0 deletions core/examples/http_bench_json_ops.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// This is not a real HTTP server. We read blindly one time into 'requestBuf',
// then write this fixed 'responseBuf'. The point of this benchmark is to
// exercise the event loop in a simple yet semi-realistic way.
Expand Down
2 changes: 2 additions & 0 deletions core/examples/http_bench_json_ops.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

#[macro_use]
extern crate log;

Expand Down
1 change: 1 addition & 0 deletions core/gotham_state.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Forked from Gotham:
// https://github.com/gotham-rs/gotham/blob/bcbbf8923789e341b7a0e62c59909428ca4e22e2/gotham/src/state/mod.rs
// Copyright 2017 Gotham Project Developers. MIT license.
Expand Down
2 changes: 2 additions & 0 deletions core/module_specifier.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use crate::normalize_path;
use std::env::current_dir;
use std::error::Error;
Expand Down
2 changes: 2 additions & 0 deletions core/normalize_path.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use std::path::Component;
use std::path::Path;
use std::path::PathBuf;
Expand Down
2 changes: 2 additions & 0 deletions core/zero_copy_buf.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

use crate::bindings;
use rusty_v8 as v8;
use smallvec::SmallVec;
Expand Down
1 change: 1 addition & 0 deletions std/_util/assert_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, DenoStdInternalError } from "./assert.ts";
import { assertThrows } from "../testing/asserts.ts";

Expand Down
1 change: 1 addition & 0 deletions std/archive/tar_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/**
* Tar test
*
Expand Down
1 change: 1 addition & 0 deletions std/async/pool_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { pooledMap } from "./pool.ts";
import { assert } from "../testing/asserts.ts";

Expand Down
1 change: 1 addition & 0 deletions std/async/test.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";
1 change: 1 addition & 0 deletions std/datetime/formatter.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
CallbackResult,
Rule,
Expand Down
2 changes: 2 additions & 0 deletions std/datetime/tokenizer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

export type Token = {
type: string;
value: string | number;
Expand Down
2 changes: 2 additions & 0 deletions std/encoding/utf8.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

/** A default TextEncoder instance */
export const encoder = new TextEncoder();

Expand Down
1 change: 1 addition & 0 deletions std/examples/chat/server.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { listenAndServe } from "../../http/server.ts";
import {
acceptWebSocket,
Expand Down
1 change: 1 addition & 0 deletions std/examples/welcome.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
console.log("Welcome to Deno 🦕");
1 change: 1 addition & 0 deletions std/examples/xeval.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { parse } from "../flags/mod.ts";
import { readStringDelim } from "../io/bufio.ts";

Expand Down
1 change: 1 addition & 0 deletions std/flags/test.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";
1 change: 1 addition & 0 deletions std/fs/_util.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import * as path from "../path/mod.ts";

/**
Expand Down
1 change: 1 addition & 0 deletions std/fs/expand_glob.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
GlobOptions,
SEP_PATTERN,
Expand Down
1 change: 1 addition & 0 deletions std/fs/expand_glob_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { decode } from "../encoding/utf8.ts";
import {
assert,
Expand Down
1 change: 1 addition & 0 deletions std/fs/walk_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { walk, walkSync, WalkOptions, WalkEntry } from "./walk.ts";
import { assert, assertEquals, assertThrowsAsync } from "../testing/asserts.ts";

Expand Down
1 change: 1 addition & 0 deletions std/hash/sha1.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/*
* [js-sha1]{@link https://github.com/emn178/js-sha1}
*
Expand Down
1 change: 1 addition & 0 deletions std/hash/sha256.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/*
* Adapted to deno from:
*
Expand Down
1 change: 1 addition & 0 deletions std/hash/sha512.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/*
* [js-sha512]{@link https://github.com/emn178/js-sha512}
*
Expand Down
1 change: 1 addition & 0 deletions std/http/_io.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { BufReader, BufWriter } from "../io/bufio.ts";
import { TextProtoReader } from "../textproto/mod.ts";
import { assert } from "../_util/assert.ts";
Expand Down
1 change: 1 addition & 0 deletions std/http/_io_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
assertThrowsAsync,
assertEquals,
Expand Down
2 changes: 2 additions & 0 deletions std/http/_mock_conn.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

/** Create dummy Deno.Conn object with given base properties */
export function mockConn(base: Partial<Deno.Conn> = {}): Deno.Conn {
return {
Expand Down
1 change: 1 addition & 0 deletions std/http/mod.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export * from "./cookie.ts";
export * from "./http_status.ts";
export * from "./server.ts";
1 change: 1 addition & 0 deletions std/http/racing_server_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals } from "../testing/asserts.ts";
import { BufReader, BufWriter } from "../io/bufio.ts";
import { TextProtoReader } from "../textproto/mod.ts";
Expand Down
1 change: 1 addition & 0 deletions std/http/test.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";
2 changes: 1 addition & 1 deletion std/io/_iotest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Ported to Deno from
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.// Ported to Deno from
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
Expand Down
1 change: 1 addition & 0 deletions std/io/bufio.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/blob/891682/src/bufio/bufio.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
Expand Down
1 change: 1 addition & 0 deletions std/io/bufio_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/blob/891682/src/bufio/bufio_test.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
Expand Down
1 change: 1 addition & 0 deletions std/io/mod.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export * from "./bufio.ts";
export * from "./ioutil.ts";
export * from "./readers.ts";
Expand Down
1 change: 1 addition & 0 deletions std/io/readers_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import { LimitedReader, MultiReader, StringReader } from "./readers.ts";
import { StringWriter } from "./writers.ts";
Expand Down
1 change: 1 addition & 0 deletions std/io/test.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";
1 change: 1 addition & 0 deletions std/io/writers_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import { StringWriter } from "./writers.ts";
import { StringReader } from "./readers.ts";
Expand Down
1 change: 1 addition & 0 deletions std/mime/mod.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export * from "./multipart.ts";
1 change: 1 addition & 0 deletions std/mime/test.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";
1 change: 0 additions & 1 deletion std/node/_fs/_fs_access.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

import type { CallbackWithError } from "./_fs_common.ts";
import { notImplemented } from "../_utils.ts";

Expand Down
1 change: 0 additions & 1 deletion std/node/_fs/_fs_chmod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";

Expand Down
1 change: 0 additions & 1 deletion std/node/_fs/_fs_chown.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";

Expand Down
1 change: 0 additions & 1 deletion std/node/_fs/_fs_close.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

import type { CallbackWithError } from "./_fs_common.ts";

export function close(fd: number, callback: CallbackWithError): void {
Expand Down
1 change: 0 additions & 1 deletion std/node/_fs/_fs_common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

import { notImplemented } from "../_utils.ts";

export type CallbackWithError = (err?: Error | null) => void;
Expand Down
1 change: 0 additions & 1 deletion std/node/_fs/_fs_copy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";

Expand Down
1 change: 1 addition & 0 deletions std/node/_fs/_fs_dir.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import Dirent from "./_fs_dirent.ts";
import { assert } from "../../_util/assert.ts";

Expand Down
1 change: 1 addition & 0 deletions std/node/_fs/_fs_dir_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, fail } from "../../testing/asserts.ts";
import Dir from "./_fs_dir.ts";
import type Dirent from "./_fs_dirent.ts";
Expand Down
1 change: 1 addition & 0 deletions std/node/_fs/_fs_dirent.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { notImplemented } from "../_utils.ts";

export default class Dirent {
Expand Down
1 change: 1 addition & 0 deletions std/node/_fs/_fs_dirent_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, assertThrows } from "../../testing/asserts.ts";
import Dirent from "./_fs_dirent.ts";

Expand Down
1 change: 0 additions & 1 deletion std/node/_fs/_fs_link.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";

Expand Down
1 change: 1 addition & 0 deletions std/node/_fs/_fs_readFile_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { readFile, readFileSync } from "./_fs_readFile.ts";
import * as path from "../../path/mod.ts";
import { assertEquals, assert } from "../../testing/asserts.ts";
Expand Down
1 change: 1 addition & 0 deletions std/node/_fs/_fs_readlink_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { readlink, readlinkSync } from "./_fs_readlink.ts";
import { assertEquals, assert } from "../../testing/asserts.ts";
import * as path from "../path.ts";
Expand Down
1 change: 1 addition & 0 deletions std/node/_fs/promises/_fs_readFile_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { readFile } from "./_fs_readFile.ts";
import * as path from "../../../path/mod.ts";
import { assertEquals, assert } from "../../../testing/asserts.ts";
Expand Down
2 changes: 2 additions & 0 deletions std/node/_utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.

export function notImplemented(msg?: string): never {
const message = msg ? `Not implemented: ${msg}` : "Not implemented";
throw new Error(message);
Expand Down
1 change: 1 addition & 0 deletions std/node/assert.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
assertEquals,
assertNotEquals,
Expand Down
1 change: 1 addition & 0 deletions std/node/assert_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
assert as denoAssert,
assertEquals,
Expand Down
1 change: 1 addition & 0 deletions std/node/assertion_error_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { stripColor } from "../fmt/colors.ts";
import {
assert,
Expand Down
1 change: 1 addition & 0 deletions std/node/buffer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import * as hex from "../encoding/hex.ts";
import * as base64 from "../encoding/base64.ts";
import { notImplemented, normalizeEncoding } from "./_utils.ts";
Expand Down
1 change: 1 addition & 0 deletions std/node/buffer_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, assertThrows } from "../testing/asserts.ts";
import Buffer from "./buffer.ts";

Expand Down
1 change: 1 addition & 0 deletions std/node/events_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,
Expand Down
Loading

0 comments on commit c4ed3fb

Please sign in to comment.