@awsless/awsless 0.0.335 → 0.0.336

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 +2 -10
  2. package/package.json +8 -8
package/dist/bin.js CHANGED
@@ -1532,16 +1532,8 @@ 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) => {
1536
- const destination = target.slice();
1537
- source.forEach((item, index) => {
1538
- if (typeof destination[index] === "undefined") {
1539
- destination[index] = item;
1540
- } else if (target.indexOf(item) === -1) {
1541
- destination.push(item);
1542
- }
1543
- });
1544
- return destination;
1535
+ arrayMerge: (_, source) => {
1536
+ return source;
1545
1537
  }
1546
1538
  });
1547
1539
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.335",
3
+ "version": "0.0.336",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -28,13 +28,13 @@
28
28
  }
29
29
  },
30
30
  "peerDependencies": {
31
- "@awsless/open-search": "^0.0.15",
32
31
  "@awsless/lambda": "^0.0.26",
32
+ "@awsless/open-search": "^0.0.15",
33
33
  "@awsless/redis": "^0.0.12",
34
34
  "@awsless/sns": "^0.0.7",
35
- "@awsless/s3": "^0.0.18",
36
- "@awsless/sqs": "^0.0.7",
37
35
  "@awsless/ssm": "^0.0.7",
36
+ "@awsless/sqs": "^0.0.7",
37
+ "@awsless/s3": "^0.0.18",
38
38
  "@awsless/iot": "^0.0.2",
39
39
  "@awsless/validate": "^0.0.15",
40
40
  "@awsless/weak-cache": "^0.0.1"
@@ -107,12 +107,12 @@
107
107
  "zod": "^3.21.4",
108
108
  "zod-to-json-schema": "^3.22.3",
109
109
  "@awsless/code": "^0.0.10",
110
- "@awsless/formation": "^0.0.48",
111
- "@awsless/duration": "^0.0.1",
112
- "@awsless/size": "^0.0.1",
113
110
  "@awsless/graphql": "^0.0.9",
111
+ "@awsless/duration": "^0.0.1",
112
+ "@awsless/formation": "^0.0.48",
113
+ "@awsless/ts-file-cache": "^0.0.1",
114
114
  "@awsless/validate": "^0.0.15",
115
- "@awsless/ts-file-cache": "^0.0.1"
115
+ "@awsless/size": "^0.0.1"
116
116
  },
117
117
  "scripts": {
118
118
  "test": "pnpm code test",