/
deno_std.ts
140 lines (131 loc) · 8.05 KB
/
deno_std.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
// deno-lint-ignore-file
/*
This is the original deno_std.ts definition file, which has imports
that are no longer available in deno's stdlib.
import * as archive from "https://deno.land/std@0.159.0/archive/tar.ts";
import * as async from "https://deno.land/std@0.159.0/async/mod.ts";
import * as bytes from "https://deno.land/std@0.159.0/bytes/mod.ts";
import * as collections from "https://deno.land/std@0.159.0/collections/mod.ts";
import * as crypto from "https://deno.land/std@0.159.0/crypto/mod.ts";
import * as datetime from "https://deno.land/std@0.159.0/datetime/mod.ts";
import * as encoding_ascii85 from "https://deno.land/std@0.159.0/encoding/ascii85.ts";
import * as encoding_base32 from "https://deno.land/std@0.159.0/encoding/base32.ts";
import * as encoding_base64 from "https://deno.land/std@0.159.0/encoding/base64.ts";
import * as encoding_base64url from "https://deno.land/std@0.159.0/encoding/base64url.ts";
import * as encoding_binary from "https://deno.land/std@0.159.0/encoding/binary.ts";
import * as encoding_csv from "https://deno.land/std@0.159.0/encoding/csv.ts";
import * as encoding_hex from "https://deno.land/std@0.159.0/encoding/hex.ts";
import * as encoding_toml from "https://deno.land/std@0.159.0/encoding/toml.ts";
import * as encoding_yaml from "https://deno.land/std@0.159.0/encoding/yaml.ts";
import * as flags from "https://deno.land/std@0.159.0/flags/mod.ts";
import * as fmt_bytes from "https://deno.land/std@0.159.0/fmt/bytes.ts";
import * as fmt_colors from "https://deno.land/std@0.159.0/fmt/colors.ts";
import * as fmt_printf from "https://deno.land/std@0.159.0/fmt/printf.ts";
import * as fs from "https://deno.land/std@0.159.0/fs/mod.ts";
import * as fs_copy from "https://deno.land/std@0.159.0/fs/copy.ts";
import * as hash from "https://deno.land/std@0.159.0/hash/mod.ts";
import * as http from "https://deno.land/std@0.159.0/http/mod.ts";
import * as io from "https://deno.land/std@0.159.0/io/mod.ts";
import * as log from "https://deno.land/std@0.159.0/log/mod.ts";
import * as media_types from "https://deno.land/std@0.159.0/media_types/mod.ts";
import * as path from "https://deno.land/std@0.159.0/path/mod.ts";
import * as permissions from "https://deno.land/std@0.159.0/permissions/mod.ts";
import * as signal from "https://deno.land/std@0.159.0/signal/mod.ts";
import * as streams from "https://deno.land/std@0.159.0/streams/mod.ts";
import * as textproto from "https://deno.land/std@0.159.0/textproto/mod.ts";
import * as uuid from "https://deno.land/std@0.159.0/uuid/mod.ts";
*/
import * as tar from "https://deno.land/std@0.217.0/archive/tar.ts";
import * as async from "https://deno.land/std@0.217.0/async/mod.ts";
import * as bytes from "https://deno.land/std@0.217.0/bytes/mod.ts";
import * as collections from "https://deno.land/std@0.217.0/collections/mod.ts";
import * as crypto from "https://deno.land/std@0.217.0/crypto/mod.ts";
import * as datetime from "https://deno.land/std@0.217.0/datetime/mod.ts";
import * as dotenv from "https://deno.land/std@0.217.0/dotenv/mod.ts";
// encoding has no mod.ts
import * as ascii85 from "https://deno.land/std@0.217.0/encoding/ascii85.ts";
import * as base32 from "https://deno.land/std@0.217.0/encoding/base32.ts";
import * as base58 from "https://deno.land/std@0.217.0/encoding/base58.ts";
import * as base64 from "https://deno.land/std@0.217.0/encoding/base64.ts";
import * as base64url from "https://deno.land/std@0.217.0/encoding/base64url.ts";
import * as csv from "https://deno.land/std@0.217.0/csv/mod.ts";
import * as front_matter from "https://deno.land/std@0.217.0/front_matter/mod.ts";
import * as hex from "https://deno.land/std@0.217.0/encoding/hex.ts";
import * as jsonc from "https://deno.land/std@0.217.0/jsonc/mod.ts";
import * as toml from "https://deno.land/std@0.217.0/toml/mod.ts";
import * as varint from "https://deno.land/std@0.217.0/encoding/varint.ts";
import * as yaml from "https://deno.land/std@0.217.0/yaml/mod.ts";
import * as flags from "https://deno.land/std@0.217.0/flags/mod.ts";
import * as fmt_bytes from "https://deno.land/std@0.217.0/fmt/bytes.ts";
import * as fmt_colors from "https://deno.land/std@0.217.0/fmt/colors.ts";
import * as fmt_printf from "https://deno.land/std@0.217.0/fmt/printf.ts";
import * as fs from "https://deno.land/std@0.217.0/fs/mod.ts";
import * as http from "https://deno.land/std@0.217.0/http/mod.ts";
import * as io from "https://deno.land/std@0.217.0/io/mod.ts";
import * as log from "https://deno.land/std@0.217.0/log/mod.ts";
import * as mediaTypes from "https://deno.land/std@0.217.0/media_types/mod.ts";
import * as path from "https://deno.land/std@0.217.0/path/mod.ts";
import * as permissions from "https://deno.land/std@0.217.0/permissions/mod.ts";
import * as semver from "https://deno.land/std@0.217.0/semver/mod.ts";
import * as streams from "https://deno.land/std@0.217.0/streams/mod.ts";
import * as uuid from "https://deno.land/std@0.217.0/uuid/mod.ts";
import * as version from "https://deno.land/std@0.217.0/version.ts";
/*
These would be useful imports to add, but they increase the
size of the download cache significantly, so we're skipping
them until they are needed.
import "https://deno.land/std@0.217.0/node/assert/strict.ts";
import "https://deno.land/std@0.217.0/node/dns/promises.ts";
import "https://deno.land/std@0.217.0/node/fs/promises.ts";
import "https://deno.land/std@0.217.0/node/path/mod.ts";
import "https://deno.land/std@0.217.0/node/readline/promises.ts";
import "https://deno.land/std@0.217.0/node/stream/web.ts";
import "https://deno.land/std@0.217.0/node/timers/promises.ts";
import "https://deno.land/std@0.217.0/node/util/types.ts";
import "https://deno.land/std@0.217.0/node/assert.ts";
import "https://deno.land/std@0.217.0/node/assertion_error.ts";
import "https://deno.land/std@0.217.0/node/async_hooks.ts";
import "https://deno.land/std@0.217.0/node/async_hooks.ts";
import "https://deno.land/std@0.217.0/node/buffer.ts";
import "https://deno.land/std@0.217.0/node/child_process.ts";
import "https://deno.land/std@0.217.0/node/cluster.ts";
import "https://deno.land/std@0.217.0/node/console.ts";
import "https://deno.land/std@0.217.0/node/constants.ts";
import "https://deno.land/std@0.217.0/node/crypto.ts";
import "https://deno.land/std@0.217.0/node/dgram.ts";
import "https://deno.land/std@0.217.0/node/diagnostics_channel.ts";
import "https://deno.land/std@0.217.0/node/dns.ts";
import "https://deno.land/std@0.217.0/node/domain.ts";
import "https://deno.land/std@0.217.0/node/events.ts";
import "https://deno.land/std@0.217.0/node/fs.ts";
import "https://deno.land/std@0.217.0/node/http.ts";
import "https://deno.land/std@0.217.0/node/http2.ts";
import "https://deno.land/std@0.217.0/node/https.ts";
import "https://deno.land/std@0.217.0/node/inspector.ts";
import "https://deno.land/std@0.217.0/node/module_all.ts";
import "https://deno.land/std@0.217.0/node/module_esm.ts";
import "https://deno.land/std@0.217.0/node/module.ts";
import "https://deno.land/std@0.217.0/node/net.ts";
import "https://deno.land/std@0.217.0/node/os.ts";
import "https://deno.land/std@0.217.0/node/path.ts";
import "https://deno.land/std@0.217.0/node/perf_hooks.ts";
import "https://deno.land/std@0.217.0/node/process.ts";
import "https://deno.land/std@0.217.0/node/punycode.ts";
import "https://deno.land/std@0.217.0/node/querystring.ts";
import "https://deno.land/std@0.217.0/node/readline.ts";
import "https://deno.land/std@0.217.0/node/repl.ts";
import "https://deno.land/std@0.217.0/node/stream.ts";
import "https://deno.land/std@0.217.0/node/string_decoder.ts";
import "https://deno.land/std@0.217.0/node/sys.ts";
import "https://deno.land/std@0.217.0/node/timers.ts";
import "https://deno.land/std@0.217.0/node/tls.ts";
import "https://deno.land/std@0.217.0/node/tty.ts";
import "https://deno.land/std@0.217.0/node/upstream_modules.ts";
import "https://deno.land/std@0.217.0/node/url.ts";
import "https://deno.land/std@0.217.0/node/util.ts";
import "https://deno.land/std@0.217.0/node/v8.ts";
import "https://deno.land/std@0.217.0/node/vm.ts";
import "https://deno.land/std@0.217.0/node/wasi.ts";
import "https://deno.land/std@0.217.0/node/worker_threads.ts";
import "https://deno.land/std@0.217.0/node/zlib.ts";
*/