@suss/packs 0.31.0 → 0.31.2

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/node.js +4 -4
  2. package/package.json +10 -10
package/dist/node.js CHANGED
@@ -168,12 +168,12 @@ function readsThroughHelperCall(call, resolution) {
168
168
  return reads;
169
169
  }
170
170
  call.getArguments().forEach((passed, at) => {
171
- const literal = stringValueOf(passed, resolution);
172
- if (literal === null || literal.length === 0) {
171
+ const read = parameterReachesEnvRead(callee, at, resolution);
172
+ if (read === null) {
173
173
  return;
174
174
  }
175
- const read = parameterReachesEnvRead(callee, at, resolution);
176
- if (read !== null) {
175
+ const literal = stringValueOf(passed, resolution);
176
+ if (literal !== null && literal.length > 0) {
177
177
  reads.push({ name: literal, defaulted: read.defaulted, node: call });
178
178
  }
179
179
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suss/packs",
3
- "version": "0.31.0",
3
+ "version": "0.31.2",
4
4
  "type": "module",
5
5
  "description": "Every pack suss ships in one install, so it can read Express, Hono, NestJS, FastAPI, Rails, Prisma, OpenAPI and the rest.",
6
6
  "keywords": [
@@ -218,15 +218,15 @@
218
218
  "ts-morph": "^23.0.0"
219
219
  },
220
220
  "dependencies": {
221
- "@suss/adapter-python": "0.31.0",
222
- "@suss/adapter-ruby": "0.31.0",
223
- "@suss/adapter-typescript": "0.31.0",
224
- "@suss/behavioral-ir": "0.31.0",
225
- "@suss/contract-graphql": "0.31.0",
226
- "@suss/extractor": "0.31.0",
227
- "@suss/manifest-aws": "0.31.0",
228
- "@suss/recognize": "0.31.0",
229
- "@suss/sql": "0.31.0",
221
+ "@suss/adapter-python": "0.31.2",
222
+ "@suss/adapter-ruby": "0.31.2",
223
+ "@suss/adapter-typescript": "0.31.2",
224
+ "@suss/behavioral-ir": "0.31.2",
225
+ "@suss/contract-graphql": "0.31.2",
226
+ "@suss/extractor": "0.31.2",
227
+ "@suss/manifest-aws": "0.31.2",
228
+ "@suss/recognize": "0.31.2",
229
+ "@suss/sql": "0.31.2",
230
230
  "zod": "^4.0.0"
231
231
  },
232
232
  "devDependencies": {