fix(dist/hint): don't throw in `getFunctionNames()` when `str` is null/undefined

Closes #166, Closes #172, Closes #174