@patchstack/connect 0.5.19 → 0.5.20

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.
package/dist/protect.js CHANGED
@@ -2575,6 +2575,7 @@ function parameterProblem(parameter) {
2575
2575
  }
2576
2576
  for (const member of parameter) {
2577
2577
  if (Array.isArray(member)) return "a parameter list holds parameters, not more lists";
2578
+ if (member === void 0 || member === null) return "parameter list members must be non-empty strings";
2578
2579
  const problem = parameterProblem(member);
2579
2580
  if (problem !== null) return problem;
2580
2581
  }