@awsless/awsless 0.0.417 → 0.0.419

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/bin.js CHANGED
@@ -7670,7 +7670,7 @@ var ArchitectureSchema = z7.enum(["x86_64", "arm64"]).describe("The instruction
7670
7670
  var RetryAttemptsSchema = z7.number().int().min(0).max(2).describe(
7671
7671
  "The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."
7672
7672
  );
7673
- var NodeRuntimeSchema = z7.enum(["nodejs18.x", "nodejs20.x"]).describe("The identifier of the function's runtime.");
7673
+ var NodeRuntimeSchema = z7.enum(["nodejs18.x", "nodejs20.x", "nodejs22.x"]).describe("The identifier of the function's runtime.");
7674
7674
  var ContainerRuntimeSchema = z7.literal("container").describe("The identifier of the function's runtime.");
7675
7675
  var RuntimeSchema = NodeRuntimeSchema.or(ContainerRuntimeSchema);
7676
7676
  var ActionSchema = z7.string();
@@ -15209,6 +15209,7 @@ var dev = (program2) => {
15209
15209
  // src/cli/command/resource/list.ts
15210
15210
  import { log as log11 } from "@clack/prompts";
15211
15211
  import chalk7 from "chalk";
15212
+ import wildstring5 from "wildstring";
15212
15213
  var list3 = (program2) => {
15213
15214
  program2.command("list").argument("[stacks...]", "Optionally filter stack resources to list").description(`List all defined resources`).action(async (filters) => {
15214
15215
  await layout("resource list", async ({ appConfig, stackConfigs }) => {
@@ -15222,8 +15223,11 @@ var list3 = (program2) => {
15222
15223
  }).replaceAll(":", color.dim(":"));
15223
15224
  };
15224
15225
  for (const stack of app.stacks) {
15225
- if (filters.length > 0 && !filters.includes(stack.name)) {
15226
- continue;
15226
+ if (filters.length > 0) {
15227
+ const found = filters.find((f) => wildstring5.match(f, stack.name));
15228
+ if (!found) {
15229
+ continue;
15230
+ }
15227
15231
  }
15228
15232
  log11.step(chalk7.magenta(stack.name));
15229
15233
  line("");
@@ -117,7 +117,7 @@ var ArchitectureSchema = z5.enum(["x86_64", "arm64"]).describe("The instruction
117
117
  var RetryAttemptsSchema = z5.number().int().min(0).max(2).describe(
118
118
  "The maximum number of times to retry when the function returns an error. You can specify a number from 0 to 2."
119
119
  );
120
- var NodeRuntimeSchema = z5.enum(["nodejs18.x", "nodejs20.x"]).describe("The identifier of the function's runtime.");
120
+ var NodeRuntimeSchema = z5.enum(["nodejs18.x", "nodejs20.x", "nodejs22.x"]).describe("The identifier of the function's runtime.");
121
121
  var ContainerRuntimeSchema = z5.literal("container").describe("The identifier of the function's runtime.");
122
122
  var RuntimeSchema = NodeRuntimeSchema.or(ContainerRuntimeSchema);
123
123
  var ActionSchema = z5.string();
Binary file