@effortless-aws/cli 0.6.0 → 0.7.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/dist/cli/index.js +8 -1
- package/package.json +2 -2
package/dist/cli/index.js
CHANGED
|
@@ -4055,7 +4055,14 @@ var extractDepsKeys = (obj) => {
|
|
|
4055
4055
|
return false;
|
|
4056
4056
|
});
|
|
4057
4057
|
if (!depsProp || depsProp.getKind() !== SyntaxKind.PropertyAssignment) return [];
|
|
4058
|
-
|
|
4058
|
+
let init = depsProp.getInitializer();
|
|
4059
|
+
if (!init) return [];
|
|
4060
|
+
if (init.getKind() === SyntaxKind.ArrowFunction) {
|
|
4061
|
+
const body = init.getBody();
|
|
4062
|
+
if (body.getKind() === SyntaxKind.ParenthesizedExpression) {
|
|
4063
|
+
init = body.getExpression();
|
|
4064
|
+
}
|
|
4065
|
+
}
|
|
4059
4066
|
if (!init || init.getKind() !== SyntaxKind.ObjectLiteralExpression) return [];
|
|
4060
4067
|
const depsObj = init;
|
|
4061
4068
|
return depsObj.getProperties().map((p) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effortless-aws/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "CLI and deploy tooling for effortless-aws",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"esbuild": "^0.25.0",
|
|
40
40
|
"glob": "^13.0.0",
|
|
41
41
|
"ts-morph": "^27.0.2",
|
|
42
|
-
"effortless-aws": "0.
|
|
42
|
+
"effortless-aws": "0.23.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@effect-ak/aws-sdk": "1.0.0-rc.3",
|