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

Function e

vulnerablecode/static/js/highlight-10.6.0.min.js:6–11  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

4 Copyright (c) 2006-2020, Ivan Sagalaev
5*/
6var hljs=function(){"use strict";function e(t){
7return t instanceof Map?t.clear=t.delete=t.set=()=>{
8throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=()=>{
9throw Error("set is read-only")
10}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((n=>{var s=t[n]
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;")

Callers 9

TFunction · 0.85
renderFunction · 0.85
CFunction · 0.85
nFunction · 0.85
aFunction · 0.85
sFunction · 0.85
tFunction · 0.85
rFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected