Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/josdejong/mathjs
/ whitelistgenerator.js
File
whitelistgenerator.js
tools/whitelistgenerator.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// generates a whitelist of safe methods and functions
2
import
{ hasOwnProperty } from
'./utils.js'
3
import
{ create, all } from
'../lib/esm/index.js'
4
Callers
nothing calls this directly
Calls
5
create
Function · 0.90
hasOwnProperty
Function · 0.90
sort
Method · 0.65
keys
Method · 0.65
log
Method · 0.65
Tested by
no test coverage detected