@travetto/transformer 4.1.0 → 4.1.2
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/LICENSE +1 -1
- package/package.json +3 -3
- package/src/state.ts +1 -1
- package/src/util/core.ts +1 -1
package/LICENSE
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/transformer",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "Functionality for AST transformations, with transformer registration, and general utils",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@travetto/manifest": "^4.1.0",
|
|
28
|
-
"tslib": "^2.6.
|
|
29
|
-
"typescript": "^5.
|
|
28
|
+
"tslib": "^2.6.3",
|
|
29
|
+
"typescript": "^5.5.2"
|
|
30
30
|
},
|
|
31
31
|
"travetto": {
|
|
32
32
|
"displayName": "Transformation",
|
package/src/state.ts
CHANGED
|
@@ -167,7 +167,7 @@ export class TransformerState implements State {
|
|
|
167
167
|
getDecoratorList(node: ts.Node): DecoratorMeta[] {
|
|
168
168
|
return ts.canHaveDecorators(node) ? (ts.getDecorators(node) ?? [])
|
|
169
169
|
.map(dec => this.getDecoratorMeta(dec))
|
|
170
|
-
.filter(
|
|
170
|
+
.filter(x => !!x) : [];
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
/**
|