@awsless/cli 0.1.41 → 0.1.42

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 -1
  2. package/package.json +14 -14
package/dist/bin.js CHANGED
@@ -189397,7 +189397,9 @@ var resolveMinimumShouldMatch = (spec, count) => {
189397
189397
  var boolQuery = ({ must, filter: filter2, should, mustNot, minimumShouldMatch, boost = 1 }) => {
189398
189398
  if (must.length + filter2.length + should.length + mustNot.length === 0)
189399
189399
  return matchAll(boost);
189400
- const msm = minimumShouldMatch === undefined ? should.length > 0 && must.length === 0 && filter2.length === 0 ? 1 : 0 : resolveMinimumShouldMatch(minimumShouldMatch, should.length);
189400
+ const optionalOnly = should.length > 0 && must.length === 0 && filter2.length === 0;
189401
+ const requested = minimumShouldMatch === undefined ? 0 : resolveMinimumShouldMatch(minimumShouldMatch, should.length);
189402
+ const msm = optionalOnly ? Math.max(1, requested) : requested;
189401
189403
  return { match: (unit) => {
189402
189404
  let score = 0;
189403
189405
  for (const query of must) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/cli",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "bugs": {
5
5
  "url": "https://github.com/awsless/awsless/issues"
6
6
  },
@@ -84,23 +84,23 @@
84
84
  "zod": "4.4.3",
85
85
  "@awsless/big-float": "^0.1.8",
86
86
  "@awsless/cloudwatch": "^0.0.2",
87
+ "@awsless/clui": "^0.0.10",
87
88
  "@awsless/duration": "^0.0.4",
88
89
  "@awsless/dynamodb": "^0.3.28",
89
- "@awsless/clui": "^0.0.10",
90
90
  "@awsless/dynamodb-server": "^0.1.11",
91
- "@awsless/lambda": "^0.0.50",
92
91
  "@awsless/iot": "^0.0.6",
93
- "@awsless/open-search-server": "^0.0.2",
94
- "@awsless/open-search": "^0.0.33",
95
92
  "@awsless/json": "^0.0.12",
96
- "@awsless/redis": "^0.1.16",
97
- "@awsless/size": "^0.0.3",
98
- "@awsless/redis-server": "^0.1.1",
93
+ "@awsless/lambda": "^0.0.50",
94
+ "@awsless/open-search": "^0.0.34",
95
+ "@awsless/open-search-server": "^0.0.3",
99
96
  "@awsless/s3": "^0.0.23",
100
- "@awsless/sqs": "^0.0.25",
97
+ "@awsless/redis-server": "^0.1.1",
101
98
  "@awsless/sns": "^0.0.12",
102
- "@awsless/ts-file-cache": "^0.0.22",
99
+ "@awsless/size": "^0.0.3",
103
100
  "@awsless/validate": "^0.2.1",
101
+ "@awsless/ts-file-cache": "^0.0.22",
102
+ "@awsless/redis": "^0.1.16",
103
+ "@awsless/sqs": "^0.0.25",
104
104
  "awsless": "^0.1.11",
105
105
  "@awsless/weak-cache": "^0.0.2"
106
106
  },
@@ -120,13 +120,13 @@
120
120
  "@aws-sdk/credential-providers": "3.1113.0",
121
121
  "@aws-sdk/lib-dynamodb": "3.1113.0",
122
122
  "@opensearch-project/opensearch": "3.6.0",
123
+ "@awsless/big-float": "^0.1.8",
123
124
  "@awsless/duration": "^0.0.4",
124
- "@awsless/lambda": "^0.0.50",
125
125
  "@awsless/dynamodb": "^0.3.28",
126
- "@awsless/s3": "^0.0.23",
127
- "@awsless/dynamodb-server": "^0.1.11",
128
126
  "@awsless/json": "^0.0.12",
129
- "@awsless/big-float": "^0.1.8",
127
+ "@awsless/dynamodb-server": "^0.1.11",
128
+ "@awsless/lambda": "^0.0.50",
129
+ "@awsless/s3": "^0.0.23",
130
130
  "@awsless/ts-file-cache": "^0.0.22",
131
131
  "@awsless/validate": "^0.2.1",
132
132
  "awsless": "^0.1.11",