@effortless-aws/cli 0.9.1 → 0.9.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.
Files changed (2) hide show
  1. package/dist/cli/index.js +11 -1
  2. package/package.json +2 -2
package/dist/cli/index.js CHANGED
@@ -4141,7 +4141,17 @@ var bareName = (expr) => {
4141
4141
  const dot = expr.lastIndexOf(".");
4142
4142
  return dot === -1 ? expr : expr.slice(dot + 1);
4143
4143
  };
4144
- var getProp = (obj, name) => obj.getProperties().find((p) => p.getKind() === SyntaxKind.PropertyAssignment && p.getName() === name)?.asKindOrThrow(SyntaxKind.PropertyAssignment).getInitializer();
4144
+ var getProp = (obj, name) => {
4145
+ for (const p of obj.getProperties()) {
4146
+ if (p.getKind() === SyntaxKind.PropertyAssignment && p.getName() === name) {
4147
+ return p.getInitializer();
4148
+ }
4149
+ if (p.getKind() === SyntaxKind.ShorthandPropertyAssignment && p.getName() === name) {
4150
+ return p.getNameNode();
4151
+ }
4152
+ }
4153
+ return void 0;
4154
+ };
4145
4155
  var findDefineCalls = (sourceFile, defineFn) => {
4146
4156
  const results = [];
4147
4157
  const tryAdd = (callExpr, exportName) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effortless-aws/cli",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
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.24.0"
42
+ "effortless-aws": "0.25.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@effect-ak/aws-sdk": "1.0.0-rc.3",