Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
deno
提交
108294de
D
deno
项目概览
张重言
/
deno
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
deno
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
108294de
编写于
1月 21, 2020
作者:
T
Takashi Idobe
提交者:
Ry Dahl
1月 21, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change copyrights from 2019 to 2020 (#3733)
上级
5e2fd183
变更
59
隐藏空白更改
内联
并排
Showing
59 changed file
with
59 addition
and
59 deletion
+59
-59
.rustfmt.toml
.rustfmt.toml
+1
-1
LICENSE
LICENSE
+1
-1
cli/js/compiler_api.ts
cli/js/compiler_api.ts
+1
-1
cli/js/compiler_api_test.ts
cli/js/compiler_api_test.ts
+1
-1
cli/js/compiler_host.ts
cli/js/compiler_host.ts
+1
-1
cli/js/compiler_imports.ts
cli/js/compiler_imports.ts
+1
-1
cli/js/compiler_sourcefile.ts
cli/js/compiler_sourcefile.ts
+1
-1
cli/js/compiler_util.ts
cli/js/compiler_util.ts
+1
-1
cli/js/diagnostics_util.ts
cli/js/diagnostics_util.ts
+1
-1
cli/js/mixins/dom_iterable.ts
cli/js/mixins/dom_iterable.ts
+1
-1
cli/js/mixins/dom_iterable_test.ts
cli/js/mixins/dom_iterable_test.ts
+1
-1
std/encoding/testdata/cargo.toml
std/encoding/testdata/cargo.toml
+1
-1
std/encoding/yaml/dumper/dumper.ts
std/encoding/yaml/dumper/dumper.ts
+1
-1
std/encoding/yaml/dumper/dumper_state.ts
std/encoding/yaml/dumper/dumper_state.ts
+1
-1
std/encoding/yaml/error.ts
std/encoding/yaml/error.ts
+1
-1
std/encoding/yaml/example/dump.ts
std/encoding/yaml/example/dump.ts
+1
-1
std/encoding/yaml/example/inout.ts
std/encoding/yaml/example/inout.ts
+1
-1
std/encoding/yaml/example/parse.ts
std/encoding/yaml/example/parse.ts
+1
-1
std/encoding/yaml/example/sample_document.ts
std/encoding/yaml/example/sample_document.ts
+1
-1
std/encoding/yaml/loader/loader.ts
std/encoding/yaml/loader/loader.ts
+1
-1
std/encoding/yaml/loader/loader_state.ts
std/encoding/yaml/loader/loader_state.ts
+1
-1
std/encoding/yaml/mark.ts
std/encoding/yaml/mark.ts
+1
-1
std/encoding/yaml/parse.ts
std/encoding/yaml/parse.ts
+1
-1
std/encoding/yaml/parse_test.ts
std/encoding/yaml/parse_test.ts
+1
-1
std/encoding/yaml/schema.ts
std/encoding/yaml/schema.ts
+1
-1
std/encoding/yaml/schema/core.ts
std/encoding/yaml/schema/core.ts
+1
-1
std/encoding/yaml/schema/default.ts
std/encoding/yaml/schema/default.ts
+1
-1
std/encoding/yaml/schema/failsafe.ts
std/encoding/yaml/schema/failsafe.ts
+1
-1
std/encoding/yaml/schema/json.ts
std/encoding/yaml/schema/json.ts
+1
-1
std/encoding/yaml/schema/mod.ts
std/encoding/yaml/schema/mod.ts
+1
-1
std/encoding/yaml/state.ts
std/encoding/yaml/state.ts
+1
-1
std/encoding/yaml/stringify.ts
std/encoding/yaml/stringify.ts
+1
-1
std/encoding/yaml/stringify_test.ts
std/encoding/yaml/stringify_test.ts
+1
-1
std/encoding/yaml/type.ts
std/encoding/yaml/type.ts
+1
-1
std/encoding/yaml/type/binary.ts
std/encoding/yaml/type/binary.ts
+1
-1
std/encoding/yaml/type/bool.ts
std/encoding/yaml/type/bool.ts
+1
-1
std/encoding/yaml/type/float.ts
std/encoding/yaml/type/float.ts
+1
-1
std/encoding/yaml/type/int.ts
std/encoding/yaml/type/int.ts
+1
-1
std/encoding/yaml/type/map.ts
std/encoding/yaml/type/map.ts
+1
-1
std/encoding/yaml/type/merge.ts
std/encoding/yaml/type/merge.ts
+1
-1
std/encoding/yaml/type/mod.ts
std/encoding/yaml/type/mod.ts
+1
-1
std/encoding/yaml/type/nil.ts
std/encoding/yaml/type/nil.ts
+1
-1
std/encoding/yaml/type/omap.ts
std/encoding/yaml/type/omap.ts
+1
-1
std/encoding/yaml/type/pairs.ts
std/encoding/yaml/type/pairs.ts
+1
-1
std/encoding/yaml/type/seq.ts
std/encoding/yaml/type/seq.ts
+1
-1
std/encoding/yaml/type/set.ts
std/encoding/yaml/type/set.ts
+1
-1
std/encoding/yaml/type/str.ts
std/encoding/yaml/type/str.ts
+1
-1
std/encoding/yaml/type/timestamp.ts
std/encoding/yaml/type/timestamp.ts
+1
-1
std/encoding/yaml/utils.ts
std/encoding/yaml/utils.ts
+1
-1
std/http/testdata/simple_https_server.ts
std/http/testdata/simple_https_server.ts
+1
-1
std/http/testdata/simple_server.ts
std/http/testdata/simple_server.ts
+1
-1
std/uuid/tests/isNil.ts
std/uuid/tests/isNil.ts
+1
-1
std/uuid/tests/v4/generate.ts
std/uuid/tests/v4/generate.ts
+1
-1
std/uuid/tests/v4/validate.ts
std/uuid/tests/v4/validate.ts
+1
-1
tools/hyper_hello/hyper_hello.rs
tools/hyper_hello/hyper_hello.rs
+1
-1
tools/throughput_benchmark.py
tools/throughput_benchmark.py
+1
-1
tools/upload_docs.py
tools/upload_docs.py
+1
-1
tools/util.py
tools/util.py
+1
-1
tools/util_test.py
tools/util_test.py
+1
-1
未找到文件。
.rustfmt.toml
浏览文件 @
108294de
# Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
# Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
max_width
=
80
tab_spaces
=
2
edition
=
"2018"
\ No newline at end of file
LICENSE
浏览文件 @
108294de
MIT License
Copyright (c) 2018-20
19
the Deno authors
Copyright (c) 2018-20
20
the Deno authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
...
...
cli/js/compiler_api.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
// This file contains the runtime APIs which will dispatch work to the internal
// compiler within Deno.
...
...
cli/js/compiler_api_test.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
assert
,
assertEquals
,
test
}
from
"
./test_util.ts
"
;
...
...
cli/js/compiler_host.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
MediaType
,
SourceFile
}
from
"
./compiler_sourcefile.ts
"
;
import
{
OUT_DIR
,
WriteFileCallback
}
from
"
./compiler_util.ts
"
;
...
...
cli/js/compiler_imports.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
MediaType
,
...
...
cli/js/compiler_sourcefile.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
getMappedModuleName
,
...
...
cli/js/compiler_util.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
bold
,
cyan
,
yellow
}
from
"
./colors.ts
"
;
import
{
CompilerOptions
}
from
"
./compiler_api.ts
"
;
...
...
cli/js/diagnostics_util.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
// These utilities are used by compiler.ts to format TypeScript diagnostics
// into Deno Diagnostics.
...
...
cli/js/mixins/dom_iterable.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import
{
DomIterable
}
from
"
../dom_types.ts
"
;
import
{
requiredArguments
}
from
"
../util.ts
"
;
...
...
cli/js/mixins/dom_iterable_test.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
test
,
assert
,
assertEquals
}
from
"
../test_util.ts
"
;
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
...
...
std/encoding/testdata/cargo.toml
浏览文件 @
108294de
# Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
# Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
# Dummy package info required by `cargo fetch`.
# Use tools/sync_third_party.py to install deps after editing this file.
# Deno does not build with cargo. Deno uses a build system called gn.
...
...
std/encoding/yaml/dumper/dumper.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
/* eslint-disable max-len */
...
...
std/encoding/yaml/dumper/dumper_state.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Schema
,
SchemaDefinition
}
from
"
../schema.ts
"
;
import
{
State
}
from
"
../state.ts
"
;
...
...
std/encoding/yaml/error.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Mark
}
from
"
./mark.ts
"
;
...
...
std/encoding/yaml/example/dump.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
stringify
}
from
"
../../yaml.ts
"
;
...
...
std/encoding/yaml/example/inout.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
parse
,
stringify
}
from
"
../../yaml.ts
"
;
...
...
std/encoding/yaml/example/parse.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
parse
}
from
"
../../yaml.ts
"
;
...
...
std/encoding/yaml/example/sample_document.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
/* eslint-disable @typescript-eslint/explicit-function-return-type */
import
{
parse
}
from
"
../../yaml.ts
"
;
...
...
std/encoding/yaml/loader/loader.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
/* eslint-disable no-conditional-assignment */
/* eslint-disable max-len */
...
...
std/encoding/yaml/loader/loader_state.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
YAMLError
}
from
"
../error.ts
"
;
import
{
Schema
,
SchemaDefinition
,
TypeMap
}
from
"
../schema.ts
"
;
...
...
std/encoding/yaml/mark.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
repeat
}
from
"
./utils.ts
"
;
...
...
std/encoding/yaml/parse.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
CbFunction
,
load
,
loadAll
}
from
"
./loader/loader.ts
"
;
import
{
LoaderStateOptions
}
from
"
./loader/loader_state.ts
"
;
...
...
std/encoding/yaml/parse_test.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
parse
,
parseAll
}
from
"
./parse.ts
"
;
import
{
test
}
from
"
../../testing/mod.ts
"
;
...
...
std/encoding/yaml/schema.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
YAMLError
}
from
"
./error.ts
"
;
import
{
KindType
,
Type
}
from
"
./type.ts
"
;
...
...
std/encoding/yaml/schema/core.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Schema
}
from
"
../schema.ts
"
;
import
{
json
}
from
"
./json.ts
"
;
...
...
std/encoding/yaml/schema/default.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Schema
}
from
"
../schema.ts
"
;
import
{
binary
,
merge
,
omap
,
pairs
,
set
,
timestamp
}
from
"
../type/mod.ts
"
;
...
...
std/encoding/yaml/schema/failsafe.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Schema
}
from
"
../schema.ts
"
;
import
{
map
,
seq
,
str
}
from
"
../type/mod.ts
"
;
...
...
std/encoding/yaml/schema/json.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Schema
}
from
"
../schema.ts
"
;
import
{
bool
,
float
,
int
,
nil
}
from
"
../type/mod.ts
"
;
...
...
std/encoding/yaml/schema/mod.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
export
{
core
as
CORE_SCHEMA
}
from
"
./core.ts
"
;
export
{
def
as
DEFAULT_SCHEMA
}
from
"
./default.ts
"
;
...
...
std/encoding/yaml/state.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
SchemaDefinition
}
from
"
./schema.ts
"
;
import
{
DEFAULT_SCHEMA
}
from
"
./schema/mod.ts
"
;
...
...
std/encoding/yaml/stringify.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
dump
}
from
"
./dumper/dumper.ts
"
;
import
{
DumperStateOptions
}
from
"
./dumper/dumper_state.ts
"
;
...
...
std/encoding/yaml/stringify_test.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
test
}
from
"
../../testing/mod.ts
"
;
import
{
assertEquals
}
from
"
../../testing/asserts.ts
"
;
...
...
std/encoding/yaml/type.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
ArrayObject
,
Any
}
from
"
./utils.ts
"
;
...
...
std/encoding/yaml/type/binary.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
import
{
Any
}
from
"
../utils.ts
"
;
...
...
std/encoding/yaml/type/bool.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
import
{
isBoolean
}
from
"
../utils.ts
"
;
...
...
std/encoding/yaml/type/float.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
StyleVariant
,
Type
}
from
"
../type.ts
"
;
import
{
isNegativeZero
,
Any
}
from
"
../utils.ts
"
;
...
...
std/encoding/yaml/type/int.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
import
{
isNegativeZero
,
Any
}
from
"
../utils.ts
"
;
...
...
std/encoding/yaml/type/map.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
import
{
Any
}
from
"
../utils.ts
"
;
...
...
std/encoding/yaml/type/merge.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
...
...
std/encoding/yaml/type/mod.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
export
{
binary
}
from
"
./binary.ts
"
;
export
{
bool
}
from
"
./bool.ts
"
;
...
...
std/encoding/yaml/type/nil.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
...
...
std/encoding/yaml/type/omap.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
import
{
Any
}
from
"
../utils.ts
"
;
...
...
std/encoding/yaml/type/pairs.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
import
{
Any
}
from
"
../utils.ts
"
;
...
...
std/encoding/yaml/type/seq.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
import
{
Any
}
from
"
../utils.ts
"
;
...
...
std/encoding/yaml/type/set.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
import
{
Any
}
from
"
../utils.ts
"
;
...
...
std/encoding/yaml/type/str.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
...
...
std/encoding/yaml/type/timestamp.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
Type
}
from
"
../type.ts
"
;
...
...
std/encoding/yaml/utils.ts
浏览文件 @
108294de
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
export
type
Any
=
any
;
...
...
std/http/testdata/simple_https_server.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
// This is an example of a https server
import
{
serveTLS
}
from
"
../server.ts
"
;
...
...
std/http/testdata/simple_server.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
// This is an example of a server that responds with an empty body
import
{
serve
}
from
"
../server.ts
"
;
...
...
std/uuid/tests/isNil.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
assert
}
from
"
../../testing/asserts.ts
"
;
import
{
test
}
from
"
../../testing/mod.ts
"
;
// @ts-ignore
...
...
std/uuid/tests/v4/generate.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
assert
,
assertEquals
}
from
"
../../../testing/asserts.ts
"
;
import
{
test
}
from
"
../../../testing/mod.ts
"
;
import
{
generate
,
validate
}
from
"
../../v4.ts
"
;
...
...
std/uuid/tests/v4/validate.ts
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
{
assert
}
from
"
../../../testing/asserts.ts
"
;
import
{
test
}
from
"
../../../testing/mod.ts
"
;
import
{
generate
,
validate
}
from
"
../../v4.ts
"
;
...
...
tools/hyper_hello/hyper_hello.rs
浏览文件 @
108294de
// Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
// Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
// Adapted from https://github.com/hyperium/hyper/blob/master/examples/hello.rs
#![deny(warnings)]
...
...
tools/throughput_benchmark.py
浏览文件 @
108294de
#!/usr/bin/env python
# Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
# Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
# Performs benchmark and append data to //website/data.json.
# If //website/data.json doesn't exist, this script tries to import it from
# gh-pages branch.
...
...
tools/upload_docs.py
浏览文件 @
108294de
#!/usr/bin/env python
# Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
# Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
os
import
sys
from
util
import
run
,
root_path
...
...
tools/util.py
浏览文件 @
108294de
# Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
# Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
collections
import
os
import
re
...
...
tools/util_test.py
浏览文件 @
108294de
# Copyright 2018-20
19
the Deno authors. All rights reserved. MIT license.
# Copyright 2018-20
20
the Deno authors. All rights reserved. MIT license.
import
os
from
test_util
import
DenoTestCase
,
run_tests
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录