@eik/core 2.1.2 → 2.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,52 @@
1
+ ## [2.1.9](https://github.com/eik-lib/core/compare/v2.1.8...v2.1.9) (2025-12-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update eik dependencies ([83afc1f](https://github.com/eik-lib/core/commit/83afc1f71c1f73f378f267d84dde08c34ed2d048))
7
+
8
+ ## [2.1.8](https://github.com/eik-lib/core/compare/v2.1.7...v2.1.8) (2025-12-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * nuding ([37863e9](https://github.com/eik-lib/core/commit/37863e9c101701be93210993c54ddedbc9882bf7))
14
+
15
+ ## [2.1.7](https://github.com/eik-lib/core/compare/v2.1.6...v2.1.7) (2025-12-11)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * nudge again ([0ceb186](https://github.com/eik-lib/core/commit/0ceb18639052972d9b3fe9d315adf1837282c210))
21
+
22
+ ## [2.1.6](https://github.com/eik-lib/core/compare/v2.1.5...v2.1.6) (2025-12-11)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * nudge ([79a607c](https://github.com/eik-lib/core/commit/79a607c33e0900371deabb7c051519bea2c4fddc))
28
+
29
+ ## [2.1.5](https://github.com/eik-lib/core/compare/v2.1.4...v2.1.5) (2025-12-11)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * triggering release ([59121a4](https://github.com/eik-lib/core/commit/59121a484d0df3e09ca6811a0627bce3badc0f0f))
35
+
36
+ ## [2.1.4](https://github.com/eik-lib/core/compare/v2.1.3...v2.1.4) (2025-11-21)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * **deps:** update dependency http-errors to v2.0.1 ([#523](https://github.com/eik-lib/core/issues/523)) ([c01cfb0](https://github.com/eik-lib/core/commit/c01cfb0d4b632f5e493c0091b36269760e59b439))
42
+
43
+ ## [2.1.3](https://github.com/eik-lib/core/compare/v2.1.2...v2.1.3) (2025-10-30)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * **deps:** update dependency tar to v7.5.2 [security] ([#519](https://github.com/eik-lib/core/issues/519)) ([336c28e](https://github.com/eik-lib/core/commit/336c28effd4ddecfa6a318403471b0dbc94bf06f))
49
+
1
50
  ## [2.1.2](https://github.com/eik-lib/core/compare/v2.1.1...v2.1.2) (2025-10-08)
2
51
 
3
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eik/core",
3
- "version": "2.1.2",
3
+ "version": "2.1.9",
4
4
  "description": "Core server package",
5
5
  "main": "lib/main.js",
6
6
  "types": "./types/main.d.ts",
@@ -21,40 +21,44 @@
21
21
  "types:module": "tsc",
22
22
  "types:test": "tsc --project tsconfig.test.json"
23
23
  },
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git@github.com:eik-lib/core.git"
27
+ },
24
28
  "keywords": [],
25
29
  "author": "",
26
30
  "license": "MIT",
27
31
  "dependencies": {
28
- "@eik/common": "5.1.7",
32
+ "@eik/common": "5.1.11",
29
33
  "@eik/sink": "1.2.5",
30
- "@eik/sink-file-system": "2.0.13",
31
- "@eik/sink-memory": "2.0.12",
34
+ "@eik/sink-file-system": "2.0.14",
35
+ "@eik/sink-memory": "2.0.13",
32
36
  "@metrics/client": "2.5.5",
33
37
  "abslog": "2.4.4",
34
38
  "busboy": "1.6.0",
35
- "http-errors": "2.0.0",
39
+ "http-errors": "2.0.1",
36
40
  "mime": "4.1.0",
37
41
  "original-url": "1.2.3",
38
42
  "semver": "7.7.3",
39
43
  "ssri": "12.0.0",
40
- "tar": "7.5.1",
44
+ "tar": "7.5.2",
41
45
  "unique-slug": "5.0.0"
42
46
  },
