1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

chore: update copyright to 2021 (#9092)

This commit is contained in:
Yusuke Tanaka 2021-01-12 02:13:41 +09:00 committed by GitHub
parent d676b6c63a
commit d8fd71afdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
269 changed files with 269 additions and 269 deletions

View file

@ -1,4 +1,4 @@
# Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
max_width = 80
tab_spaces = 2
edition = "2018"

View file

@ -1,4 +1,4 @@
# Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno"

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::media_type::MediaType;
use crate::tsc_config;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { serve, ServerRequest } from "../std/http/server.ts";
const addr = Deno.args[0] || "127.0.0.1:4500";

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 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.

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 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";

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use super::Result;
use std::{

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::serde_json::{self, map::Map, Number, Value};
use std::{

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const http = require("http");
const port = process.argv[2] || "4544";
console.log("port", port);

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const http = require("http");
const port = process.argv[2] || "4544";
const originPort = process.argv[3] || "4545";

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Note: this is a keep-alive server.
const { Server } = require("net");
const port = process.argv[2] || "4544";

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Note: this is a keep-alive server.
const { Server } = require("net");
const port = process.argv[2] || "4544";

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const net = require("net");
process.on("uncaughtException", function (error) {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use super::Result;
use deno_core::serde_json::{Number, Value};

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::error::custom_error;
use deno_core::json_op_sync;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use ring::digest::Context;
use ring::digest::SHA256;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// allow(dead_code) because denort does not use this.
#![allow(dead_code)]

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::disk_cache::DiskCache;
use std::path::PathBuf;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::colors;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use dissimilar::{diff as difference, Chunk};

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::fs_util;
use crate::http_cache::url_to_filename;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/// <reference no-default-lib="true" />
/// <reference lib="esnext" />

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Documentation partially adapted from [MDN](https://developer.mozilla.org/),
// by Mozilla Contributors, which is licensed under CC-BY-SA 2.5.

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/// <reference no-default-lib="true" />
/// <reference lib="deno.ns" />

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/// <reference no-default-lib="true" />
/// <reference lib="deno.ns" />

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/// <reference no-default-lib="true" />
/// <reference lib="deno.ns" />

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
//! There are many types of errors in Deno:
//! - AnyError: a generic wrapper that can encapsulate any type of error.

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use crate::http_cache::HttpCache;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use core::task::{Context, Poll};

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use clap::App;
use clap::AppSettings;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::url::Url;
use std::net::IpAddr;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
//! This mod provides DenoError to unify errors across Deno.
use crate::colors;
use deno_core::error::{AnyError, JsError, JsStackFrame};

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
pub use deno_core::normalize_path;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/// This module is meant to eventually implement HTTP cache
/// as defined in RFC 7234 (https://tools.ietf.org/html/rfc7234).

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::error::generic_error;
use deno_core::error::AnyError;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::serde_json;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use crate::media_type::serialize_media_type;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::serde_json;
use deno_core::serde_json::json;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::ast;
use crate::import_map::ImportMap;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
///!
///! Provides information about what capabilities that are supported by the

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::serde::Deserialize;
use deno_core::serde_json;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use super::analysis::get_lint_references;
use super::analysis::references_to_diagnostics;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::error::anyhow;
use deno_core::error::AnyError;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::ModuleSpecifier;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use lspower::LspService;
use lspower::Server;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use super::analysis;
use super::text;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::serde_json::json;
use deno_core::serde_json::Value;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use super::analysis::ResolvedDependency;
use super::language_server::StateSnapshot;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::url::Position;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
#![deny(warnings)]

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
#![deny(warnings)]

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::ModuleSpecifier;
use serde::Serialize;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::ast;
use crate::ast::parse;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::import_map::ImportMap;
use crate::module_graph::TypeLib;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::diagnostics::Diagnostics;
use crate::program_state::ProgramState;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
pub mod errors;
pub mod runtime_compiler;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::import_map::ImportMap;
use crate::module_graph::BundleType;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::deno_dir;
use crate::file_fetcher::CacheSetting;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
//! This mod provides functions to remap a `JsError` based on a source map.

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::ast::Location;
use crate::deno_dir::DenoDir;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use crate::version;

View file

@ -1,3 +1,3 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const res = await fetch("http://localhost:4545/std/examples/colors.ts");
console.log(`Response http: ${await res.text()}`);

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { serve, ServerRequest } from "../../std/http/server.ts";
import { assertEquals } from "../../std/testing/asserts.ts";

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const { args } = Deno;
import { createHash, SupportedAlgorithm } from "../../std/hash/mod.ts";

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::futures;
use deno_core::futures::prelude::*;
use deno_core::serde_json;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert } from "../../std/testing/asserts.ts";

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
[WILDCARD]
declare namespace Deno [WILDCARD]
declare var window: Window [WILDCARD]

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, unitTest } from "./test_util.ts";
import { concat } from "../../../std/bytes/mod.ts";
import { decode } from "../../../std/encoding/utf8.ts";

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, unitTest } from "./test_util.ts";
// just a hack to get a body object

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This code has been ported almost directly from Go's src/bytes/buffer_test.go
// Copyright 2009 The Go Authors. All rights reserved. BSD license.

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, unitTest } from "./test_util.ts";
unitTest(function buildInfo(): void {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assertEquals,
assertThrows,

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// TODO(ry) The unit test functions in this module are too coarse. They should
// be broken up into smaller bits.

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assertEquals,
assertThrows,

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals, unitTest } from "./test_util.ts";
unitTest(function customEventInitializedWithDetail(): void {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, assertThrows, unitTest } from "./test_util.ts";
unitTest({ perms: { read: true } }, function dirCwdNotNull(): void {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, unitTest } from "./test_util.ts";
unitTest(function testDomError() {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/* TODO https://github.com/denoland/deno/issues/7540
import { unitTest, assert, assertEquals } from "./test_util.ts";

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, assertMatch, unitTest } from "./test_util.ts";
unitTest(function errorStackMessageLine(): void {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals, unitTest } from "./test_util.ts";
unitTest(function addEventListenerTest(): void {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, unitTest } from "./test_util.ts";
unitTest(function eventInitializedWithType(): void {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, unitTest } from "./test_util.ts";
// deno-lint-ignore no-explicit-any

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals, unitTest } from "./test_util.ts";
unitTest(function fileReaderConstruct(): void {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, unitTest } from "./test_util.ts";
unitTest(function formatDiagnosticBasic() {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertNotEquals, assertStrictEquals, unitTest } from "./test_util.ts";
unitTest(function getRandomValuesInt8Array(): void {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, unitTest } from "./test_util.ts";
unitTest(function globalThisExists(): void {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, unitTest } from "./test_util.ts";
unitTest(function internalsExists(): void {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals, unitTest } from "./test_util.ts";
const DEFAULT_BUF_SIZE = 32 * 1024;

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, assertThrows, unitTest } from "./test_util.ts";
unitTest(

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, unitTest } from "./test_util.ts";
unitTest(async function metrics(): Promise<void> {

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,

Some files were not shown because too many files have changed in this diff Show more