MCPcopy Create free account
hub / github.com/angular/dev-infra / toCommandValue

Function toCommandValue

github-actions/browserstack/set-browserstack-env.js:19384–19391  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

19382 urlRecord = new URL(url, settings.settingsObject.baseUrl);
19383 __privateGet(this, _state).origin = urlRecord.origin;
19384 } catch (e) {
19385 throw new DOMException(e, "SyntaxError");
19386 }
19387 __privateSet(this, _url, urlRecord.href);
19388 let corsAttributeState = ANONYMOUS;
19389 if (eventSourceInitDict.withCredentials) {
19390 corsAttributeState = USE_CREDENTIALS;
19391 __privateSet(this, _withCredentials, true);
19392 }
19393 const initRequest = {
19394 redirect: "follow",

Callers 5

escapeDataFunction · 0.70
escapePropertyFunction · 0.70
issueFileCommandFunction · 0.70
prepareKeyValueMessageFunction · 0.70
exportVariableFunction · 0.70

Calls 1

stringifyMethod · 0.45

Tested by

no test coverage detected