43
47
  "devDependencies": {
44
48
  "@eik/eslint-config": "1.0.23",
45
49
  "@eik/prettier-config": "1.0.1",
46
- "@eik/semantic-release-config": "1.0.9",
50
+ "@eik/semantic-release-config": "1.0.10",
47
51
  "@eik/typescript-config": "1.0.0",
48
- "@types/readable-stream": "4.0.21",
49
- "eslint": "9.32.0",
50
- "form-data": "4.0.4",
52
+ "@types/readable-stream": "4.0.22",
53
+ "eslint": "9.39.1",
54
+ "form-data": "4.0.5",
51
55
  "mkdirp": "3.0.1",
52
56
  "node-fetch": "3.3.2",
53
- "npm-run-all2": "7.0.2",
54
- "prettier": "3.5.3",
55
- "rimraf": "6.0.1",
56
- "semantic-release": "24.2.9",
57
- "tap": "21.0.1",
58
- "typescript": "5.6.3"
57
+ "npm-run-all2": "8.0.4",
58
+ "prettier": "3.7.4",
59
+ "rimraf": "6.1.2",
60
+ "semantic-release": "25.0.2",
61
+ "tap": "21.5.0",
62
+ "typescript": "5.9.3"
59
63
  }
60
64
  }
@@ -11,11 +11,12 @@ declare const Alias: {
11
11
  _name: string;
12
12
  _type: string;
13
13
  _org: string;
14
- version: string;
15
- readonly alias: string;
16
- readonly name: string;
17
- readonly type: string;
18
- readonly org: string;
14
+ get version(): string;
15
+ set version(value: string);
16
+ get alias(): string;
17
+ get name(): string;
18
+ get type(): string;
19
+ get org(): string;
19
20
  toJSON(): {
20
21
  version: string;
21
22
  alias: string;
@@ -23,6 +24,6 @@ declare const Alias: {
23
24
  name: string;
24
25
  org: string;
25
26
  };
26
- readonly [Symbol.toStringTag]: string;
27
+ get [Symbol.toStringTag](): string;
27
28
  };
28
29
  };
@@ -27,15 +27,18 @@ declare const Asset: {
27
27
  _version: string;
28
28
  _name: string;
29
29
  _org: string;
30
- integrity: string;
31
- readonly pathname: string;
32
- readonly mimeType: string;
33
- readonly version: string;
34
- readonly asset: string;
35
- readonly name: string;
36
- type: string;
37
- size: number;
38
- readonly org: string;
30
+ get integrity(): string;
31
+ set integrity(value: string);
32
+ get pathname(): string;
33
+ get mimeType(): string;
34
+ get version(): string;
35
+ get asset(): string;
36
+ get name(): string;
37
+ get type(): string;
38
+ set type(value: string);
39
+ get size(): number;
40
+ set size(value: number);
41
+ get org(): string;
39
42
  toJSON(): {
40
43
  integrity: string;
41
44
  pathname: string;
@@ -43,6 +46,6 @@ declare const Asset: {
43
46
  type: string;
44
47
  size: number;
45
48
  };
46
- readonly [Symbol.toStringTag]: string;
49
+ get [Symbol.toStringTag](): string;
47
50
  };
48
51
  };
@@ -6,12 +6,12 @@ declare const Author: {
6
6
  }): {
7
7
  _name: string;
8
8
  _user: string;
9
- readonly name: string;
10
- readonly user: string;
9
+ get name(): string;
10
+ get user(): string;
11
11
  toJSON(): {
12
12
  name: string;
13
13
  user: string;
14
14
  };
15
- readonly [Symbol.toStringTag]: string;
15
+ get [Symbol.toStringTag](): string;
16
16
  };
17
17
  };
@@ -23,15 +23,15 @@ declare const HttpIncoming: {
23
23
  _org: string;
24
24
  _request: any;
25
25
  _headers: any;
26
- readonly version: string;
27
- readonly extras: string;
28
- readonly author: {};
29
- readonly alias: string;
30
- readonly name: string;
31
- readonly type: string;
32
- readonly org: string;
33
- readonly request: any;
34
- readonly headers: any;
35
- readonly [Symbol.toStringTag]: string;
26
+ get version(): string;
27
+ get extras(): string;
28
+ get author(): {};
29
+ get alias(): string;
30
+ get name(): string;
31
+ get type(): string;
32
+ get org(): string;
33
+ get request(): any;
34
+ get headers(): any;
35
+ get [Symbol.toStringTag](): string;
36
36
  };
37
37
  };
