Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ diff.js
File
diff.js
workspaces/arborist/test/diff.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
localeCompare = require(
'@isaacs/string-locale-compare'
)(
'en'
)
2
const
Diff = require(
'../lib/diff.js'
)
3
const
t = require(
'tap'
)
4
const
Node = require(
'../lib/node.js'
)
Callers
nothing calls this directly
Calls
6
calculate
Method · 0.80
loadVirtual
Method · 0.80
end
Method · 0.80
normalizePath
Function · 0.70
formatDiff
Function · 0.70
get
Method · 0.45
Tested by
no test coverage detected