Leon4gr45 commited on
Commit
efeda54
·
verified ·
1 Parent(s): c355749

Upload folder using huggingface_hub (part 24)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. node_modules/@types/semver/classes/range.d.ts +21 -0
  2. node_modules/@types/semver/classes/semver.d.ts +69 -0
  3. node_modules/@types/semver/functions/clean.d.ts +8 -0
  4. node_modules/@types/semver/functions/cmp.d.ts +16 -0
  5. node_modules/@types/semver/functions/coerce.d.ts +12 -0
  6. node_modules/@types/semver/functions/compare-build.d.ts +21 -0
  7. node_modules/@types/semver/functions/compare-loose.d.ts +8 -0
  8. node_modules/@types/semver/functions/compare.d.ts +20 -0
  9. node_modules/@types/semver/functions/diff.d.ts +9 -0
  10. node_modules/@types/semver/functions/eq.d.ts +9 -0
  11. node_modules/@types/semver/functions/gt.d.ts +9 -0
  12. node_modules/@types/semver/functions/gte.d.ts +9 -0
  13. node_modules/@types/semver/functions/inc.d.ts +26 -0
  14. node_modules/@types/semver/functions/lt.d.ts +9 -0
  15. node_modules/@types/semver/functions/lte.d.ts +8 -0
  16. node_modules/@types/semver/functions/major.d.ts +9 -0
  17. node_modules/@types/semver/functions/minor.d.ts +9 -0
  18. node_modules/@types/semver/functions/neq.d.ts +9 -0
  19. node_modules/@types/semver/functions/parse.d.ts +23 -0
  20. node_modules/@types/semver/functions/patch.d.ts +9 -0
  21. node_modules/@types/semver/functions/prerelease.d.ts +12 -0
  22. node_modules/@types/semver/functions/rcompare.d.ts +15 -0
  23. node_modules/@types/semver/functions/rsort.d.ts +9 -0
  24. node_modules/@types/semver/functions/satisfies.d.ts +14 -0
  25. node_modules/@types/semver/functions/sort.d.ts +9 -0
  26. node_modules/@types/semver/functions/valid.d.ts +11 -0
  27. node_modules/@types/semver/index.d.ts +136 -0
  28. node_modules/@types/semver/internals/identifiers.d.ts +13 -0
  29. node_modules/@types/semver/package.json +51 -0
  30. node_modules/@types/semver/preload.d.ts +2 -0
  31. node_modules/@types/semver/ranges/gtr.d.ts +14 -0
  32. node_modules/@types/semver/ranges/intersects.d.ts +13 -0
  33. node_modules/@types/semver/ranges/ltr.d.ts +14 -0
  34. node_modules/@types/semver/ranges/max-satisfying.d.ts +14 -0
  35. node_modules/@types/semver/ranges/min-satisfying.d.ts +14 -0
  36. node_modules/@types/semver/ranges/min-version.d.ts +10 -0
  37. node_modules/@types/semver/ranges/outside.d.ts +15 -0
  38. node_modules/@types/semver/ranges/simplify.d.ts +14 -0
  39. node_modules/@types/semver/ranges/subset.d.ts +9 -0
  40. node_modules/@types/semver/ranges/to-comparators.d.ts +9 -0
  41. node_modules/@types/semver/ranges/valid.d.ts +12 -0
  42. node_modules/@types/send/LICENSE +21 -0
  43. node_modules/@types/send/README.md +15 -0
  44. node_modules/@types/send/index.d.ts +187 -0
  45. node_modules/@types/send/package.json +38 -0
  46. node_modules/@types/serve-static/LICENSE +21 -0
  47. node_modules/@types/serve-static/README.md +15 -0
  48. node_modules/@types/serve-static/index.d.ts +107 -0
  49. node_modules/@types/serve-static/node_modules/@types/send/LICENSE +21 -0
  50. node_modules/@types/serve-static/node_modules/@types/send/README.md +15 -0