@@ -8,13 +8,20 @@ declare const HttpOutgoing: {
8
8
  _stream: any;
9
9
  _body: any;
10
10
  _etag: string;
11
- cacheControl: string;
12
- statusCode: number;
13
- location: string;
14
- mimeType: string;
15
- stream: any;
16
- body: any;
17
- etag: string;
18
- readonly [Symbol.toStringTag]: string;
11
+ get cacheControl(): string;
12
+ set cacheControl(value: string);
13
+ get statusCode(): number;
14
+ set statusCode(value: number);
15
+ get location(): string;
16
+ set location(value: string);
17
+ get mimeType(): string;
18
+ set mimeType(value: string);
19
+ get stream(): any;
20
+ set stream(value: any);
21
+ get body(): any;
22
+ set body(value: any);
23
+ get etag(): string;
24
+ set etag(value: string);
25
+ get [Symbol.toStringTag](): string;
19
26
  };
20
27
  };
@@ -6,12 +6,12 @@ declare const Meta: {
6
6
  }): {
7
7
  _value: string;
8
8
  _name: string;
9
- readonly value: string;
10
- readonly name: string;
9
+ get value(): string;
10
+ get name(): string;
11
11
  toJSON(): {
12
12
  value: string;
13
13
  name: string;
14
14
  };
15
- readonly [Symbol.toStringTag]: string;
15
+ get [Symbol.toStringTag](): string;
16
16
  };
17
17
  };
@@ -15,13 +15,13 @@ declare const Package: {
15
15
  _org: string;
16
16
  _files: any[];
17
17
  _meta: any[];
18
- readonly integrity: string;
19
- readonly version: string;
20
- readonly created: number;
21
- readonly author: {};
22
- readonly type: string;
23
- readonly name: string;
24
- readonly org: string;
18
+ get integrity(): string;
19
+ get version(): string;
20
+ get created(): number;
21
+ get author(): {};
22
+ get type(): string;
23
+ get name(): string;
24
+ get org(): string;
25
25
  setAsset(asset: any): void;
26
26
  setMeta(meta: any): void;
27
27
  toJSON(): {
@@ -35,6 +35,6 @@ declare const Package: {
35
35
  files: any[];
36
36
  meta: any[];
37
37
  };
38
- readonly [Symbol.toStringTag]: string;
38
+ get [Symbol.toStringTag](): string;
39
39
  };
40
40
  };
@@ -10,10 +10,10 @@ declare const Versions: {
10
10
  _type: string;
11
11
  _name: string;
12
12
  _org: string;
13
- readonly versions: [any, any][];
14
- readonly type: string;
15
- readonly name: string;
16
- readonly org: string;
13
+ get versions(): [any, any][];
14
+ get type(): string;
15
+ get name(): string;
16
+ get org(): string;
17
17
  setVersion(version: any, integrity: any): void;
18
18
  getVersion(major: any): any;
19
19
  check(version: any): boolean;
@@ -23,6 +23,6 @@ declare const Versions: {
23
23
  name: string;
24
24
  org: string;
25
25
  };
26
- readonly [Symbol.toStringTag]: string;
26
+ get [Symbol.toStringTag](): string;
27
27
  };
28
28
  };
@@ -24,7 +24,7 @@ declare const AliasDel: {
24
24
  _metrics: Metrics;
25
25
  _histogram: Metrics.MetricsHistogram;
26
26
  _orgRegistry: Map<string, string>;
27
- readonly metrics: Metrics;
27
+ get metrics(): Metrics;
28
28
  _exist(path?: string): Promise<boolean>;
29
29
  handler(req: any, user: any, type: any, name: any, alias: any): Promise<any>;
30
30
  };
@@ -27,7 +27,7 @@ declare const AliasGet: {
27
27
  _metrics: Metrics;
28
28
  _histogram: Metrics.MetricsHistogram;
29
29
  _orgRegistry: Map<string, string>;
30
- readonly metrics: Metrics;
30
+ get metrics(): Metrics;
31
31
  handler(req: any, type: any, name: any, alias: any, extra: any): Promise<{
32
32
  _cacheControl: string;
33
33
  _statusCode: number;
@@ -36,14 +36,21 @@ declare const AliasGet: {
36
36
  _stream: any;
37
37
  _body: any;
38
38
  _etag: string;
39
- cacheControl: string;
40
- statusCode: number;
41
- location: string;
42
- mimeType: string;
43
- stream: any;
44
- body: any;
45
- etag: string;
46
- readonly [Symbol.toStringTag]: string;
39
+ get cacheControl(): string;
40
+ set cacheControl(value: string);
41
+ get statusCode(): number;
42
+ set statusCode(value: number);
43
+ get location(): string;
44
+ set location(value: string);
45
+ get mimeType(): string;
46
+ set mimeType(value: string);
47
+ get stream(): any;
48
+ set stream(value: any);
49
+ get body(): any;
50
+ set body(value: any);
51
+ get etag(): string;
52
+ set etag(value: string);
53
+ get [Symbol.toStringTag](): string;
47
54
  }>;
48
55
  };
49
56
  };
