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 2022 (#13306)

Co-authored-by: Erfan Safari <erfanshield@outlook.com>
This commit is contained in:
Ryan Dahl 2022-01-07 22:09:52 -05:00 committed by GitHub
parent 12423e16b7
commit 1fb5858009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
337 changed files with 336 additions and 337 deletions

View file

@ -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.
// This file contains the implementation of a Github Action. Github uses // This file contains the implementation of a Github Action. Github uses
// Node.js v12.x to run actions, so this is Node code and not Deno code. // Node.js v12.x to run actions, so this is Node code and not Deno code.

View file

@ -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.
max_width = 80 max_width = 80
tab_spaces = 2 tab_spaces = 2
edition = "2021" edition = "2021"

View file

@ -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.
[workspace] [workspace]
resolver = "2" resolver = "2"

View file

@ -1,6 +1,6 @@
MIT License 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 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 this software and associated documentation files (the "Software"), to deal in

View file

@ -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.
[package] [package]
name = "deno_bench_util" name = "deno_bench_util"
version = "0.25.0" version = "0.25.0"

View file

@ -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 bencher::Bencher; use bencher::Bencher;
use deno_core::v8; use deno_core::v8;
use deno_core::Extension; use deno_core::Extension;

View file

@ -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 js_runtime; mod js_runtime;
mod profiling; mod profiling;

View file

@ -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 bencher::{DynBenchFn, StaticBenchFn, TestDescAndFn, TestOpts}; use bencher::{DynBenchFn, StaticBenchFn, TestDescAndFn, TestOpts};
pub fn is_profiling() -> bool { pub fn is_profiling() -> bool {

View file

@ -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.
[package] [package]
name = "deno" name = "deno"

View file

@ -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::bundler::Hook; use deno_ast::swc::bundler::Hook;
use deno_ast::swc::bundler::ModuleRecord; use deno_ast::swc::bundler::ModuleRecord;
use deno_ast::swc::common::Span; use deno_ast::swc::common::Span;

View file

@ -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 crate::config_file; use crate::config_file;
use crate::text_encoding::strip_bom; use crate::text_encoding::strip_bom;

View file

@ -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_core::ModuleSpecifier; use deno_core::ModuleSpecifier;
use log::debug; use log::debug;

View file

@ -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.
// Run with: deno run -A ./cli/bench/deno_common.js // Run with: deno run -A ./cli/bench/deno_common.js
function benchSync(name, n, innerLoop) { function benchSync(name, n, innerLoop) {
const t1 = Date.now(); const t1 = Date.now();

View file

@ -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.
const addr = Deno.args[0] || "127.0.0.1:4500"; const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":"); const [hostname, port] = addr.split(":");

View file

@ -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 super::Result; use super::Result;
use std::{collections::HashMap, path::Path, process::Command, time::Duration}; use std::{collections::HashMap, path::Path, process::Command, time::Duration};

View file

@ -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_core::error::AnyError; use deno_core::error::AnyError;
use deno_core::serde::Deserialize; use deno_core::serde::Deserialize;

View file

@ -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_core::error::AnyError; use deno_core::error::AnyError;
use deno_core::serde_json; use deno_core::serde_json;

View file

@ -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.
const http = require("http"); const http = require("http");
const port = process.argv[2] || "4544"; const port = process.argv[2] || "4544";
console.log("port", port); console.log("port", port);

View file

@ -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.
// Note: this is a keep-alive server. // Note: this is a keep-alive server.
const { Server } = require("net"); const { Server } = require("net");
const port = process.argv[2] || "4544"; const port = process.argv[2] || "4544";

View file

@ -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.
const net = require("net"); const net = require("net");
process.on("uncaughtException", function (error) { process.on("uncaughtException", function (error) {

View file

@ -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_core::error::custom_error; use deno_core::error::custom_error;
use deno_core::op_sync; use deno_core::op_sync;

View file

@ -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 crate::disk_cache::DiskCache; use crate::disk_cache::DiskCache;
use crate::errors::get_error_class_name; use crate::errors::get_error_class_name;

View file

@ -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 ring::digest::Context; use ring::digest::Context;
use ring::digest::SHA256; use ring::digest::SHA256;

View file

@ -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_core::error::generic_error; use deno_core::error::generic_error;
use deno_core::error::type_error; use deno_core::error::type_error;

View file

@ -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 super::errors; use super::errors;
use crate::resolver::ImportMapResolver; use crate::resolver::ImportMapResolver;

View file

@ -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 errors; mod errors;
mod esm_resolver; mod esm_resolver;

View file

@ -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 crate::fs_util::canonicalize_path; use crate::fs_util::canonicalize_path;
use crate::fs_util::specifier_parent; use crate::fs_util::specifier_parent;

View file

@ -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 crate::disk_cache::DiskCache; use crate::disk_cache::DiskCache;
use std::path::PathBuf; use std::path::PathBuf;

View file

@ -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_runtime::colors; use deno_runtime::colors;

View file

@ -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 crate::colors; use crate::colors;
use dissimilar::{diff as difference, Chunk}; use dissimilar::{diff as difference, Chunk};

View file

@ -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 crate::fs_util; use crate::fs_util;
use crate::http_cache::url_to_filename; use crate::http_cache::url_to_filename;

View file

@ -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.
//! The collection of APIs to be able to take `deno_graph` module graphs and //! The collection of APIs to be able to take `deno_graph` module graphs and
//! populate a cache, emit files, and transform a graph into the structures for //! populate a cache, emit files, and transform a graph into the structures for

View file

@ -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.
//! There are many types of errors in Deno: //! There are many types of errors in Deno:
//! - AnyError: a generic wrapper that can encapsulate any type of error. //! - AnyError: a generic wrapper that can encapsulate any type of error.

View file

@ -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 crate::auth_tokens::AuthTokens; use crate::auth_tokens::AuthTokens;
use crate::colors; use crate::colors;

View file

@ -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 crate::colors; use crate::colors;
use crate::fs_util::canonicalize_path; use crate::fs_util::canonicalize_path;

View file

@ -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 clap::App; use clap::App;
use clap::AppSettings; use clap::AppSettings;

View file

@ -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_core::url::Url; use deno_core::url::Url;
use std::net::IpAddr; use std::net::IpAddr;

View file

@ -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.
//! This mod provides DenoError to unify errors across Deno. //! This mod provides DenoError to unify errors across Deno.
use crate::colors::cyan; use crate::colors::cyan;
use crate::colors::italic_bold; use crate::colors::italic_bold;

View file

@ -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_core::anyhow::Context; use deno_core::anyhow::Context;
use deno_core::error::{uri_error, AnyError}; use deno_core::error::{uri_error, AnyError};

View file

@ -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 crate::colors; use crate::colors;
use crate::emit::TypeLib; use crate::emit::TypeLib;

View file

@ -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.
//! This module is meant to eventually implement HTTP cache //! This module is meant to eventually implement HTTP cache
//! as defined in RFC 7234 (<https://tools.ietf.org/html/rfc7234>). //! as defined in RFC 7234 (<https://tools.ietf.org/html/rfc7234>).
//! Currently it's a very simplified version to fulfill Deno needs //! Currently it's a very simplified version to fulfill Deno needs

View file

@ -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 crate::auth_tokens::AuthToken; use crate::auth_tokens::AuthToken;
use cache_control::Cachability; use cache_control::Cachability;

View file

@ -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_core::parking_lot::Mutex; use deno_core::parking_lot::Mutex;
use deno_core::serde_json; use deno_core::serde_json;

View file

@ -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::Write; use std::io::Write;

View file

@ -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 super::language_server; use super::language_server;
use super::tsc; use super::tsc;

View file

@ -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 crate::cache::CacherLoader; use crate::cache::CacherLoader;
use crate::cache::FetchCacher; use crate::cache::FetchCacher;

View file

@ -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.
///! ///!
///! Provides information about what capabilities that are supported by the ///! Provides information about what capabilities that are supported by the

View file

@ -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 super::config::Config; use super::config::Config;
use super::config::WorkspaceSettings; use super::config::WorkspaceSettings;

View file

@ -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 super::client::Client; use super::client::Client;
use super::language_server; use super::language_server;

View file

@ -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_core::anyhow::anyhow; use deno_core::anyhow::anyhow;
use deno_core::error::AnyError; use deno_core::error::AnyError;

View file

@ -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 super::analysis; use super::analysis;
use super::client::Client; use super::client::Client;

View file

@ -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 super::text::LineIndex; use super::text::LineIndex;
use super::tsc; use super::tsc;

View file

@ -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::MediaType; use deno_ast::MediaType;
use deno_core::anyhow::anyhow; use deno_core::anyhow::anyhow;

View file

@ -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::atomic::AtomicBool; use std::sync::atomic::AtomicBool;
use std::sync::atomic::AtomicUsize; use std::sync::atomic::AtomicUsize;

View file

@ -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_core::serde::Deserialize; use deno_core::serde::Deserialize;
use deno_core::serde::Serialize; use deno_core::serde::Serialize;

View file

@ -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.
// FIXME(bartlomieju): remove this attribute // FIXME(bartlomieju): remove this attribute
#![allow(unused)] #![allow(unused)]

View file

@ -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 tokio::time::sleep; use tokio::time::sleep;
use tokio::time::Duration; use tokio::time::Duration;

View file

@ -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.
// The logic of this module is heavily influenced by path-to-regexp at: // The logic of this module is heavily influenced by path-to-regexp at:
// https://github.com/pillarjs/path-to-regexp/ which is licensed as follows: // https://github.com/pillarjs/path-to-regexp/ which is licensed as follows:

View file

@ -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_core::parking_lot::Mutex; use deno_core::parking_lot::Mutex;
use deno_core::serde::Deserialize; use deno_core::serde::Deserialize;

View file

@ -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.
// The logic of this module is heavily influenced by // The logic of this module is heavily influenced by
// https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/src/languageFeatures/refactor.ts // https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/src/languageFeatures/refactor.ts

View file

@ -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 super::path_to_regex::parse; use super::path_to_regex::parse;
use super::path_to_regex::string_to_regex; use super::path_to_regex::string_to_regex;

View file

@ -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::HashMap;
use std::future::Future; use std::future::Future;

View file

@ -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.
// The logic of this module is heavily influenced by // The logic of this module is heavily influenced by
// https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/src/languageFeatures/semanticTokens.ts // https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/src/languageFeatures/semanticTokens.ts

View file

@ -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_core::error::custom_error; use deno_core::error::custom_error;
use deno_core::error::AnyError; use deno_core::error::AnyError;

View file

@ -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 super::code_lens; use super::code_lens;
use super::config; use super::config;

View file

@ -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 crate::file_fetcher::map_content_type; use crate::file_fetcher::map_content_type;

View file

@ -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 ast; mod ast;
mod auth_tokens; mod auth_tokens;

View file

@ -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 crate::emit::TypeLib; use crate::emit::TypeLib;
use crate::proc_state::ProcState; use crate::proc_state::ProcState;

View file

@ -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 crate::diagnostics::Diagnostics; use crate::diagnostics::Diagnostics;
use crate::fmt_errors::format_file_name; use crate::fmt_errors::format_file_name;

View file

@ -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 crate::proc_state::ProcState; use crate::proc_state::ProcState;
use deno_core::Extension; use deno_core::Extension;

View file

@ -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 crate::cache; use crate::cache;
use crate::config_file::IgnoredCompilerOptions; use crate::config_file::IgnoredCompilerOptions;

View file

@ -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 crate::cache; use crate::cache;
use crate::colors; use crate::colors;

View file

@ -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_core::error::AnyError; use deno_core::error::AnyError;
use deno_core::resolve_import; use deno_core::resolve_import;

View file

@ -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.
//! This mod provides functions to remap a `JsError` based on a source map. //! This mod provides functions to remap a `JsError` based on a source map.

View file

@ -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 crate::colors; use crate::colors;
use crate::file_fetcher::get_source_from_data_url; use crate::file_fetcher::get_source_from_data_url;

View file

@ -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 crate::itest; use crate::itest;
use tempfile::TempDir; use tempfile::TempDir;

View file

@ -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 crate::itest; use crate::itest;

View file

@ -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 crate::itest; use crate::itest;
use deno_core::url::Url; use deno_core::url::Url;

View file

@ -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::process::Command; use std::process::Command;
use tempfile::TempDir; use tempfile::TempDir;

View file

@ -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::fs; use std::fs;
use tempfile::TempDir; use tempfile::TempDir;

View file

@ -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 crate::itest; use crate::itest;

View file

@ -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 crate::itest; use crate::itest;
use test_util as util; use test_util as util;

View file

@ -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 crate::itest; use crate::itest;
use tempfile::TempDir; use tempfile::TempDir;

View file

@ -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 crate::itest; use crate::itest;
use tempfile::TempDir; use tempfile::TempDir;

View file

@ -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_core::futures; use deno_core::futures;
use deno_core::futures::prelude::*; use deno_core::futures::prelude::*;

View file

@ -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::process::Command; use std::process::Command;
use tempfile::TempDir; use tempfile::TempDir;

View file

@ -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 crate::itest; use crate::itest;
use test_util as util; use test_util as util;

View file

@ -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 deno_ast::ModuleSpecifier;
use deno_core::serde::Deserialize; use deno_core::serde::Deserialize;

View file

@ -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 crate::itest; use crate::itest;
use deno_core::url; use deno_core::url;

View file

@ -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 test_util as util; use test_util as util;

View file

@ -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_core::url; use deno_core::url;
use std::process::Command; use std::process::Command;

View file

@ -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 crate::itest; use crate::itest;
use test_util as util; use test_util as util;

View file

@ -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::process::{Command, Stdio}; use std::process::{Command, Stdio};
use tempfile::TempDir; use tempfile::TempDir;

View file

@ -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 flaky_test::flaky_test; use flaky_test::flaky_test;
use std::fs::write; use std::fs::write;

View file

@ -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 crate::itest; use crate::itest;

View file

@ -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.
// The tests exist in a sub folder instead of as separate files in // The tests exist in a sub folder instead of as separate files in
// this directory so that cargo doesn't compile each file as a new crate. // this directory so that cargo doesn't compile each file as a new crate.

View file

@ -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 strict"; "use strict";
function assertEquals(a, b) { function assertEquals(a, b) {

View file

@ -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 strict"; "use strict";
function allocTest(alloc, allocAssert, deallocAssert) { function allocTest(alloc, allocAssert, deallocAssert) {

File diff suppressed because one or more lines are too long

View file

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

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