mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
Happy new year!
This commit is contained in:
parent
320577c131
commit
2c477dd7cb
32 changed files with 32 additions and 32 deletions
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2018 Ryan Dahl
|
Copyright (c) 2018-2019 the Deno authors
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// tslint:disable-next-line:no-reference
|
// tslint:disable-next-line:no-reference
|
||||||
/// <reference path="./plugins.d.ts" />
|
/// <reference path="./plugins.d.ts" />
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import * as domTypes from "./dom_types";
|
import * as domTypes from "./dom_types";
|
||||||
import { containsOnlyASCII } from "./util";
|
import { containsOnlyASCII } from "./util";
|
||||||
import { TextEncoder } from "./text_encoding";
|
import { TextEncoder } from "./text_encoding";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import { test, assert, assertEqual } from "./test_util.ts";
|
import { test, assert, assertEqual } from "./test_util.ts";
|
||||||
|
|
||||||
test(async function blobString() {
|
test(async function blobString() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import * as msg from "gen/msg_generated";
|
import * as msg from "gen/msg_generated";
|
||||||
import * as flatbuffers from "./flatbuffers";
|
import * as flatbuffers from "./flatbuffers";
|
||||||
import * as dispatch from "./dispatch";
|
import * as dispatch from "./dispatch";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import { testPerm, assertEqual } from "./test_util.ts";
|
import { testPerm, assertEqual } from "./test_util.ts";
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import * as ts from "typescript";
|
import * as ts from "typescript";
|
||||||
import { MediaType } from "gen/msg_generated";
|
import { MediaType } from "gen/msg_generated";
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import { test, assert, assertEqual } from "./test_util.ts";
|
import { test, assert, assertEqual } from "./test_util.ts";
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
import * as ts from "typescript";
|
import * as ts from "typescript";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import { isTypedArray } from "./util";
|
import { isTypedArray } from "./util";
|
||||||
|
|
||||||
// tslint:disable-next-line:no-any
|
// tslint:disable-next-line:no-any
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import { Console, libdeno, stringifyArgs, inspect } from "deno";
|
import { Console, libdeno, stringifyArgs, inspect } from "deno";
|
||||||
import { test, assert, assertEqual } from "./test_util.ts";
|
import { test, assert, assertEqual } from "./test_util.ts";
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import * as msg from "gen/msg_generated";
|
import * as msg from "gen/msg_generated";
|
||||||
import * as flatbuffers from "./flatbuffers";
|
import * as flatbuffers from "./flatbuffers";
|
||||||
import * as dispatch from "./dispatch";
|
import * as dispatch from "./dispatch";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import { testPerm, assert, assertEqual } from "./test_util.ts";
|
import { testPerm, assert, assertEqual } from "./test_util.ts";
|
||||||
import * as deno from "deno";
|
import * as deno from "deno";
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// Public deno module.
|
// Public deno module.
|
||||||
/// <amd-module name="deno"/>
|
/// <amd-module name="deno"/>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
use dirs;
|
use dirs;
|
||||||
use errors;
|
use errors;
|
||||||
use errors::DenoError;
|
use errors::DenoError;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
use resources::{EagerAccept, EagerRead, EagerWrite, Resource};
|
use resources::{EagerAccept, EagerRead, EagerWrite, Resource};
|
||||||
use tokio_util;
|
use tokio_util;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
use hyper;
|
use hyper;
|
||||||
pub use msg::ErrorKind;
|
pub use msg::ErrorKind;
|
||||||
use std;
|
use std;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
use getopts;
|
use getopts;
|
||||||
use getopts::Options;
|
use getopts::Options;
|
||||||
use libc::c_int;
|
use libc::c_int;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
use std;
|
use std;
|
||||||
use std::fs::{create_dir, DirBuilder, File, OpenOptions};
|
use std::fs::{create_dir, DirBuilder, File, OpenOptions};
|
||||||
use std::io::ErrorKind;
|
use std::io::ErrorKind;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
use futures::Async;
|
use futures::Async;
|
||||||
use futures::Poll;
|
use futures::Poll;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
use errors;
|
use errors;
|
||||||
use errors::{DenoError, DenoResult};
|
use errors::{DenoError, DenoResult};
|
||||||
use tokio_util;
|
use tokio_util;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// Do not use FlatBuffers in this module.
|
// Do not use FlatBuffers in this module.
|
||||||
// TODO Currently this module uses Tokio, but it would be nice if they were
|
// TODO Currently this module uses Tokio, but it would be nice if they were
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// Note that source_map_mappings requires 0-indexed line and column numbers but
|
// Note that source_map_mappings requires 0-indexed line and column numbers but
|
||||||
// V8 Exceptions are 1-indexed.
|
// V8 Exceptions are 1-indexed.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
use libc::c_char;
|
use libc::c_char;
|
||||||
use libc::c_int;
|
use libc::c_int;
|
||||||
use libc::c_void;
|
use libc::c_void;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
extern crate dirs;
|
extern crate dirs;
|
||||||
extern crate flatbuffers;
|
extern crate flatbuffers;
|
||||||
extern crate getopts;
|
extern crate getopts;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
// Helpers for serialization.
|
// Helpers for serialization.
|
||||||
use errors;
|
use errors;
|
||||||
use errors::DenoResult;
|
use errors::DenoResult;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
use errors;
|
use errors;
|
||||||
use errors::{DenoError, DenoResult, ErrorKind};
|
use errors::{DenoError, DenoResult, ErrorKind};
|
||||||
use fs as deno_fs;
|
use fs as deno_fs;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
extern crate rustyline;
|
extern crate rustyline;
|
||||||
|
|
||||||
use rustyline::error::ReadlineError::Interrupted;
|
use rustyline::error::ReadlineError::Interrupted;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// Think of Resources as File Descriptors. They are integers that are allocated
|
// Think of Resources as File Descriptors. They are integers that are allocated
|
||||||
// by the privileged side of Deno to refer to various resources. The simplest
|
// by the privileged side of Deno to refer to various resources. The simplest
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
use libdeno::deno_buf;
|
use libdeno::deno_buf;
|
||||||
|
|
||||||
pub fn deno_snapshot() -> deno_buf {
|
pub fn deno_snapshot() -> deno_buf {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
use resources::Resource;
|
use resources::Resource;
|
||||||
|
|
||||||
use futures;
|
use futures;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
use libdeno;
|
use libdeno;
|
||||||
use std::ffi::CStr;
|
use std::ffi::CStr;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
# Performs benchmark and append data to //website/data.json.
|
# Performs benchmark and append data to //website/data.json.
|
||||||
# If //website/data.json doesn't exist, this script tries to import it from
|
# If //website/data.json doesn't exist, this script tries to import it from
|
||||||
# gh-pages branch.
|
# gh-pages branch.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue