-
Notifications
You must be signed in to change notification settings - Fork 230
/
deps.ts
89 lines (83 loc) · 2.31 KB
/
deps.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
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.
// This file contains the external dependencies that oak depends upon
// `std` dependencies
export {
concat,
copy as copyBytes,
equals,
} from "https://deno.land/std@0.211.0/bytes/mod.ts";
export { timingSafeEqual } from "https://deno.land/std@0.211.0/crypto/timing_safe_equal.ts";
export { KeyStack } from "https://deno.land/std@0.211.0/crypto/unstable_keystack.ts";
export { encodeBase64 } from "https://deno.land/std@0.211.0/encoding/base64.ts";
export {
mergeHeaders,
SecureCookieMap,
type SecureCookieMapGetOptions,
type SecureCookieMapSetDeleteOptions,
} from "https://deno.land/std@0.211.0/http/unstable_cookie_map.ts";
export {
calculate,
type ETagOptions,
type FileInfo,
ifMatch,
ifNoneMatch,
} from "https://deno.land/std@0.211.0/http/etag.ts";
export {
accepts,
acceptsEncodings,
acceptsLanguages,
} from "https://deno.land/std@0.211.0/http/negotiation.ts";
export { UserAgent } from "https://deno.land/std@0.211.0/http/user_agent.ts";
export { LimitedReader } from "https://deno.land/std@0.211.0/io/mod.ts";
export {
contentType,
extension,
typeByExtension,
} from "https://deno.land/std@0.211.0/media_types/mod.ts";
export {
readAll,
readerFromStreamReader,
writeAll,
} from "https://deno.land/std@0.211.0/streams/mod.ts";
export {
basename,
extname,
isAbsolute,
join,
normalize,
parse,
SEP,
} from "https://deno.land/std@0.211.0/path/mod.ts";
// 3rd party dependencies
export {
createHttpError,
errors,
HttpError,
type HttpErrorOptions,
isHttpError,
} from "https://deno.land/x/oak_commons@0.4.0/http_errors.ts";
export { type HttpMethod as HTTPMethods } from "https://deno.land/x/oak_commons@0.4.0/method.ts";
export {
ServerSentEvent,
type ServerSentEventInit,
ServerSentEventStreamTarget,
type ServerSentEventTarget,
type ServerSentEventTargetOptions,
} from "https://deno.land/x/oak_commons@0.4.0/server_sent_event.ts";
export {
type ErrorStatus,
isErrorStatus,
isRedirectStatus,
type RedirectStatus,
Status,
STATUS_TEXT,
} from "https://deno.land/x/oak_commons@0.4.0/status.ts";
export {
compile,
type Key,
match as pathMatch,
parse as pathParse,
type ParseOptions,
pathToRegexp,
type TokensToRegexpOptions,
} from "https://deno.land/x/path_to_regexp@v6.2.1/index.ts";