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

Function createScriptURL

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

Source from the content-addressed store, hash-verified

123 return html;
124 },
125 createScriptURL(scriptUrl) {
126 return scriptUrl;
127 },
128 });
129 } catch (_) {
130 // Policy creation failed (most likely another DOMPurify script has

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected