Skip to content

node builtin module method values report wrong typeof (process.*, crypto.*) #1343

Description

@proggeramlug

Method values on node builtin module/global objects read as a small handle/number, not 'function', even though the call forms work. Affects process.cwd/nextTick/hrtime/exit/on/uptime/memoryUsage/cpuUsage and crypto.createHash/createHmac/randomBytes/pbkdf2Sync. Repros: node-suite/process/shapes/method-types, process/nexttick/is-function, crypto/shapes/method-types. Part of #793.

Metadata

Metadata

Assignees

No one assigned

    Labels

    inprogressCurrently being worked on by an agent

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions