Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Useful-Scripts-Extension/useful-script
/ extractVersion
Function
extractVersion
scripts/ufs_statistic.js:617–619 ·
view source on GitHub ↗
(log)
Source
from the content-addressed store, hash-verified
615
return
/ -> (\d+)/.exec(log)?.[1] ||
""
;
616
}
617
function
extractVersion(log) {
618
return
/ \((.*?)-\d*\)/.exec(log)?.[1] ||
""
;
619
}
620
621
function
isScript(log) {
622
return
!(
Callers
1
onDocumentEnd
Function · 0.70
Calls
1
exec
Method · 0.45
Tested by
no test coverage detected