node_modules/@types/semver/classes/range.d.ts ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import semver = require("../index");
2
+ import Comparator = require("./comparator");
3
+ import SemVer = require("./semver");
4
+
5
+ declare class Range {
6
+ constructor(range: string | Range, optionsOrLoose?: boolean | semver.RangeOptions);
7
+
8
+ range: string;
9
+ raw: string;
10
+ loose: boolean;
11
+ options: semver.Options;
12
+ includePrerelease: boolean;
13
+ format(): string;
14
+ inspect(): string;
15
+
16
+ set: ReadonlyArray<readonly Comparator[]>;
17
+ parseRange(range: string): readonly Comparator[];
18
+ test(version: string | SemVer): boolean;
19
+ intersects(range: Range, optionsOrLoose?: boolean | semver.Options): boolean;
20
+ }
21
+ export = Range;
node_modules/@types/semver/classes/semver.d.ts ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import semver = require("../index");
2
+ import inc = require("../functions/inc");
3
+
4
+ declare class SemVer {
5
+ constructor(version: string | SemVer, optionsOrLoose?: boolean | semver.RangeOptions);
6
+
7
+ raw: string;
8
+ loose: boolean;
9
+ options: semver.Options;
10
+ format(): string;
11
+ inspect(): string;
12
+
13
+ major: number;
14
+ minor: number;
15
+ patch: number;
16
+ version: string;
17
+ build: readonly string[];
18
+ prerelease: ReadonlyArray<string | number>;
19
+
20
+ /**
21
+ * Compares two versions excluding build identifiers (the bit after `+` in the semantic version string).
22
+ *
23
+ * @return
24
+ * - `0` if `this` == `other`
25
+ * - `1` if `this` is greater
26
+ * - `-1` if `other` is greater.
27
+ */
28
+ compare(other: string | SemVer): 1 | 0 | -1;
29
+
30
+ /**
31
+ * Compares the release portion of two versions.
32
+ *
33
+ * @return
34
+ * - `0` if `this` == `other`
35
+ * - `1` if `this` is greater
36
+ * - `-1` if `other` is greater.
37
+ */
38
+ compareMain(other: string | SemVer): 1 | 0 | -1;
39
+
40
+ /**
41
+ * Compares the prerelease portion of two versions.
42
+ *
43
+ * @return
44
+ * - `0` if `this` == `other`
45
+ * - `1` if `this` is greater
46
+ * - `-1` if `other` is greater.
47
+ */
48
+ comparePre(other: string | SemVer): 1 | 0 | -1;
49
+
50
+ /**
51
+ * Compares the build identifier of two versions.
52
+ *
53
+ * @return
54
+ * - `0` if `this` == `other`
55
+ * - `1` if `this` is greater
56
+ * - `-1` if `other` is greater.
57
+ */
58
+ compareBuild(other: string | SemVer): 1 | 0 | -1;
59
+
60
+ inc(
61
+ release: semver.ReleaseType,
62
+ identifier?: string,
63
+ identifierBase?: inc.IdentifierBase,
64
+ ): SemVer;
65
+
66
+ toString(): string;
67
+ }
68
+
69
+ export = SemVer;
node_modules/@types/semver/functions/clean.d.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import semver = require("../index");
2
+
3
+ /**
4
+ * Returns cleaned (removed leading/trailing whitespace, remove '=v' prefix) and parsed version, or null if version is invalid.
5
+ */
6
+ declare function clean(version: string, optionsOrLoose?: boolean | semver.Options): string | null;
7
+
8
+ export = clean;
node_modules/@types/semver/functions/cmp.d.ts ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import semver = require("../index");
2
+ import SemVer = require("../classes/semver");
3
+
4
+ /**
5
+ * Pass in a comparison string, and it'll call the corresponding semver comparison function.
6
+ * "===" and "!==" do simple string comparison, but are included for completeness.
7
+ * Throws if an invalid comparison string is provided.
8
+ */
9
+ declare function cmp(
10
+ v1: string | SemVer,
11
+ operator: semver.Operator,
12
+ v2: string | SemVer,
13
+ optionsOrLoose?: boolean | semver.Options,
14
+ ): boolean;
15
+
16
+ export = cmp;
node_modules/@types/semver/functions/coerce.d.ts ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import semver = require("../index");
2
+ import SemVer = require("../classes/semver");
3
+
4
+ /**
5
+ * Coerces a string to SemVer if possible
6
+ */
7
+ declare function coerce(
8
+ version: string | number | SemVer | null | undefined,
9
+ options?: semver.CoerceOptions,
10
+ ): SemVer | null;
11
+
12
+ export = coerce;
node_modules/@types/semver/functions/compare-build.d.ts ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import semver = require("../index");
2
+ import SemVer = require("../classes/semver");
3
+
4
+ /**
5
+ * Compares two versions including build identifiers (the bit after `+` in the semantic version string).
6
+ *
7
+ * Sorts in ascending order when passed to `Array.sort()`.
8
+ *
9
+ * @return
10
+ * - `0` if `v1` == `v2`
11
+ * - `1` if `v1` is greater
12
+ * - `-1` if `v2` is greater.
13
+ *
14
+ * @since 6.1.0
15
+ */
16
+ declare function compareBuild(
17
+ a: string | SemVer,
18
+ b: string | SemVer,
19
+ optionsOrLoose?: boolean | semver.Options,
20
+ ): 1 | 0 | -1;
21
+ export = compareBuild;
node_modules/@types/semver/functions/compare-loose.d.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+
3
+ /**
4
+ * Short for compare(v1, v2, { loose: true })
5
+ */
6
+ declare function compareLoose(v1: string | SemVer, v2: string | SemVer): 1 | 0 | -1;
7
+
8
+ export = compareLoose;
node_modules/@types/semver/functions/compare.d.ts ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import semver = require("../index");
2
+ import SemVer = require("../classes/semver");
3
+
4
+ /**
5
+ * Compares two versions excluding build identifiers (the bit after `+` in the semantic version string).
6
+ *
7
+ * Sorts in ascending order when passed to `Array.sort()`.
8
+ *
9
+ * @return
10
+ * - `0` if `v1` == `v2`
11
+ * - `1` if `v1` is greater
12
+ * - `-1` if `v2` is greater.
13
+ */
14
+ declare function compare(
15
+ v1: string | SemVer,
16
+ v2: string | SemVer,
17
+ optionsOrLoose?: boolean | semver.Options,
18
+ ): 1 | 0 | -1;
19
+
20
+ export = compare;
node_modules/@types/semver/functions/diff.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import semver = require("../index");
2
+ import SemVer = require("../classes/semver");
3
+
4
+ /**
5
+ * Returns difference between two versions by the release type (major, premajor, minor, preminor, patch, prepatch, or prerelease), or null if the versions are the same.
6
+ */
7
+ declare function diff(v1: string | SemVer, v2: string | SemVer): semver.ReleaseType | null;
8
+
9
+ export = diff;
node_modules/@types/semver/functions/eq.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * v1 == v2 This is true if they're logically equivalent, even if they're not the exact same string. You already know how to compare strings.
6
+ */
7
+ declare function eq(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | semver.Options): boolean;
8
+
9
+ export = eq;
node_modules/@types/semver/functions/gt.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * v1 > v2
6
+ */
7
+ declare function gt(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | semver.Options): boolean;
8
+
9
+ export = gt;
node_modules/@types/semver/functions/gte.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * v1 >= v2
6
+ */
7
+ declare function gte(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | semver.Options): boolean;
8
+
9
+ export = gte;
node_modules/@types/semver/functions/inc.d.ts ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ declare namespace inc {
5
+ /** Base number to be used for the prerelease identifier */
6
+ type IdentifierBase = "0" | "1" | false;
7
+ }
8
+
9
+ /**
10
+ * Return the version incremented by the release type (major, premajor, minor, preminor, patch, prepatch, or prerelease), or null if it's not valid.
11
+ */
12
+ declare function inc(
13
+ version: string | SemVer,
14
+ release: semver.ReleaseType,
15
+ optionsOrLoose?: boolean | semver.Options,
16
+ identifier?: string,
17
+ identifierBase?: inc.IdentifierBase,
18
+ ): string | null;
19
+ declare function inc(
20
+ version: string | SemVer,
21
+ release: semver.ReleaseType,
22
+ identifier: string,
23
+ identifierBase?: inc.IdentifierBase,
24
+ ): string | null;
25
+
26
+ export = inc;
node_modules/@types/semver/functions/lt.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * v1 < v2
6
+ */
7
+ declare function lt(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | semver.Options): boolean;
8
+
9
+ export = lt;
node_modules/@types/semver/functions/lte.d.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * v1 <= v2
6
+ */
7
+ declare function lte(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | semver.Options): boolean;
8
+ export = lte;
node_modules/@types/semver/functions/major.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Return the major version number.
6
+ */
7
+ declare function major(version: string | SemVer, optionsOrLoose?: boolean | semver.Options): number;
8
+
9
+ export = major;
node_modules/@types/semver/functions/minor.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Return the minor version number.
6
+ */
7
+ declare function minor(version: string | SemVer, optionsOrLoose?: boolean | semver.Options): number;
8
+
9
+ export = minor;
node_modules/@types/semver/functions/neq.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * v1 != v2 The opposite of eq.
6
+ */
7
+ declare function neq(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | semver.Options): boolean;
8
+
9
+ export = neq;
node_modules/@types/semver/functions/parse.d.ts ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Return the parsed version as a `SemVer` object.
6
+ *
7
+ * In case `version` is invalid, the function will
8
+ * - throw if `throwErrors` is `true`.
9
+ * - return `null` otherwise.
10
+ */
11
+ declare function parse(version?: string | SemVer | null): SemVer | null;
12
+ declare function parse(
13
+ version: string | SemVer | null | undefined,
14
+ optionsOrLoose: boolean | semver.Options,
15
+ throwErrors: true,
16
+ ): SemVer;
17
+ declare function parse(
18
+ version: string | SemVer | null | undefined,
19
+ optionsOrLoose: boolean | semver.Options,
20
+ throwErrors?: boolean,
21
+ ): SemVer | null;
22
+
23
+ export = parse;
node_modules/@types/semver/functions/patch.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Return the patch version number.
6
+ */
7
+ declare function patch(version: string | SemVer, optionsOrLoose?: boolean | semver.Options): number;
8
+
9
+ export = patch;
node_modules/@types/semver/functions/prerelease.d.ts ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Returns an array of prerelease components, or null if none exist.
6
+ */
7
+ declare function prerelease(
8
+ version: string | SemVer,
9
+ optionsOrLoose?: boolean | semver.Options,
10
+ ): ReadonlyArray<string | number> | null;
11
+
12
+ export = prerelease;
node_modules/@types/semver/functions/rcompare.d.ts ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * The reverse of compare.
6
+ *
7
+ * Sorts in descending order when passed to `Array.sort()`.
8
+ */
9
+ declare function rcompare(
10
+ v1: string | SemVer,
11
+ v2: string | SemVer,
12
+ optionsOrLoose?: boolean | semver.Options,
13
+ ): 1 | 0 | -1;
14
+
15
+ export = rcompare;
node_modules/@types/semver/functions/rsort.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Sorts an array of semver entries in descending order using `compareBuild()`.
6
+ */
7
+ declare function rsort<T extends string | SemVer>(list: T[], optionsOrLoose?: boolean | semver.Options): T[];
8
+
9
+ export = rsort;
node_modules/@types/semver/functions/satisfies.d.ts ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import SemVer = require("../classes/semver");
3
+ import semver = require("../index");
4
+
5
+ /**
6
+ * Return true if the version satisfies the range.
7
+ */
8
+ declare function satisfies(
9
+ version: string | SemVer,
10
+ range: string | Range,
11
+ optionsOrLoose?: boolean | semver.RangeOptions,
12
+ ): boolean;
13
+
14
+ export = satisfies;
node_modules/@types/semver/functions/sort.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import SemVer = require("../classes/semver");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Sorts an array of semver entries in ascending order using `compareBuild()`.
6
+ */
7
+ declare function sort<T extends string | SemVer>(list: T[], optionsOrLoose?: boolean | semver.Options): T[];
8
+
9
+ export = sort;
node_modules/@types/semver/functions/valid.d.ts ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import semver = require("../index");
2
+ import SemVer = require("../classes/semver");
3
+ /**
4
+ * Return the parsed version as a string, or null if it's not valid.
5
+ */
6
+ declare function valid(
7
+ version: string | SemVer | null | undefined,
8
+ optionsOrLoose?: boolean | semver.Options,
9
+ ): string | null;
10
+
11
+ export = valid;
node_modules/@types/semver/index.d.ts ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // re-exports for index file
2
+
3
+ // functions for working with versions
4
+ import semverParse = require("./functions/parse");
5
+ import semverValid = require("./functions/valid");
6
+ import semverClean = require("./functions/clean");
7
+ import semverInc = require("./functions/inc");
8
+ import semverDiff = require("./functions/diff");
9
+ import semverMajor = require("./functions/major");
10
+ import semverMinor = require("./functions/minor");
11
+ import semverPatch = require("./functions/patch");
12
+ import semverPrerelease = require("./functions/prerelease");
13
+ import semverCompare = require("./functions/compare");
14
+ import semverRcompare = require("./functions/rcompare");
15
+ import semverCompareLoose = require("./functions/compare-loose");
16
+ import semverCompareBuild = require("./functions/compare-build");
17
+ import semverSort = require("./functions/sort");
18
+ import semverRsort = require("./functions/rsort");
19
+
20
+ export {
21
+ semverClean as clean,
22
+ semverCompare as compare,
23
+ semverCompareBuild as compareBuild,
24
+ semverCompareLoose as compareLoose,
25
+ semverDiff as diff,
26
+ semverInc as inc,
27
+ semverMajor as major,
28
+ semverMinor as minor,
29
+ semverParse as parse,
30
+ semverPatch as patch,
31
+ semverPrerelease as prerelease,
32
+ semverRcompare as rcompare,
33
+ semverRsort as rsort,
34
+ semverSort as sort,
35
+ semverValid as valid,
36
+ };
37
+
38
+ // low-level comparators between versions
39
+ import semverGt = require("./functions/gt");
40
+ import semverLt = require("./functions/lt");
41
+ import semverEq = require("./functions/eq");
42
+ import semverNeq = require("./functions/neq");
43
+ import semverGte = require("./functions/gte");
44
+ import semverLte = require("./functions/lte");
45
+ import semverCmp = require("./functions/cmp");
46
+ import semverCoerce = require("./functions/coerce");
47
+
48
+ export {
49
+ semverCmp as cmp,
50
+ semverCoerce as coerce,
51
+ semverEq as eq,
52
+ semverGt as gt,
53
+ semverGte as gte,
54
+ semverLt as lt,
55
+ semverLte as lte,
56
+ semverNeq as neq,
57
+ };
58
+
59
+ // working with ranges
60
+ import semverSatisfies = require("./functions/satisfies");
61
+ import semverMaxSatisfying = require("./ranges/max-satisfying");
62
+ import semverMinSatisfying = require("./ranges/min-satisfying");
63
+ import semverToComparators = require("./ranges/to-comparators");
64
+ import semverMinVersion = require("./ranges/min-version");
65
+ import semverValidRange = require("./ranges/valid");
66
+ import semverOutside = require("./ranges/outside");
67
+ import semverGtr = require("./ranges/gtr");
68
+ import semverLtr = require("./ranges/ltr");
69
+ import semverIntersects = require("./ranges/intersects");
70
+ import simplify = require("./ranges/simplify");
71
+ import rangeSubset = require("./ranges/subset");
72
+
73
+ export {
74
+ rangeSubset as subset,
75
+ semverGtr as gtr,
76
+ semverIntersects as intersects,
77
+ semverLtr as ltr,
78
+ semverMaxSatisfying as maxSatisfying,
79
+ semverMinSatisfying as minSatisfying,
80
+ semverMinVersion as minVersion,
81
+ semverOutside as outside,
82
+ semverSatisfies as satisfies,
83
+ semverToComparators as toComparators,
84
+ semverValidRange as validRange,
85
+ simplify as simplifyRange,
86
+ };
87
+
88
+ // classes
89
+ import SemVer = require("./classes/semver");
90
+ import Range = require("./classes/range");
91
+ import Comparator = require("./classes/comparator");
92
+
93
+ export { Comparator, Range, SemVer };
94
+
95
+ // internals
96
+ import identifiers = require("./internals/identifiers");
97
+ export import compareIdentifiers = identifiers.compareIdentifiers;
98
+ export import rcompareIdentifiers = identifiers.rcompareIdentifiers;
99
+
100
+ export const SEMVER_SPEC_VERSION: "2.0.0";
101
+
102
+ export const RELEASE_TYPES: ReleaseType[];
103
+
104
+ export type ReleaseType = "major" | "premajor" | "minor" | "preminor" | "patch" | "prepatch" | "prerelease" | "release";
105
+
106
+ export interface Options {
107
+ loose?: boolean | undefined;
108
+ }
109
+
110
+ export interface RangeOptions extends Options {
111
+ includePrerelease?: boolean | undefined;
112
+ }
113
+ export interface CoerceOptions extends Options {
114
+ /**
115
+ * If the `options.includePrerelease` flag is set, then the `coerce` result will contain
116
+ * prerelease and build parts of a version. For example, `1.2.3.4-rc.1+rev.2`
117
+ * will preserve prerelease `rc.1` and build `rev.2` in the result.
118
+ *
119
+ * @default false
120
+ * @since 7.6.0
121
+ */
122
+ includePrerelease?: boolean | undefined;
123
+ /**
124
+ * If the `options.rtl` flag is set, then `coerce` will return the right-most
125
+ * coercible tuple that does not share an ending index with a longer coercible
126
+ * tuple. For example, `1.2.3.4` will return `2.3.4` in rtl mode, not
127
+ * `4.0.0`. `1.2.3/4` will return `4.0.0`, because the `4` is not a part of
128
+ * any other overlapping SemVer tuple.
129
+ *
130
+ * @default false
131
+ * @since 6.2.0
132
+ */
133
+ rtl?: boolean | undefined;
134
+ }
135
+
136
+ export type Operator = "===" | "!==" | "" | "=" | "==" | "!=" | ">" | ">=" | "<" | "<=";
node_modules/@types/semver/internals/identifiers.d.ts ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Compares two identifiers, must be numeric strings or truthy/falsy values.
3
+ *
4
+ * Sorts in ascending order when passed to `Array.sort()`.
5
+ */
6
+ export function compareIdentifiers(a: string | null | undefined, b: string | null | undefined): 1 | 0 | -1;
7
+
8
+ /**
9
+ * The reverse of compareIdentifiers.
10
+ *
11
+ * Sorts in descending order when passed to `Array.sort()`.
12
+ */
13
+ export function rcompareIdentifiers(a: string | null | undefined, b: string | null | undefined): 1 | 0 | -1;
node_modules/@types/semver/package.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@types/semver",
3
+ "version": "7.7.1",
4
+ "description": "TypeScript definitions for semver",
5
+ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver",
6
+ "license": "MIT",
7
+ "contributors": [
8
+ {
9
+ "name": "Bart van der Schoor",
10
+ "githubUsername": "Bartvds",
11
+ "url": "https://github.com/Bartvds"
12
+ },
13
+ {
14
+ "name": "BendingBender",
15
+ "githubUsername": "BendingBender",
16
+ "url": "https://github.com/BendingBender"
17
+ },
18
+ {
19
+ "name": "Lucian Buzzo",
20
+ "githubUsername": "LucianBuzzo",
21
+ "url": "https://github.com/LucianBuzzo"
22
+ },
23
+ {
24
+ "name": "Klaus Meinhardt",
25
+ "githubUsername": "ajafff",
26
+ "url": "https://github.com/ajafff"
27
+ },
28
+ {
29
+ "name": "ExE Boss",
30
+ "githubUsername": "ExE-Boss",
31
+ "url": "https://github.com/ExE-Boss"
32
+ },
33
+ {
34
+ "name": "Piotr Błażejewicz",
35
+ "githubUsername": "peterblazejewicz",
36
+ "url": "https://github.com/peterblazejewicz"
37
+ }
38
+ ],
39
+ "main": "",
40
+ "types": "index.d.ts",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
44
+ "directory": "types/semver"
45
+ },
46
+ "scripts": {},
47
+ "dependencies": {},
48
+ "peerDependencies": {},
49
+ "typesPublisherContentHash": "05c64b15fc87f8868c6987ed5adbd9c42e5be6045d53624b68f3046619c2e29e",
50
+ "typeScriptVersion": "5.2"
51
+ }
node_modules/@types/semver/preload.d.ts ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ import semver = require(".");
2
+ export = semver;
node_modules/@types/semver/ranges/gtr.d.ts ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import SemVer = require("../classes/semver");
3
+ import semver = require("../index");
4
+
5
+ /**
6
+ * Return true if version is greater than all the versions possible in the range.
7
+ */
8
+ declare function gtr(
9
+ version: string | SemVer,
10
+ range: string | Range,
11
+ optionsOrLoose?: boolean | semver.RangeOptions,
12
+ ): boolean;
13
+
14
+ export = gtr;
node_modules/@types/semver/ranges/intersects.d.ts ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Return true if any of the ranges comparators intersect
6
+ */
7
+ declare function intersects(
8
+ range1: string | Range,
9
+ range2: string | Range,
10
+ optionsOrLoose?: boolean | semver.RangeOptions,
11
+ ): boolean;
12
+
13
+ export = intersects;
node_modules/@types/semver/ranges/ltr.d.ts ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import SemVer = require("../classes/semver");
3
+ import semver = require("../index");
4
+
5
+ /**
6
+ * Return true if version is less than all the versions possible in the range.
7
+ */
8
+ declare function ltr(
9
+ version: string | SemVer,
10
+ range: string | Range,
11
+ optionsOrLoose?: boolean | semver.RangeOptions,
12
+ ): boolean;
13
+
14
+ export = ltr;
node_modules/@types/semver/ranges/max-satisfying.d.ts ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import SemVer = require("../classes/semver");
3
+ import semver = require("../index");
4
+
5
+ /**
6
+ * Return the highest version in the list that satisfies the range, or null if none of them do.
7
+ */
8
+ declare function maxSatisfying<T extends string | SemVer>(
9
+ versions: readonly T[],
10
+ range: string | Range,
11
+ optionsOrLoose?: boolean | semver.RangeOptions,
12
+ ): T | null;
13
+
14
+ export = maxSatisfying;
node_modules/@types/semver/ranges/min-satisfying.d.ts ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import SemVer = require("../classes/semver");
3
+ import semver = require("../index");
4
+
5
+ /**
6
+ * Return the lowest version in the list that satisfies the range, or null if none of them do.
7
+ */
8
+ declare function minSatisfying<T extends string | SemVer>(
9
+ versions: readonly T[],
10
+ range: string | Range,
11
+ optionsOrLoose?: boolean | semver.RangeOptions,
12
+ ): T | null;
13
+
14
+ export = minSatisfying;
node_modules/@types/semver/ranges/min-version.d.ts ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import SemVer = require("../classes/semver");
3
+ import semver = require("../index");
4
+
5
+ /**
6
+ * Return the lowest version that can possibly match the given range.
7
+ */
8
+ declare function minVersion(range: string | Range, optionsOrLoose?: boolean | semver.Options): SemVer | null;
9
+
10
+ export = minVersion;
node_modules/@types/semver/ranges/outside.d.ts ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import SemVer = require("../classes/semver");
3
+ import semver = require("../index");
4
+
5
+ /**
6
+ * Return true if the version is outside the bounds of the range in either the high or low direction.
7
+ * The hilo argument must be either the string '>' or '<'. (This is the function called by gtr and ltr.)
8
+ */
9
+ declare function outside(
10
+ version: string | SemVer,
11
+ range: string | Range,
12
+ hilo: ">" | "<",
13
+ optionsOrLoose?: boolean | semver.RangeOptions,
14
+ ): boolean;
15
+ export = outside;
node_modules/@types/semver/ranges/simplify.d.ts ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Return a "simplified" range that matches the same items in `versions` list as the range specified.
6
+ * Note that it does *not* guarantee that it would match the same versions in all cases,
7
+ * only for the set of versions provided.
8
+ * This is useful when generating ranges by joining together multiple versions with `||` programmatically,
9
+ * to provide the user with something a bit more ergonomic.
10
+ * If the provided range is shorter in string-length than the generated range, then that is returned.
11
+ */
12
+ declare function simplify(ranges: string[], range: string | Range, options?: semver.Options): string | Range;
13
+
14
+ export = simplify;
node_modules/@types/semver/ranges/subset.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Return true if the subRange range is entirely contained by the superRange range.
6
+ */
7
+ declare function subset(sub: string | Range, dom: string | Range, options?: semver.RangeOptions): boolean;
8
+
9
+ export = subset;
node_modules/@types/semver/ranges/to-comparators.d.ts ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Mostly just for testing and legacy API reasons
6
+ */
7
+ declare function toComparators(range: string | Range, optionsOrLoose?: boolean | semver.Options): string[][];
8
+
9
+ export = toComparators;
node_modules/@types/semver/ranges/valid.d.ts ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Range = require("../classes/range");
2
+ import semver = require("../index");
3
+
4
+ /**
5
+ * Return the valid range or null if it's not valid
6
+ */
7
+ declare function validRange(
8
+ range: string | Range | null | undefined,
9
+ optionsOrLoose?: boolean | semver.RangeOptions,
10
+ ): string | null;
11
+
12
+ export = validRange;
node_modules/@types/send/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
node_modules/@types/send/README.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Installation
2
+ > `npm install --save @types/send`
3
+
4
+ # Summary
5
+ This package contains type definitions for send (https://github.com/pillarjs/send).
6
+
7
+ # Details
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/send.
9
+
10
+ ### Additional Details
11
+ * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
12
+ * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
13
+
14
+ # Credits
15
+ These definitions were written by [Mike Jerred](https://github.com/MikeJerred), [Piotr Błażejewicz](https://github.com/peterblazejewicz), and [Sebastian Beltran](https://github.com/bjohansebas).
node_modules/@types/send/index.d.ts ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /// <reference types="node" />
2
+
3
+ import * as fs from "fs";
4
+ import stream = require("stream");
5
+
6
+ /**
7
+ * Create a new SendStream for the given path to send to a res.
8
+ * The req is the Node.js HTTP request and the path is a urlencoded path to send (urlencoded, not the actual file-system path).
9
+ */
10
+ declare function send(req: stream.Readable, path: string, options?: send.SendOptions): send.SendStream;
11
+
12
+ declare namespace send {
13
+ interface SendOptions {
14
+ /**
15
+ * Enable or disable accepting ranged requests, defaults to true.
16
+ * Disabling this will not send Accept-Ranges and ignore the contents of the Range request header.
17
+ */
18
+ acceptRanges?: boolean | undefined;
19
+
20
+ /**
21
+ * Enable or disable setting Cache-Control response header, defaults to true.
22
+ * Disabling this will ignore the maxAge option.
23
+ */
24
+ cacheControl?: boolean | undefined;
25
+
26
+ /**
27
+ * Set how "dotfiles" are treated when encountered.
28
+ * A dotfile is a file or directory that begins with a dot (".").
29
+ * Note this check is done on the path itself without checking if the path actually exists on the disk.
30
+ * If root is specified, only the dotfiles above the root are checked (i.e. the root itself can be within a dotfile when when set to "deny").
31
+ * 'allow' No special treatment for dotfiles.
32
+ * 'deny' Send a 403 for any request for a dotfile.
33
+ * 'ignore' Pretend like the dotfile does not exist and 404.
34
+ * The default value is similar to 'ignore', with the exception that this default will not ignore the files within a directory that begins with a dot, for backward-compatibility.
35
+ */
36
+ dotfiles?: "allow" | "deny" | "ignore" | undefined;
37
+
38
+ /**
39
+ * Byte offset at which the stream ends, defaults to the length of the file minus 1.
40
+ * The end is inclusive in the stream, meaning end: 3 will include the 4th byte in the stream.
41
+ */
42
+ end?: number | undefined;
43
+
44
+ /**
45
+ * Enable or disable etag generation, defaults to true.
46
+ */
47
+ etag?: boolean | undefined;
48
+
49
+ /**
50
+ * If a given file doesn't exist, try appending one of the given extensions, in the given order.
51
+ * By default, this is disabled (set to false).
52
+ * An example value that will serve extension-less HTML files: ['html', 'htm'].
53
+ * This is skipped if the requested file already has an extension.
54
+ */
55
+ extensions?: string[] | string | boolean | undefined;
56
+
57
+ /**
58
+ * Enable or disable the immutable directive in the Cache-Control response header, defaults to false.
59
+ * If set to true, the maxAge option should also be specified to enable caching.
60
+ * The immutable directive will prevent supported clients from making conditional requests during the life of the maxAge option to check if the file has changed.
61
+ * @default false
62
+ */
63
+ immutable?: boolean | undefined;
64
+
65
+ /**
66
+ * By default send supports "index.html" files, to disable this set false or to supply a new index pass a string or an array in preferred order.
67
+ */
68
+ index?: string[] | string | boolean | undefined;
69
+
70
+ /**
71
+ * Enable or disable Last-Modified header, defaults to true.
72
+ * Uses the file system's last modified value.
73
+ */
74
+ lastModified?: boolean | undefined;
75
+
76
+ /**
77
+ * Provide a max-age in milliseconds for http caching, defaults to 0.
78
+ * This can also be a string accepted by the ms module.
79
+ */
80
+ maxAge?: string | number | undefined;
81
+
82
+ /**
83
+ * Serve files relative to path.
84
+ */
85
+ root?: string | undefined;
86
+
87
+ /**
88
+ * Byte offset at which the stream starts, defaults to 0.
89
+ * The start is inclusive, meaning start: 2 will include the 3rd byte in the stream.
90
+ */
91
+ start?: number | undefined;
92
+ }
93
+
94
+ interface SendStream extends stream.Stream {
95
+ /**
96
+ * Emit error with `status`.
97
+ */
98
+ error(status: number, error?: Error): void;
99
+
100
+ /**
101
+ * Check if the pathname ends with "/".
102
+ */
103
+ hasTrailingSlash(): boolean;
104
+
105
+ /**
106
+ * Check if this is a conditional GET request.
107
+ */
108
+ isConditionalGET(): boolean;
109
+
110
+ /**
111
+ * Strip content-* header fields.
112
+ */
113
+ removeContentHeaderFields(): void;
114
+
115
+ /**
116
+ * Respond with 304 not modified.
117
+ */
118
+ notModified(): void;
119
+
120
+ /**
121
+ * Raise error that headers already sent.
122
+ */
123
+ headersAlreadySent(): void;
124
+
125
+ /**
126
+ * Check if the request is cacheable, aka responded with 2xx or 304 (see RFC 2616 section 14.2{5,6}).
127
+ */
128
+ isCachable(): boolean;
129
+
130
+ /**
131
+ * Handle stat() error.
132
+ */
133
+ onStatError(error: Error): void;
134
+
135
+ /**
136
+ * Check if the cache is fresh.
137
+ */
138
+ isFresh(): boolean;
139
+
140
+ /**
141
+ * Check if the range is fresh.
142
+ */
143
+ isRangeFresh(): boolean;
144
+
145
+ /**
146
+ * Redirect to path.
147
+ */
148
+ redirect(path: string): void;
149
+
150
+ /**
151
+ * Pipe to `res`.
152
+ */
153
+ pipe<T extends NodeJS.WritableStream>(res: T): T;
154
+
155
+ /**
156
+ * Transfer `path`.
157
+ */
158
+ send(path: string, stat?: fs.Stats): void;
159
+
160
+ /**
161
+ * Transfer file for `path`.
162
+ */
163
+ sendFile(path: string): void;
164
+
165
+ /**
166
+ * Transfer index for `path`.
167
+ */
168
+ sendIndex(path: string): void;
169
+
170
+ /**
171
+ * Transfer index for `path`.
172
+ */
173
+ stream(path: string, options?: {}): void;
174
+
175
+ /**
176
+ * Set content-type based on `path` if it hasn't been explicitly set.
177
+ */
178
+ type(path: string): void;
179
+
180
+ /**
181
+ * Set response header fields, most fields may be pre-defined.
182
+ */
183
+ setHeader(path: string, stat: fs.Stats): void;
184
+ }
185
+ }
186
+
187
+ export = send;
node_modules/@types/send/package.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@types/send",
3
+ "version": "1.2.1",
4
+ "description": "TypeScript definitions for send",
5
+ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/send",
6
+ "license": "MIT",
7
+ "contributors": [
8
+ {
9
+ "name": "Mike Jerred",
10
+ "githubUsername": "MikeJerred",
11
+ "url": "https://github.com/MikeJerred"
12
+ },
13
+ {
14
+ "name": "Piotr Błażejewicz",
15
+ "githubUsername": "peterblazejewicz",
16
+ "url": "https://github.com/peterblazejewicz"
17
+ },
18
+ {
19
+ "name": "Sebastian Beltran",
20
+ "githubUsername": "bjohansebas",
21
+ "url": "https://github.com/bjohansebas"
22
+ }
23
+ ],
24
+ "main": "",
25
+ "types": "index.d.ts",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
29
+ "directory": "types/send"
30
+ },
31
+ "scripts": {},
32
+ "dependencies": {
33
+ "@types/node": "*"
34
+ },
35
+ "peerDependencies": {},
36
+ "typesPublisherContentHash": "7e844b30112f7eee3dc5a8f5c053af5f6bc07315ee3f5620d343ee55dcc2bffe",
37
+ "typeScriptVersion": "5.2"
38
+ }
node_modules/@types/serve-static/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
node_modules/@types/serve-static/README.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Installation
2
+ > `npm install --save @types/serve-static`
3
+
4
+ # Summary
5
+ This package contains type definitions for serve-static (https://github.com/expressjs/serve-static).
6
+
7
+ # Details
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serve-static.
9
+
10
+ ### Additional Details
11
+ * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
12
+ * Dependencies: [@types/http-errors](https://npmjs.com/package/@types/http-errors), [@types/node](https://npmjs.com/package/@types/node), [@types/send](https://npmjs.com/package/@types/send)
13
+
14
+ # Credits
15
+ These definitions were written by [Uros Smolnik](https://github.com/urossmolnik), [Linus Unnebäck](https://github.com/LinusU), [Devansh Jethmalani](https://github.com/devanshj), and [Sebastian Beltran](https://github.com/bjohansebas).
node_modules/@types/serve-static/index.d.ts ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /// <reference types="node" />
2
+ import * as http from "http";
3
+ import { HttpError } from "http-errors";
4
+ import send = require("send");
5
+
6
+ /**
7
+ * Create a new middleware function to serve files from within a given root directory.
8
+ * The file to serve will be determined by combining req.url with the provided root directory.
9
+ * When a file is not found, instead of sending a 404 response, this module will instead call next() to move on to the next middleware, allowing for stacking and fall-backs.
10
+ */
11
+ declare function serveStatic<R extends http.ServerResponse>(
12
+ root: string,
13
+ options?: serveStatic.ServeStaticOptions<R>,
14
+ ): serveStatic.RequestHandler<R>;
15
+
16
+ declare namespace serveStatic {
17
+ var mime: typeof send.mime;
18
+ interface ServeStaticOptions<R extends http.ServerResponse = http.ServerResponse> {
19
+ /**
20
+ * Enable or disable accepting ranged requests, defaults to true.
21
+ * Disabling this will not send Accept-Ranges and ignore the contents of the Range request header.
22
+ */
23
+ acceptRanges?: boolean | undefined;
24
+
25
+ /**
26
+ * Enable or disable setting Cache-Control response header, defaults to true.
27
+ * Disabling this will ignore the immutable and maxAge options.
28
+ */
29
+ cacheControl?: boolean | undefined;
30
+
31
+ /**
32
+ * Set how "dotfiles" are treated when encountered. A dotfile is a file or directory that begins with a dot (".").
33
+ * Note this check is done on the path itself without checking if the path actually exists on the disk.
34
+ * If root is specified, only the dotfiles above the root are checked (i.e. the root itself can be within a dotfile when when set to "deny").
35
+ * The default value is 'ignore'.
36
+ * 'allow' No special treatment for dotfiles
37
+ * 'deny' Send a 403 for any request for a dotfile
38
+ * 'ignore' Pretend like the dotfile does not exist and call next()
39
+ */
40
+ dotfiles?: string | undefined;
41
+
42
+ /**
43
+ * Enable or disable etag generation, defaults to true.
44
+ */
45
+ etag?: boolean | undefined;
46
+
47
+ /**
48
+ * Set file extension fallbacks. When set, if a file is not found, the given extensions will be added to the file name and search for.
49
+ * The first that exists will be served. Example: ['html', 'htm'].
50
+ * The default value is false.
51
+ */
52
+ extensions?: string[] | false | undefined;
53
+
54
+ /**
55
+ * Let client errors fall-through as unhandled requests, otherwise forward a client error.
56
+ * The default value is true.
57
+ */
58
+ fallthrough?: boolean | undefined;
59
+
60
+ /**
61
+ * Enable or disable the immutable directive in the Cache-Control response header.
62
+ * If enabled, the maxAge option should also be specified to enable caching. The immutable directive will prevent supported clients from making conditional requests during the life of the maxAge option to check if the file has changed.
63
+ */
64
+ immutable?: boolean | undefined;
65
+
66
+ /**
67
+ * By default this module will send "index.html" files in response to a request on a directory.
68
+ * To disable this set false or to supply a new index pass a string or an array in preferred order.
69
+ */
70
+ index?: boolean | string | string[] | undefined;
71
+
72
+ /**
73
+ * Enable or disable Last-Modified header, defaults to true. Uses the file system's last modified value.
74
+ */
75
+ lastModified?: boolean | undefined;
76
+
77
+ /**
78
+ * Provide a max-age in milliseconds for http caching, defaults to 0. This can also be a string accepted by the ms module.
79
+ */
80
+ maxAge?: number | string | undefined;
81
+
82
+ /**
83
+ * Redirect to trailing "/" when the pathname is a dir. Defaults to true.
84
+ */
85
+ redirect?: boolean | undefined;
86
+
87
+ /**
88
+ * Function to set custom headers on response. Alterations to the headers need to occur synchronously.
89
+ * The function is called as fn(res, path, stat), where the arguments are:
90
+ * res the response object
91
+ * path the file path that is being sent
92
+ * stat the stat object of the file that is being sent
93
+ */
94
+ setHeaders?: ((res: R, path: string, stat: any) => any) | undefined;
95
+ }
96
+
97
+ interface RequestHandler<R extends http.ServerResponse> {
98
+ (request: http.IncomingMessage, response: R, next: (err?: HttpError) => void): any;
99
+ }
100
+
101
+ interface RequestHandlerConstructor<R extends http.ServerResponse> {
102
+ (root: string, options?: ServeStaticOptions<R>): RequestHandler<R>;
103
+ mime: typeof send.mime;
104
+ }
105
+ }
106
+
107
+ export = serveStatic;
node_modules/@types/serve-static/node_modules/@types/send/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
node_modules/@types/serve-static/node_modules/@types/send/README.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Installation
2
+ > `npm install --save @types/send`
3
+
4
+ # Summary
5
+ This package contains type definitions for send (https://github.com/pillarjs/send).
6
+
7
+ # Details
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/send/v0.
9
+
10
+ ### Additional Details
11
+ * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
12
+ * Dependencies: [@types/mime](https://npmjs.com/package/@types/mime), [@types/node](https://npmjs.com/package/@types/node)
13
+
14
+ # Credits
15
+ These definitions were written by [Mike Jerred](https://github.com/MikeJerred), [Piotr Błażejewicz](https://github.com/peterblazejewicz), and [Sebastian Beltran](https://github.com/bjohansebas).