MCPcopy Create free account

hub / github.com/cure53/DOMPurify / functions

Functions217 in github.com/cure53/DOMPurify

↓ 1 callersFunctioncomma
()
demos/lib/Mental.js:7846
↓ 1 callersFunctioncommentHeavy
(n)
scripts/benchmark.js:128
↓ 1 callersFunctioncompile
* Compiles a TypeScript project. * @param {typeof ts} compiler The TypeScript compiler to use. * @param {string} configFileName The file name of the
typescript/verify.js:106
↓ 1 callersFunctionconstWhitelist
(obj, list, transObj)
demos/lib/Mental.js:6173
↓ 1 callersFunctioncreateSandboxedNode
(node)
demos/lib/Mental.js:5876
↓ 1 callersFunctioncurlyClose
()
demos/lib/Mental.js:7768
↓ 1 callersFunctioncurlyOpen
()
demos/lib/Mental.js:7711
↓ 1 callersFunctiondeclarations
(file, plugins = [])
config/rolldown.config.js:77
↓ 1 callersFunctiondeepTree
(depth, breadth)
scripts/benchmark.js:76
↓ 1 callersFunctiondefineStyle
(obj, property)
demos/lib/Mental.js:5864
↓ 1 callersFunctiondirtyMixed
(n)
scripts/benchmark.js:154
↓ 1 callersFunctiondivide
()
demos/lib/Mental.js:7574
↓ 1 callersFunctionequal
()
demos/lib/Mental.js:8081
↓ 1 callersFunctionexclamation
()
demos/lib/Mental.js:7966
↓ 1 callersFunctionexecute
(code)
demos/lib/Mental.js:6945
↓ 1 callersFunctionfixCjsTypes
* Fixes the CommonJS type declarations file. * @param {string} fileName
scripts/fix-types.js:65
↓ 1 callersFunctionfixEsmTypes
* Fixes the ES module type declarations file. * @param {string} fileName
scripts/fix-types.js:52
↓ 1 callersFunctionflagValue
(f, dflt)
scripts/benchmark.js:32
↓ 1 callersFunctiongetGlobal
()
src/purify.ts:86
↓ 1 callersFunctiongetOriginal
()
src/purify.ts:1414
↓ 1 callersFunctiongreaterThan
()
demos/lib/Mental.js:8105
↓ 1 callersFunctionhasFlag
(f)
scripts/benchmark.js:31
↓ 1 callersFunctionhex
()
demos/lib/Mental.js:7509
↓ 1 callersFunctionhttpStatus
(url)
test/browser/legacy-runner.js:45
↓ 1 callersFunctionidentifier
()
demos/lib/Mental.js:7188
↓ 1 callersFunctionisInside
(child, parent)
test/browser/server.js:41
↓ 1 callersFunctionisRegex
(value: unknown)
src/utils.ts:338
↓ 1 callersFunctionisRegexOrFunction
( testValue: unknown )
src/purify.ts:650
↓ 1 callersMethodisValidAttribute
* Checks if an attribute value is valid. * Uses last set config, if any. Otherwise, uses config defaults. * * @param tag Tag name of containi
src/types.ts:102
↓ 1 callersFunctionisValidVariable
(c)
demos/lib/Mental.js:6983
↓ 1 callersFunctionkeyword
(iLen)
demos/lib/Mental.js:7033
↓ 1 callersFunctionlessThan
()
demos/lib/Mental.js:8145
↓ 1 callersFunctionlink
(id, content)
test/test-suite.js:7858
↓ 1 callersFunctionloadCompiler
* Loads the TypeScript compiler a project asks for. * * A project pins an older release by naming it in the `typescript` field of * its own `packag
typescript/verify.js:49
↓ 1 callersFunctionloadDOMPurifyWithSanityCheck
( assert, addScriptAttribute, setup, onload )
test/bootstrap-test-suite.js:50
↓ 1 callersFunctionloadPlaywright
()
test/browser/legacy-runner.js:28
↓ 1 callersFunctionlookupAccessor
* Like lookupGetter, but for accessor properties only, and returns null * instead of a null-returning fallback when no getter exists on the chain. *
src/utils.ts:321
↓ 1 callersFunctionmain
()
test/browser/legacy-runner.js:133
↓ 1 callersFunctionmedian
(values)
scripts/benchmark.js:191
↓ 1 callersFunctionminus
()
demos/lib/Mental.js:8199
↓ 1 callersFunctionmultiComment
()
demos/lib/Mental.js:7367
↓ 1 callersFunctionnewLine
()
demos/lib/Mental.js:7278
↓ 1 callersFunctionnumber
()
demos/lib/Mental.js:7449
↓ 1 callersFunctionnumberOrHex
()
demos/lib/Mental.js:7448
↓ 1 callersFunctionobjWhitelist
(obj, list, noprototype)
demos/lib/Mental.js:6150
↓ 1 callersFunctionparenClose
()
demos/lib/Mental.js:7667
↓ 1 callersFunctionparenOpen
()
demos/lib/Mental.js:7628
↓ 1 callersFunctionparse
(body)
test/test-suite.js:1690
↓ 1 callersFunctionpercent
()
demos/lib/Mental.js:8041
↓ 1 callersFunctionpercentile
(values, p)
scripts/benchmark.js:197
↓ 1 callersFunctionperiod
()
demos/lib/Mental.js:7872
↓ 1 callersFunctionpipe
()
demos/lib/Mental.js:8001
↓ 1 callersFunctionplus
()
demos/lib/Mental.js:7308
↓ 1 callersFunctionprintDiagnostics
* Prints the diagnostics to stdout. * @param {typeof ts} compiler The TypeScript compiler that produced them. * @param {ts.Diagnostic[]} diagnostics
typescript/verify.js:140
↓ 1 callersFunctionregex
()
demos/lib/Mental.js:7378
↓ 1 callersMethodremoveHook
* Remove a DOMPurify hook at a given entryPoint * (pops it from the stack of hooks if hook not specified) * * @param entryPoint entry point f
src/types.ts:161
↓ 1 callersMethodremoveHooks
* Removes all DOMPurify hooks at a given entryPoint * * @param entryPoint entry point for the hooks to remove
src/types.ts:223
↓ 1 callersFunctionrewrite
(code)
demos/lib/Mental.js:6955
↓ 1 callersFunctionrun
()
typescript/verify.js:13
↓ 1 callersFunctionrun
(spoof)
test/test-suite.js:1589
↓ 1 callersFunctionrun
()
scripts/benchmark.js:202
↓ 1 callersFunctionrunSuite
(browser, name, version, base)
test/browser/legacy-runner.js:99
↓ 1 callersFunctionsemicolon
()
demos/lib/Mental.js:7286
↓ 1 callersFunctionsendError
(res, status)
test/browser/server.js:33
↓ 1 callersFunctionserialize
()
src/purify.ts:2863
↓ 1 callersFunctionsingleComment
()
demos/lib/Mental.js:7355
↓ 1 callersFunctionspace
()
demos/lib/Mental.js:8241
↓ 1 callersFunctionstartServer
()
test/browser/legacy-runner.js:76
↓ 1 callersFunctionstop
()
test/browser/legacy-runner.js:78
↓ 1 callersFunctionstring
()
demos/lib/Mental.js:7913
↓ 1 callersFunctionstringifyValue
* Convert non-node values into strings without depending on direct property access. * * @param value - The value to stringify. * @returns A string
src/utils.ts:224
↓ 1 callersFunctionsvgMath
(n)
scripts/benchmark.js:141
↓ 1 callersFunctionternaryOpen
()
demos/lib/Mental.js:7832
↓ 1 callersFunctiontextHeavy
(n)
scripts/benchmark.js:115
↓ 1 callersFunctiontilde
()
demos/lib/Mental.js:7990
↓ 1 callersFunctionunconstruct
* Creates a new function that constructs an instance of the given constructor function with the provided arguments. * * @param func - The constructo
src/utils.ts:100
↓ 1 callersFunctionunsafeCallerPolicy
()
test/bootstrap-test-suite.js:399
↓ 1 callersFunctionverify
* Verifies that a TypeScript project compiles. * @param {string} name The name of the project. * @param {string} directory The project directory. *
typescript/verify.js:74
↓ 1 callersFunctionwaitForServer
(base, tries = 60)
test/browser/legacy-runner.js:64
↓ 1 callersFunctionwideAttrs
(n)
scripts/benchmark.js:100
↓ 1 callersFunctionwithCountingTrustedTypes
(created)
test/bootstrap-test-suite.js:378
↓ 1 callersFunctionwithDOMPurify
(fn)
test/fuzz/sanitize.fast-check.js:10
FunctionALERT
(str)
demos/lib/Mental.js:6303
FunctionCLEAR_INTERVAL
(id)
demos/lib/Mental.js:6266
FunctionCLEAR_TIMEOUT
(id)
demos/lib/Mental.js:6275
FunctionDOMPurify
(root: WindowLike)
src/purify.ts:199
FunctionEVAL
(str)
demos/lib/Mental.js:6307
FunctionMental
()
demos/lib/Mental.js:5783
FunctionSET_INTERVAL
(func, time)
demos/lib/Mental.js:6293
FunctionSET_TIMEOUT
(func, time)
demos/lib/Mental.js:6283
FunctionafterEach
()
test/test-suite.js:7554
MethodattributeChangedCallback
(name, oldValue, newValue)
test/test-suite.js:2722
FunctionbeforeEach
()
test/test-suite.js:7551
FunctionbeforeOnLoadSanityCheck
(window)
test/bootstrap-test-suite.js:56
Methodconstructor
(s)
test/bootstrap-test-suite.js:5
FunctioncreateHTML
(s)
test/test-suite.js:7730
FunctioncreateHTML
(s)
test/bootstrap-test-suite.js:103
FunctioncreateHTML
(html)
src/purify.ts:122
FunctioncreatePolicy
(name, rules)
test/bootstrap-test-suite.js:100
FunctioncreateScript
(s)
test/bootstrap-test-suite.js:151
← previousnext →101–200 of 217, ranked by callers