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

Function responseURL

github-actions/browserstack/set-browserstack-env.js:4240–4244  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

4238 var { webidl } = require_webidl();
4239 var supportedHashes = [];
4240 var crypto2;
4241 try {
4242 crypto2 = __require("crypto");
4243 const possibleRelevantHashes = ["sha256", "sha384", "sha512"];
4244 supportedHashes = crypto2.getHashes().filter((hash) => possibleRelevantHashes.includes(hash));
4245 } catch (e) {
4246 }
4247 function responseURL(response) {

Callers 1

responseLocationURLFunction · 0.70

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected