@rsdk/core 3.3.2 → 3.3.3-next.0
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
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.3.3-next.0](https://github.com/R-Vision/rsdk/compare/v3.3.2...v3.3.3-next.0) (2023-08-23)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **core:** check `design:types` args for object or func before `Reflect.getMetadata` ([4584e7d](https://github.com/R-Vision/rsdk/commit/4584e7d56b79f9b9172a7c9d322efdfaadc23c64))
|
|
11
|
+
|
|
6
12
|
## [3.3.2](https://github.com/R-Vision/rsdk/compare/v3.3.2-next.0...v3.3.2) (2023-08-23)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @rsdk/core
|
|
@@ -20,7 +20,7 @@ class ConfigMetadataExtractor {
|
|
|
20
20
|
}
|
|
21
21
|
const resources = [];
|
|
22
22
|
for (const arg of args) {
|
|
23
|
-
if (typeof arg
|
|
23
|
+
if (!['object', 'function'].includes(typeof arg) || arg === null) {
|
|
24
24
|
continue;
|
|
25
25
|
}
|
|
26
26
|
const isConfigSection = Reflect.getMetadata(config_1.CONFIG_METADATA_KEY, arg) &&
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-metadata.extractor.js","sourceRoot":"","sources":["../../src/rsdk-metadata/config-metadata.extractor.ts"],"names":[],"mappings":";;;AAUA,sCAA8E;AAE9E,2CAAiE;AAEjE;;GAEG;AACH,MAAa,uBAAuB;IAClC,OAAO,CACL,KAMkB;QAElB;;WAEG;QACH,MAAM,IAAI,GAAG,OAAO,CAAC,WAAW,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;QAC7D;;WAEG;QACH,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACxB,OAAO,EAAE,CAAC;SACX;QACD,MAAM,SAAS,GAA8B,EAAE,CAAC;QAEhD,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;YACtB,IAAI,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"config-metadata.extractor.js","sourceRoot":"","sources":["../../src/rsdk-metadata/config-metadata.extractor.ts"],"names":[],"mappings":";;;AAUA,sCAA8E;AAE9E,2CAAiE;AAEjE;;GAEG;AACH,MAAa,uBAAuB;IAClC,OAAO,CACL,KAMkB;QAElB;;WAEG;QACH,MAAM,IAAI,GAAG,OAAO,CAAC,WAAW,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;QAC7D;;WAEG;QACH,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACxB,OAAO,EAAE,CAAC;SACX;QACD,MAAM,SAAS,GAA8B,EAAE,CAAC;QAEhD,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;YACtB,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,OAAO,GAAG,CAAC,IAAI,GAAG,KAAK,IAAI,EAAE;gBAChE,SAAS;aACV;YACD,MAAM,eAAe,GACnB,OAAO,CAAC,WAAW,CAAC,4BAAmB,EAAE,GAAG,CAAC;gBAC7C,GAAG,CAAC,SAAS,YAAY,eAAM,CAAC;YAElC,IAAI,CAAC,eAAe,EAAE;gBACpB,SAAS;aACV;YACD,SAAS,CAAC,IAAI,CAAC;gBACb,KAAK,EAAE,6BAAoB,CAAC,UAAU,CAAC,GAAG,CAAC;gBAC3C,GAAG,EAAE,GAAG;gBACR,KAAK,EAAE,8CAAkC;aAC1C,CAAC,CAAC;SACJ;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AAzCD,0DAyCC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/core",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3-next.0",
|
|
4
4
|
"description": "Nestjs based microservice chassis",
|
|
5
5
|
"license": "Apache License 2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"reflect-metadata": "^0.1.13",
|
|
44
44
|
"rxjs": "^7.0.0"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "e0fcf631471f76f7d055a13a6e3853dbfb43ab92"
|
|
47
47
|
}
|
|
@@ -38,7 +38,7 @@ export class ConfigMetadataExtractor implements ResourceExtractor {
|
|
|
38
38
|
const resources: Resource<DynamicModule>[] = [];
|
|
39
39
|
|
|
40
40
|
for (const arg of args) {
|
|
41
|
-
if (typeof arg
|
|
41
|
+
if (!['object', 'function'].includes(typeof arg) || arg === null) {
|
|
42
42
|
continue;
|
|
43
43
|
}
|
|
44
44
|
const isConfigSection =
|