-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.ts
65 lines (63 loc) · 2.21 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
// 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/[email protected]/http/http_status.ts";
export { distinct } from "https://deno.land/[email protected]/collections/distinct.ts";
export { isBoolean } from "https://deno.land/x/[email protected]/is_boolean.ts";
export { isNull } from "https://deno.land/x/[email protected]/is_null.ts";
export { isString } from "https://deno.land/x/[email protected]/is_string.ts";
export { isNumber } from "https://deno.land/x/[email protected]/is_number.ts";
export { isNegativeNumber } from "https://deno.land/x/[email protected]/number/is_negative_number.ts";
export { toLowerCase } from "https://deno.land/x/[email protected]/to_lower_case.ts";
export {
type Handler,
type Middleware,
} from "https://deno.land/x/[email protected]/mod.ts";
export {
ConditionalHeader,
filterKeys,
isConditionalHeader,
isRepresentationHeader,
RangeHeader,
RepresentationHeader,
} from "https://deno.land/x/[email protected]/header.ts";
export {
isRetrieveMethod,
Method,
} from "https://deno.land/x/[email protected]/method.ts";
export { parseListFields } from "https://deno.land/x/[email protected]/list.ts";
export {
compareStrong,
compareWeak,
type ETag,
type ETagFormat,
parseETag,
} from "https://deno.land/x/[email protected]/mod.ts";
export { isErr, unsafe } from "https://deno.land/x/[email protected]/mod.ts";
export { ascend } from "https://deno.land/[email protected]/collections/_comparators.ts";
export { withContentRange } from "https://deno.land/x/[email protected]/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/[email protected]/mod.ts";
export { default as parseHttpDate } from "https://esm.sh/[email protected]?pin=v118";
export {
parseAcceptRanges,
type Token,
} from "https://deno.land/x/[email protected]/mod.ts";
export function not<T extends readonly unknown[]>(
fn: (...args: T) => boolean,
): (...args: T) => boolean {
return (...args) => !fn(...args);
}