microservices/database-service/node_modules/@prisma/get-platform/dist/test-utils/binaryTargetRegex.d.ts

9 lines
347 B
TypeScript
Raw Normal View History

2025-01-07 04:45:03 -08:00
/**
* This regex matches all supported binary target names in a given string.
*
* Platform names are sorted by their lengths in descending order to ensure that
* the longest substring is always matched (e.g., "darwin-arm64" is matched as a
* whole instead of "darwin" and "arm" separately)
*/
export declare const binaryTargetRegex: RegExp;