@awsless/cli 0.0.46-next.23 → 0.0.46-next.24

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/bin.js +8 -6
  2. package/package.json +13 -13
package/dist/bin.js CHANGED
@@ -104766,12 +104766,14 @@ var createLambdaFunction = (ctx, id, local) => {
104766
104766
  for (const [key, value] of Object.entries(props.environment ?? {})) {
104767
104767
  variables[key] = value;
104768
104768
  }
104769
- ctx.onEnv((name2, value) => {
104770
- variables[name2] = value;
104771
- });
104772
- ctx.onBind((name2, value) => {
104773
- variables[name2] = value;
104774
- });
104769
+ if (!sandboxed) {
104770
+ ctx.onEnv((name2, value) => {
104771
+ variables[name2] = value;
104772
+ });
104773
+ ctx.onBind((name2, value) => {
104774
+ variables[name2] = value;
104775
+ });
104776
+ }
104775
104777
  if (Array.isArray(local.sandbox) && local.sandbox.length > 0) {
104776
104778
  const bundle = ctx.shared.get("bundle", "main");
104777
104779
  const distDir = dirname7(fileURLToPath4(import.meta.url));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/cli",
3
- "version": "0.0.46-next.23",
3
+ "version": "0.0.46-next.24",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -38,15 +38,15 @@
38
38
  "@awsless/ts-file-cache": "^0.0.16"
39
39
  },
40
40
  "peerDependencies": {
41
- "@awsless/big-float": "^0.1.7",
42
- "@awsless/duration": "^0.0.4",
43
- "@awsless/dynamodb": "^0.3.22",
44
41
  "@awsless/json": "^0.0.11",
45
42
  "@awsless/lambda": "^0.0.47",
43
+ "@awsless/dynamodb": "^0.3.22",
44
+ "@awsless/validate": "^0.1.7",
46
45
  "@awsless/s3": "^0.0.22",
47
46
  "@awsless/weak-cache": "^0.0.1",
48
- "@awsless/validate": "^0.1.7",
49
- "awsless": "^0.0.15-next.8"
47
+ "awsless": "^0.0.15-next.8",
48
+ "@awsless/big-float": "^0.1.7",
49
+ "@awsless/duration": "^0.0.4"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@clack/prompts": "^0.7.0",
@@ -102,24 +102,24 @@
102
102
  "zod": "^3.24.2",
103
103
  "zod-to-json-schema": "^3.24.3",
104
104
  "@awsless/cloudwatch": "^0.0.1",
105
- "@awsless/big-float": "^0.1.7",
106
105
  "@awsless/duration": "^0.0.4",
106
+ "@awsless/big-float": "^0.1.7",
107
107
  "@awsless/clui": "^0.0.9",
108
108
  "@awsless/dynamodb": "^0.3.22",
109
- "@awsless/iot": "^0.0.5",
110
109
  "@awsless/json": "^0.0.11",
110
+ "@awsless/iot": "^0.0.5",
111
111
  "@awsless/lambda": "^0.0.47",
112
- "@awsless/redis": "^0.1.13",
113
- "@awsless/open-search": "^0.0.24",
114
- "@awsless/s3": "^0.0.22",
115
112
  "@awsless/scheduler": "^0.0.5",
113
+ "@awsless/s3": "^0.0.22",
116
114
  "@awsless/size": "^0.0.2",
117
- "@awsless/sqs": "^0.0.24",
118
115
  "@awsless/sns": "^0.0.11",
116
+ "@awsless/sqs": "^0.0.24",
119
117
  "@awsless/ssm": "^0.0.8",
120
118
  "@awsless/validate": "^0.1.7",
121
119
  "@awsless/weak-cache": "^0.0.1",
122
- "awsless": "^0.0.15-next.8"
120
+ "awsless": "^0.0.15-next.8",
121
+ "@awsless/redis": "^0.1.13",
122
+ "@awsless/open-search": "^0.0.24"
123
123
  },
124
124
  "scripts": {
125
125
  "test": "bun cli/build-handlers.ts && pnpm vitest",