@tsed/di 8.17.1 → 8.17.3
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.
|
@@ -139,6 +139,10 @@ export class InjectorService extends Container {
|
|
|
139
139
|
if (token === DI_USE_PARAM_OPTIONS) {
|
|
140
140
|
return options.useOpts;
|
|
141
141
|
}
|
|
142
|
+
if (token === DIConfiguration) {
|
|
143
|
+
// keep this configuration for legacy code that use as custom Configuration service
|
|
144
|
+
return this.settings;
|
|
145
|
+
}
|
|
142
146
|
instance = !options.rebuild ? this.#cache.get(token) : undefined;
|
|
143
147
|
if (instance != undefined) {
|
|
144
148
|
return instance;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/di",
|
|
3
3
|
"description": "DI module for Ts.ED Framework",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.17.
|
|
5
|
+
"version": "8.17.3",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"uuid": "^10.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@tsed/barrels": "8.17.
|
|
33
|
-
"@tsed/core": "8.17.
|
|
34
|
-
"@tsed/hooks": "8.17.
|
|
32
|
+
"@tsed/barrels": "8.17.3",
|
|
33
|
+
"@tsed/core": "8.17.3",
|
|
34
|
+
"@tsed/hooks": "8.17.3",
|
|
35
35
|
"@tsed/logger": "^8.0.0",
|
|
36
|
-
"@tsed/typescript": "8.17.
|
|
36
|
+
"@tsed/typescript": "8.17.3",
|
|
37
37
|
"cross-env": "7.0.3",
|
|
38
38
|
"eslint": "9.12.0",
|
|
39
39
|
"typescript": "5.4.5",
|
|
40
|
-
"vite": "
|
|
40
|
+
"vite": "7.1.7",
|
|
41
41
|
"vitest": "3.2.4"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|