MCPcopy Index your code
hub / github.com/nodejs/node / wildcard

Function wildcard

lib/tls.js:442–442  ·  view source on GitHub ↗
(pattern)

Source from the content-addressed store, hash-verified

440 } else if (dnsNames.length > 0 || subject?.CN) {
441 const hostParts = splitHost(hostnameASCIIWithoutFQDN);
442 const wildcard = (pattern) => check(hostParts, pattern, true);
443
444 if (dnsNames.length > 0) {
445 valid = dnsNames.some(wildcard);

Callers 1

tls.jsFile · 0.85

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…