MCPcopy Create free account
hub / github.com/nodejs/node / logStageItem

Function logStageItem

deps/npm/lib/utils/key-values.js:28–40  ·  view source on GitHub ↗
(item, { chalk })

Source from the content-addressed store, hash-verified

26}
27
28function logStageItem (item, { chalk }) {
29 const { id, packageName, version, tag, createdAt, actor, actorType, shasum, ...rest } = item
30 logObject({
31 id,
32 'package name': packageName,
33 version,
34 tag,
35 'date staged': createdAt,
36 'staged by': actorType ? `${actor} (${actorType})` : actor,
37 shasum,
38 ...rest,
39 }, { chalk })
40}
41
42module.exports = { logObject, logStageItem, defaultPredicate }

Callers 3

execMethod · 0.85
execMethod · 0.85
key-values.jsFile · 0.85

Calls 1

logObjectFunction · 0.85

Tested by

no test coverage detected