@lousy-agents/lint 5.14.2 → 5.14.3

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/index.js +2 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1334,10 +1334,9 @@ function getFsSafePythonConfig() {
1334
1334
  };
1335
1335
  }
1336
1336
  function canFallbackFromPythonError(error) {
1337
+ const code = error instanceof Error && "code" in error ? error.code : undefined;
1337
1338
  return (getFsSafePythonConfig().mode !== "require" &&
1338
- error instanceof Error &&
1339
- "code" in error &&
1340
- error.code === "helper-unavailable");
1339
+ (code === "helper-unavailable" || code === "unsupported-platform"));
1341
1340
  }
1342
1341
 
1343
1342
  // EXTERNAL MODULE: external "node:child_process"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lousy-agents/lint",
3
- "version": "5.14.2",
3
+ "version": "5.14.3",
4
4
  "description": "Programmatic lint API for validating AI coding assistant configurations — skills, agents, hooks, and instructions",
5
5
  "type": "module",
6
6
  "repository": {