@@ -24,7 +24,7 @@ declare const AliasGet: {
24
24
  _metrics: Metrics;
25
25
  _histogram: Metrics.MetricsHistogram;
26
26
  _orgRegistry: Map<string, string>;
27
- readonly metrics: Metrics;
27
+ get metrics(): Metrics;
28
28
  handler(req: any, type: any, name: any, alias: any, extra: any): Promise<{
29
29
  _cacheControl: string;
30
30
  _statusCode: number;
@@ -33,14 +33,21 @@ declare const AliasGet: {
33
33
  _stream: any;
34
34
  _body: any;
35
35
  _etag: string;
36
- cacheControl: string;
37
- statusCode: number;
38
- location: string;
39
- mimeType: string;
40
- stream: any;
41
- body: any;
42
- etag: string;
43
- readonly [Symbol.toStringTag]: string;
36
+ get cacheControl(): string;
37
+ set cacheControl(value: string);
38
+ get statusCode(): number;
39
+ set statusCode(value: number);
40
+ get location(): string;
41
+ set location(value: string);
42
+ get mimeType(): string;
43
+ set mimeType(value: string);
44
+ get stream(): any;
45
+ set stream(value: any);
46
+ get body(): any;
47
+ set body(value: any);
48
+ get etag(): string;
49
+ set etag(value: string);
50
+ get [Symbol.toStringTag](): string;
44
51
  }>;
45
52
  };
46
53
  };
@@ -37,13 +37,13 @@ declare const AliasPost: {
37
37
  }): {
38
38
  _value: string;
39
39
  _name: string;
40
- readonly value: string;
41
- readonly name: string;
40
+ get value(): string;
41
+ get name(): string;
42
42
  toJSON(): {
43
43
  value: string;
44
44
  name: string;
45
45
  };
46
- readonly [Symbol.toStringTag]: string;
46
+ get [Symbol.toStringTag](): string;
47
47
  };
48
48
  _handleFile({ fieldname, file, filename, incoming }: {
49
49
  fieldname: any;
@@ -55,9 +55,9 @@ declare const AliasPost: {
55
55
  incoming: any;
56
56
  entry: any;
57
57
  }): Promise<any>;
58
- readonly [Symbol.toStringTag]: string;
58
+ get [Symbol.toStringTag](): string;
59
59
  };
60
- readonly metrics: Metrics;
60
+ get metrics(): Metrics;
61
61
  _parser(incoming: any): Promise<any>;
62
62
  _exist(incoming: any): Promise<boolean>;
63
63
  handler(req: any, user: any, type: any, name: any, alias: any): Promise<{
@@ -68,14 +68,21 @@ declare const AliasPost: {
68
68
  _stream: any;
69
69
  _body: any;
70
70
  _etag: string;
71
- cacheControl: string;
72
- statusCode: number;
73
- location: string;
74
- mimeType: string;
75
- stream: any;
76
- body: any;
77
- etag: string;
78
- readonly [Symbol.toStringTag]: string;
71
+ get cacheControl(): string;
72
+ set cacheControl(value: string);
73
+ get statusCode(): number;
74
+ set statusCode(value: number);
75
+ get location(): string;
76
+ set location(value: string);
77
+ get mimeType(): string;
78
+ set mimeType(value: string);
79
+ get stream(): any;
80
+ set stream(value: any);
81
+ get body(): any;
82
+ set body(value: any);
83
+ get etag(): string;
84
+ set etag(value: string);
85
+ get [Symbol.toStringTag](): string;
79
86
  }>;
80
87
  };
81
88
  };
@@ -37,13 +37,13 @@ declare const AliasPut: {
37
37
  }): {
38
38
  _value: string;
39
39
  _name: string;
40
- readonly value: string;
41
- readonly name: string;
40
+ get value(): string;
41
+ get name(): string;
42
42
  toJSON(): {
43
43
  value: string;
44
44
  name: string;
45
45
  };
46
- readonly [Symbol.toStringTag]: string;
46
+ get [Symbol.toStringTag](): string;
47
47
  };
