"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

//#region src/bin/shadow.ts
/**
* @file Shadow-bin detection. A "shadow bin" is a binary exposed by a
*   transitively-installed `node_modules/.bin` directory rather than the system
*   installation. Callers (`findRealBin`) deliberately walk past these to find
*   the real interpreter.
*/
/**
* Check if a directory path contains any shadow bin patterns.
*
* @example
*   ;```typescript
*   isShadowBinPath('/tmp/project/node_modules/.bin') // true
*   isShadowBinPath('/usr/local/bin') // false
*   ```
*/
function isShadowBinPath(dirPath) {
	if (!dirPath) return false;
	return dirPath.replace(/\\/g, "/").includes("node_modules/.bin");
}

//#endregion
exports.isShadowBinPath = isShadowBinPath;