MCPcopy
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
2import { hasOwnProperty } from './utils.js'
3import { create, all } from '../lib/esm/index.js'
4

Callers

nothing calls this directly

Calls 5

createFunction · 0.90
hasOwnPropertyFunction · 0.90
sortMethod · 0.65
keysMethod · 0.65
logMethod · 0.65

Tested by

no test coverage detected