48
48
  _handleFile({ fieldname, file, filename, incoming }: {
49
49
  fieldname: any;
@@ -55,9 +55,9 @@ declare const AliasPut: {
55
55
  incoming: any;
56
56
  entry: any;
57
57
  }): Promise<any>;
58
- readonly [Symbol.toStringTag]: string;
58
+ get [Symbol.toStringTag](): string;
59
59
  };
60
- readonly metrics: Metrics;
60
+ get metrics(): Metrics;
61
61
  _parser(incoming: any): Promise<any>;
62
62
  _exist(incoming: any): Promise<boolean>;
63
63
  handler(req: any, user: any, type: any, name: any, alias: any): Promise<{
@@ -68,14 +68,21 @@ declare const AliasPut: {
68
68
  _stream: any;
69
69
  _body: any;
70
70
  _etag: string;
71
- cacheControl: string;
72
- statusCode: number;
73
- location: string;
74
- mimeType: string;
75
- stream: any;
76
- body: any;
77
- etag: string;
78
- readonly [Symbol.toStringTag]: string;
71
+ get cacheControl(): string;
72
+ set cacheControl(value: string);
73
+ get statusCode(): number;
74
+ set statusCode(value: number);
75
+ get location(): string;
76
+ set location(value: string);
77
+ get mimeType(): string;
78
+ set mimeType(value: string);
79
+ get stream(): any;
80
+ set stream(value: any);
81
+ get body(): any;
82
+ set body(value: any);
83
+ get etag(): string;
84
+ set etag(value: string);
85
+ get [Symbol.toStringTag](): string;
79
86
  }>;
80
87
  };
81
88
  };
@@ -37,13 +37,13 @@ declare const AuthPost: {
37
37
  }): {
38
38
  _value: string;
39
39
  _name: string;
40
- readonly value: string;
41
- readonly name: string;
40
+ get value(): string;
41
+ get name(): string;
42
42
  toJSON(): {
43
43
  value: string;
44
44
  name: string;
45
45
  };
46
- readonly [Symbol.toStringTag]: string;
46
+ get [Symbol.toStringTag](): string;
47
47
  };
48
48
  _handleFile({ fieldname, file, filename, incoming }: {
49
49
  fieldname: any;
@@ -55,9 +55,9 @@ declare const AuthPost: {
55
55
  incoming: any;
56
56
  entry: any;
57
57
  }): Promise<any>;
58
- readonly [Symbol.toStringTag]: string;
58
+ get [Symbol.toStringTag](): string;
59
59
  };
60
- readonly metrics: Metrics;
60
+ get metrics(): Metrics;
61
61
  _parser(incoming: any): Promise<any>;
62
62
  handler(req: any): Promise<{
63
63
  _cacheControl: string;
@@ -67,14 +67,21 @@ declare const AuthPost: {
67
67
  _stream: any;
68
68
  _body: any;
69
69
  _etag: string;
70
- cacheControl: string;
71
- statusCode: number;
72
- location: string;
73
- mimeType: string;
74
- stream: any;
75
- body: any;
76
- etag: string;
77
- readonly [Symbol.toStringTag]: string;
70
+ get cacheControl(): string;
71
+ set cacheControl(value: string);
72
+ get statusCode(): number;
73
+ set statusCode(value: number);
74
+ get location(): string;
75
+ set location(value: string);
76
+ get mimeType(): string;
77
+ set mimeType(value: string);
78
+ get stream(): any;
79
+ set stream(value: any);
80
+ get body(): any;
81
+ set body(value: any);
82
+ get etag(): string;
83
+ set etag(value: string);
84
+ get [Symbol.toStringTag](): string;
78
85
  }>;
79
86
  };
80
87
  };
@@ -27,7 +27,7 @@ declare const MapGet: {
27
27
  _metrics: Metrics;
28
28
  _histogram: Metrics.MetricsHistogram;
29
29
  _orgRegistry: Map<string, string>;
30
- readonly metrics: Metrics;
30
+ get metrics(): Metrics;
31
31
  handler(req: any, name: any, version: any): Promise<{
32
32
  _cacheControl: string;
33
33
  _statusCode: number;
@@ -36,14 +36,21 @@ declare const MapGet: {
36
36
  _stream: any;
37
37
  _body: any;
38
38
  _etag: string;
39
- cacheControl: string;
40
- statusCode: number;
41
- location: string;
42
- mimeType: string;
43
- stream: any;
44
- body: any;
45
- etag: string;
46
- readonly [Symbol.toStringTag]: string;
39
+ get cacheControl(): string;
40
+ set cacheControl(value: string);
41
+ get statusCode(): number;
42
+ set statusCode(value: number);
43
+ get location(): string;
44
+ set location(value: string);
45
+ get mimeType(): string;
46
+ set mimeType(value: string);
47
+ get stream(): any;
48
+ set stream(value: any);
49
+ get body(): any;
50
+ set body(value: any);
51
+ get etag(): string;
52
+ set etag(value: string);
53
+ get [Symbol.toStringTag](): string;
47
54
  }>;
48
55
  };
49
56
  };
@@ -27,7 +27,7 @@ declare const MapPut: {
27
27
  _metrics: Metrics;
28
28
  _histogram: Metrics.MetricsHistogram;
29
29
  _orgRegistry: Map<string, string>;
30
- readonly metrics: Metrics;
30
+ get metrics(): Metrics;
31
31
  _parser(incoming: any): Promise<any>;
32
32
  _handleFile({ fieldname, file, path }: {
33
33
  fieldname: any;
@@ -39,10 +39,10 @@ declare const MapPut: {
39
39
  _type: string;
40
40
  _name: string;
41
41
  _org: string;
42
- readonly versions: [any, any][];
43
- readonly type: string;
44
- readonly name: string;
45
- readonly org: string;
42
+ get versions(): [any, any][];
43
+ get type(): string;
44
+ get name(): string;
45
+ get org(): string;
46
46
  setVersion(version: any, integrity: any): void;
47
47
  getVersion(major: any): any;
48
48
  check(version: any): boolean;
@@ -52,7 +52,7 @@ declare const MapPut: {
52
52
  name: string;
53
53
  org: string;
54
54
  };
55
- readonly [Symbol.toStringTag]: string;
55
+ get [Symbol.toStringTag](): string;
56
56
  }>;
57
57
  _writeVersions(incoming: any, versions: any): Promise<void>;
58
58
  handler(req: any, user: any, name: any, version: any): Promise<{
@@ -63,14 +63,21 @@ declare const MapPut: {
63
63
  _stream: any;
64
64
  _body: any;
65
65
  _etag: string;
66
- cacheControl: string;
67
- statusCode: number;
68
- location: string;
69
- mimeType: string;
70
- stream: any;
71
- body: any;
72
- etag: string;
73
- readonly [Symbol.toStringTag]: string;
66
+ get cacheControl(): string;
67
+ set cacheControl(value: string);
68
+ get statusCode(): number;
69
+ set statusCode(value: number);
70
+ get location(): string;
71
+ set location(value: string);
72
+ get mimeType(): string;
73
+ set mimeType(value: string);
74
+ get stream(): any;
75
+ set stream(value: any);
76
+ get body(): any;
77
+ set body(value: any);
78
+ get etag(): string;
79
+ set etag(value: string);
80
+ get [Symbol.toStringTag](): string;
74
81
  }>;
75
82
  };
76
83
  };
@@ -27,7 +27,7 @@ declare const PkgGet: {
27
27
  _metrics: Metrics;
28
28
  _histogram: Metrics.MetricsHistogram;
29
29
  _orgRegistry: Map<string, string>;
30
- readonly metrics: Metrics;
30
+ get metrics(): Metrics;
31
31
  handler(req: any, type: any, name: any, version: any, extra: any): Promise<{
32
32
  _cacheControl: string;
33
33
  _statusCode: number;
@@ -36,14 +36,21 @@ declare const PkgGet: {
36
36
  _stream: any;
37
37
  _body: any;
38
38
  _etag: string;
39
- cacheControl: string;
40
- statusCode: number;
41
- location: string;
42
- mimeType: string;
43
- stream: any;
44
- body: any;
45
- etag: string;
46
- readonly [Symbol.toStringTag]: string;
39
+ get cacheControl(): string;
40
+ set cacheControl(value: string);
41
+ get statusCode(): number;
42
+ set statusCode(value: number);
43
+ get location(): string;
44
+ set location(value: string);
45
+ get mimeType(): string;
46
+ set mimeType(value: string);
47
+ get stream(): any;
48
+ set stream(value: any);
49
+ get body(): any;
50
+ set body(value: any);
51
+ get etag(): string;
52
+ set etag(value: string);
53
+ get [Symbol.toStringTag](): string;
47
54
  }>;
48
55
  };
49
56
  };
@@ -27,7 +27,7 @@ declare const PkgLog: {
27
27
  _metrics: Metrics;
28
28
  _histogram: Metrics.MetricsHistogram;
29
29
  _orgRegistry: Map<string, string>;
30
- readonly metrics: Metrics;
30
+ get metrics(): Metrics;
31
31
  handler(req: any, type: any, name: any, version: any): Promise<{
32
32
  _cacheControl: string;
33
33
  _statusCode: number;
@@ -36,14 +36,21 @@ declare const PkgLog: {
36
36
  _stream: any;
37
37
  _body: any;
38
38
  _etag: string;
39
- cacheControl: string;
40
- statusCode: number;
41
- location: string;
42
- mimeType: string;
43
- stream: any;
44
- body: any;
45
- etag: string;
46
- readonly [Symbol.toStringTag]: string;
39
+ get cacheControl(): string;
40
+ set cacheControl(value: string);
41
+ get statusCode(): number;
42
+ set statusCode(value: number);
43
+ get location(): string;
44
+ set location(value: string);
45
+ get mimeType(): string;
46
+ set mimeType(value: string);
47
+ get stream(): any;
48
+ set stream(value: any);
49
+ get body(): any;
50
+ set body(value: any);
51
+ get etag(): string;
52
+ set etag(value: string);
53
+ get [Symbol.toStringTag](): string;
47
54
  }>;
48
55
  };
49
56
  };
@@ -40,13 +40,13 @@ declare const PkgPut: {
40
40
  }): {
41
41
  _value: string;
42
42
  _name: string;
43
- readonly value: string;
44
- readonly name: string;
43
+ get value(): string;
44
+ get name(): string;
45
45
  toJSON(): {
46
46
  value: string;
47
47
  name: string;
48
48
  };
49
- readonly [Symbol.toStringTag]: string;
49
+ get [Symbol.toStringTag](): string;
50
50
  };
51
51
  _handleFile({ fieldname, file, filename, incoming }: {
52
52
  fieldname: any;
@@ -58,19 +58,19 @@ declare const PkgPut: {
58
58
  incoming: any;
59
59
  entry: any;
60
60
  }): Promise<any>;
61
- readonly [Symbol.toStringTag]: string;
61
+ get [Symbol.toStringTag](): string;
62
62
  };
63
- readonly metrics: Metrics;
63
+ get metrics(): Metrics;
64
64
  _parser(incoming: any): Promise<any>;
65
65
  _readVersions(incoming: any): Promise<{
66
66
  _versions: Map<any, any>;
67
67
  _type: string;
68
68
  _name: string;
69
69
  _org: string;
70
- readonly versions: [any, any][];
71
- readonly type: string;
72
- readonly name: string;
73
- readonly org: string;
70
+ get versions(): [any, any][];
71
+ get type(): string;
72
+ get name(): string;
73
+ get org(): string;
74
74
  setVersion(version: any, integrity: any): void;
75
75
  getVersion(major: any): any;
76
76
  check(version: any): boolean;
@@ -80,7 +80,7 @@ declare const PkgPut: {
80
80
  name: string;
81
81
  org: string;
82
82
  };
83
- readonly [Symbol.toStringTag]: string;
83
+ get [Symbol.toStringTag](): string;
84
84
  }>;
85
85
  _readVersion(incoming: any): Promise<boolean>;
86
86
  _writeVersions(incoming: any, versions: any): Promise<void>;
@@ -92,14 +92,21 @@ declare const PkgPut: {
92
92
  _stream: any;
93
93
  _body: any;
94
94
  _etag: string;
95
- cacheControl: string;
96
- statusCode: number;
97
- location: string;
98
- mimeType: string;
99
- stream: any;
100
- body: any;
101
- etag: string;
102
- readonly [Symbol.toStringTag]: string;
95
+ get cacheControl(): string;
96
+ set cacheControl(value: string);
97
+ get statusCode(): number;
98
+ set statusCode(value: number);
99
+ get location(): string;
100
+ set location(value: string);
101
+ get mimeType(): string;
102
+ set mimeType(value: string);
103
+ get stream(): any;
104
+ set stream(value: any);
105
+ get body(): any;
106
+ set body(value: any);
107
+ get etag(): string;
108
+ set etag(value: string);
109
+ get [Symbol.toStringTag](): string;
103
110
  }>;
104
111
  };
105
112
  };
@@ -24,7 +24,7 @@ declare const VersionsGet: {
24
24
  _metrics: Metrics;
25
25
  _histogram: Metrics.MetricsHistogram;
26
26
  _orgRegistry: Map<string, string>;
27
- readonly metrics: Metrics;
27
+ get metrics(): Metrics;
28
28
  handler(req: any, type: any, name: any): Promise<{
29
29
  _cacheControl: string;
30
30
  _statusCode: number;
@@ -33,14 +33,21 @@ declare const VersionsGet: {
33
33
  _stream: any;
34
34
  _body: any;
35
35
  _etag: string;
36
- cacheControl: string;
37
- statusCode: number;
38
- location: string;
39
- mimeType: string;
40
- stream: any;
41
- body: any;
42
- etag: string;
43
- readonly [Symbol.toStringTag]: string;
36
+ get cacheControl(): string;
37
+ set cacheControl(value: string);
38
+ get statusCode(): number;
39
+ set statusCode(value: number);
40
+ get location(): string;
41
+ set location(value: string);
42
+ get mimeType(): string;
43
+ set mimeType(value: string);
44
+ get stream(): any;
45
+ set stream(value: any);
46
+ get body(): any;
47
+ set body(value: any);
48
+ get etag(): string;
49
+ set etag(value: string);
50
+ get [Symbol.toStringTag](): string;
44
51
  }>;
45
52
  };
46
53
  };
@@ -6,12 +6,12 @@ declare const FormField: {
6
6
  }): {
7
7
  _value: string;
8
8
  _name: string;
9
- readonly value: string;
10
- readonly name: string;
9
+ get value(): string;
10
+ get name(): string;
11
11
  toJSON(): {
12
12
  value: string;
13
13
  name: string;
14
14
  };
15
- readonly [Symbol.toStringTag]: string;
15
+ get [Symbol.toStringTag](): string;
16
16
  };
17
17
  };
@@ -6,12 +6,12 @@ declare const FormFile: {
6
6
  }): {
7
7
  _value: any[];
8
8
  _name: string;
9
- readonly value: any[];
10
- readonly name: string;
9
+ get value(): any[];
10
+ get name(): string;
11
11
  toJSON(): {
12
12
  value: any[];
13
13
  name: string;
14
14
  };
15
- readonly [Symbol.toStringTag]: string;
15
+ get [Symbol.toStringTag](): string;
16
16
  };
17
17
  };
@@ -28,13 +28,13 @@ declare const MultipartParser: {
28
28
  }): {
29
29
  _value: string;
30
30
  _name: string;
31
- readonly value: string;
32
- readonly name: string;
31
+ get value(): string;
32
+ get name(): string;
33
33
  toJSON(): {
34
34
  value: string;
35
35
  name: string;
36
36
  };
37
- readonly [Symbol.toStringTag]: string;
37
+ get [Symbol.toStringTag](): string;
38
38
  };
39
39
  _handleFile({ fieldname, file, filename, incoming }: {
40
40
  fieldname: any;
@@ -46,7 +46,7 @@ declare const MultipartParser: {
46
46
  incoming: any;
47
47
  entry: any;
48
48
  }): Promise<any>;
49
- readonly [Symbol.toStringTag]: string;
49
+ get [Symbol.toStringTag](): string;
50
50
  };
51
51
  };
52
52
  import abslog from "abslog";
@@ -7,9 +7,9 @@ declare const Entry: {
7
7
  _mimeType: string;
8
8
  _payload: any[];
9
9
  _hash: string;
10
- readonly mimeType: string;
11
- readonly payload: any[];
12
- readonly hash: string;
13
- readonly [Symbol.toStringTag]: string;
10
+ get mimeType(): string;
11
+ get payload(): any[];
12
+ get hash(): string;
13
+ get [Symbol.toStringTag](): string;
14
14
  };
15
15
  };
@@ -18,7 +18,7 @@ declare const HealthCheck: {
18
18
  _delete(): Promise<void>;
19
19
  _exist(): Promise<void>;
20
20
  check(): Promise<boolean>;
21
- readonly [Symbol.toStringTag]: string;
21
+ get [Symbol.toStringTag](): string;
22
22
  };
23
23
  };
24
24
  import abslog from "abslog";