forked from oakserver/oak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.ts
92 lines (87 loc) · 2.38 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
90
91
92
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.
// This file contains the external dependencies that oak depends upon
// `std` dependencies
export {
type Deferred,
deferred,
} from "https://deno.land/[email protected]/async/deferred.ts";
export {
concat,
copy as copyBytes,
equals,
} from "https://deno.land/[email protected]/bytes/mod.ts";
export { timingSafeEqual } from "https://deno.land/[email protected]/crypto/timing_safe_equal.ts";
export { KeyStack } from "https://deno.land/[email protected]/crypto/keystack.ts";
export * as base64 from "https://deno.land/[email protected]/encoding/base64.ts";
export {
mergeHeaders,
SecureCookieMap,
type SecureCookieMapGetOptions,
type SecureCookieMapSetDeleteOptions,
} from "https://deno.land/[email protected]/http/cookie_map.ts";
export {
createHttpError,
errors,
HttpError,
type HttpErrorOptions,
isHttpError,
} from "https://deno.land/[email protected]/http/http_errors.ts";
export {
type ErrorStatus,
isErrorStatus,
isRedirectStatus,
type RedirectStatus,
Status,
STATUS_TEXT,
} from "https://deno.land/[email protected]/http/http_status.ts";
export {
calculate,
type ETagOptions,
type FileInfo,
ifMatch,
ifNoneMatch,
} from "https://deno.land/[email protected]/http/etag.ts";
export { type HttpMethod as HTTPMethods } from "https://deno.land/[email protected]/http/method.ts";
export {
accepts,
acceptsEncodings,
acceptsLanguages,
} from "https://deno.land/[email protected]/http/negotiation.ts";
export {
ServerSentEvent,
type ServerSentEventInit,
ServerSentEventStreamTarget,
type ServerSentEventTarget,
type ServerSentEventTargetOptions,
} from "https://deno.land/[email protected]/http/server_sent_event.ts";
export { UserAgent } from "https://deno.land/[email protected]/http/user_agent.ts";
export { LimitedReader } from "https://deno.land/[email protected]/io/mod.ts";
export {
contentType,
extension,
typeByExtension,
} from "https://deno.land/[email protected]/media_types/mod.ts";
export {
readAll,
readerFromStreamReader,
writeAll,
} from "https://deno.land/[email protected]/streams/mod.ts";
export {
basename,
extname,
isAbsolute,
join,
normalize,
parse,
SEP,
} from "https://deno.land/[email protected]/path/mod.ts";
// 3rd party dependencies
export {
compile,
type Key,
match as pathMatch,
parse as pathParse,
type ParseOptions,
pathToRegexp,
type TokensToRegexpOptions,
} from "https://deno.land/x/[email protected]/index.ts";