initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
12
github/codeql-action-v1/node_modules/universal-user-agent/dist-web/index.js
generated
vendored
Normal file
12
github/codeql-action-v1/node_modules/universal-user-agent/dist-web/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
function getUserAgent() {
|
||||
if (typeof navigator === "object" && "userAgent" in navigator) {
|
||||
return navigator.userAgent;
|
||||
}
|
||||
if (typeof process === "object" && "version" in process) {
|
||||
return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;
|
||||
}
|
||||
return "<environment undetectable>";
|
||||
}
|
||||
|
||||
export { getUserAgent };
|
||||
//# sourceMappingURL=index.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue