MCPcopy Create free account
hub / github.com/arktypeio/arktype / specifiersOf

Function specifiersOf

ark/aot/unplugin.ts:3343–3346  ·  view source on GitHub ↗
(...specifiers: string[])

Source from the content-addressed store, hash-verified

3341]
3342
3343const specifiersOf = (...specifiers: string[]) =>
3344 new RegExp(
3345 `^(?:${specifiers.map(s => s.replace(/[$()*+./?[\\\]^{|}]/g, "\\$&")).join("|")})$`
3346 )
3347
3348const shadowSpecifier = "@ark/aot/shadow"
3349

Callers 2

resolveEsbuildRuntimeFunction · 0.85
unplugin.tsFile · 0.85

Calls 2

replaceMethod · 0.80
mapMethod · 0.65

Tested by

no test coverage detected