-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,46 +2,42 @@ | |
|
||
// This file contains the external dependencies that oak depends upon | ||
|
||
// `std` dependencies | ||
// jsr dependencies | ||
|
||
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/unstable_keystack.ts"; | ||
export { encodeBase64 } from "https://deno.land/[email protected]/encoding/base64.ts"; | ||
export { concat, copy as copyBytes, equals } from "jsr:@std/[email protected]"; | ||
export { timingSafeEqual } from "jsr:@std/[email protected]/timing_safe_equal"; | ||
export { KeyStack } from "jsr:@std/[email protected]/unstable_keystack"; | ||
export { encodeBase64 } from "jsr:@std/[email protected]/base64"; | ||
export { | ||
mergeHeaders, | ||
SecureCookieMap, | ||
type SecureCookieMapGetOptions, | ||
type SecureCookieMapSetDeleteOptions, | ||
} from "https://deno.land/std@0.211.0/http/unstable_cookie_map.ts"; | ||
} from "jsr:@std/http@0.210/unstable_cookie_map"; | ||
export { | ||
calculate, | ||
type ETagOptions, | ||
type FileInfo, | ||
ifMatch, | ||
ifNoneMatch, | ||
} from "https://deno.land/std@0.211.0/http/etag.ts"; | ||
} from "jsr:@std/http@0.210/etag"; | ||
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"; | ||
} from "jsr:@std/http@0.210/negotiation"; | ||
export { UserAgent } from "jsr:@std/http@0.210/user_agent"; | ||
export { LimitedReader } from "jsr:@std/io@0.210"; | ||
export { | ||
contentType, | ||
extension, | ||
typeByExtension, | ||
} from "https://deno.land/std@0.211.0/media_types/mod.ts"; | ||
} from "jsr:@std/media_types@0.210"; | ||
export { | ||
readAll, | ||
readerFromStreamReader, | ||
writeAll, | ||
} from "https://deno.land/std@0.211.0/streams/mod.ts"; | ||
} from "jsr:@std/streams@0.210"; | ||
export { | ||
basename, | ||
extname, | ||
|
@@ -50,33 +46,33 @@ export { | |
normalize, | ||
parse, | ||
SEP, | ||
} from "https://deno.land/[email protected]/path/mod.ts"; | ||
|
||
// 3rd party dependencies | ||
} from "jsr:@std/[email protected]"; | ||
|
||
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"; | ||
} from "jsr:@oak/commons@0.4/http_errors"; | ||
export { type HttpMethod as HTTPMethods } from "jsr:@oak/commons@0.4/method"; | ||
export { | ||
ServerSentEvent, | ||
type ServerSentEventInit, | ||
ServerSentEventStreamTarget, | ||
type ServerSentEventTarget, | ||
type ServerSentEventTargetOptions, | ||
} from "https://deno.land/x/oak_commons@0.4.0/server_sent_event.ts"; | ||
} from "jsr:@oak/commons@0.4/server_sent_event"; | ||
export { | ||
type ErrorStatus, | ||
isErrorStatus, | ||
isRedirectStatus, | ||
type RedirectStatus, | ||
Status, | ||
STATUS_TEXT, | ||
} from "https://deno.land/x/[email protected]/status.ts"; | ||
} from "jsr:@oak/[email protected]/status"; | ||
|
||
// npm dependencies | ||
|
||
export { | ||
compile, | ||
|
@@ -86,4 +82,4 @@ export { | |
type ParseOptions, | ||
pathToRegexp, | ||
type TokensToRegexpOptions, | ||
} from "https://deno.land/x/path_to_regexp@v6.2.1/index.ts"; | ||
} from "npm:path-to-regexp@6.2.1"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters