-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeps.ts
More file actions
65 lines (63 loc) · 2.21 KB
/
deps.ts
File metadata and controls
65 lines (63 loc) · 2.21 KB
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
// Copyright 2023-latest the httpland authors. All rights reserved. MIT license.
// This module is browser compatible.
export {
isSuccessfulStatus,
Status,
type SuccessfulStatus,
} from "https://deno.land/std@0.181.0/http/http_status.ts";
export { distinct } from "https://deno.land/std@0.181.0/collections/distinct.ts";
export { isBoolean } from "https://deno.land/x/isx@1.3.1/is_boolean.ts";
export { isNull } from "https://deno.land/x/isx@1.3.1/is_null.ts";
export { isString } from "https://deno.land/x/isx@1.3.1/is_string.ts";
export { isNumber } from "https://deno.land/x/isx@1.3.1/is_number.ts";
export { isNegativeNumber } from "https://deno.land/x/isx@1.3.1/number/is_negative_number.ts";
export { toLowerCase } from "https://deno.land/x/prelude_js@1.2.0/to_lower_case.ts";
export {
type Handler,
type Middleware,
} from "https://deno.land/x/http_middleware@1.0.0/mod.ts";
export {
ConditionalHeader,
filterKeys,
isConditionalHeader,
isRepresentationHeader,
RangeHeader,
RepresentationHeader,
} from "https://deno.land/x/http_utils@1.2.0/header.ts";
export {
isRetrieveMethod,
Method,
} from "https://deno.land/x/http_utils@1.2.0/method.ts";
export { parseListFields } from "https://deno.land/x/http_utils@1.2.0/list.ts";
export {
compareStrong,
compareWeak,
type ETag,
type ETagFormat,
parseETag,
} from "https://deno.land/x/etag_parser@1.1.0/mod.ts";
export { isErr, unsafe } from "https://deno.land/x/result_js@1.0.0/mod.ts";
export { ascend } from "https://deno.land/std@0.181.0/collections/_comparators.ts";
export { withContentRange } from "https://deno.land/x/range_request_middleware@1.3.0/transform.ts";
export {
type BytesContext,
BytesRange,
type ComputeBoundary,
type IntRange,
type OtherRange,
type Range,
type RangeSet,
type RangeSpec,
type RangesSpecifier,
type SuffixRange,
} from "https://deno.land/x/range_request_middleware@1.2.0/mod.ts";
export { default as parseHttpDate } from "https://esm.sh/http-dates@1.2.0?pin=v118";
export {
parseAcceptRanges,
type Token,
} from "https://deno.land/x/accept_ranges_parser@1.0.1/mod.ts";
export function not<T extends readonly unknown[]>(
fn: (...args: T) => boolean,
): (...args: T) => boolean {
return (...args) => !fn(...args);
}