MCPcopy Create free account
hub / github.com/cure53/DOMPurify / createScriptURL

Function createScriptURL

src/purify.ts:159–161  ·  view source on GitHub ↗
(scriptUrl)

Source from the content-addressed store, hash-verified

157 return html;
158 },
159 createScriptURL(scriptUrl) {
160 return scriptUrl;
161 },
162 });
163 } catch (_) {
164 // Policy creation failed (most likely another DOMPurify script has

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected