@awsless/awsless 0.0.333 → 0.0.335

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 +3 -5
  2. package/package.json +5 -5
package/dist/bin.js CHANGED
@@ -1532,13 +1532,11 @@ var readConfigWithStage = async (file, stage) => {
1532
1532
  debug("Load env file:", color.info(stageFile));
1533
1533
  const stageConfig = await readConfig(stageFile);
1534
1534
  return merge(config2, stageConfig, {
1535
- arrayMerge: (target, source, options) => {
1535
+ arrayMerge: (target, source) => {
1536
1536
  const destination = target.slice();
1537
1537
  source.forEach((item, index) => {
1538
1538
  if (typeof destination[index] === "undefined") {
1539
- destination[index] = options?.cloneUnlessOtherwiseSpecified(item, options);
1540
- } else if (options?.isMergeableObject(item)) {
1541
- destination[index] = merge(target[index], item, options);
1539
+ destination[index] = item;
1542
1540
  } else if (target.indexOf(item) === -1) {
1543
1541
  destination.push(item);
1544
1542
  }
@@ -2268,7 +2266,7 @@ var createLambdaFunction = (group, ctx, ns, id, local2) => {
2268
2266
  const version = await generateFileHash(props.file, {
2269
2267
  packageVersions
2270
2268
  });
2271
- return build3(version + "-v1", async (write) => {
2269
+ return build3(version, async (write) => {
2272
2270
  const bundle = await bundleTypeScript({
2273
2271
  file: props.file,
2274
2272
  external: props.build.external,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.333",
3
+ "version": "0.0.335",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -28,14 +28,14 @@
28
28
  }
29
29
  },
30
30
  "peerDependencies": {
31
- "@awsless/lambda": "^0.0.26",
32
31
  "@awsless/open-search": "^0.0.15",
32
+ "@awsless/lambda": "^0.0.26",
33
33
  "@awsless/redis": "^0.0.12",
34
+ "@awsless/sns": "^0.0.7",
34
35
  "@awsless/s3": "^0.0.18",
35
36
  "@awsless/sqs": "^0.0.7",
36
37
  "@awsless/ssm": "^0.0.7",
37
38
  "@awsless/iot": "^0.0.2",
38
- "@awsless/sns": "^0.0.7",
39
39
  "@awsless/validate": "^0.0.15",
40
40
  "@awsless/weak-cache": "^0.0.1"
41
41
  },
@@ -107,10 +107,10 @@
107
107
  "zod": "^3.21.4",
108
108
  "zod-to-json-schema": "^3.22.3",
109
109
  "@awsless/code": "^0.0.10",
110
- "@awsless/duration": "^0.0.1",
111
110
  "@awsless/formation": "^0.0.48",
112
- "@awsless/graphql": "^0.0.9",
111
+ "@awsless/duration": "^0.0.1",
113
112
  "@awsless/size": "^0.0.1",
113
+ "@awsless/graphql": "^0.0.9",
114
114
  "@awsless/validate": "^0.0.15",
115
115
  "@awsless/ts-file-cache": "^0.0.1"
116
116
  },