Skip to content

Commit d982240

Browse files
committed
chore: cleanup dependencies
1 parent 3dfcbaf commit d982240

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

body.test.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
import { Body } from "./body.ts";
2-
import {
3-
assert,
4-
concat,
5-
isHttpError,
6-
Status,
7-
timingSafeEqual,
8-
} from "./deps.ts";
9-
import { assertEquals, assertRejects } from "./deps_test.ts";
2+
import { assert, concat, isHttpError, Status } from "./deps.ts";
3+
import { assertEquals, assertRejects, timingSafeEqual } from "./deps_test.ts";
104
import type { ServerRequest } from "./types.ts";
115

126
const MULTIPART_BODY_FIXTURE =

deps.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@
66

77
export { assert } from "jsr:@std/assert@^1.0/assert";
88
export { concat } from "jsr:@std/bytes@^1.0/concat";
9-
export { copy as copyBytes } from "jsr:@std/bytes@^1.0/copy";
10-
export { timingSafeEqual } from "jsr:@std/crypto@^1.0/timing-safe-equal";
119
export {
1210
eTag,
1311
type ETagOptions,
1412
type FileInfo,
15-
ifMatch,
1613
ifNoneMatch,
1714
} from "jsr:@std/http@^1.0/etag";
1815
export {
@@ -21,9 +18,7 @@ export {
2118
acceptsLanguages,
2219
} from "jsr:@std/http@^1.0/negotiation";
2320
export { UserAgent } from "jsr:@std/http@^1.0/user-agent";
24-
export { LimitedReader } from "jsr:@std/[email protected]/limited-reader";
2521
export { contentType } from "jsr:@std/media-types@^1.0/content-type";
26-
export { typeByExtension } from "jsr:@std/media-types@^1.0/type-by-extension";
2722
export {
2823
basename,
2924
extname,
@@ -37,7 +32,6 @@ export {
3732
// 3rd party dependencies
3833

3934
export {
40-
mergeHeaders,
4135
SecureCookieMap,
4236
type SecureCookieMapGetOptions,
4337
type SecureCookieMapSetDeleteOptions,
@@ -78,7 +72,6 @@ export {
7872
export {
7973
compile,
8074
type Key,
81-
match as pathMatch,
8275
parse as pathParse,
8376
type ParseOptions,
8477
pathToRegexp,

deps_test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ export { assertRejects } from "jsr:@std/assert@^1.0/rejects";
66
export { assertStrictEquals } from "jsr:@std/assert@^1.0/strict-equals";
77
export { assertThrows } from "jsr:@std/assert@^1.0/throws";
88
export { unreachable } from "jsr:@std/assert@^1.0/unreachable";
9+
export { timingSafeEqual } from "jsr:@std/crypto@^1.0/timing-safe-equal";

0 commit comments

Comments
 (0)