MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / r

Function r

vulnerablecode/static/js/highlight-10.6.0.min.js:13–15  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

11;"object"!=typeof s||Object.isFrozen(s)||e(s)})),t}var t=e,n=e;t.default=n
12;class s{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data}
13ignoreMatch(){this.ignore=!0}}function r(e){
14return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")
15}function a(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t]
16;return t.forEach((e=>{for(const t in e)n[t]=e[t]})),n}const i=e=>!!e.kind
17;class o{constructor(e,t){
18this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){

Callers 6

addTextMethod · 0.70
BFunction · 0.70
highlightedFunction · 0.70
lFunction · 0.70
tFunction · 0.70

Calls 3

IFunction · 0.85
tFunction · 0.85
eFunction · 0.85

Tested by

no test coverage detected