@eik/common 5.1.6 → 5.1.11
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 +35 -0
- package/package.json +17 -18
- package/types/classes/eik-config.d.ts +5 -7
- package/types/classes/read-file.d.ts +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,38 @@
|
|
|
1
|
+
## [5.1.11](https://github.com/eik-lib/common/compare/v5.1.10...v5.1.11) (2025-12-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* nudge version ([c81f35b](https://github.com/eik-lib/common/commit/c81f35b7e13424b839a0da6c590a548d97d35717))
|
|
7
|
+
|
|
8
|
+
## [5.1.10](https://github.com/eik-lib/common/compare/v5.1.9...v5.1.10) (2025-12-02)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update dependency validate-npm-package-name to v7 ([#377](https://github.com/eik-lib/common/issues/377)) ([be986c8](https://github.com/eik-lib/common/commit/be986c824de806662f8e274ecc0c1aeb5e6fe70c))
|
|
14
|
+
|
|
15
|
+
## [5.1.9](https://github.com/eik-lib/common/compare/v5.1.8...v5.1.9) (2025-12-02)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **deps:** update dependency glob to v13 ([#384](https://github.com/eik-lib/common/issues/384)) ([ad7d1e4](https://github.com/eik-lib/common/commit/ad7d1e4520e35f7a61f227ae20000f80b62e6cff))
|
|
21
|
+
|
|
22
|
+
## [5.1.8](https://github.com/eik-lib/common/compare/v5.1.7...v5.1.8) (2025-11-26)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* update dependencies ([#387](https://github.com/eik-lib/common/issues/387)) ([a58ffcd](https://github.com/eik-lib/common/commit/a58ffcd8967a2787dcdd3e947b108ad98f6e059a))
|
|
28
|
+
|
|
29
|
+
## [5.1.7](https://github.com/eik-lib/common/compare/v5.1.6...v5.1.7) (2025-09-09)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **deps:** update dependency mime-types to v3 ([#350](https://github.com/eik-lib/common/issues/350)) ([1016433](https://github.com/eik-lib/common/commit/10164334b162351e6ec6cfde00c9877dcbb03358))
|
|
35
|
+
|
|
1
36
|
## [5.1.6](https://github.com/eik-lib/common/compare/v5.1.5...v5.1.6) (2025-07-22)
|
|
2
37
|
|
|
3
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eik/common",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.11",
|
|
4
4
|
"description": "Common utilities for Eik modules",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -37,35 +37,34 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"ajv": "8.17.1",
|
|
39
39
|
"ajv-formats": "3.0.1",
|
|
40
|
-
"glob": "
|
|
40
|
+
"glob": "13.0.0",
|
|
41
41
|
"is-glob": "4.0.3",
|
|
42
|
-
"mime-types": "
|
|
43
|
-
"semver": "7.7.
|
|
44
|
-
"validate-npm-package-name": "
|
|
42
|
+
"mime-types": "3.0.2",
|
|
43
|
+
"semver": "7.7.3",
|
|
44
|
+
"validate-npm-package-name": "7.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@babel/plugin-syntax-import-assertions": "7.27.1",
|
|
48
|
-
"@eik/eslint-config": "1.0.
|
|
48
|
+
"@eik/eslint-config": "1.0.23",
|
|
49
49
|
"@eik/prettier-config": "1.0.1",
|
|
50
|
-
"@eik/semantic-release-config": "1.0.
|
|
50
|
+
"@eik/semantic-release-config": "1.0.10",
|
|
51
51
|
"@eik/typescript-config": "1.0.0",
|
|
52
|
-
"@hapi/hapi": "21.3.12",
|
|
53
52
|
"@semantic-release/changelog": "6.0.3",
|
|
54
53
|
"@semantic-release/git": "10.0.1",
|
|
55
54
|
"@types/glob": "8.1.0",
|
|
56
55
|
"@types/is-glob": "4.0.4",
|
|
57
|
-
"@types/semver": "7.7.
|
|
56
|
+
"@types/semver": "7.7.1",
|
|
58
57
|
"@types/validate-npm-package-name": "4.0.2",
|
|
59
|
-
"eslint": "9.
|
|
60
|
-
"express": "4.
|
|
61
|
-
"fastify": "5.
|
|
58
|
+
"eslint": "9.39.1",
|
|
59
|
+
"express": "4.22.0",
|
|
60
|
+
"fastify": "5.6.2",
|
|
62
61
|
"json-schema-to-typescript": "15.0.4",
|
|
63
|
-
"npm-run-all2": "
|
|
64
|
-
"prettier": "3.
|
|
65
|
-
"rimraf": "6.
|
|
66
|
-
"semantic-release": "
|
|
62
|
+
"npm-run-all2": "8.0.4",
|
|
63
|
+
"prettier": "3.7.3",
|
|
64
|
+
"rimraf": "6.1.2",
|
|
65
|
+
"semantic-release": "25.0.2",
|
|
67
66
|
"stoppable": "1.1.0",
|
|
68
|
-
"tap": "21.0
|
|
69
|
-
"typescript": "5.
|
|
67
|
+
"tap": "21.3.0",
|
|
68
|
+
"typescript": "5.9.3"
|
|
70
69
|
}
|
|
71
70
|
}
|
|
@@ -12,20 +12,18 @@ export default class EikConfig {
|
|
|
12
12
|
/** @type {string[]} */
|
|
13
13
|
map: string[];
|
|
14
14
|
/** @type {EikjsonSchema["name"]} */
|
|
15
|
-
get name():
|
|
16
|
-
set version(newVersion:
|
|
15
|
+
get name(): EikjsonSchema["name"];
|
|
16
|
+
set version(newVersion: EikjsonSchema["version"]);
|
|
17
17
|
/** @type {EikjsonSchema["version"]} */
|
|
18
|
-
get version():
|
|
18
|
+
get version(): EikjsonSchema["version"];
|
|
19
19
|
/** @type {EikjsonSchema["type"]} */
|
|
20
|
-
get type(): "
|
|
20
|
+
get type(): EikjsonSchema["type"];
|
|
21
21
|
/** @type {string} */
|
|
22
22
|
get server(): string;
|
|
23
23
|
/** @type {[string, string][]} */
|
|
24
24
|
get token(): [string, string][];
|
|
25
25
|
/** @type {EikjsonSchema["files"]} */
|
|
26
|
-
get files():
|
|
27
|
-
[k: string]: string;
|
|
28
|
-
};
|
|
26
|
+
get files(): EikjsonSchema["files"];
|
|
29
27
|
/**
|
|
30
28
|
* Normalized relative directory path with any leading ./ or
|
|
31
29
|
* trailing / characters stripped. Defaults to .eik
|
|
@@ -7,9 +7,10 @@ declare const ReadFile: {
|
|
|
7
7
|
_mimeType: string;
|
|
8
8
|
_stream: any;
|
|
9
9
|
_etag: string;
|
|
10
|
-
|
|
11
|
-
stream: any;
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
get mimeType(): string;
|
|
11
|
+
get stream(): any;
|
|
12
|
+
set stream(value: any);
|
|
13
|
+
get etag(): string;
|
|
14
|
+
get [Symbol.toStringTag](): string;
|
|
14
15
|
};
|
|
15
16
|
};
|