MCPcopy
hub / github.com/di-sukharev/opencommit / validateValue

Function validateValue

out/cli.cjs:6408–6413  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

6406 }
6407 }
6408 function validateValue(value) {
6409 value = `${value}`;
6410 if (invalidHeaderCharRegex.test(value)) {
6411 throw new TypeError(`${value} is not a legal HTTP header value`);
6412 }
6413 }
6414 function find(map, name) {
6415 name = name.toLowerCase();
6416 for (const key in map) {

Callers 2

setMethod · 0.85
appendMethod · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…