@awsless/awsless 0.0.585 → 0.0.587

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
@@ -8701,6 +8701,7 @@ var NullReporter = class {
8701
8701
  var startTest = async (props) => {
8702
8702
  const __dirname4 = dirname11(fileURLToPath4(import.meta.url));
8703
8703
  const startTime = process.hrtime.bigint();
8704
+ process.noDeprecation = true;
8704
8705
  const vitest = await startVitest(
8705
8706
  "test",
8706
8707
  props.filters,
@@ -9400,7 +9401,6 @@ import { LambdaClient as LambdaClient3, lambdaClient } from "@awsless/lambda";
9400
9401
  import { S3Client as S3Client2, s3Client } from "@awsless/s3";
9401
9402
  import { SNSClient, snsClient } from "@awsless/sns";
9402
9403
  import { SQSClient, sqsClient } from "@awsless/sqs";
9403
- import { tsImport } from "tsx/esm/api";
9404
9404
  var run = (program2) => {
9405
9405
  program2.command("run").allowUnknownOption(true).argument("[command]", "The command you want to run").description("Run one of your defined commands.").action(async (selected) => {
9406
9406
  await layout(`run ${selected ?? ""}`, async ({ appConfig, stackConfigs }) => {
@@ -9431,17 +9431,7 @@ var run = (program2) => {
9431
9431
  process.env.APP_ID = appId;
9432
9432
  process.env.AWS_REGION = region;
9433
9433
  process.env.AWS_ACCOUNT_ID = accountId;
9434
- let module;
9435
- try {
9436
- module = await tsImport(command.file, {
9437
- parentURL: import.meta.url
9438
- });
9439
- } catch (error) {
9440
- if (typeof error === "object" && error !== null && "message" in error) {
9441
- throw error.message;
9442
- }
9443
- throw new ExpectedError(`Failed to import: ${command.file}`);
9444
- }
9434
+ const module = await import(command.file);
9445
9435
  const handler = module[command.handler];
9446
9436
  if (!handler) {
9447
9437
  throw new ExpectedError(`No "${command.handler}" handler found.`);
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.585",
3
+ "version": "0.0.587",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -33,23 +33,23 @@
33
33
  ]
34
34
  },
35
35
  "peerDependencies": {
36
- "@awsless/big-float": "^0.1.5",
37
36
  "@awsless/cloudwatch": "^0.0.1",
38
- "@awsless/duration": "^0.0.4",
37
+ "@awsless/big-float": "^0.1.5",
39
38
  "@awsless/clui": "^0.0.8",
40
- "@awsless/dynamodb": "^0.3.6",
41
- "@awsless/lambda": "^0.0.35",
39
+ "@awsless/duration": "^0.0.4",
40
+ "@awsless/dynamodb": "^0.3.8",
42
41
  "@awsless/json": "^0.0.10",
43
42
  "@awsless/iot": "^0.0.3",
43
+ "@awsless/open-search": "^0.0.21",
44
+ "@awsless/lambda": "^0.0.35",
44
45
  "@awsless/redis": "^0.0.14",
45
46
  "@awsless/s3": "^0.0.21",
46
- "@awsless/open-search": "^0.0.21",
47
- "@awsless/validate": "^0.1.3",
47
+ "@awsless/mqtt": "^0.0.2",
48
+ "@awsless/sqs": "^0.0.16",
48
49
  "@awsless/sns": "^0.0.10",
50
+ "@awsless/validate": "^0.1.3",
49
51
  "@awsless/ssm": "^0.0.7",
50
- "@awsless/weak-cache": "^0.0.1",
51
- "@awsless/sqs": "^0.0.16",
52
- "@awsless/mqtt": "^0.0.2"
52
+ "@awsless/weak-cache": "^0.0.1"
53
53
  },
54
54
  "dependencies": {
55
55
  "@arcanyx/cidr-slicer": "^0.3.0",
@@ -141,12 +141,12 @@
141
141
  "zod-to-json-schema": "^3.24.3",
142
142
  "@awsless/big-float": "^0.1.5",
143
143
  "@awsless/cloudwatch": "^0.0.1",
144
+ "@awsless/clui": "^0.0.8",
144
145
  "@awsless/duration": "^0.0.4",
145
146
  "@awsless/graphql": "^0.0.9",
147
+ "@awsless/json": "^0.0.10",
146
148
  "@awsless/scheduler": "^0.0.4",
147
149
  "@awsless/size": "^0.0.2",
148
- "@awsless/json": "^0.0.10",
149
- "@awsless/clui": "^0.0.8",
150
150
  "@awsless/validate": "^0.1.3",
151
151
  "@awsless/ts-file-cache": "^0.0.12"
152
152
  },