MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / executeJavaScriptCode

Function executeJavaScriptCode

packages/components/src/utils.ts:1591–1809  ·  view source on GitHub ↗
(
    code: string,
    sandbox: ICommonObject,
    options: {
        timeout?: number
        useSandbox?: boolean
        libraries?: string[]
        streamOutput?: (output: string) => void
        nodeVMOptions?: ICommonObject
    } = {}
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

_callMethod · 0.90
_callMethod · 0.90
_callMethod · 0.90
_callMethod · 0.90
checkMessageHistoryFunction · 0.90
executeFuncMethod · 0.90
runConditionFunction · 0.90
getReturnOutputFunction · 0.90
getReturnOutputFunction · 0.90
initMethod · 0.90
runConditionFunction · 0.90
executeFuncMethod · 0.90

Calls 8

convertRequireToImportFunction · 0.85
parseOutputFunction · 0.85
secureAxiosWrapperFunction · 0.85
stringifyMethod · 0.80
testMethod · 0.80
runMethod · 0.65
createMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected