@tsed/config 8.26.0 → 8.26.1

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/config",
3
3
  "description": "Configuration management for Ts.ED",
4
4
  "type": "module",
5
- "version": "8.26.0",
5
+ "version": "8.26.1",
6
6
  "keywords": [
7
7
  "Ts.ED",
8
8
  "Configuration",
@@ -64,16 +64,16 @@
64
64
  "tslib": ">=2.7.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@tsed/barrels": "8.26.0",
68
- "@tsed/core": "8.26.0",
69
- "@tsed/di": "8.26.0",
70
- "@tsed/typescript": "8.26.0",
67
+ "@tsed/barrels": "8.26.1",
68
+ "@tsed/core": "8.26.1",
69
+ "@tsed/di": "8.26.1",
70
+ "@tsed/typescript": "8.26.1",
71
71
  "@types/js-yaml": "4.0.9",
72
72
  "dotenv": "^16.5.0",
73
73
  "dotenv-expand": "^12.0.2",
74
74
  "dotenv-flow": "^4.1.0",
75
75
  "eslint": "9.12.0",
76
- "typescript": "5.9.3",
76
+ "typescript": "6.0.2",
77
77
  "vitest": "3.2.4"
78
78
  },
79
79
  "peerDependencies": {
@@ -30,8 +30,6 @@ export async function afterResolveConfiguration() {
30
30
 
31
31
  configuration().set(data);
32
32
  configuration().set(`configs.${name}`, data);
33
-
34
- return data;
35
33
  };
36
34
 
37
35
  instance.getAll = refresh as any;
@@ -6,7 +6,7 @@ export interface EnvsConfigSourceOptions {
6
6
  }
7
7
 
8
8
  export class EnvsConfigSource<Config extends EnvsConfigSourceOptions = EnvsConfigSourceOptions> implements ConfigSource<Config> {
9
- options: Config;
9
+ options!: Config;
10
10
 
11
11
  getAll(): Record<string, unknown> {
12
12
  const {parseJson = true} = this.options;
@@ -18,7 +18,7 @@ export interface JsonConfigSourceOptions {
18
18
  }
19
19
 
20
20
  export class JsonConfigSource implements ConfigSource<JsonConfigSourceOptions> {
21
- options: JsonConfigSourceOptions;
21
+ options!: JsonConfigSourceOptions;
22
22
 
23
23
  getAll(): Record<string, unknown> {
24
24
  const {path, encoding = "utf8"} = this.options;
@@ -13,7 +13,7 @@ export interface YamlConfigSourceOptions extends LoadOptions {
13
13
  }
14
14
 
15
15
  export class YamlConfigSource implements ConfigSource<YamlConfigSourceOptions> {
16
- options: YamlConfigSourceOptions;
16
+ options!: YamlConfigSourceOptions;
17
17
 
18
18
  async getAll() {
19
19
  const {path, ...opts} = this.options;