Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ parseLoopToken
Function
parseLoopToken
workspaces/arborist/test/isolated-mode.js:2838–2840 ·
view source on GitHub ↗
(t)
Source
from the content-addressed store, hash-verified
2836
}
2837
2838
function
parseLoopToken (t) {
2839
return
parseInt(/\d+/.exec(t)[0])
2840
}
2841
2842
function
parseGraphRecursive (key, deps) {
2843
if
(isLoopToken(key)) {
Callers
1
isolated-mode.js
File · 0.85
Calls
1
exec
Method · 0.45
Tested by
no test coverage detected