MCPcopy Index your code
hub / github.com/nodejs/node / deprecate

Function deprecate

lib/util.js:588–590  ·  view source on GitHub ↗
(fn, msg, code, { modifyPrototype } = kEmptyObject)

Source from the content-addressed store, hash-verified

586
587// Public util.deprecate API
588function deprecate(fn, msg, code, { modifyPrototype } = kEmptyObject) {
589 return internalDeprecate(fn, msg, code, undefined, modifyPrototype);
590}
591
592// Keep the `exports =` so that various functions can still be monkeypatched
593module.exports = {

Callers 5

crypto.jsFile · 0.70
getFunction · 0.70
constructorMethod · 0.70
repl.jsFile · 0.70
mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…