AikidoSec-safe-chain/packages/safe-chain
Uriel Corfa cb9f3ee145
Do not rely on asynchronous import of child_process.
Importing child_process asynchronously causes loader errors when running the
binary dist:

$ ./dist/safe-chain python --safe-chain-logging=verbose
Safe-chain: Bypassing safe-chain for non-pip invocation: python
Failed to check for malicious packages: A dynamic import callback was not specified.
$

Relying on a regular import does not cause this issue. There is no obvious
reason for this import to be dynamic (in particular, there are no tests using
this to mock the spawn function), so let's simplify.
2025-12-12 09:09:52 +01:00
..
bin Merge pull request #178 from AikidoSec/feature/poetry-2 2025-12-05 15:56:20 +01:00
src Do not rely on asynchronous import of child_process. 2025-12-12 09:09:52 +01:00
.npmignore Modify release process 2025-09-05 12:01:29 +02:00
package.json Merge branch 'main' into feature/poetry-2 2025-12-03 07:41:52 -08:00
tsconfig.json Type check safe-chain package 2025-11-01 13:06:06 +01:00